diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-02-25 06:53:47 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-02-25 06:53:47 +0000 |
commit | 76387698e77d3b8409d1856d1883fa23387f571e (patch) | |
tree | e71c879ebd307aaf4111e4de82fc94725751e24f /templates/show_random_albums.inc.php | |
parent | 73fee69c33df9e36801bfb5228577551504c075c (diff) | |
download | ampache-76387698e77d3b8409d1856d1883fa23387f571e.tar.gz ampache-76387698e77d3b8409d1856d1883fa23387f571e.tar.bz2 ampache-76387698e77d3b8409d1856d1883fa23387f571e.zip |
delay random albums a bit to improve inital load, also add a refresh button so you can flip them without refreshing the whole page
Diffstat (limited to 'templates/show_random_albums.inc.php')
-rw-r--r-- | templates/show_random_albums.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/show_random_albums.inc.php b/templates/show_random_albums.inc.php index 8a879f9e..fe8c4972 100644 --- a/templates/show_random_albums.inc.php +++ b/templates/show_random_albums.inc.php @@ -19,8 +19,9 @@ */ $web_path = Config::get('web_path'); +$button = Ajax::button('?page=index&action=random_albums','random',_('Refresh'),'random_refresh'); ?> -<?php show_box_top(_('Albums of the Moment')); ?> +<?php show_box_top(_('Albums of the Moment') . ' ' . $button); ?> <?php foreach ($albums as $album_id) { |