summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-25 03:35:08 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-25 03:35:08 +0000
commit4fecf43894deb10a980441edf72dfa567b64a23d (patch)
tree4bd468edb74ec28c648609baae6d9aa0a94e2b8c /templates
parent0dce31de404c46555b0c0d9c58297b506e50e4f8 (diff)
downloadampache-4fecf43894deb10a980441edf72dfa567b64a23d.tar.gz
ampache-4fecf43894deb10a980441edf72dfa567b64a23d.tar.bz2
ampache-4fecf43894deb10a980441edf72dfa567b64a23d.zip
- Added ability to delete radio and playlist
- Tweaked Classic CSS to fix issue with larger fonts - Fixed some javascript update issues due to quoting on the catalog processes - Fixed display of the MOTD
Diffstat (limited to 'templates')
-rw-r--r--templates/show_live_stream_row.inc.php3
-rw-r--r--templates/show_login_form.inc7
-rw-r--r--templates/show_playlist_row.inc.php1
3 files changed, 11 insertions, 0 deletions
diff --git a/templates/show_live_stream_row.inc.php b/templates/show_live_stream_row.inc.php
index 77003371..773b1d35 100644
--- a/templates/show_live_stream_row.inc.php
+++ b/templates/show_live_stream_row.inc.php
@@ -30,4 +30,7 @@
<?php if ($GLOBALS['user']->has_access('50')) { ?>
<?php echo Ajax::button('?action=show_edit_object&type=live_stream&id=' . $radio->id,'edit',_('Edit'),'edit_radio_' . $radio->id); ?>
<?php } ?>
+ <?php if ($GLOBALS['user']->has_access('75')) { ?>
+ <?php echo Ajax::button('?page=browse&action=delete_object&type=live_stream&id=' . $radio->id,'delete',_('Delete'),'delete_radio_' . $radio->id); ?>
+ <?php } ?>
</td>
diff --git a/templates/show_login_form.inc b/templates/show_login_form.inc
index 3068dd5d..ea271460 100644
--- a/templates/show_login_form.inc
+++ b/templates/show_login_form.inc
@@ -65,3 +65,10 @@ function focus(){ document.login.username.focus(); }
<?php } // end if (conf('allow_public_registration')) ?>
</div>
</div>
+<?php
+if (@is_readable(Config::get('prefix') . '/config/motd.php')) {
+ show_box_top(_('Message of the Day'));
+ include Config::get('prefix') . '/config/motd.php';
+ show_box_bottom();
+}
+?>
diff --git a/templates/show_playlist_row.inc.php b/templates/show_playlist_row.inc.php
index 99f3caf4..91b7877b 100644
--- a/templates/show_playlist_row.inc.php
+++ b/templates/show_playlist_row.inc.php
@@ -34,5 +34,6 @@
<?php } ?>
<?php if ($playlist->has_access()) { ?>
<?php echo Ajax::button('?action=show_edit_object&type=playlist&id=' . $playlist->id,'edit',_('Edit'),'edit_playlist_' . $playlist->id); ?>
+ <?php echo Ajax::button('?page=browse&action=delete_object&type=playlist&id=' . $playlist->id,'delete',_('Delete'),'delete_playlist_' . $playlist->id); ?>
<?php } ?>
</td>