summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxgizzmo <xgizzmo@ampache>2006-04-08 13:07:34 +0000
committerxgizzmo <xgizzmo@ampache>2006-04-08 13:07:34 +0000
commit46b19c81697929117bf2f0585cc2beb1c879e49c (patch)
tree5119ef394e5fcbea8091048aa2a6a9d0dcdc5296
parent2b55e30467f5ccdf9324b0377c419c5681f4c215 (diff)
downloadampache-46b19c81697929117bf2f0585cc2beb1c879e49c.tar.gz
ampache-46b19c81697929117bf2f0585cc2beb1c879e49c.tar.bz2
ampache-46b19c81697929117bf2f0585cc2beb1c879e49c.zip
Tweaked code to pass XHTML validation. Been busy lately, bad xgizzmo goto your room!
-rw-r--r--templates/show_admin_tools.inc.php2
-rw-r--r--templates/show_localplay_control.inc.php26
2 files changed, 14 insertions, 14 deletions
diff --git a/templates/show_admin_tools.inc.php b/templates/show_admin_tools.inc.php
index ff66675d..b843feca 100644
--- a/templates/show_admin_tools.inc.php
+++ b/templates/show_admin_tools.inc.php
@@ -67,7 +67,7 @@ $users = $GLOBALS['user']->get_recent(10);
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=clean_all_catalogs"><?php echo _('Clean All'); ?></a>&nbsp;
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=update_all_catalogs"><?php echo _('Verify All'); ?></a>&nbsp;
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=add_to_all_catalogs"><?php echo _('Add to All'); ?></a>&nbsp;
-<a href="<?php echo $web_path; ?>/admin/catalog.php?action=full_service"><?php echo _('Update All'); ?></a>&nbsp;<hr height="5px" />
+<a href="<?php echo $web_path; ?>/admin/catalog.php?action=full_service"><?php echo _('Update All'); ?></a>&nbsp;<hr noshade="noshade" size="3" />
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=show_add_catalog"><?php echo _('Add a Catalog'); ?></a>
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=show_clear_stats"><?php echo _('Clear Catalog Stats'); ?></a>
<a href="<?php echo $web_path; ?>/admin/catalog.php?action=gather_album_art"><?php echo _('Gather Album Art'); ?></a>
diff --git a/templates/show_localplay_control.inc.php b/templates/show_localplay_control.inc.php
index db771110..b40fcc77 100644
--- a/templates/show_localplay_control.inc.php
+++ b/templates/show_localplay_control.inc.php
@@ -23,40 +23,40 @@
$web_path = conf('web_path');
$data = $localplay->status();
-$required_info = "&user_id=" . $GLOBALS['user']->id . "&sessid=" . session_id();
+$required_info = "&amp;user_id=" . $GLOBALS['user']->id . "&amp;sessid=" . session_id();
$ajax_url = $web_path . '/server/ajax.server.php';
?>
<?php if ($localplay->has_function('prev')) { ?>
-<span id="prev_button" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=localplay&cmd=prev<?php echo $required_info; ?>','localplay_state');return true;">
- <img src="<?php echo $web_path; ?>/images/localplay/prev.gif">
+<span id="prev_button" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=localplay&amp;cmd=prev<?php echo $required_info; ?>','localplay_state');return true;">
+ <img src="<?php echo $web_path; ?>/images/localplay/prev.gif" alt="prev" />
</span>
<?php } ?>
-<span id="stop_button" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=localplay&cmd=stop<?php echo $required_info; ?>','localplay_state');return true;">
- <img src="<?php echo $web_path; ?>/images/localplay/stop.gif">
+<span id="stop_button" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=localplay&amp;cmd=stop<?php echo $required_info; ?>','localplay_state');return true;">
+ <img src="<?php echo $web_path; ?>/images/localplay/stop.gif" alt="stop" />
</span>
<?php if ($localplay->has_function('pause')) { ?>
-<span id="pause_button" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=localplay&cmd=pause<?php echo $requird_info; ?>','localplay_state');return true;">
- <img src="<?Php echo $web_path; ?>/images/localplay/pause.gif">
+<span id="pause_button" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=localplay&amp;cmd=pause<?php echo $requird_info; ?>','localplay_state');return true;">
+ <img src="<?Php echo $web_path; ?>/images/localplay/pause.gif" alt="pause" />
</span>
<?php } ?>
-<span id="play_button" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=localplay&cmd=play<?php echo $required_info; ?>','localplay_state');return true;">
- <img src="<?php echo $web_path; ?>/images/localplay/play.gif">
+<span id="play_button" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=localplay&amp;cmd=play<?php echo $required_info; ?>','localplay_state');return true;">
+ <img src="<?php echo $web_path; ?>/images/localplay/play.gif" alt="play" />
</span>
<?php if ($localplay->has_function('next')) { ?>
-<span id="next_button" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=localplay&cmd=next<?php echo $required_info; ?>','localplay_state');return true;">
- <img src="<?php echo $web_path; ?>/images/localplay/next.gif">
+<span id="next_button" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=localplay&amp;cmd=next<?php echo $required_info; ?>','localplay_state');return true;">
+ <img src="<?php echo $web_path; ?>/images/localplay/next.gif" alt="next" />
</span>
<?php } ?>
<br />
Current State:<span id="localplay_state"><?php echo $data['state']; ?></span><br />
<span id="play_type">
<?php if (conf('play_type') == 'localplay' AND strlen($_SESSION['data']['old_play_type'])) { ?>
-<span style="text-decoration:underline;cursor:pointer;" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=change_play_type&type=<?php echo $_SESSION['data']['old_play_type'] . $required_info; ?>','play_type');return true;">
+<span style="text-decoration:underline;cursor:pointer;" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=change_play_type&amp;type=<?php echo $_SESSION['data']['old_play_type'] . $required_info; ?>','play_type');return true;">
<?php echo ucfirst($_SESSION['data']['old_play_type']) . ' ' . _('Mode'); ?>
</span>
<?php } else { ?>
-<span style="text-decoration:underline;cursor:pointer;" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=change_play_type&type=localplay<?php echo $required_info; ?>','play_type');return true;">
+<span style="text-decoration:underline;cursor:pointer;" onclick="ajaxPut('<?php echo $ajax_url; ?>','action=change_play_type&amp;type=localplay<?php echo $required_info; ?>','play_type');return true;">
<?php echo _('Localplay Mode'); ?>
</span>
<?php } ?>