From 99a5db94c8e91913e42331bd73d37cb93f3cc2d8 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Wed, 3 Jun 2009 01:47:16 +0000 Subject: almost done with new settings page - need to add link to server analysis and remove default plugin edit view --- views/default/tidypics/forms/admin.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'views/default/tidypics/forms') diff --git a/views/default/tidypics/forms/admin.php b/views/default/tidypics/forms/admin.php index 69089c877..de7062bba 100644 --- a/views/default/tidypics/forms/admin.php +++ b/views/default/tidypics/forms/admin.php @@ -17,7 +17,7 @@ // Image Library $image_lib = $plugin->image_lib; if (!$image_lib) $image_lib = 'GD'; - $form_body = 'Not functional!!!!!!!

' . elgg_echo('tidypics:settings:image_lib'); + $form_body = '

' . elgg_echo('tidypics:settings:image_lib'); $form_body .= elgg_view('input/pulldown', array( 'internalname' => 'params[image_lib]', 'options_values' => array( @@ -36,14 +36,14 @@ $form_body .= elgg_view("input/text",array('internalname' => 'params[im_path]', 'value' => $im_path)) . "

"; // Tagging - $tagging = $tagging; + $tagging = $plugin->tagging; if(!$tagging) $tagging = "enabled"; - $form_body .= '

' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:tagging') => true), 'internalname' => 'tagging', 'value' => ($tagging=='enabled' ? true : false) )) . "

"; + $form_body .= '

' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:tagging') => 'enabled'), 'internalname' => 'tagging', 'value' => $tagging )) . "

"; // Download Link - $download_link = $download_link; + $download_link = $plugin->download_link; if(!$download_link) $download_link = "enabled"; - $form_body .= '

' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:download_link') => true), 'internalname' => 'download_link', 'value' => ($download_link=='enabled' ? true : false) )) . "

"; + $form_body .= '

' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:download_link') => 'enabled'), 'internalname' => 'download_link', 'value' => $download_link )) . "

"; // Watermark Text $form_body .= "

" . elgg_echo('tidypics:settings:watermark') . "
"; -- cgit v1.2.3