summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/show_localplay_control.inc.php10
-rw-r--r--templates/show_localplay_status.inc.php12
-rw-r--r--templates/show_songs.inc4
-rw-r--r--templates/show_users.inc4
4 files changed, 12 insertions, 18 deletions
diff --git a/templates/show_localplay_control.inc.php b/templates/show_localplay_control.inc.php
index ee4512be..e3384431 100644
--- a/templates/show_localplay_control.inc.php
+++ b/templates/show_localplay_control.inc.php
@@ -32,23 +32,23 @@ if (is_object($localplay)) {
<div class="localplaycontrol" style="display:table-cell;cursor:pointer;padding:2px;">
<?php if ($localplay->has_function('prev')) { ?>
<span class="prev_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&amp;cmd=prev<?php echo $required_info; ?>');return true;">
- <img src="<?php echo $web_path; ?>/images/localplay/prev.gif" alt="prev" />
+ <?php echo get_user_icon('prev','prev_hover'); ?>
</span>
<?php } ?>
<span class="stop_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&amp;cmd=stop<?php echo $required_info; ?>');return true;">
- <img src="<?php echo $web_path; ?>/images/localplay/stop.gif" alt="stop" />
+ <?php echo get_user_icon('stop','stop_hover'); ?>
</span>
<?php if ($localplay->has_function('pause')) { ?>
<span class="pause_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&amp;cmd=pause<?php echo $required_info; ?>');return true;">
- <img src="<?php echo $web_path; ?>/images/localplay/pause.gif" alt="pause" />
+ <?php echo get_user_icon('pause','pause_hover'); ?>
</span>
<?php } ?>
<span class="play_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&amp;cmd=play<?php echo $required_info; ?>');return true;">
- <img src="<?php echo $web_path; ?>/images/localplay/play.gif" alt="play" />
+ <?php echo get_user_icon('play','play_hover'); ?>
</span>
<?php if ($localplay->has_function('next')) { ?>
<span class="next_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&amp;cmd=next<?php echo $required_info; ?>');return true;">
- <img src="<?php echo $web_path; ?>/images/localplay/next.gif" alt="next" />
+ <?php echo get_user_icon('next','next_hover'); ?>
</span>
<?php } ?>
</div>
diff --git a/templates/show_localplay_status.inc.php b/templates/show_localplay_status.inc.php
index e7f4dcce..c92d97dd 100644
--- a/templates/show_localplay_status.inc.php
+++ b/templates/show_localplay_status.inc.php
@@ -33,25 +33,19 @@ $status = $localplay->status();
&nbsp;&nbsp;<span id="lp_playing"><?php echo $localplay->get_user_playing(); ?></span><br />
<div align="center"><?php require (conf('prefix') . '/templates/show_localplay_control.inc.php'); ?></div>
<div align="center">
- <script type="text/javascript" language="javascript">
- <!--
- var lp_v = new Array(1);
- lp_v[0] = "lp_volume";
- -->
- </script>
<?php if ($localplay->has_function('volume_up')) { ?>
<span class="up_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&amp;cmd=volume_up<?php echo $required_info; ?>','lp_v');return true;">
- <img src="<?php echo $web_path; ?>/images/localplay/volup.gif" alt="volume up" />
+ <?php echo get_user_icon('volumeup'); ?>
</span>
<?php } ?>
<?php if ($localplay->has_function('volume_down')) { ?>
<span class="down_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&amp;cmd=volume_down<?php echo $required_info; ?>','lp_v');return true;">
- <img src="<?php echo $web_path; ?>/images/localplay/voldn.gif" alt="volume down" />
+ <?php echo get_user_icon('volumedn'); ?>
</span>
<?php } ?>
<?php if ($localplay->has_function('volume_mute')) { ?>
<span class="mute_button" onclick="ajaxPut('<?php echo $ajax_url; ?>?action=localplay&amp;cmd=volume_mute<?php echo $required_info; ?>','lp_v');return true;">
- <img src="<?php echo $web_path; ?>/images/localplay/volmute.gif" alt="volume mute" />
+ <?php echo get_user_icon('volumemute'); ?>
</span>
<?php } ?>
<br />
diff --git a/templates/show_songs.inc b/templates/show_songs.inc
index 8e3c0247..0fa0569c 100644
--- a/templates/show_songs.inc
+++ b/templates/show_songs.inc
@@ -138,11 +138,11 @@ foreach ($song_ids as $song_id) {
</a> |
<?php if ($song->enabled) { ?>
<a href="<?php echo $web_path; ?>/admin/flag.php?action=disable&amp;song_ids=<?php echo $song->id; ?>">
- <?php echo get_user_icon('disable'); ?>
+ <?php echo get_user_icon('enable','disable_hover'); ?>
</a>
<?php } else { ?>
<a href="<?php echo $web_path; ?>/admin/flag.php?action=enabled&amp;song_ids=<?php echo $song->id; ?>">
- <?php echo get_user_icon('enable'); ?>
+ <?php echo get_user_icon('disable','enable_hover'); ?>
</a>
<?php } //status ?>
<?php } //access ?>
diff --git a/templates/show_users.inc b/templates/show_users.inc
index 6b7d3e14..48eb11a3 100644
--- a/templates/show_users.inc
+++ b/templates/show_users.inc
@@ -116,10 +116,10 @@ while ($results = mysql_fetch_object($db_result)) {
<?php
//FIXME: Fix this for the extra permission levels
if ($user->disabled == '1') {
- echo "<td><a href=\"".$web_path."/admin/users.php?action=update&amp;user=$user->username&amp;level=enabled\">" . get_user_icon('enable') . "</a></td>";
+ echo "<td><a href=\"".$web_path."/admin/users.php?action=update&amp;user=$user->username&amp;level=enabled\">" . get_user_icon('disable','enable_hover') . "</a></td>";
}
else {
- echo "<td><a href=\"".$web_path."/admin/users.php?action=update&amp;user=$user->username&amp;level=disabled\">" . get_user_icon('disable') ."</a></td>";
+ echo "<td><a href=\"".$web_path."/admin/users.php?action=update&amp;user=$user->username&amp;level=disabled\">" . get_user_icon('enable','disable_hover') ."</a></td>";
}
?>
<td>