diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-03-07 06:51:52 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-03-07 06:51:52 +0000 |
commit | bd270b02274b4e43a887e86805a44cf456f2da38 (patch) | |
tree | 8accb5ce9cbccd2f051eb271f9daa30c589e0fc2 /templates/show_manage_democratic.inc.php | |
parent | 84b483c99a32452dc53b9b77fdf818c710bcd5d3 (diff) | |
download | ampache-bd270b02274b4e43a887e86805a44cf456f2da38.tar.gz ampache-bd270b02274b4e43a887e86805a44cf456f2da38.tar.bz2 ampache-bd270b02274b4e43a887e86805a44cf456f2da38.zip |
fixed the acl issue... sigh
Diffstat (limited to 'templates/show_manage_democratic.inc.php')
-rw-r--r-- | templates/show_manage_democratic.inc.php | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/templates/show_manage_democratic.inc.php b/templates/show_manage_democratic.inc.php index 8c5a88c0..8361e525 100644 --- a/templates/show_manage_democratic.inc.php +++ b/templates/show_manage_democratic.inc.php @@ -25,23 +25,33 @@ show_box_top(_('Manage Democratic Playlists')); ?> <col id="col_number" /> <col id="col_base_playlist" /> <col id="col_vote_count" /> + <col id="col_cooldown" /> + <col id="col_level" /> + <col id="col_default" /> <col id="col_action" /> </colgroup> <tr class="th-top"> <th class="cel_number"><?php echo _('Playlist'); ?></th> <th class="cel_base_playlist"><?php echo _('Base Playlist'); ?></th> + <th class="cel_cooldown"><?php echo _('Cooldown'); ?></th> + <th class="cel_level"><?php echo _('Level'); ?></th> + <th class="cel_default"><?php echo _('Default'); ?></th> <th class="cel_vote_count"><?php echo _('Songs'); ?></th> <th class="cel_action"><?php echo _('Action'); ?></th> </tr> <?php foreach ($playlists as $democratic_id) { $democratic = new Democratic($democratic_id); + $democratic->format(); $playlist = new Playlist($democratic->base_playlist); $playlist->format(); ?> <tr class="<?php echo flip_class(); ?>"> - <td><?php echo abs($democratic->id); ?></td> + <td><?php echo scrub_out($democratic->name); ?></td> <td><?php echo $playlist->f_link; ?></td> + <td><?php echo $democratic->f_cooldown; ?></td> + <td><?php echo $democratic->f_level; ?></td> + <td><?php echo $democratic->f_primary; ?></td> <td><?php echo $democratic->count_items(); ?></td> <td> <?php echo Ajax::button('?page=democratic&action=send_playlist','all',_('Play'),'play_democratic'); ?> @@ -49,7 +59,7 @@ show_box_top(_('Manage Democratic Playlists')); ?> </tr> <?php } if (!count($playlists)) { ?> <tr> - <td colspan="4"><span class="fatalerror"><?php echo _('Not Enough Data'); ?></span></td> + <td colspan="7"><span class="fatalerror"><?php echo _('Not Enough Data'); ?></span></td> </tr> <?php } ?> </table> |