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

{g->text text="Configuration Error: Missing Theme"}

{g->text text="Missing Theme"}

{capture name="themeId"} {$ShowItemError.themeId} {/capture} {if empty($ShowItemError.itemId)} {g->text text="This page is configured to use the %s theme, but it is either inactive, not installed, or incompatible." arg1=$smarty.capture.themeId} {else} {g->text text="This album is configured to use the %s theme, but it is either inactive, not installed, or incompatible." arg1=$smarty.capture.themeId} {capture name="editLink"} {/capture} {/if} {capture name="loginLink"} {/capture} {capture name="adminLink"} {/capture} {if isset($theme.isFallback) && empty($ShowItemError.itemId)} {if $ShowItemError.isAdmin} {g->text text="To fix this problem you can %sinstall or activate this theme%s or select another default theme." arg1=$smarty.capture.adminLink arg2=""} {else} {g->text text="To fix this problem you can %slogin as a site administrator%s and then %sinstall or activate this theme%s or select another default theme." arg1=$smarty.capture.loginLink arg2="" arg3=$smarty.capture.adminLink arg4=""} {/if} {else} {if $ShowItemError.isAdmin} {g->text text="To fix this problem you can either %schoose a new theme for this album%s or %sinstall or activate this theme%s." arg1=$smarty.capture.editLink arg2="" arg3=$smarty.capture.adminLink arg4=""} {elseif $ShowItemError.canEdit} {g->text text="To fix this problem you can either %schoose a new theme for this album%s or %slogin as a site administrator%s and then %sinstall or activate this theme%s." arg1=$smarty.capture.editLink arg2="" arg3=$smarty.capture.loginLink arg4="" arg5=$smarty.capture.adminLink arg6=""} {else} {g->text text="To fix this problem you can either %slogin%s and then %schoose a new theme for this album%s or %slogin as a site administrator%s and then %sinstall or activate this theme%s." arg1=$smarty.capture.loginLink arg2="" arg3=$smarty.capture.editLink arg4="" arg5=$smarty.capture.loginLink arg6="" arg7=$smarty.capture.adminLink arg8=""} {/if} {/if}