diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-06 04:22:19 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2007-08-06 04:22:19 +0000 |
commit | fe077220bf08ac7ad466e6fdfe88197c6d4ed56e (patch) | |
tree | 1e8d8eab876246fc57a1e6c414fe763570690bf6 /templates/show_objects.inc.php | |
parent | add90bc902ce762626fe72d408f42d705d3f9de7 (diff) | |
download | ampache-fe077220bf08ac7ad466e6fdfe88197c6d4ed56e.tar.gz ampache-fe077220bf08ac7ad466e6fdfe88197c6d4ed56e.tar.bz2 ampache-fe077220bf08ac7ad466e6fdfe88197c6d4ed56e.zip |
broke a ton of stuff, but added some hotness... yes that is an excuse
Diffstat (limited to 'templates/show_objects.inc.php')
-rw-r--r-- | templates/show_objects.inc.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/templates/show_objects.inc.php b/templates/show_objects.inc.php new file mode 100644 index 00000000..cd1445a7 --- /dev/null +++ b/templates/show_objects.inc.php @@ -0,0 +1,40 @@ +<?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. + +*/ + +/* + * Variable/Non-DB object display takes headers & objects + */ +?> +<table class="table-data" cellspacing="0"> +<tr class="<?php echo flip_class(); ?>"> +<?php foreach ($headers as $header) { ?> + <th><?php echo scrub_out($header); ?></th> +<?php } ?> +</tr> +<?php + foreach ($objects as $object) { + $object->format(); +?> +<tr id="object_row_<?php echo $object->uid; ?>" class="<?php echo flip_class(); ?>"> + <?php require Config::get('prefix') . '/templates/show_object_row.inc.php'; ?> +</tr> +<?php } ?> +</table> |