diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-11-05 21:48:43 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2006-11-05 21:48:43 +0000 |
commit | a8589cef1e311a032a67ecdc61e2b73197373288 (patch) | |
tree | cfd486596c2126247acfca5a026db2c27cf06277 /templates/sidebar.inc.php | |
parent | f24fa20acbd2d7ff7175dab391e75f743c634e87 (diff) | |
download | ampache-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.php | 5 |
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'))?> |