diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-03-31 08:07:54 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-03-31 08:07:54 +0000 |
commit | 2f126626cbd951e97220d7c9ab1f2791f614f401 (patch) | |
tree | 739ca78b8d50c42829d45176829e2ba9e7ef39a3 /templates/show_flag.inc.php | |
parent | 05a1cfe34904997715dd145af81d6d2170e120df (diff) | |
download | ampache-2f126626cbd951e97220d7c9ab1f2791f614f401.tar.gz ampache-2f126626cbd951e97220d7c9ab1f2791f614f401.tar.bz2 ampache-2f126626cbd951e97220d7c9ab1f2791f614f401.zip |
added download for size, and seriously cleaned up the /song.php file it actually is not ugly anymore.. yeah!
Diffstat (limited to 'templates/show_flag.inc.php')
-rw-r--r-- | templates/show_flag.inc.php | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/templates/show_flag.inc.php b/templates/show_flag.inc.php index 571d822d..1a0038c1 100644 --- a/templates/show_flag.inc.php +++ b/templates/show_flag.inc.php @@ -78,59 +78,3 @@ switch ($type) { </tr> </table> </form> -<?php -// NOT USED YET! -if ($type == 'pigsfly') { -//elseif ($type == 'show_flagged_songs') { - $flags = get_flagged(); - -?> -<p style="font-size: 10pt; font-weight: bold;">View Flagged Songs</p> -<p>This is the list of songs that have been flagged by your Ampache users. Use -this list to determine what songs you need to re-rip or tags you need to update.</p> -<?php -if ($flags) { ?> - <form name="flag_update" action="<?php echo $web_path; ?>/flag.php" method="post"> - <table class="tabledata" cellspacing="0" cellpadding="0" border="1"> - <tr class="table-header"> - <td> </td> - <td>Song</td> - <td>Flag</td> - <td>New Flag:</td> - <td>Flagged by</td> - <td>ID3 Update:</td> - </tr> - <?php - foreach ($flags as $flag) { - $song = new Song($flag->song); - $song->format_song(); - $alt_title = $song->title; - $artist = $song->f_artist; - $alt_artist = $song->f_full_artist; - - echo "<tr class=\"even\">". - "<td><input type=\"checkbox\" id=\"flag_".$flag->id."\" name=\"flag[]\" value=\"".$flag->id."\"></input></td>". - "<td><a href=\"".$web_path."/song.php?song=$flag->song\" title=\"$alt_title\">$song->f_title</a> by ". - "<a href=\"".$web_path."/artist.php?action=show&artist=$song->artist_id\" title=\"$alt_artist\">$artist</a></td>". - "<td>$flag->type</td><td>"; - $onchange = "onchange=\"document.getElementById('flag_".$flag->id."').checked='checked';\""; - show_flagged_popup($flag->type, 'type', $flag->id."_newflag", $onchange); - echo "</td><td>".$flag->username."<br />".date('m/d/y',$flag->date)."</td>"; - /*echo "<td><a href=\"catalog.php?action=fixed&flag=$flag->id\">Fixed</a></td></tr>\n";*/ - if ($flag->type === 'newid3') { - echo "<td><input type=\"radio\" name=\"accept_".$flag->id."\" value=\"accept\" />Accept"; - echo "<input type=\"radio\" name=\"accept_".$flag->id."\" value=\"reject\" />Reject</td></tr>"; - } else { - echo "<td><a href=\"".$web_path."/admin/song.php?action=edit&song=".$flag->song."\">edit/view</a></td>"; - echo "</tr>\n"; - } // end if ($flag->type === 'newid3') and else - } // end foreach ($flags as $flag) - ?> - <tr class="even"><td colspan="6"><input type="submit" name="action" value="Update Flags"></input></td></tr> - </table> - </form> -?php } else { ?> -<p> You don't have any flagged songs. </p> -<?php } // end if ($flags) and else -} // end elseif ($type == 'show_flagged_songs') -?> |