summaryrefslogtreecommitdiff
path: root/templates/admin_liberty.tpl
diff options
context:
space:
mode:
authorbitweaver.org <bitweaver@users.sourceforge.net>2005-06-19 04:55:51 +0000
committerbitweaver.org <bitweaver@users.sourceforge.net>2005-06-19 04:55:51 +0000
commit9263d2df0226a118f4add4664d746a266ce5aa78 (patch)
tree7bc560ee5a4111a80f7b4ecd23afe53278cfd352 /templates/admin_liberty.tpl
downloadliberty-9263d2df0226a118f4add4664d746a266ce5aa78.tar.gz
liberty-9263d2df0226a118f4add4664d746a266ce5aa78.tar.bz2
liberty-9263d2df0226a118f4add4664d746a266ce5aa78.zip
IMPORT TikiPro CLYDE FINAL
Diffstat (limited to 'templates/admin_liberty.tpl')
-rw-r--r--templates/admin_liberty.tpl72
1 files changed, 72 insertions, 0 deletions
diff --git a/templates/admin_liberty.tpl b/templates/admin_liberty.tpl
new file mode 100644
index 0000000..5d26f56
--- /dev/null
+++ b/templates/admin_liberty.tpl
@@ -0,0 +1,72 @@
+{strip}
+{form}
+ {jstabs}
+ {jstab title="General Settings"}
+ {legend legend="General Settings"}
+ <div class="row">
+ {foreach from=$formLibertyFeatures key=item item=output}
+ <div class="row">
+ {formlabel label=`$output.label` for=$item}
+ {forminput}
+ {html_checkboxes name="$item" values="y" checked=`$gBitSystemPrefs.$item` labels=false id=$item}
+ {formhelp note=`$output.note` page=`$output.page`}
+ {/forminput}
+ </div>
+ {/foreach}
+ </div>
+
+ <div class="row">
+ {formlabel label="Acceptable HTML tags" for="approved_html_tags"}
+ {formfeedback warning=$errors.warning}
+ {forminput}
+ <input type="text" id="approved_html_tags" name="approved_html_tags" size="60" maxlength="250" value="{$approved_html_tags|escape}" />
+ {formhelp note="List of allowed HTML tags. All other tags will be stripped when users save content. This will affect all format plugins."}
+ {/forminput}
+ </div>
+ {/legend}
+ {/jstab}
+
+ {jstab title="Image Processing"}
+ {legend legend="Image Processing System"}
+ <input type="hidden" name="page" value="{$page}" />
+ {php}if( extension_loaded( 'gd' ) ) {{/php}{assign var=gdInstalled value=TRUE}{php}}{/php}
+ <div class="row">
+ {formlabel label="
+ <a href='http://www.boutell.com/gd/'>
+ <img class='icon' src=\"`$gBitLoc.LIBERTY_PKG_URL`icons/gd_logo.jpg\" alt='GD' />
+ </a>
+ "}
+ {forminput}
+ <label>
+ <input type="radio" name="image_processor" value="gd" {if !$gdInstalled}disabled="disabled"{/if} {if !$gBitSystemPrefs.image_processor || $gBitSystemPrefs.image_processor=='gd'}checked="checked"{/if} /> gdLibrary
+ </label>
+ {if !$gdInstalled}
+ {formfeedback warning='The GD library is not installed. For newer Linux systems (Fedora, etc.), you need to install the php-gd RPM with a command such as "yum install php-gd".'}
+ {/if}
+ {/forminput}
+ </div>
+
+ {php}if( extension_loaded( 'imagick' ) ) {{/php}{assign var=imagickInstalled value=TRUE}{php}}{/php}
+ <div class="row">
+ {formlabel label="
+ <a href='http://www.imagemagick.org/'>
+ <img class='icon' src=\"`$gBitLoc.LIBERTY_PKG_URL`icons/imagick_logo.jpg\" alt='ImageMagick' />
+ </a>
+ "}
+ {forminput}
+ <label>
+ <input type="radio" name="image_processor" value="imagick" {if !$imagickInstalled}disabled="disabled"{/if} {if $gBitSystemPrefs.image_processor=='imagick'}checked="checked"{/if}/> ImageMagick
+ </label>
+ {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.'}
+ {/if}
+ {/forminput}
+ </div>
+ {/legend}
+ {/jstab}
+ {/jstabs}
+ <div class="row submit">
+ <input type="submit" name="change_prefs" value="{tr}Change preferences{/tr}" />
+ </div>
+{/form}
+{/strip}