diff options
author | xgizzmo <xgizzmo@ampache> | 2006-09-29 22:01:47 +0000 |
---|---|---|
committer | xgizzmo <xgizzmo@ampache> | 2006-09-29 22:01:47 +0000 |
commit | f7da90404df44001e9595039a6aed864febfdf3b (patch) | |
tree | c16ba503df9c19a11ca6814ed7b7a98abd07d38f | |
parent | a89b759d813de4377581f23de8b90dfe85fc767f (diff) | |
download | ampache-f7da90404df44001e9595039a6aed864febfdf3b.tar.gz ampache-f7da90404df44001e9595039a6aed864febfdf3b.tar.bz2 ampache-f7da90404df44001e9595039a6aed864febfdf3b.zip |
fixed some XHTML issues
-rw-r--r-- | templates/show_localplay_control.inc.php | 10 | ||||
-rw-r--r-- | templates/show_localplay_status.inc.php | 10 | ||||
-rw-r--r-- | templates/show_upload.inc | 1 |
3 files changed, 10 insertions, 11 deletions
diff --git a/templates/show_localplay_control.inc.php b/templates/show_localplay_control.inc.php index fa11c700..b45cd887 100644 --- a/templates/show_localplay_control.inc.php +++ b/templates/show_localplay_control.inc.php @@ -29,23 +29,23 @@ $ajax_url = $web_path . '/server/ajax.server.php'; ?> <div class="localplaycontrol" style="display:table-cell;cursor:pointer;padding:2px;"> <?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;"> +<span class="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" 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;"> +<span class="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" 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 $required_info; ?>','localplay_state');return true;"> +<span class="pause_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&cmd=pause<?php echo $required_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;"> +<span class="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" 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;"> +<span class="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" alt="next" /> </span> <?php } ?> diff --git a/templates/show_localplay_status.inc.php b/templates/show_localplay_status.inc.php index 28918a35..2fab62de 100644 --- a/templates/show_localplay_status.inc.php +++ b/templates/show_localplay_status.inc.php @@ -41,17 +41,17 @@ $track_name = ltrim(ltrim($track_name,' - ')); <div align="center"><?php require (conf('prefix') . '/templates/show_localplay_control.inc.php'); ?></div> <div align="center"> <?php if ($localplay->has_function('volume_up')) { ?> - <span id="up_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&cmd=volume_up<?php echo $required_info; ?>','localplay_state');return true;"> + <span class="up_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&cmd=volume_up<?php echo $required_info; ?>','localplay_state');return true;"> <img src="<?php echo $web_path; ?>/images/localplay/volup.gif" alt="volume up" /> </span> <?php } ?> <?php if ($localplay->has_function('volume_down')) { ?> - <span id="down_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&cmd=volume_down<?php echo $required_info; ?>','localplay_state');return true;"> + <span class="down_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&cmd=volume_down<?php echo $required_info; ?>','localplay_state');return true;"> <img src="<?php echo $web_path; ?>/images/localplay/voldn.gif" alt="volume down" /> </span> <?php } ?> <?php if ($localplay->has_function('volume_mute')) { ?> - <span id="mute_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&cmd=volume_mute<?php echo $required_info; ?>','localplay_state');return true;"> + <span class="mute_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&cmd=volume_mute<?php echo $required_info; ?>','localplay_state');return true;"> <img src="<?php echo $web_path; ?>/images/localplay/volmute.gif" alt="volume mute" /> </span> <?php } ?> @@ -61,13 +61,13 @@ $track_name = ltrim(ltrim($track_name,' - ')); <br /> <?php if ($localplay->has_function('repeat')) { ?> <?php echo _('Repeat') . ":" . print_boolean($status['repeat']); ?> | - <a href="<?php echo $web_path; ?>/localplay.php?action=repeat&value=<?php echo invert_boolean($status['repeat']); ?>"> + <a href="<?php echo $web_path; ?>/localplay.php?action=repeat&value=<?php echo invert_boolean($status['repeat']); ?>"> <?php echo print_boolean(invert_boolean($status['repeat'])); ?> </a><br /> <?php } ?> <?php if ($localplay->has_function('random')) { ?> <?php echo _('Random') . ":" . print_boolean($status['random']); ?> | - <a href="<?php echo $web_path; ?>/localplay.php?action=random&value=<?php echo invert_boolean($status['random']); ?>"> + <a href="<?php echo $web_path; ?>/localplay.php?action=random&value=<?php echo invert_boolean($status['random']); ?>"> <?php echo print_boolean(invert_boolean($status['random'])); ?> </a><br /> <?php } ?> diff --git a/templates/show_upload.inc b/templates/show_upload.inc index a836131b..7e394006 100644 --- a/templates/show_upload.inc +++ b/templates/show_upload.inc @@ -29,7 +29,6 @@ <tr> <td> <b><?php echo _('The following Audio file formats are supported'); ?></b> - </p> <ul> <li>OGG</li> <li>Mp3</li> |