diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-06 05:17:55 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-06 05:17:55 +0000 |
commit | 1c85db030e548e6bf7434e86070e4ba05917a325 (patch) | |
tree | 283f8df9bc192144c13268213d206e31c92c2b29 /lib/ui.lib.php | |
parent | 220625cedad4bc3a400d9bc0c0c6f0a103b7398f (diff) | |
download | ampache-1c85db030e548e6bf7434e86070e4ba05917a325.tar.gz ampache-1c85db030e548e6bf7434e86070e4ba05917a325.tar.bz2 ampache-1c85db030e548e6bf7434e86070e4ba05917a325.zip |
added in the ajax-loading div display on catalog processes, also relaxed the restrictions on filenames of non-site_charset, warning rather then fatal error
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r-- | lib/ui.lib.php | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php index 45ddd521..9cd78d94 100644 --- a/lib/ui.lib.php +++ b/lib/ui.lib.php @@ -1,7 +1,7 @@ <?php /* - Copyright (c) 2001 - 2007 Ampache.org + Copyright (c) Ampache.org All rights reserved. This program is free software; you can redistribute it and/or @@ -898,7 +898,7 @@ function xml_get_footer($type){ break; } -} //xml_get_footer +} // xml_get_footer /** * ajax_include @@ -917,4 +917,17 @@ function ajax_include($include) { } // ajax_include +/** + * toggle_visible + * this is identicla to the javascript command that it actually calls + */ +function toggle_visible($element) { + + echo "<script type=\"text/javascript\">\n"; + echo "toggle_visible('$element');"; + echo "\n</script>\n"; + +} // toggle_visible + + ?> |