{* * $Revision: 17662 $ * Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates *}
{if $ItemEditItem.can.changePathComponent}

{g->text text="Name"} {g->text text="(required)"}

{g->text text="The name of this item on your hard disk. It must be unique in this album. Only use alphanumeric characters, underscores or dashes."}

{strip} {foreach from=$ItemAdmin.parents item=parent} {if empty($parent.parentId)} / {else} {$parent.pathComponent}/ {/if} {/foreach} {/strip} {if isset($form.error.pathComponent.invalid)}
{g->text text="Your name contains invalid characters. Please choose another."}
{/if} {if isset($form.error.pathComponent.missing)}
{g->text text="You must enter a name for this item."}
{/if} {if isset($form.error.pathComponent.collision)}
{g->text text="The name you entered is already in use. Please choose another."}
{/if}
{/if}

{g->text text="Title"}

{g->text text="The title of this item."}

{include file="gallery:modules/core/templates/MarkupBar.tpl" viewL10domain="modules_core" element="title" firstMarkupBar=true} {if !empty($form.error.title.missingRootTitle)}
{g->text text="The root album must have a title."}
{/if}

{g->text text="Summary"}

{g->text text="The summary of this item."}

{include file="gallery:modules/core/templates/MarkupBar.tpl" viewL10domain="modules_core" element="summary"}

{g->text text="Keywords"}

{g->text text="Keywords are not visible, but are searchable."}

{g->text text="Description"}

{g->text text="This is the long description of the item."}

{include file="gallery:modules/core/templates/MarkupBar.tpl" viewL10domain="modules_core" element="description"}

{g->text text="%s Date and Time" arg1=$ItemEditItem.typeName.0 postSprintfArg1=$ItemEditItem.typeName.2}

{* Specific translations: {g->text text="Link Date and Time"} *}

{if !empty($ItemEditItem.isItemPhoto)} {g->text text="Set the date and time when this image was captured."} {elseif !empty($ItemEditItem.isItemUnknown)} {g->text text="Set the date and time to be displayed for this item."} {else} {g->text text="Set the date and time to be displayed for this %s." arg1=$ItemEditItem.typeName.1 postSprintfArg1=$ItemEditItem.typeName.3} {* Specific translations: {g->text text="Set the date and time to be displayed for this link."} *} {/if}

{capture name=originationTimestampField}{strip} {g->formVar var="form[originationTimestampSplit]"} {/strip}{/capture} {g->text text="Date:"} {capture name=htmlSelectDate} {html_select_date time=$form.originationTimestamp field_array=$smarty.capture.originationTimestampField start_year="1970" end_year="+0"} {/capture} {$smarty.capture.htmlSelectDate|utf8} {g->text text="Time:"} {html_select_time time=$form.originationTimestamp field_array=$smarty.capture.originationTimestampField}

{if !empty($ItemEditItem.originationTimestamp)}

{g->text text="Use the original capture date and time from file information (e.g. Exif tag):"}
{g->date timestamp=$ItemEditItem.originationTimestamp.timestamp style="datetime"}

{/if} {if !empty($form.error.originationTimestamp.invalid)}
{g->text text="You must enter a valid date and time"}
{/if}
{if $ItemEditItem.can.editThumbnail}

{g->text text="Thumbnail"}

{g->text text="Set the size of the thumbnail. The largest side of the thumbnail will be no larger than this value. Leave this field blank if you don't want a thumbnail."}

{if $ItemEditItem.can.createThumbnail} {else} {g->text text="There are no graphics toolkits enabled that support this type of item, so we cannot create or modify a thumbnail."} {if $user.isAdmin} {g->text text="site admin"} {/if} {/if} {if !empty($form.error.thumbnail.size.invalid)}
{g->text text="You must enter a number (greater than zero)"}
{/if} {if !empty($form.error.thumbnail.create)}
{g->text text="Unable to create a thumbnail for this item"}
{/if}
{/if} {* Include our extra ItemEditOptions *} {foreach from=$ItemEdit.options item=option} {include file="gallery:`$option.file`" l10Domain=$option.l10Domain} {/foreach}