diff options
author | Chris Slamar <chris@slamar.org> | 2010-12-14 21:55:35 -0600 |
---|---|---|
committer | Chris Slamar <chris@slamar.org> | 2010-12-14 21:55:35 -0600 |
commit | 441532ef247f761127bd11981c17ac6b10f3a163 (patch) | |
tree | e6f4414b8bf661c42550a169d09d396dcac6f3c5 /templates/show_now_playing.inc.php | |
parent | 67b5cbee4af139605292532d89e8b4436bba5711 (diff) | |
download | ampache-441532ef247f761127bd11981c17ac6b10f3a163.tar.gz ampache-441532ef247f761127bd11981c17ac6b10f3a163.tar.bz2 ampache-441532ef247f761127bd11981c17ac6b10f3a163.zip |
fixed typo. One of many I imagine
Diffstat (limited to 'templates/show_now_playing.inc.php')
-rw-r--r-- | templates/show_now_playing.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/show_now_playing.inc.php b/templates/show_now_playing.inc.php index 35e3d3f9..cef484a4 100644 --- a/templates/show_now_playing.inc.php +++ b/templates/show_now_playing.inc.php @@ -30,9 +30,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. if (count($results)) { $link = Config::get('use_rss') ? ' ' . AmpacheRSS::get_display('nowplaying') : ''; -$link2 = '<a href="' . Config::get('web_path') . '/modules/twitter/twitter_login.php"><img src="' . Config::get('web_path') . '/modules/twitter/Twitter-Icon.png" width="18" height="18"></a>'; +$twitter = Config::get('twitter') ? ' ' . '<a href="' . Config::get('web_path') . '/modules/twitter/twitter_login.php"><img src="' . Config::get('web_path') . '/modules/twitter/Twitter-Icon.png" width="18" height="18"></a>' : ''; ?> -<?php show_box_top(_('Now Playing') . $link . $link2 ); ?> +<?php show_box_top(_('Now Playing') . $link . $twitter ); ?> <?php foreach ($results as $item) { $media = $item['media']; |