summaryrefslogtreecommitdiffstats
path: root/templates/sidebar.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-11-05 21:48:43 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-11-05 21:48:43 +0000
commita8589cef1e311a032a67ecdc61e2b73197373288 (patch)
treecfd486596c2126247acfca5a026db2c27cf06277 /templates/sidebar.inc.php
parentf24fa20acbd2d7ff7175dab391e75f743c634e87 (diff)
downloadampache-a8589cef1e311a032a67ecdc61e2b73197373288.tar.gz
ampache-a8589cef1e311a032a67ecdc61e2b73197373288.tar.bz2
ampache-a8589cef1e311a032a67ecdc61e2b73197373288.zip
working democratic play
Diffstat (limited to 'templates/sidebar.inc.php')
-rw-r--r--templates/sidebar.inc.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/sidebar.inc.php b/templates/sidebar.inc.php
index cd620975..ff61c4f8 100644
--- a/templates/sidebar.inc.php
+++ b/templates/sidebar.inc.php
@@ -196,6 +196,11 @@ $web_path = conf('web_path');
</li>
<?php } // if horizontal orientation ?>
<?php } // if localplay access ?>
+<?php if ($GLOBALS['user']->prefs['play_type'] == 'democratic') { ?>
+ <li>
+ <a href="<?php echo $web_path; ?>/tv.php"><?php echo _('Democratic View'); ?></a>
+ </li>
+<?php } // if democratic play ?>
<?php if (conf('use_auth')) { ?>
<li><a href="<?php echo $web_path; ?>/logout.php"><?php echo _('Logout'); ?></a></li>
<?php } // end (conf('use_auth'))?>