{* * $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="Thumbnail Manager"}

{if !empty($status)}

{if isset($status.add)} {g->text text="New image added successfully"} {/if} {if isset($status.addMime)} {g->text text="New setting added successfully"} {/if} {if isset($status.delete)} {g->text text="Image deleted successfully"} {/if} {if isset($status.deleteMime)} {g->text text="Setting deleted successfully"} {/if} {if isset($status.mime_duplicate)} {g->text text="Mime type already assigned"} {/if} {if isset($status.mime_error)} {g->text text="Missing mime type"} {/if} {if isset($status.file_error)} {g->text text="Missing image file"} {/if} {if isset($status.imagemime_error)} {g->text text="Thumbnail image must be a JPEG"} {/if}

{/if} {if !empty($form.badMime)}

{g->text text="Warning: Other modules provide thumbnail support for some types. Remove settings below for these mime types to ensure other modules are used:"} {foreach from=$form.badMime item=mime}{$mime} {/foreach}

{/if} {if !empty($form.list)}

{g->text text="The thumbnail images shown below will be used for new items added to Gallery with the listed mime types."}

{foreach from=$form.list item=item} {/foreach} {foreach from=$form.operationSupport key=module item=mimeTypes} {/foreach}
{g->text text="Mime Types"} {g->text text="File"} {g->text text="Image"} {g->text text="Action"}
{if count($item.itemMimeTypesList)>1} {foreach from=$item.itemMimeTypesList item=mime} {/foreach}
{$mime}{if isset($form.mimeMap[$mime])} ({$form.mimeMap[$mime]}){/if} {g->text text="delete"}
{else} {$item.itemMimeTypesList.0} {/if}
{$item.fileName} {g->image item=$item image=$item maxSize=150} text text="(Will not remove thumbnails from existing items using this image, but those items will be unable to rebuild thumbs)"}')"> {g->text text="delete"}
{foreach from=$mimeTypes item=mime} {$mime}{if isset($form.mimeMap[$mime])} ({$form.mimeMap[$mime]}){/if}
{/foreach}
{g->text text="Thumbnail support provided by module:"} {$module}
{/if}

{g->text text="New Setting"}

{g->text text="Images do not need to be thumbnail size; they will be resized as needed."}

{g->text text="Default thumbnail for mime type:"}

{if !empty($form.list)} {/if}