diff options
author | TheTroll <trolldev@gmail.com> | 2010-02-25 19:32:33 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-02-25 19:32:33 +0100 |
commit | dd97986356655a1a84ecb55bb67c007b82fc2783 (patch) | |
tree | 6ca0bf6389b3f23ce07e21e4f32553bad782723d /includes | |
parent | 627da0570e79865643ae3c23c0f5244ac46d5d68 (diff) | |
download | istreamdev-dd97986356655a1a84ecb55bb67c007b82fc2783.tar.gz istreamdev-dd97986356655a1a84ecb55bb67c007b82fc2783.tar.bz2 |
Fixed home button
Diffstat (limited to 'includes')
-rwxr-xr-x | includes/inc_audio.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/includes/inc_audio.php b/includes/inc_audio.php index b1f58e3..f0e0046 100755 --- a/includes/inc_audio.php +++ b/includes/inc_audio.php @@ -13,11 +13,16 @@ if ($subdir[strlen($subdir)-1] != '/') print "<body class=\"ipodlist\">\r\n"; print "<div id=\"topbar\" class=\"transparent\">\r\n"; + print "<div id=\"leftnav\">\r\n"; -print " <a href=\"javascript:sendForm('getback')\">Back</a>\r\n"; -print "</div>\r\n"; -print "<div id=\"rightnav\">\r\n"; -print " <a href=\"index.php\"><img alt=\"home\" src=\"images/home.png\" /></a></div>\r\n"; +if ($subdir == '/') + print " <a href=\"index.php\"><img alt=\"home\" src=\"images/home.png\" /></a></div>\r\n"; +else +{ + print " <a href=\"javascript:sendForm('getback')\">Back</a></div>\r\n"; + print "<div id=\"rightnav\">\r\n"; + print " <a href=\"index.php\"><img alt=\"home\" src=\"images/home.png\" /></a></div>\r\n"; +} print "<div id=\"title\">iStreamdev</div>\r\n"; print "</div>\r\n"; |