mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 19:41:55 +02:00
Move show_box_{top,bottom}() from ui.lib.php to UI
This commit is contained in:
parent
04aa79b53c
commit
d572c2776f
78 changed files with 218 additions and 222 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue