summaryrefslogtreecommitdiffstats
path: root/templates/show_shoutbox.inc.php
diff options
context:
space:
mode:
authorspocky <spocky@ampache>2008-03-17 20:29:24 +0000
committerspocky <spocky@ampache>2008-03-17 20:29:24 +0000
commit7ddc95541d649fdf0121eafcd71a93376b16efec (patch)
treecb0fcb9f4ad2c9844a5cc08106a43900c7b7b7d9 /templates/show_shoutbox.inc.php
parentb96588ebc587f18f75e3dbe0240b180371ae4ff4 (diff)
downloadampache-7ddc95541d649fdf0121eafcd71a93376b16efec.tar.gz
ampache-7ddc95541d649fdf0121eafcd71a93376b16efec.tar.bz2
ampache-7ddc95541d649fdf0121eafcd71a93376b16efec.zip
shoutbox now makes use of flip_class
rewrote show_song code and css
Diffstat (limited to 'templates/show_shoutbox.inc.php')
-rw-r--r--templates/show_shoutbox.inc.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/show_shoutbox.inc.php b/templates/show_shoutbox.inc.php
index 9d99620e..83c02f6e 100644
--- a/templates/show_shoutbox.inc.php
+++ b/templates/show_shoutbox.inc.php
@@ -22,17 +22,14 @@
<?php show_box_top(_('Shoutbox')); ?>
<div id="shoutbox">
<?php
- $rowparity="even";
foreach ($shouts as $shout_id) {
$shout = new shoutBox($shout_id);
$object = shoutBox::get_object($shout->object_type,$shout->object_id);
$object->format();
$client = new User($shout->user);
$client->format();
-
- $rowparity = ($rowparity=="even") ? "odd" : "even";
?>
-<div class="shout <?php echo($rowparity) ?>">
+<div class="shout <?php echo flip_class(); ?>">
<?php echo $shout->get_image(); ?>
<strong><?php echo ucfirst($shout->object_type); ?>:</strong> <?php echo $object->f_link; ?>
<span class="information"><?php echo $client->f_link; ?> <?php echo date("d/m H:i",$shout->date); ?></span>