diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 01:42:27 -0500 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2013-01-26 01:42:52 -0500 |
commit | 80b618ba403d4560938cd1bfbed861994875d6c7 (patch) | |
tree | 9378d37ed6187ab64ab5a5351cb7242759e0153d /lib/ui.lib.php | |
parent | 136f9f58569c6a6b52d6b9589fabf29950178cd7 (diff) | |
download | ampache-80b618ba403d4560938cd1bfbed861994875d6c7.tar.gz ampache-80b618ba403d4560938cd1bfbed861994875d6c7.tar.bz2 ampache-80b618ba403d4560938cd1bfbed861994875d6c7.zip |
Move update_text from ui.lib.php to UI
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r-- | lib/ui.lib.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php index 15957626..7755a939 100644 --- a/lib/ui.lib.php +++ b/lib/ui.lib.php @@ -585,22 +585,6 @@ function toggle_visible($element) { } // toggle_visible /** - * update_text - * Convenience function - */ -function update_text($field, $value) { - if(defined('CLI')) { - echo "$value\n"; - return; - } - echo '<script type="text/javascript">'; - echo "updateText('$field', '$value');"; - echo "</script>\n"; - ob_flush(); - flush(); -} - -/** * print_bool * This function takes a boolean value and then prints out a friendly text * message. |