summaryrefslogtreecommitdiff
path: root/templates/admin_liberty.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-11-22 07:27:19 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-11-22 07:27:19 +0000
commit065390ab852a58a14c6339e90dfb0d7eced2afba (patch)
treed112df21749dc050030bf4b665da4e3755a3a9f4 /templates/admin_liberty.tpl
parent300a03c554874c55d3a6861450a7c780e19c89f4 (diff)
downloadliberty-065390ab852a58a14c6339e90dfb0d7eced2afba.tar.gz
liberty-065390ab852a58a14c6339e90dfb0d7eced2afba.tar.bz2
liberty-065390ab852a58a14c6339e90dfb0d7eced2afba.zip
merge recent changes into HEAD
Diffstat (limited to 'templates/admin_liberty.tpl')
-rw-r--r--templates/admin_liberty.tpl22
1 files changed, 20 insertions, 2 deletions
diff --git a/templates/admin_liberty.tpl b/templates/admin_liberty.tpl
index 07fcb5d..2599d4c 100644
--- a/templates/admin_liberty.tpl
+++ b/templates/admin_liberty.tpl
@@ -46,9 +46,26 @@
{/forminput}
</div>
+ {php}if( extension_loaded( 'magickwand' ) ) {{/php}{assign var=magickwandInstalled value=TRUE}{php}}{/php}
+ {if !$magickwandInstalled}
+ {formfeedback warning='To use MagickWand, you need to install the magickwand php extension. Unix and Windows users can find source code at <a href="http://www.magickwand.org/download/php/">the ImageMagick downloads website.</a>.'}
+ {/if}
+ <div class="row">
+ {formlabel label="
+ <a href='http://www.imagemagick.org/'>
+ <img class='icon' src=\"`$smarty.const.LIBERTY_PKG_URL`icons/imagick_logo.jpg\" alt='ImageMagick' />
+ </a>
+ "}
+ {forminput}
+ <label>
+ <input type="radio" name="image_processor" value="magickwand" {if !$magickwandInstalled}disabled="disabled"{/if} {if $gBitSystemPrefs.image_processor=='magickwand'}checked="checked"{/if}/> ImageMagick's MagickWand
+ </label>
+ {/forminput}
+ </div>
+
{php}if( extension_loaded( 'imagick' ) ) {{/php}{assign var=imagickInstalled value=TRUE}{php}}{/php}
{if !$imagickInstalled}
- {formfeedback warning='To use <a href="http://www.imagemagick.org/www/download.html">ImageMagick</a>, you need to install the php-imagick extension. For Linux users, RPM files can be found at <a href="http://phprpms.sourceforge.net/imagick">PHPRPMs</a> (or compile a <a href="http://sourceforge.net/project/showfiles.php?group_id=112092&package_id=139307&release_id=292417">source rpm</a>). Windows users can try <a href="http://www.bitweaver.org/builds/php_imagick.dll">this dll</a> however it has not been tested well.'}
+ {formfeedback warning='php-imagick is a no longer supported PECL extension for PHP + ImageMagick. We recommend using the much better supported magickwand option above. If you need to install the php-imagick extension, linux users can find RPM files at <a href="http://phprpms.sourceforge.net/imagick">PHPRPMs</a> (or compile a <a href="http://sourceforge.net/project/showfiles.php?group_id=112092&package_id=139307&release_id=292417">source rpm</a>). Windows users can try <a href="http://www.bitweaver.org/builds/php_imagick.dll">this dll</a> however it has not been tested well.'}
{/if}
<div class="row">
{formlabel label="
@@ -58,10 +75,11 @@
"}
{forminput}
<label>
- <input type="radio" name="image_processor" value="imagick" {if !$imagickInstalled}disabled="disabled"{/if} {if $gBitSystemPrefs.image_processor=='imagick'}checked="checked"{/if}/> ImageMagick
+ <input type="radio" name="image_processor" value="imagick" {if !$imagickInstalled}disabled="disabled"{/if} {if $gBitSystemPrefs.image_processor=='imagick'}checked="checked"{/if}/> php-imagick
</label>
{/forminput}
</div>
+
{foreach from=$formImageFeatures key=item item=output}
<div class="row">
{formlabel label=`$output.label` for=$item}