summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 01:28:34 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 01:28:34 -0500
commitd572c2776f5ab7f66a632f54006dabe2f159c02b (patch)
tree2da705d0c0feabdea69fd7b8df0c5453c2e7571a /admin
parent04aa79b53c38095d4727f4d850e191c64d99352f (diff)
downloadampache-d572c2776f5ab7f66a632f54006dabe2f159c02b.tar.gz
ampache-d572c2776f5ab7f66a632f54006dabe2f159c02b.tar.bz2
ampache-d572c2776f5ab7f66a632f54006dabe2f159c02b.zip
Move show_box_{top,bottom}() from ui.lib.php to UI
Diffstat (limited to 'admin')
-rw-r--r--admin/catalog.php4
-rw-r--r--admin/modules.php8
2 files changed, 6 insertions, 6 deletions
diff --git a/admin/catalog.php b/admin/catalog.php
index bc67c13f..472ee8ce 100644
--- a/admin/catalog.php
+++ b/admin/catalog.php
@@ -236,11 +236,11 @@ switch ($_REQUEST['action']) {
// Run our initial add
$catalog->run_add($_POST);
- show_box_top(T_('Catalog Created'), 'box box_catalog_created');
+ UI::show_box_top(T_('Catalog Created'), 'box box_catalog_created');
echo "<h2>" . T_('Catalog Created') . "</h2>";
Error::display('general');
Error::display('catalog_add');
- show_box_bottom();
+ UI::show_box_bottom();
show_confirmation('','', Config::get('web_path').'/admin/catalog.php');
diff --git a/admin/modules.php b/admin/modules.php
index bf55578b..33ec00e6 100644
--- a/admin/modules.php
+++ b/admin/modules.php
@@ -138,15 +138,15 @@ switch ($_REQUEST['action']) {
break;
case 'show_plugins':
$plugins = Plugin::get_plugins();
- show_box_top(T_('Plugins'), 'box box_localplay_plugins');
+ UI::show_box_top(T_('Plugins'), 'box box_localplay_plugins');
require_once Config::get('prefix') . '/templates/show_plugins.inc.php';
- show_box_bottom();
+ UI::show_box_bottom();
break;
case 'show_localplay':
$controllers = Localplay::get_controllers();
- show_box_top(T_('Localplay Controllers'), 'box box_localplay_controllers');
+ UI::show_box_top(T_('Localplay Controllers'), 'box box_localplay_controllers');
require_once Config::get('prefix') . '/templates/show_localplay_controllers.inc.php';
- show_box_bottom();
+ UI::show_box_bottom();
break;
default:
// Rien a faire