diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/list_duplicates.inc | 2 | ||||
-rw-r--r-- | templates/show_artist.inc | 2 | ||||
-rw-r--r-- | templates/show_now_playing.inc | 2 | ||||
-rw-r--r-- | templates/show_songs.inc | 28 |
4 files changed, 17 insertions, 17 deletions
diff --git a/templates/list_duplicates.inc b/templates/list_duplicates.inc index c96058c4..f694c332 100644 --- a/templates/list_duplicates.inc +++ b/templates/list_duplicates.inc @@ -50,7 +50,7 @@ if ($flags) { ?> foreach ($dinfolist as $dinfo) { echo "<tr class=\"".flip_class()."\">". "<td><input type=\"checkbox\" name=\"song_ids[]\" value=\"" . $dinfo['songid'] . "\" /></td>". - "<td><a href=\"".$web_path."/song.php?action=m3u&song=$song->id\">".scrub_out($formated_title)."</a> </td>". + "<td><a href=\"".$web_path."/song.php?action=single_song&song_id=$song->id\">".scrub_out($formated_title)."</a> </td>". "<td><a href=\"".$web_path."/artists.php?action=show&artist=".$dinfo['artistid']."\" title=\"".scrub_out($dinfo['artist'])."\">".scrub_out($dinfo['artist'])."</a> </td>". "<td><a href=\"".$web_path."/albums.php?action=show&album=".$dinfo['albumid']."\" title=\"".scrub_out($dinfo['album'])."\">".scrub_out($dinfo['album'])."</a> </td>". "<td>".floor($dinfo['time']/60).":".sprintf("%02d", ($dinfo['time']%60) )."</td>". diff --git a/templates/show_artist.inc b/templates/show_artist.inc index bd8a6e31..7c7420da 100644 --- a/templates/show_artist.inc +++ b/templates/show_artist.inc @@ -62,7 +62,7 @@ foreach ($albums as $album) { <td><?php echo $album->year; ?></td> <td><?php echo $count; ?></td> <td> - <a href="<?php echo $web_path; ?>/song.php?action=m3u&album=<?php echo $id; ?>"><?php echo _("Play"); ?></a> + <a href="<?php echo $web_path; ?>/song.php?action=album&album_id=<?php echo $id; ?>"><?php echo _('Play'); ?></a> <?php if (batch_ok()) { ?> | <a href="<?php echo $web_path; ?>/batch.php?action=alb&id=<?php echo $album->id; ?>"><?php echo _("Download"); ?></a> <?php } ?> diff --git a/templates/show_now_playing.inc b/templates/show_now_playing.inc index a970dd9b..9aff071c 100644 --- a/templates/show_now_playing.inc +++ b/templates/show_now_playing.inc @@ -57,7 +57,7 @@ foreach ($results as $item) { </td> <td width="30%"> <div id="np_song_<?php echo $c; ?>"> - <a title="<?php echo scrub_out($song->f_title); ?>" href="<?php echo $web_path; ?>/song.php?action=m3u&song=<?php echo $song->id; ?>"> + <a title="<?php echo scrub_out($song->f_title); ?>" href="<?php echo $web_path; ?>/song.php?action=single_song&song_id=<?php echo $song->id; ?>"> <?php echo $song->f_title; ?> </a> </div> diff --git a/templates/show_songs.inc b/templates/show_songs.inc index be31f8da..e01b8a20 100644 --- a/templates/show_songs.inc +++ b/templates/show_songs.inc @@ -33,19 +33,19 @@ if (is_object($playlist) && ($GLOBALS['user']->username == $playlist->user || $G <tr class="table-header"> <th> <a href="#" onclick="check_songs(); return false;">Select</a></th> <?php if ($playlist_owner) { ?> - <th><?php echo _("Track"); ?></th> + <th><?php echo _('Track'); ?></th> <?php } ?> - <th><?php echo _("Song title"); ?></th> - <th><?php echo _("Artist"); ?></th> - <th><?php echo _("Album"); ?></th> - <th><?php echo _("Track"); ?></th> - <th><?php echo _("Time"); ?></th> - <th><?php echo _("Size"); ?></th> - <th><?php echo _("Bitrate"); ?></th> - <th><?php echo _("Genre"); ?></th> - <th><?php echo _("Action"); ?></th> + <th><?php echo _('Song title'); ?></th> + <th><?php echo _('Artist'); ?></th> + <th><?php echo _('Album'); ?></th> + <th><?php echo _('Track'); ?></th> + <th><?php echo _('Time'); ?></th> + <th><?php echo _('Size'); ?></th> + <th><?php echo _('Bitrate'); ?></th> + <th><?php echo _('Genre'); ?></th> + <th><?php echo _('Action'); ?></th> <?php if (conf('ratings') || conf('ratings')=="false") { ?> - <th width="90"><?php echo _("Rating"); ?></th> + <th width="90"><?php echo _('Rating'); ?></th> <?php } ?> </tr> <?php @@ -94,13 +94,13 @@ foreach ($song_ids as $song_id) { } ?> <td> <?php if ($song->has_flag()) { echo "<strong>**</strong>"; } ?> - <a href="<?php echo $web_path; ?>/song.php?action=m3u&song=<?php echo $song->id; ?>" title="<?php echo scrub_out($song->title); ?>" <?php echo $text_class; ?>><?php echo scrub_out($song->f_title); ?></a> + <a href="<?php echo $web_path; ?>/song.php?action=single_song&song_id=<?php echo $song->id; ?>" title="<?php echo scrub_out($song->title); ?>" <?php echo $text_class; ?>><?php echo scrub_out($song->f_title); ?></a> </td> <td> - <a href="<?php echo $web_path; ?>/artists.php?action=show&artist=<?php echo htmlspecialchars($song->artist); ?>" title="<?php echo htmlspecialchars($song->f_artist_full); ?>" <?php echo $text_class; ?>><?php echo htmlspecialchars($song->f_artist); ?></a> + <a href="<?php echo $web_path; ?>/artists.php?action=show&artist=<?php echo scrub_out($song->artist); ?>" title="<?php echo scrub_out($song->f_artist_full); ?>" <?php echo $text_class; ?>><?php echo scrub_out($song->f_artist); ?></a> </td> <td> - <a href="<?php echo $web_path; ?>/albums.php?album=<?php echo htmlspecialchars($song->album); ?>" title="<?php echo htmlspecialchars($song->f_album_full); ?>" <?php echo $text_class; ?>><?php echo htmlspecialchars($song->f_album); ?></a> + <a href="<?php echo $web_path; ?>/albums.php?album=<?php echo scrub_out($song->album); ?>" title="<?php echo scrub_out($song->f_album_full); ?>" <?php echo $text_class; ?>><?php echo scrub_out($song->f_album); ?></a> </td> <td align="right"> <?php echo $song->track; ?> |