{* * $Revision: 15342 $ * If you want to customize this file, do not edit it directly since future upgrades * may overwrite it. Instead, copy it into a new directory called "local" and edit that * version. Gallery will look for that file first and use it if it exists. *}

{g->text text="Upload Applet Settings"}

{g->text text="Defaults"}

{g->text text="These variables provide default values for applets users execute on your site. Users will be able to override these defaults by making changes in the user interface of the applets, or by changing their local defaults file."}

{if empty($form.uploaddefaultVariables)}

{g->text text="You have no default variables"}

{else} {foreach from=$form.uploaddefaultVariables item=variable} {/foreach}
{g->text text="Variable"} {g->text text="Action"}
{$variable} {g->text text="Delete"}
{/if}

{g->text text="Add a new default variable"}

{if isset($form.error.default)}
{g->text text="You must enter a variable name and value"}
{/if} {g->text text="New variable"}
=

{g->text text="Overrides"}

{g->text text="These variables override any other values for applets users execute on your site. Users will not be able to change these values."}

{if empty($form.uploadoverrideVariables)}

{g->text text="You have no override variables"}

{else} {foreach from=$form.uploadoverrideVariables item=variable} {/foreach}
{g->text text="Variable"} {g->text text="Action"}
{$variable} {g->text text="Delete"}
{/if}

{g->text text="Add a new override variable"}

{if isset($form.error.override)}
{g->text text="You must enter a variable name and value"}
{/if} {g->text text="New variable"}
=

{g->text text="Help"}

{g->text text="Here are a selection of variables that affect uploads."}

{g->text text="variable"}{g->text text="values"}{g->text text="help"}
resizeBeforeUploadtrue/false {g->text text="instructs the applet to resize pictures before uploading to the album; by default, resizes to the album's intermediate image size"}
resizeTo1600 {g->text text="dimension the images will be resized to; this overrides album settings"}
setCaptionsNonetrue/false {g->text text="no automatic captions"}
setCaptionsWithFilenamestrue/false {g->text text="use filenames for captions"}
captionStripExtensiontrue/false {g->text text="if using the filename for captions, strip the extension"}
setCaptionsWithMetadataCommenttrue/false {g->text text="use EXIF extension for caption"}
htmlEscapeCaptionstrue/false {g->text text="if false, the upload applet will use UTF-8 to send image meta-data to Gallery, rather than escaping it with HTML entities"}
useJavaResizetrue/false {g->text text="set to false if you want to avoid losing EXIF data when the image is resized and ImageMagick is not found"}
suppressWarningIMtrue/false {g->text text="if true, the applet will not complain if it can't find ImageMagick"}
suppressWarningJpegtrantrue/false {g->text text="if true, the applet will not complain if it can't find Jpegtran"}
im.jpegQuality0-99 {g->text text="quality of JPEG compression when resizing with ImageMagick"}

{g->text text="Complete list of variables"}