From 8ef053df0c982c2e2ffddc04a89b578ec36ec969 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 6 Jun 2009 20:14:42 +0000 Subject: added admin setting for exif --- views/default/tidypics/forms/admin.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'views/default/tidypics') diff --git a/views/default/tidypics/forms/admin.php b/views/default/tidypics/forms/admin.php index c5e7c68d0..d4c9e1b5b 100644 --- a/views/default/tidypics/forms/admin.php +++ b/views/default/tidypics/forms/admin.php @@ -45,6 +45,11 @@ if(!$download_link) $download_link = "enabled"; $form_body .= '

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

"; + // Show EXIF + $exif = $plugin->exif; + if(!$exif) $exif = "disabled"; + $form_body .= '

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

"; + // Watermark Text $form_body .= "

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

"; -- cgit v1.2.3