From c607a2424cec501051b27ce5c1606df5b602231f Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Fri, 22 May 2009 01:26:47 +0000 Subject: Began coding admin settings page --- views/default/tidypics/forms/admin.php | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 views/default/tidypics/forms/admin.php (limited to 'views/default/tidypics/forms') diff --git a/views/default/tidypics/forms/admin.php b/views/default/tidypics/forms/admin.php new file mode 100644 index 000000000..32e08b561 --- /dev/null +++ b/views/default/tidypics/forms/admin.php @@ -0,0 +1,42 @@ +image_lib; + if (!$image_lib) $image_lib = 'GD'; + + $form_body = 'Not functional!!!!!!!

' . elgg_echo('tidypics:image_lib'); + + $form_body .= elgg_view('input/pulldown', array( + 'internalname' => 'params[image_lib]', + 'options_values' => array( + 'GD' => 'GD', + 'ImageMagick' => 'ImageMagick', + 'ImageMagick Cmdline' => 'ImageMagick Cmdline', + ), + 'value' => $image_lib + )); + + $form_body .= '

'; + + + $form_body .= "

" . elgg_view("input/checkboxes", array('options' => array('Enable Tagging' => true), 'internalname' => 'tagging', 'value' => ($vars['config']->tagging ? true : false) )) . "

"; + + $form_body .= "

" . elgg_view("input/checkboxes", array('options' => array('Enable Download Link' => true), 'internalname' => 'download', 'value' => ($vars['config']->download ? true : false) )) . "

"; + + + $form_body .= "

" . elgg_echo('watermark') . "
"; + $form_body .= elgg_view("input/text",array('internalname' => 'watermark', 'value' => $watermark)) . "

"; + + + $form_body .= elgg_view('input/submit', array('value' => elgg_echo("save"))); + + echo elgg_view('input/form', array('action' => $action, 'body' => $form_body)); \ No newline at end of file -- cgit v1.2.3