diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-12-19 08:36:56 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-12-19 08:36:56 +0000 |
commit | 988f2a92ec9ad57d281e574da457638d1dcc8171 (patch) | |
tree | b20b3e42d0e1e882a01bda0fa38f4b02b32f15dc /templates | |
parent | 70df9d795a112c52fede9a3f86c0dc7f889a6326 (diff) | |
download | ampache-988f2a92ec9ad57d281e574da457638d1dcc8171.tar.gz ampache-988f2a92ec9ad57d281e574da457638d1dcc8171.tar.bz2 ampache-988f2a92ec9ad57d281e574da457638d1dcc8171.zip |
new icons
Diffstat (limited to 'templates')
-rw-r--r-- | templates/show_localplay_control.inc.php | 10 | ||||
-rw-r--r-- | templates/show_localplay_status.inc.php | 12 | ||||
-rw-r--r-- | templates/show_songs.inc | 4 | ||||
-rw-r--r-- | templates/show_users.inc | 4 |
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&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&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&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&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&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(); <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&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&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&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&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&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&user=$user->username&level=enabled\">" . get_user_icon('enable') . "</a></td>"; + echo "<td><a href=\"".$web_path."/admin/users.php?action=update&user=$user->username&level=enabled\">" . get_user_icon('disable','enable_hover') . "</a></td>"; } else { - echo "<td><a href=\"".$web_path."/admin/users.php?action=update&user=$user->username&level=disabled\">" . get_user_icon('disable') ."</a></td>"; + echo "<td><a href=\"".$web_path."/admin/users.php?action=update&user=$user->username&level=disabled\">" . get_user_icon('enable','disable_hover') ."</a></td>"; } ?> <td> |