diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 01:35:59 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 01:35:59 -0500 |
commit | 136f9f58569c6a6b52d6b9589fabf29950178cd7 (patch) | |
tree | 2655fbc3acd99489840e0d8c6812a99386f7c593 /lib/ui.lib.php | |
parent | d572c2776f5ab7f66a632f54006dabe2f159c02b (diff) | |
download | ampache-136f9f58569c6a6b52d6b9589fabf29950178cd7.tar.gz ampache-136f9f58569c6a6b52d6b9589fabf29950178cd7.tar.bz2 ampache-136f9f58569c6a6b52d6b9589fabf29950178cd7.zip |
Move ajax_include() from ui.lib.php to UI
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r-- | lib/ui.lib.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php index 577e9ce1..15957626 100644 --- a/lib/ui.lib.php +++ b/lib/ui.lib.php @@ -573,23 +573,6 @@ function xml_get_footer($type){ } // xml_get_footer /** - * ajax_include - * This does an ob_start, getcontents, clean - * on the specified require, only works if you - * don't need to pass data in - */ -function ajax_include($include) { - - ob_start(); - require_once Config::get('prefix') . '/templates/' . $include; - $results = ob_get_contents(); - ob_end_clean(); - - return $results; - -} // ajax_include - -/** * toggle_visible * This is identical to the javascript command that it actually calls */ |