summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2006-01-03 06:08:18 +0000
committerxgizzmo <xgizzmo@ampache>2006-01-03 06:08:18 +0000
commit521a86a22498c174c8d605c44f9d877478bc2e8a (patch)
tree1db12624f99eee5aa5d10ff8b6bc102f493b8470 /admin
parentb5bd31cca19de386e4fdf0b3601b3acc9df948a8 (diff)
downloadampache-521a86a22498c174c8d605c44f9d877478bc2e8a.tar.gz
ampache-521a86a22498c174c8d605c44f9d877478bc2e8a.tar.bz2
ampache-521a86a22498c174c8d605c44f9d877478bc2e8a.zip
Fixed typo in userform.inc, Added Copyright mojo to footer.inc, Few more XHTML tweaks
Diffstat (limited to 'admin')
-rw-r--r--admin/song.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/song.php b/admin/song.php
index a3aea196..51ef2318 100644
--- a/admin/song.php
+++ b/admin/song.php
@@ -39,7 +39,7 @@ if (!$user->has_access('100')) {
$action = scrub_in($_REQUEST['action']);
$song = scrub_in($_REQUEST['song']);
-
+$return_referer = return_referer();
show_template('header');
$song_obj = new Song($_REQUEST['song_id']);
@@ -62,7 +62,7 @@ switch($action) {
$song_obj->update_enabled(0,$song_id);
} // end foreach
} // end else
- show_confirmation(_("Songs Disabled"),_("The requested song(s) have been disabled"),return_referer());
+ show_confirmation(_("Songs Disabled"),_("The requested song(s) have been disabled"),htmlspecialchars($return_referer));
break;
case "enabled":
// If we pass just one, make it still work
@@ -72,7 +72,7 @@ switch($action) {
$song_obj->update_enabled(1,$song_id);
} // end foreach
} // end else
- show_confirmation(_("Songs Enabled"),_("The requested song(s) have been enabled"),return_referer());
+ show_confirmation(_("Songs Enabled"),_("The requested song(s) have been enabled"),htmlspecialchars($return_referer));
break;
default:
echo "Don't know what to do yet.";