diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-07-08 09:23:44 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-07-08 09:23:44 +0000 |
commit | ee0781732df509e32ce991ea2e516121b2ae0426 (patch) | |
tree | 6c1fadff7921759f730ebd18101944a38673d10e | |
parent | 0fee19d01038a043dc8ca39bade0281d634cf105 (diff) | |
download | ampache-ee0781732df509e32ce991ea2e516121b2ae0426.tar.gz ampache-ee0781732df509e32ce991ea2e516121b2ae0426.tar.bz2 ampache-ee0781732df509e32ce991ea2e516121b2ae0426.zip |
fixed some missing indications of no data
-rw-r--r-- | templates/show_catalogs.inc.php | 7 | ||||
-rw-r--r-- | templates/show_live_stream.inc.php | 3 | ||||
-rw-r--r-- | templates/show_tagcloud.inc.php | 3 |
3 files changed, 10 insertions, 3 deletions
diff --git a/templates/show_catalogs.inc.php b/templates/show_catalogs.inc.php index dedfa8f2..29c4d1ec 100644 --- a/templates/show_catalogs.inc.php +++ b/templates/show_catalogs.inc.php @@ -46,6 +46,13 @@ <?php require Config::get('prefix') . '/templates/show_catalog_row.inc.php'; ?> </tr> <?php } ?> +<tr class="<?php echo flip_class(); ?>"> +<td colspan="6"> +<?php if (!count($object_ids)) { ?> + <span class="fatalerror"><?php echo _('Not Enough Data'); ?></span> +<?php } ?> +</td> +</tr> <tr class="th-bottom"> <th class="cel_catalog"><?php echo _('Name'); ?></th> <th class="cel_path"><?php echo _('Path'); ?></th> diff --git a/templates/show_live_stream.inc.php b/templates/show_live_stream.inc.php index 794d23f9..b1630d44 100644 --- a/templates/show_live_stream.inc.php +++ b/templates/show_live_stream.inc.php @@ -25,9 +25,6 @@ <li> <a href="<?php echo Config::get('web_path'); ?>/radio.php?action=show_create"><?php echo get_user_icon('add',_('Add')); ?></a> <?php echo _('Add Radio Station'); ?> </li> -<li> - <a href="<?php echo Config::get('web_path'); ?>/playlist.php?action=show_import_playlist"><?php echo get_user_icon('world_link',_('Import')); ?></a> <?php echo _('Import'); ?> -</li> </ul> </div> <?php show_box_bottom(); ?> diff --git a/templates/show_tagcloud.inc.php b/templates/show_tagcloud.inc.php index 0f6d6e24..d629ea0e 100644 --- a/templates/show_tagcloud.inc.php +++ b/templates/show_tagcloud.inc.php @@ -29,4 +29,7 @@ $web_path = Config::get('web_path'); <span id="click_<?php echo intval($tag->id); ?>" class="<?php echo $tag->f_class; ?>"><?php echo $tag->name; ?></span> <?php echo Ajax::observe('click_' . intval($tag->id),'click',Ajax::action('?page=tag&action=add_filter&tag_id=' . intval($tag->id),'')); ?> <?php } ?> +<?php if (!count($object_ids)) { ?> +<span class="fatalerror"><?php echo _('Not Enough Data'); ?></span> +<?php } ?> <?php Ajax::end_container(); ?> |