diff options
author | xgizzmo <xgizzmo@ampache> | 2006-01-03 06:08:18 +0000 |
---|---|---|
committer | xgizzmo <xgizzmo@ampache> | 2006-01-03 06:08:18 +0000 |
commit | 521a86a22498c174c8d605c44f9d877478bc2e8a (patch) | |
tree | 1db12624f99eee5aa5d10ff8b6bc102f493b8470 /flag.php | |
parent | b5bd31cca19de386e4fdf0b3601b3acc9df948a8 (diff) | |
download | ampache-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 'flag.php')
-rw-r--r-- | flag.php | 23 |
1 files changed, 8 insertions, 15 deletions
@@ -32,27 +32,20 @@ $action = scrub_in($_REQUEST['action']); $song = scrub_in($_REQUEST['song']); if ( $action == 'flag_song') { - $flagged_type = scrub_in($_REQUEST['flagged_type']); - $comment = scrub_in($_REQUEST['comment']); + $flagged_type = scrub_in($_REQUEST['flagged_type']); + $comment = scrub_in($_REQUEST['comment']); insert_flagged_song($song, $flagged_type, $comment); $flag_text = _("Flagging song completed."); $action = 'flag'; } -?> -<?php show_template('header'); ?> -<?php - $highlight = "Home"; - show_menu_items($highlight); - - if ( $action == 'flag' ) { - $type = 'show_flagged_form'; - $song_id = $song; +show_template('header'); - include(conf('prefix') . "/templates/flag.inc"); - } +if ( $action == 'flag' ) { + $type = 'show_flagged_form'; + $song_id = $song; + include(conf('prefix') . "/templates/flag.inc"); +} show_footer(); ?> -</body> -</html> |