diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-09 04:30:12 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-09-09 04:30:12 +0000 |
commit | 83815169ceb211d4449928b21c02539795f81624 (patch) | |
tree | aaaba2fda75b216c456ce99fd07aa3c98fbd1c24 /templates/show_catalogs.inc.php | |
parent | b33aa8aec67006e641f2054e01b35a0bba316922 (diff) | |
download | ampache-83815169ceb211d4449928b21c02539795f81624.tar.gz ampache-83815169ceb211d4449928b21c02539795f81624.tar.bz2 ampache-83815169ceb211d4449928b21c02539795f81624.zip |
fixed some +x stuff that shouldnt have been +x and moved the catalog functions back into the content area
Diffstat (limited to 'templates/show_catalogs.inc.php')
-rw-r--r-- | templates/show_catalogs.inc.php | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/templates/show_catalogs.inc.php b/templates/show_catalogs.inc.php new file mode 100644 index 00000000..2df65eda --- /dev/null +++ b/templates/show_catalogs.inc.php @@ -0,0 +1,49 @@ +<?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. + +*/ +?> +<table class="tabledata" cellspacing="0" cellpadding="0"> +<tr> + <td colspan="5"> + <?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?> + </td> +</tr> +<tr class="table-header"> + <th><?php echo _('Name'); ?></th> + <th><?php echo _('Path'); ?></th> + <th><?php echo _('Last Update'); ?></th> + <th><?php echo _('Last Add'); ?></th> + <th><?php echo _('Actions'); ?></th> +</tr> +<?php + foreach ($object_ids as $catalog_id) { + $catalog = new Catalog($catalog_id); + $catalog->format(); +?> +<tr class="<?php echo flip_class(); ?>" id="catalog_<?php echo $catalog->id; ?>"> + <?php require Config::get('prefix') . '/templates/show_catalog_row.inc.php'; ?> +</tr> +<?php } ?> +<tr> + <td colspan="5"> + <?php require Config::get('prefix') . '/templates/list_header.inc.php'; ?> + </td> +</tr> +</table> |