summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 01:22:50 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2013-01-26 01:22:50 -0500
commit04aa79b53c38095d4727f4d850e191c64d99352f (patch)
treec6ac7dce0306a6f2fa8fd846b6f001c5fb35a943 /admin
parenteaa44dcd0938ad48f4a9f863b24ca5d3a318ae10 (diff)
downloadampache-04aa79b53c38095d4727f4d850e191c64d99352f.tar.gz
ampache-04aa79b53c38095d4727f4d850e191c64d99352f.tar.bz2
ampache-04aa79b53c38095d4727f4d850e191c64d99352f.zip
Move show_{footer,header}() from ui.lib.php to UI
Diffstat (limited to 'admin')
-rw-r--r--admin/access.php4
-rw-r--r--admin/catalog.php4
-rw-r--r--admin/duplicates.php4
-rw-r--r--admin/export.php4
-rw-r--r--admin/flag.php4
-rw-r--r--admin/index.php4
-rw-r--r--admin/mail.php4
-rw-r--r--admin/modules.php4
-rw-r--r--admin/shout.php4
-rw-r--r--admin/system.php4
-rw-r--r--admin/users.php4
11 files changed, 22 insertions, 22 deletions
diff --git a/admin/access.php b/admin/access.php
index a39d3691..60e86d62 100644
--- a/admin/access.php
+++ b/admin/access.php
@@ -27,7 +27,7 @@ if (!Access::check('interface','100')) {
exit();
}
-show_header();
+UI::show_header();
switch ($_REQUEST['action']) {
case 'delete_record':
@@ -109,5 +109,5 @@ switch ($_REQUEST['action']) {
require_once Config::get('prefix') .'/templates/show_access_list.inc.php';
break;
} // end switch on action
-show_footer();
+UI::show_footer();
?>
diff --git a/admin/catalog.php b/admin/catalog.php
index ba2c63aa..bc67c13f 100644
--- a/admin/catalog.php
+++ b/admin/catalog.php
@@ -27,7 +27,7 @@ if (!Access::check('interface','100')) {
exit;
}
-show_header();
+UI::show_header();
/* Big switch statement to handle various actions */
switch ($_REQUEST['action']) {
@@ -314,6 +314,6 @@ switch ($_REQUEST['action']) {
} // end switch
/* Show the Footer */
-show_footer();
+UI::show_footer();
?>
diff --git a/admin/duplicates.php b/admin/duplicates.php
index f6100240..fe518bd5 100644
--- a/admin/duplicates.php
+++ b/admin/duplicates.php
@@ -27,7 +27,7 @@ if (!Access::check('interface','100')) {
exit;
}
-show_header();
+UI::show_header();
/* Switch on Action */
switch ($_REQUEST['action']) {
@@ -42,5 +42,5 @@ switch ($_REQUEST['action']) {
break;
} // end switch on action
-show_footer();
+UI::show_footer();
?>
diff --git a/admin/export.php b/admin/export.php
index 972d9211..5805a1fe 100644
--- a/admin/export.php
+++ b/admin/export.php
@@ -27,7 +27,7 @@ if (!Access::check('interface','100')) {
exit;
}
-show_header();
+UI::show_header();
/* Switch on Action */
switch ($_REQUEST['action']) {
@@ -73,5 +73,5 @@ switch ($_REQUEST['action']) {
break;
} // end switch on action
-show_footer();
+UI::show_footer();
?>
diff --git a/admin/flag.php b/admin/flag.php
index f7c8adf8..bb3e64aa 100644
--- a/admin/flag.php
+++ b/admin/flag.php
@@ -27,7 +27,7 @@ if (!Access::check('interface','100')) {
exit();
}
-show_header();
+UI::show_header();
switch ($_REQUEST['action']) {
case 'edit_song':
@@ -301,5 +301,5 @@ switch ($_REQUEST['action']) {
break;
} // end switch
-show_footer();
+UI::show_footer();
?>
diff --git a/admin/index.php b/admin/index.php
index 7bd5ea6d..e79e28ac 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -27,7 +27,7 @@ if (!Access::check('interface',100)) {
exit();
}
-show_header();
+UI::show_header();
switch ($_REQUEST['action']) {
default:
@@ -42,5 +42,5 @@ switch ($_REQUEST['action']) {
break;
}
-show_footer();
+UI::show_footer();
?>
diff --git a/admin/mail.php b/admin/mail.php
index 3db8f48c..6ed43fd8 100644
--- a/admin/mail.php
+++ b/admin/mail.php
@@ -27,7 +27,7 @@ if (!Access::check('interface','75')) {
exit();
}
-show_header();
+UI::show_header();
// Action switch
switch ($_REQUEST['action']) {
@@ -74,7 +74,7 @@ switch ($_REQUEST['action']) {
break;
} // end switch
-show_footer();
+UI::show_footer();
?>
diff --git a/admin/modules.php b/admin/modules.php
index e7c56b10..bf55578b 100644
--- a/admin/modules.php
+++ b/admin/modules.php
@@ -29,7 +29,7 @@ if (!$GLOBALS['user']->has_access(100)) {
/* Always show the header */
-show_header();
+UI::show_header();
switch ($_REQUEST['action']) {
case 'install_localplay':
@@ -153,6 +153,6 @@ switch ($_REQUEST['action']) {
break;
} // end switch
-show_footer();
+UI::show_footer();
?>
diff --git a/admin/shout.php b/admin/shout.php
index 2a5bba04..ca6933ac 100644
--- a/admin/shout.php
+++ b/admin/shout.php
@@ -27,7 +27,7 @@ if (!Access::check('interface','100')) {
exit;
}
-show_header();
+UI::show_header();
// Switch on the incomming action
switch ($_REQUEST['action']) {
@@ -58,5 +58,5 @@ switch ($_REQUEST['action']) {
break;
} // end switch on action
-show_footer();
+UI::show_footer();
?>
diff --git a/admin/system.php b/admin/system.php
index 7f7fe9de..e98f592d 100644
--- a/admin/system.php
+++ b/admin/system.php
@@ -27,7 +27,7 @@ if (!Access::check('interface',100) OR Config::get('demo_mode')) {
exit();
}
-show_header();
+UI::show_header();
/* Switch on action boys */
switch ($_REQUEST['action']) {
@@ -56,6 +56,6 @@ switch ($_REQUEST['action']) {
break;
} // end switch
-show_footer();
+UI::show_footer();
?>
diff --git a/admin/users.php b/admin/users.php
index 50d7b20d..84d19938 100644
--- a/admin/users.php
+++ b/admin/users.php
@@ -27,7 +27,7 @@ if (!Access::check('interface','100')) {
exit();
}
-show_header();
+UI::show_header();
// Switch on the actions
switch ($_REQUEST['action']) {
@@ -205,6 +205,6 @@ switch ($_REQUEST['action']) {
} // end switch on action
/* Show the footer */
-show_footer();
+UI::show_footer();
?>