aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-06-03 01:47:16 +0000
committerCash Costello <cash.costello@gmail.com>2009-06-03 01:47:16 +0000
commit99a5db94c8e91913e42331bd73d37cb93f3cc2d8 (patch)
treebed8db8ba8b9abdb05652351b3a0848ee86b9c0e /views
parentac7b07f54be91fd2ce1e2ff8c2ddbc23c71e2345 (diff)
downloadelgg-99a5db94c8e91913e42331bd73d37cb93f3cc2d8.tar.gz
elgg-99a5db94c8e91913e42331bd73d37cb93f3cc2d8.tar.bz2
almost done with new settings page - need to add link to server analysis and remove default plugin edit view
Diffstat (limited to 'views')
-rw-r--r--views/default/tidypics/forms/admin.php10
1 files changed, 5 insertions, 5 deletions
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!!!!!!! <p>' . elgg_echo('tidypics:settings:image_lib');
+ $form_body = '<p>' . 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)) . "</p>";
// Tagging
- $tagging = $tagging;
+ $tagging = $plugin->tagging;
if(!$tagging) $tagging = "enabled";
- $form_body .= '<p class="admin_debug">' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:tagging') => true), 'internalname' => 'tagging', 'value' => ($tagging=='enabled' ? true : false) )) . "</p>";
+ $form_body .= '<p class="admin_debug">' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:tagging') => 'enabled'), 'internalname' => 'tagging', 'value' => $tagging )) . "</p>";
// Download Link
- $download_link = $download_link;
+ $download_link = $plugin->download_link;
if(!$download_link) $download_link = "enabled";
- $form_body .= '<p class="admin_debug">' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:download_link') => true), 'internalname' => 'download_link', 'value' => ($download_link=='enabled' ? true : false) )) . "</p>";
+ $form_body .= '<p class="admin_debug">' . elgg_view("input/checkboxes", array('options' => array(elgg_echo('tidypics:settings:download_link') => 'enabled'), 'internalname' => 'download_link', 'value' => $download_link )) . "</p>";
// Watermark Text
$form_body .= "<p>" . elgg_echo('tidypics:settings:watermark') . "<br />";