diff options
author | spocky <spocky@ampache> | 2007-07-30 22:52:07 +0000 |
---|---|---|
committer | spocky <spocky@ampache> | 2007-07-30 22:52:07 +0000 |
commit | 1fc55df5bd2cf33c9a68789f9c2b26e50139eb85 (patch) | |
tree | 92fde033005ae53d4c334a6a470d9840069dc1b0 /templates | |
parent | 8e9678729653489a0839c14bc23d743e1509c319 (diff) | |
download | ampache-1fc55df5bd2cf33c9a68789f9c2b26e50139eb85.tar.gz ampache-1fc55df5bd2cf33c9a68789f9c2b26e50139eb85.tar.bz2 ampache-1fc55df5bd2cf33c9a68789f9c2b26e50139eb85.zip |
first, let's produce a page that's w3c valid
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_album.inc.php | 2 | ||||
-rw-r--r-- | templates/show_object_rating_static.inc.php | 14 | ||||
-rw-r--r-- | templates/sidebar_admin.inc.php | 9 | ||||
-rw-r--r-- | templates/sidebar_home.inc.php | 4 |
4 files changed, 14 insertions, 15 deletions
diff --git a/templates/show_album.inc.php b/templates/show_album.inc.php index 4f90aabc..f357f35a 100644 --- a/templates/show_album.inc.php +++ b/templates/show_album.inc.php @@ -56,7 +56,7 @@ $title = scrub_out($album->name) . ' (' . $album->year . ') -- ' . $album->f_ar <a href="<?php echo $web_path; ?>/batch.php?action=alb&id=<?php echo $album->id; ?>"><?php echo _('Download'); ?></a><br /> <?php } ?> </div> -</div> + <?php show_box_bottom(); ?> <?php show_box_top($album->name . ' ' . _('Songs')); diff --git a/templates/show_object_rating_static.inc.php b/templates/show_object_rating_static.inc.php index b60cc6b5..38252f32 100644 --- a/templates/show_object_rating_static.inc.php +++ b/templates/show_object_rating_static.inc.php @@ -28,10 +28,10 @@ echo "<ul class=\"star-rating\">\n"; /* Handle the "Not rated" possibility */ if ($rating->rating == '-1') { - echo "<li class=\"zero-stars\"></li>\n"; + echo "<li class=\"zero-stars\" style=\"display:none;\">reset</li>\n"; } else { - echo "<li class=\"zero-stars\"></li>\n"; + echo "<li class=\"zero-stars\" style=\"display:none;\">reset</li>\n"; } // decide width of rating. image is 16 px wide $width = $rating->rating*16; @@ -47,18 +47,18 @@ else echo "$rating->rating of 5</li>\n"; //it did not like my "1-star", "2-star" ... css styles, and I changed it to this after I realized star1... would have worked :\ ?> <li> - <span class="one-stars" title="1 <?php echo _('out of'); ?> 5"></span> + <span class="one-stars" title="1 <?php echo _('out of'); ?> 5">1</span> </li> <li> - <span class="two-stars" title="2 <?php echo _('out of'); ?> 5"></span> + <span class="two-stars" title="2 <?php echo _('out of'); ?> 5">2</span> </li> <li> - <span class="three-stars" title="3 <?php echo _('out of'); ?> 5"></span> + <span class="three-stars" title="3 <?php echo _('out of'); ?> 5">3</span> </li> <li> - <span class="four-stars" title="4 <?php echo _('out of'); ?> 5"></span> + <span class="four-stars" title="4 <?php echo _('out of'); ?> 5">4</span> </li> <li> - <span class="five-stars" title="5 <?php echo _('out of'); ?> 5"></span> + <span class="five-stars" title="5 <?php echo _('out of'); ?> 5">5</span> </li> </ul> diff --git a/templates/sidebar_admin.inc.php b/templates/sidebar_admin.inc.php index 04c68612..4ad00af1 100644 --- a/templates/sidebar_admin.inc.php +++ b/templates/sidebar_admin.inc.php @@ -6,12 +6,11 @@ foreach ($catalogs as $catalog_id) { $catalog = new Catalog($catalog_id); ?> -<strong><a href="<?php echo $web_path; ?>/admin/catalog?action=show_customize_catalog"> - <?php echo $catalog->name; ?> - <a href="<?php echo Config::get('web_path'); ?>/admin/catalog.php?action=show_delete_catalog&catalog_id=<?php echo $catalog->id; ?>"> - <?php echo get_user_icon('delete','',_('Delete Catalog')); ?> +<strong><a href="<?php echo $web_path; ?>/admin/catalog.php?action=show_customize_catalog"><?php echo $catalog->name; ?></a></strong> +<a href="<?php echo Config::get('web_path'); ?>/admin/catalog.php?action=show_delete_catalog&catalog_id=<?php echo $catalog->id; ?>"> + <?php echo get_user_icon('delete',_('Delete Catalog')); ?> </a> -</a></strong><br /> +<br /> <a href="<?php echo $web_path; ?>/admin/catalog.php?action=add_to_catalog&catalogs[]=<?php echo $catalog->id; ?>"><?php echo _('Add'); ?></a> | <a href="<?php echo $web_path; ?>/admin/catalog.php?action=update_catalog&catalogs[]=<?php echo $catalog->id; ?>"><?php echo _('Verify'); ?></a> | <a href="<?php echo $web_path; ?>/admin/catalog.php?action=clean_catalog&catalogs[]=<?php echo $catalog->id; ?>"><?php echo _('Clean'); ?></a> diff --git a/templates/sidebar_home.inc.php b/templates/sidebar_home.inc.php index 336dc3c5..4cd948c9 100644 --- a/templates/sidebar_home.inc.php +++ b/templates/sidebar_home.inc.php @@ -30,7 +30,7 @@ <option value="1000">1000</option> <option value="-1"><?php echo _('All'); ?></option> </select> -<!-- GENRE PULLDOWN --> +<!- GENRE PULLDOWN -> <br /> <select name="random_type" style="width:80px;"> <option value="Songs"><?php echo _('Songs'); ?></option> @@ -40,7 +40,7 @@ <option value="unplayed"><?php echo _('Less Played'); ?></option> </select> <br /> -<!-- CATALOG PULLDOWN --> +<!- CATALOG PULLDOWN -> <input class="smallbutton" type="submit" value="<?php echo _('Enqueue'); ?>" /> </form> <hr /> |