{* * $Revision: 16368 $ * Read this before changing templates! http://codex.gallery2.org/Gallery2:Editing_Templates *}

{g->text text="Choose a theme"}

{if empty($ThemeSettingsForm)}
{g->text text="This album is configured to use the %s theme which is either incompatible with this Gallery version or no longer available. Please upgrade the %s theme or use another theme for this album." arg1=$ItemEditTheme.theme arg2=$ItemEditTheme.theme}
{else}

{g->text text="Themes control the look and feel of the album. You can choose a different theme for each album. If you don't choose a theme, we'll use the %s theme by default." arg1="`$ThemeSettingsForm.theme.name`"}

{/if} {g->text text="Theme"}
{g->changeInDescendents module="theme" text="Use this theme in all subalbums"}
{if !empty($ThemeSettingsForm)} {capture assign="message"}

{g->text text="Configure the %s theme" arg1="`$ThemeSettingsForm.theme.name`"}

{g->text text="These settings only apply to the theme for this album."}{/capture} {g->block type="core.ThemeSettingsForm" class="gbBlock" message=$message formId="itemAdminForm"} {if !empty($ThemeSettingsForm.settings)}
{g->changeInDescendents module="theme" text="Use these settings in all subalbums that use the %s theme" arg1=$ThemeSettingsForm.theme.name}
{/if}
{/if}