summaryrefslogtreecommitdiffstats
path: root/templates/show_object_row.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-06 04:22:19 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-08-06 04:22:19 +0000
commitfe077220bf08ac7ad466e6fdfe88197c6d4ed56e (patch)
tree1e8d8eab876246fc57a1e6c414fe763570690bf6 /templates/show_object_row.inc.php
parentadd90bc902ce762626fe72d408f42d705d3f9de7 (diff)
downloadampache-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_object_row.inc.php')
-rw-r--r--templates/show_object_row.inc.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/show_object_row.inc.php b/templates/show_object_row.inc.php
new file mode 100644
index 00000000..989eb5d0
--- /dev/null
+++ b/templates/show_object_row.inc.php
@@ -0,0 +1,29 @@
+<?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.
+
+*/
+/**
+ * Completely variable row does have UID for Ajax ($object->uid)
+ * build TD's from $headers $key=>$header
+ */
+
+?>
+<?php foreach ($headers as $key=>$header) { ?>
+ <td><?php echo $object->$key; ?></td>
+<?php } ?>