summaryrefslogtreecommitdiffstats
path: root/templates/show_duplicates.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_duplicates.inc.php')
-rw-r--r--templates/show_duplicates.inc.php80
1 files changed, 40 insertions, 40 deletions
diff --git a/templates/show_duplicates.inc.php b/templates/show_duplicates.inc.php
index 6a62e19c..8bd9cbda 100644
--- a/templates/show_duplicates.inc.php
+++ b/templates/show_duplicates.inc.php
@@ -1,5 +1,5 @@
<?php
-/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */
+/* vim:set softtabstop=4 shiftwidth=4 expandtab: */
/**
*
* LICENSE: GNU General Public License, version 2 (GPLv2)
@@ -34,53 +34,53 @@
<col id="col_filename" />
</colgroup>
<tr class="th-top">
- <th class="cel_disable"><?php echo T_('Disable'); ?></th>
- <th class="cel_song"><?php echo T_('Song'); ?></th>
- <th class="cel_artist"><?php echo T_('Artist'); ?></th>
- <th class="cel_album"><?php echo T_('Album'); ?></th>
- <th class="cel_length"><?php echo T_('Length'); ?></th>
- <th class="cel_bitrate"><?php echo T_('Bitrate'); ?></th>
- <th class="cel_size"><?php echo T_('Size'); ?></th>
- <th class="cel_filename"><?php echo T_('Filename'); ?></th>
+ <th class="cel_disable"><?php echo T_('Disable'); ?></th>
+ <th class="cel_song"><?php echo T_('Song'); ?></th>
+ <th class="cel_artist"><?php echo T_('Artist'); ?></th>
+ <th class="cel_album"><?php echo T_('Album'); ?></th>
+ <th class="cel_length"><?php echo T_('Length'); ?></th>
+ <th class="cel_bitrate"><?php echo T_('Bitrate'); ?></th>
+ <th class="cel_size"><?php echo T_('Size'); ?></th>
+ <th class="cel_filename"><?php echo T_('Filename'); ?></th>
</tr>
<?php
- foreach ($duplicates as $item) {
- // Gather the duplicates
- $songs = Song::get_duplicate_info($item, $search_type);
+ foreach ($duplicates as $item) {
+ // Gather the duplicates
+ $songs = Song::get_duplicate_info($item, $search_type);
- foreach ($songs as $key => $song_id) {
- $song = new Song($song_id);
- $song->format();
- $row_key = 'duplicate_' . $song_id;
- $button_flip_state_id = 'button_flip_state_' . $song_id;
- $current_class = ($key == '0') ? 'row-highlight' : UI::flip_class();
- $button = $song->enabled ? 'disable' : 'enable';
- ?>
+ foreach ($songs as $key => $song_id) {
+ $song = new Song($song_id);
+ $song->format();
+ $row_key = 'duplicate_' . $song_id;
+ $button_flip_state_id = 'button_flip_state_' . $song_id;
+ $current_class = ($key == '0') ? 'row-highlight' : UI::flip_class();
+ $button = $song->enabled ? 'disable' : 'enable';
+ ?>
<tr id="<?php echo $row_key; ?>" class="<?php echo $current_class; ?>">
- <td class="cel_disable" id="<?php echo($button_flip_state_id); ?>">
- <?php echo Ajax::button('?page=song&action=flip_state&song_id=' . $song_id,$button, T_(ucfirst($button)),'flip_state_' . $song_id); ?>
- </td>
- <td class="cel_song"><?php echo $song->f_link; ?></td>
- <td class="cel_artist"><?php echo $song->f_artist_link; ?></td>
- <td class="cel_album"><?php echo $song->f_album_link; ?></td>
- <td class="cel_length"><?php echo $song->f_time; ?></td>
- <td class="cel_bitrate"><?php echo $song->f_bitrate; ?></td>
- <td class="cel_size"><?php echo $song->f_size; ?></td>
- <td class="cel_filename"><?php echo scrub_out($song->file); ?></td>
+ <td class="cel_disable" id="<?php echo($button_flip_state_id); ?>">
+ <?php echo Ajax::button('?page=song&action=flip_state&song_id=' . $song_id,$button, T_(ucfirst($button)),'flip_state_' . $song_id); ?>
+ </td>
+ <td class="cel_song"><?php echo $song->f_link; ?></td>
+ <td class="cel_artist"><?php echo $song->f_artist_link; ?></td>
+ <td class="cel_album"><?php echo $song->f_album_link; ?></td>
+ <td class="cel_length"><?php echo $song->f_time; ?></td>
+ <td class="cel_bitrate"><?php echo $song->f_bitrate; ?></td>
+ <td class="cel_size"><?php echo $song->f_size; ?></td>
+ <td class="cel_filename"><?php echo scrub_out($song->file); ?></td>
</tr>
<?php
- } // end foreach ($dinfolist as $dinfo)
- } // end foreach ($flags as $flag)
+ } // end foreach ($dinfolist as $dinfo)
+ } // end foreach ($flags as $flag)
?>
<tr class="th-bottom">
- <th class="cel_disable"><?php echo T_('Disable'); ?></th>
- <th class="cel_song"><?php echo T_('Song'); ?></th>
- <th class="cel_artist"><?php echo T_('Artist'); ?></th>
- <th class="cel_album"><?php echo T_('Album'); ?></th>
- <th class="cel_length"><?php echo T_('Length'); ?></th>
- <th class="cel_bitrate"><?php echo T_('Bitrate'); ?></th>
- <th class="cel_size"><?php echo T_('Size'); ?></th>
- <th class="cel_filename"><?php echo T_('Filename'); ?></th>
+ <th class="cel_disable"><?php echo T_('Disable'); ?></th>
+ <th class="cel_song"><?php echo T_('Song'); ?></th>
+ <th class="cel_artist"><?php echo T_('Artist'); ?></th>
+ <th class="cel_album"><?php echo T_('Album'); ?></th>
+ <th class="cel_length"><?php echo T_('Length'); ?></th>
+ <th class="cel_bitrate"><?php echo T_('Bitrate'); ?></th>
+ <th class="cel_size"><?php echo T_('Size'); ?></th>
+ <th class="cel_filename"><?php echo T_('Filename'); ?></th>
</tr>
</table>
</form>