From 2932918effa51f9689cabe38b758e44435d08e96 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sun, 14 Jun 2009 20:37:08 +0000 Subject: close to final version of river entries - commented out cover from image view and added option for album to show multiple photos --- views/default/tidypics/forms/admin.php | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) (limited to 'views/default/tidypics') diff --git a/views/default/tidypics/forms/admin.php b/views/default/tidypics/forms/admin.php index d2d676290..a67d320d5 100644 --- a/views/default/tidypics/forms/admin.php +++ b/views/default/tidypics/forms/admin.php @@ -71,18 +71,32 @@ $form_body .= "

" . elgg_echo('tidypics:settings:quota') . "
"; $form_body .= elgg_view("input/text",array('internalname' => 'params[quota]', 'value' => $quota)) . "

"; - // River options - $river_view = $plugin->river_view; - if (!$river_view) $river_view = '1'; - $form_body .= '

' . elgg_echo('tidypics:settings:river_view'); + // River Image options + $img_river_view = $plugin->img_river_view; + if (!$img_river_view) $img_river_view = '1'; + $form_body .= '

' . elgg_echo('tidypics:settings:img_river_view'); $form_body .= elgg_view('input/pulldown', array( - 'internalname' => 'params[river_view]', + 'internalname' => 'params[img_river_view]', 'options_values' => array( 'all' => 'all', '1' => '1', 'none' => 'none', ), - 'value' => $river_view + 'value' => $img_river_view + )); + $form_body .= '

'; + + // River Album options + $album_river_view = $plugin->album_river_view; + if (!$album_river_view) $album_river_view = '1'; + $form_body .= '

' . elgg_echo('tidypics:settings:album_river_view'); + $form_body .= elgg_view('input/pulldown', array( + 'internalname' => 'params[album_river_view]', + 'options_values' => array( + 'cover' => 'cover', + 'set' => 'set', + ), + 'value' => $album_river_view )); $form_body .= '

'; -- cgit v1.2.3