aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorGreg Froese <greg.froese@gmail.com>2009-05-13 19:06:38 +0000
committerGreg Froese <greg.froese@gmail.com>2009-05-13 19:06:38 +0000
commit711c6040d3a5e3b479a1326c5afc6c3a689c8ad5 (patch)
tree88fb21fbcf59950994d97c58c40ddbfdcbd8d204 /views
parentbc21cbc465d9cd4d86265246826ba02515541152 (diff)
downloadelgg-711c6040d3a5e3b479a1326c5afc6c3a689c8ad5.tar.gz
elgg-711c6040d3a5e3b479a1326c5afc6c3a689c8ad5.tar.bz2
made path to imagemagick a setting
Diffstat (limited to 'views')
-rw-r--r--views/default/settings/tidypics/edit.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/views/default/settings/tidypics/edit.php b/views/default/settings/tidypics/edit.php
index 98f348699..dd2444ac3 100644
--- a/views/default/settings/tidypics/edit.php
+++ b/views/default/settings/tidypics/edit.php
@@ -15,6 +15,13 @@
'value' => $image_lib
));
?>
+ <br />
+ <?php
+ $im_path = $vars['entity']->im_path;
+ if(!$im_path) $im_path = "/usr/bin/";
+ ?>
+ <?php echo elgg_echo('tidypics:settings:im_path'); ?>
+ <?php echo elgg_view('input/text', array('internalname' => 'params[im_path]', 'value' => $im_path)); ?>
</p>
<?php