Random List now displays actual random images...

Also arrowkey navigation extension now supports Random List extension
This commit is contained in:
DrudexSoftware
2013-03-10 07:53:09 +01:00
parent 8251133270
commit e54c8439cb
2 changed files with 8 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class RandomList extends Extension {
if($event->page_matches("random")) {
// set vars
$images_per_page = $config->get_int("index_images") / 2;
$images_per_page = $config->get_int("random_images_list_count", 12);
$random_images = array();
$random_html = "<b>Refresh the page to view more images</b>
<div class='shm-image-list'>";