summaryrefslogtreecommitdiffstats
path: root/templates/show_box.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-08 02:32:45 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-01-08 02:32:45 +0000
commit3460950693c609876022a02eb5f42a59c768029e (patch)
tree4ea3cad99ebd54630f896832ba682d5c25fd3726 /templates/show_box.inc.php
parent47628fb4b901a5737743264ba14dca52be64a268 (diff)
downloadampache-3460950693c609876022a02eb5f42a59c768029e.tar.gz
ampache-3460950693c609876022a02eb5f42a59c768029e.tar.bz2
ampache-3460950693c609876022a02eb5f42a59c768029e.zip
tweaked album of the moment mojo and theoritical fix for flash player
Diffstat (limited to 'templates/show_box.inc.php')
-rw-r--r--templates/show_box.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/show_box.inc.php b/templates/show_box.inc.php
index 0682a9c4..6be8f960 100644
--- a/templates/show_box.inc.php
+++ b/templates/show_box.inc.php
@@ -22,9 +22,11 @@
?>
<span class="box-title"><?php echo $title; ?></span>
<ol>
+ <?php if (count($items)) { ?>
<?php
foreach ($items as $item) {
echo $item;
}
?>
+ <?php } else { echo '<span class="error">' . _('Not Enough Data') . '</span>'; } ?>
</ol>