summaryrefslogtreecommitdiffstats
path: root/templates/show_manage_shoutbox.inc.php
diff options
context:
space:
mode:
authorpb1dft <pb1dft@ampache>2008-02-23 23:44:31 +0000
committerpb1dft <pb1dft@ampache>2008-02-23 23:44:31 +0000
commit6bd576a9fe2524f5c662767206efdebf0b43c8ab (patch)
tree79a1c7b402517e650cf5cd7008c1eb14accd5528 /templates/show_manage_shoutbox.inc.php
parenta79d27c52ace4b0c13fc0e5f88b4d857b85557e1 (diff)
downloadampache-6bd576a9fe2524f5c662767206efdebf0b43c8ab.tar.gz
ampache-6bd576a9fe2524f5c662767206efdebf0b43c8ab.tar.bz2
ampache-6bd576a9fe2524f5c662767206efdebf0b43c8ab.zip
- Fixed Sorting on Admin->Browse Users
- Fixed Shoutbox and shoutbox management (pb1dft)
Diffstat (limited to 'templates/show_manage_shoutbox.inc.php')
-rw-r--r--templates/show_manage_shoutbox.inc.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/show_manage_shoutbox.inc.php b/templates/show_manage_shoutbox.inc.php
index 33c10c2d..9394aaab 100644
--- a/templates/show_manage_shoutbox.inc.php
+++ b/templates/show_manage_shoutbox.inc.php
@@ -27,6 +27,7 @@ $web_path = Config::get('web_path');
<col id="col_username" />
<col id="col_sticky" />
<col id="col_comment" />
+ <col id="col_date />
<col id="col_action" />
</colgroup>
<tr class="th-top">
@@ -34,11 +35,18 @@ $web_path = Config::get('web_path');
<th class="cel_username"><?php echo _('User'); ?></th>
<th class="cel_flag"><?php echo _('Sticky'); ?></th>
<th class="cel_comment"><?php echo _('Comment'); ?></th>
+ <th class="cel_date"><?php echo _('Date Added'); ?></th>
<th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
<?php
foreach ($object_ids as $shout_id) {
$shout = new shoutBox($shout_id);
+ $shout->format();
+ $object = shoutBox::get_object($shout->object_type,$shout->object_id);
+ $object->format();
+ $client = new User($shout->user);
+ $client->format();
+
require Config::get('prefix') . '/templates/show_shout_row.inc.php';
?>
<?php } if (!count($object_ids)) { ?>
@@ -51,6 +59,7 @@ foreach ($object_ids as $shout_id) {
<th class="cel_username"><?php echo _('User'); ?></th>
<th class="cel_sticky"><?php echo _('Sticky'); ?></th>
<th class="cel_comment"><?php echo _('Comment'); ?></th>
+ <th class="cel_date"><?php echo _('Date Added'); ?></th>
<th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
</table>