diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-10-12 20:50:26 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-10-12 20:50:26 +0000 |
commit | 959c7b7a13c51aea549523f134d6ef526e3b977c (patch) | |
tree | 73c0e633c68fc95a4225a97d4444bc6e34131fff /templates | |
parent | e8785ed7554839db296d7b8d8f9a938ed0758d70 (diff) | |
download | ampache-959c7b7a13c51aea549523f134d6ef526e3b977c.tar.gz ampache-959c7b7a13c51aea549523f134d6ef526e3b977c.tar.bz2 ampache-959c7b7a13c51aea549523f134d6ef526e3b977c.zip |
fixed up some minor formating errors, and also the preferences mojo see changelog for details
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_artist.inc | 6 | ||||
-rw-r--r-- | templates/show_now_playing.inc | 2 | ||||
-rw-r--r-- | templates/show_search.inc | 14 |
3 files changed, 12 insertions, 10 deletions
diff --git a/templates/show_artist.inc b/templates/show_artist.inc index 8cdfaa7a..0474316b 100644 --- a/templates/show_artist.inc +++ b/templates/show_artist.inc @@ -68,10 +68,12 @@ $artist_id = $artist->id; </td> <td height="87"> <a href="<?php print $web_path; ?>/albums.php?album=<?php echo $id; ?>&artist=<?php echo $artist->id; ?>"> - <img border="0" src="<?php print $web_path; ?>/albumart.php?id=<?php print $id; ?>&fast=1" alt="<?php echo $album_name; ?>" title="<?php print $album_name; ?>&thumb=1" height="75" width="75" /> + <img border="0" src="<?php print $web_path; ?>/albumart.php?id=<?php print $id; ?>&fast=1&thumb=1" alt="<?php echo $album_name; ?>" title="<?php print $album_name; ?>&thumb=1" height="75" width="75" /> </a> </td> - <td><a href="<?php print $web_path; ?>/albums.php?album=<?php print $id; ?>&artist=<?php echo $artist->id; ?>"><?php print $album_name; ?></a></td> + <td> + <a href="<?php echo $web_path; ?>/albums.php?album=<?php print $id; ?>&artist=<?php echo $artist->id; ?>"><?php print $album_name; ?></a> + </td> <td><?php print $album->year; ?></td> <td><?php print $count; ?></td> <td> diff --git a/templates/show_now_playing.inc b/templates/show_now_playing.inc index 9f4168f5..17671db3 100644 --- a/templates/show_now_playing.inc +++ b/templates/show_now_playing.inc @@ -50,7 +50,7 @@ echo '<script language="JavaScript" type="text/javascript"> var mpd_song_length = '. $song->time .' </script>'; echo '<script language="JavaScript" type="text/javascript"> var mpd_state = "'. "play" .'" </script>'; } // end while - echo "<tr class=\"npsong\">\n"; } + echo "<tr class=\"even\">\n"; } else { echo "<tr class=\"even\">\n"; } if (conf('use_auth')) { diff --git a/templates/show_search.inc b/templates/show_search.inc index 403eec51..c38abcb5 100644 --- a/templates/show_search.inc +++ b/templates/show_search.inc @@ -52,38 +52,38 @@ $final_javascript .= " // END-->\n </script>"; </td> <td><?php echo _("Artist"); ?></td> <td> - <input type="checkbox" name="search_object[]" value="artist" onclick="flipField('artist_string');" /> + <input type="checkbox" name="search_object[]" value="artist" onclick="flipField('artist_string');" <?php echo $check_artist; ?> /> <input type="textbox" id="artist_string" name="artist_string" value="<?Php echo scrub_out($_REQUEST['artist_string']); ?>" disabled="disabled" /> </td> </tr> <tr class="<?php echo flip_class(); ?>"> <td><?php echo _("Album"); ?></td> <td> - <input type="checkbox" name="search_object[]" value="album" onclick="flipField('album_string');" /> + <input type="checkbox" name="search_object[]" value="album" onclick="flipField('album_string');" <?php echo $check_album; ?> /> <input type="textbox" id="album_string" name="album_string" value="<?php echo scrub_out($_REQUEST['album_string']); ?>" disabled="disabled" /> </td> <td><?php echo _("Genre"); ?></td> <td> - <input type="checkbox" name="search_object[]" value="genre" onclick="flipField('genre_string');" /> + <input type="checkbox" name="search_object[]" value="genre" onclick="flipField('genre_string');" <?php echo $check_genre; ?> /> <input type="textbox" id="genre_string" name="genre_string" value="<?php echo scrub_out($_REQUEST['genre_string']); ?>" disabled="disabled" /> </td> </tr> <tr class="<?php echo flip_class(); ?>"> <td><?php echo _("Year"); ?></td> <td> - <input type="checkbox" name="search_object[]" value="year" onclick="flipField('year_string');" /> + <input type="checkbox" name="search_object[]" value="year" onclick="flipField('year_string');" <?php echo $check_year; ?> /> <input type="textbox" id="year_string" name="year_string" value="<?php echo scrub_out($_REQUEST['year_string']); ?>" disabled="disabled" /> </td> <td><?php echo _("Filename"); ?></td> <td> - <input type="checkbox" name="search_object[]" value="filename" onclick="flipField('filename_string');" /> + <input type="checkbox" name="search_object[]" value="filename" onclick="flipField('filename_string');" <?php echo $check_filename; ?> /> <input type="textbox" id="filename_string" name="filename_string" value="<?php echo scrub_out($_REQUEST['filename_string']); ?>" disabled="disabled" /> </td> </tr> <tr class="<?php echo flip_class(); ?>"> <td><?php echo _("Played"); ?></td> <td> - <input type="checkbox" name="search_object[]" value="played" onclick="flipField('played_string');" /> + <input type="checkbox" name="search_object[]" value="played" onclick="flipField('played_string');" <?php echo $check_played; ?> /> <select id="played_string" name="played_string" disabled="disabled"> <option value="1"><?php echo _("Yes"); ?></option> <option value="0"><?php echo _("No"); ?></option> @@ -91,7 +91,7 @@ $final_javascript .= " // END-->\n </script>"; </td> <td><?php echo _("Min Bitrate"); ?></td> <td> - <input type="checkbox" name="search_object[]" value="minbitrate" onclick="flipField('minbitrate_string');" /> + <input type="checkbox" name="search_object[]" value="minbitrate" onclick="flipField('minbitrate_string');" <?php echo $check_minbitrate; ?> /> <select id="minbitrate_string" name="minbitrate_string" disabled="disabled"> <option value="32">32</option> <option value="40">40</option> |