diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-05 22:39:53 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-05 22:39:53 +0000 |
commit | 246c321617b18035725b3d42c6a313386687cedc (patch) | |
tree | 45262291e66caae786ed06873c2fe9e67089f8ae /templates/show_playlist_row.inc.php | |
parent | ad3d2363c4c20d6b5049c8db92d08786650bd2ae (diff) | |
download | ampache-246c321617b18035725b3d42c6a313386687cedc.tar.gz ampache-246c321617b18035725b3d42c6a313386687cedc.tar.bz2 ampache-246c321617b18035725b3d42c6a313386687cedc.zip |
fixed some typos, minor bugs, updated the sql, added playlist as a browse type
Diffstat (limited to 'templates/show_playlist_row.inc.php')
-rw-r--r-- | templates/show_playlist_row.inc.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/show_playlist_row.inc.php b/templates/show_playlist_row.inc.php new file mode 100644 index 00000000..f4c4cc3b --- /dev/null +++ b/templates/show_playlist_row.inc.php @@ -0,0 +1,35 @@ +<?php +/* + + Copyright (c) 2001 - 2007 Ampache.org + All rights reserved. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License v2 + as published by the Free Software Foundation. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*/ +?> +<td> + <?php echo Ajax::button('?action=basket&type=playlist&id=' . $playlist->id,'add',_('Add'),'add_playlist_' . $playlist->id); ?> + <?php echo Ajax::button('?action=basket&type=playlist_random&id=' . $playlist->id,'random',_('Random'),'random_playlist_' . $playlist->id); ?> +</td> +<td><?php echo $playlist->f_link; ?></td> +<td><?php echo $count; ?></td> +<td><?php echo scrub_out($playlist->f_user); ?></td> +<td> + <?php if (Access::check_function('batch_download')) { ?> + <a href="<?php echo Config::get('web_path'); ?>/batch.php?action=playlist&id=<?php echo $playlist->id; ?>"> + <?php echo get_user_icon('batch_download',_('Batch Download')); ?> + </a> + <?php } ?> +</td> |