summaryrefslogtreecommitdiffstats
path: root/templates/show_play_selected.inc.php
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2006-01-11 02:59:17 +0000
committerxgizzmo <xgizzmo@ampache>2006-01-11 02:59:17 +0000
commit603f145952f39164b961ac94a46b8a459e7adac0 (patch)
tree90fb10a0f1a1ea8396af8a41e629b1e63bac30d2 /templates/show_play_selected.inc.php
parent67d76f09c28d0c6abae6d966f4cc00a5428bdc74 (diff)
downloadampache-603f145952f39164b961ac94a46b8a459e7adac0.tar.gz
ampache-603f145952f39164b961ac94a46b8a459e7adac0.tar.bz2
ampache-603f145952f39164b961ac94a46b8a459e7adac0.zip
More code clean up this should about cover /templates
Diffstat (limited to 'templates/show_play_selected.inc.php')
-rw-r--r--templates/show_play_selected.inc.php36
1 files changed, 19 insertions, 17 deletions
diff --git a/templates/show_play_selected.inc.php b/templates/show_play_selected.inc.php
index d85997d6..5b5bd334 100644
--- a/templates/show_play_selected.inc.php
+++ b/templates/show_play_selected.inc.php
@@ -45,34 +45,36 @@ function ToBatch(action)
</script>
<table border="0" cellpadding="14" cellspacing="0" class="text-box">
<tr align="left">
- <td>
- <input class="button" type="button" name="super_action" value="<?php echo _("Play Selected"); ?>" onclick="return ToSong('play_selected');" />
+ <td>
+ <input class="button" type="button" name="super_action" value="<?php echo _("Play Selected"); ?>" onclick="return ToSong('play_selected');" />
<?php if (batch_ok()) { ?>
- &nbsp;&nbsp;
- <input class="button" type="button" name="super_action" value="<?php echo _("Download Selected"); ?>" onclick="return ToBatch('download_selected');" />
+ &nbsp;&nbsp;
+ <input class="button" type="button" name="super_action" value="<?php echo _("Download Selected"); ?>" onclick="return ToBatch('download_selected');" />
<?php } ?>
<!--
<input class="button" type="button" name="super_action" value="<?php echo _("Flag Selected"); ?>" />
<input class="button" type="button" name="super_action" value="<?php echo _("Edit Selected"); ?>" />
-->
- </td>
+ </td>
</tr>
-<?php if (is_object($GLOBALS['playlist'])) { ?>
+<?php
+if (is_object($GLOBALS['playlist'])) { ?>
<tr>
- <td>
+ <td>
<input type="hidden" name="playlist_id" value="<?php echo $GLOBALS['playlist']->id; ?>" />
- <input class="button" type="button" name="super_action" value="<?php echo _("Set Track Numbers"); ?>" onclick="return ToPlaylist('set_track_numbers');" />
- <input class="button" type="button" name="super_action" value="<?php echo _("Remove Selected Tracks"); ?>" onclick="return ToPlaylist('remove_song');" />
- </td>
+ <input class="button" type="button" name="super_action" value="<?php echo _("Set Track Numbers"); ?>" onclick="return ToPlaylist('set_track_numbers');" />
+ <input class="button" type="button" name="super_action" value="<?php echo _("Remove Selected Tracks"); ?>" onclick="return ToPlaylist('remove_song');" />
+ </td>
</tr>
-<?php } else { ?>
+<?php
+} else { ?>
<tr align="center">
- <td colspan="2">
- <?php echo _("Playlist"); ?>: <input type="button" name="super_action" value="<?php echo _("Add to"); ?>" onclick="return ToPlaylist('add_to');" />
- <?php show_playlist_dropdown($GLOBALS['playlist_id']); ?>
- <input class="button" type="button" name="super_action" value="<?php echo _("View"); ?>" onclick="return ToPlaylist('view');" />
- <input class="button" type="button" name="super_action" value="<?php echo _("Edit"); ?>" onclick="return ToPlaylist('edit');" />
- </td>
+ <td colspan="2">
+ <?php echo _("Playlist"); ?>: <input type="button" name="super_action" value="<?php echo _("Add to"); ?>" onclick="return ToPlaylist('add_to');" />
+ <?php show_playlist_dropdown($GLOBALS['playlist_id']); ?>
+ <input class="button" type="button" name="super_action" value="<?php echo _("View"); ?>" onclick="return ToPlaylist('view');" />
+ <input class="button" type="button" name="super_action" value="<?php echo _("Edit"); ?>" onclick="return ToPlaylist('edit');" />
+ </td>
</tr>
<?php } ?>
</table>