summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-04-20 22:35:21 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-04-20 22:35:21 +0000
commit2801dae0767b84d0e6b842e55dbef5b656eb65f7 (patch)
tree19ae248e442ef12c7912430810eaf003711b1c50 /templates
parent6952af791f180929bb0e31c5f2e0942fe25df86d (diff)
downloadampache-2801dae0767b84d0e6b842e55dbef5b656eb65f7.tar.gz
ampache-2801dae0767b84d0e6b842e55dbef5b656eb65f7.tar.bz2
ampache-2801dae0767b84d0e6b842e55dbef5b656eb65f7.zip
fixed show album art, added input for source charset on fix_filenames, added "add" to shoutbox display, updated links
Diffstat (limited to 'templates')
-rw-r--r--templates/show_live_streams.inc.php7
-rw-r--r--templates/show_shout_row.inc.php2
-rw-r--r--templates/show_shoutbox.inc.php5
3 files changed, 10 insertions, 4 deletions
diff --git a/templates/show_live_streams.inc.php b/templates/show_live_streams.inc.php
index 631ee177..897c34dd 100644
--- a/templates/show_live_streams.inc.php
+++ b/templates/show_live_streams.inc.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2007 Ampache.org
+ Copyright (c) Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
@@ -48,6 +48,11 @@ foreach ($object_ids as $radio_id) {
<?php require Config::get('prefix') . '/templates/show_live_stream_row.inc.php'; ?>
</tr>
<?php } //end foreach ($artists as $artist) ?>
+<?php if (!count($object_ids)) { ?>
+<tr>
+ <td colspan="6"><span class="fatalerror"><?php echo _('Not Enough Data'); ?></span></td>
+</tr>
+<?php } ?>
<tr class="th-bottom">
<th class="cel_add"><?php echo _('Add'); ?></th>
<th class="cel_streamname"><?php echo Ajax::text('?page=browse&action=set_sort&sort=name',_('Name'),'live_stream_sort_name_bottom'); ?></th>
diff --git a/templates/show_shout_row.inc.php b/templates/show_shout_row.inc.php
index a57b8594..fbc88c95 100644
--- a/templates/show_shout_row.inc.php
+++ b/templates/show_shout_row.inc.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2008 Ampache.org
+ Copyright (c) Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
diff --git a/templates/show_shoutbox.inc.php b/templates/show_shoutbox.inc.php
index 83c02f6e..9a9c149c 100644
--- a/templates/show_shoutbox.inc.php
+++ b/templates/show_shoutbox.inc.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2008 Ampache.org
+ Copyright (c) Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
@@ -31,7 +31,8 @@
?>
<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; ?>
+ <?php echo Ajax::button('?action=basket&type=' . $shout->object_type .' &id=' . $shout->object_id,'add',_('Add'),'add_' . $shout->object_type . '_' . $shout->object_id); ?>
+ <?php echo $object->f_link; ?>
<span class="information"><?php echo $client->f_link; ?> <?php echo date("d/m H:i",$shout->date); ?></span>
<span class="shouttext"><?php echo scrub_out($shout->text); ?></span>
</div>