PHP8 compat fixes for themes menu
This commit is contained in:
@ -113,9 +113,17 @@
|
||||
<dt class="template_date">{$CONST.LAST_UPDATED}:</dt>
|
||||
<dd>{$info.info.date}</dd>
|
||||
<dt class="template_config">{$CONST.CUSTOM_CONFIG}:</dt>
|
||||
<dd>{$info.info.custom_config|default:$CONST.NO}</dd>
|
||||
{if isset($info.info.custom_config) }
|
||||
<dd>{$info.info.custom_config}</dd>
|
||||
{else}
|
||||
<dd>{$CONST.NO}</dd>
|
||||
{/if}
|
||||
<dt class="template_admin">{$CONST.CUSTOM_ADMIN_INTERFACE}:</dt>
|
||||
<dd>{if $info.info.custom_admin_interface} {$info.info.custom_admin_interface} {else} {$CONST.NO} {/if}</dd>
|
||||
{if isset($info.info.custom_admin_interface) }
|
||||
<dd>{$info.info.custom_admin_interface}</dd>
|
||||
{else}
|
||||
<dd>{$CONST.NO}</dd>
|
||||
{/if}
|
||||
</dl>
|
||||
</footer>
|
||||
</div>
|
||||
@ -125,8 +133,8 @@
|
||||
{if $info.demoURL}
|
||||
<a class="demo_link button_link" href="{$info.demoURL}" title="{$CONST.THEMES_PREVIEW_BLOG}" target="_blank"><span class="icon-search" aria-hidden="true"></span><span class="visuallyhidden"> {$CONST.THEMES_PREVIEW_BLOG}</span></a>
|
||||
{/if}
|
||||
{if !$info.unmetRequirements}
|
||||
{if $info.info.custom_admin_interface == $CONST.YES && $cur_tpl_backend.info.name != $info.info.name}
|
||||
{if !isset($info.unmetRequirements) || !$info.unmetRequirements}
|
||||
{if isset($info.info.custom_admin_interface) and $info.info.custom_admin_interface == $CONST.YES && $cur_tpl_backend.info.name != $info.info.name}
|
||||
<a class="button_link" href="?serendipity[adminModule]=templates&serendipity[adminAction]=install-frontend&serendipity[theme]={$template}{$info.info.customURI}&{$urltoken}" title="{$CONST.SET_AS_TEMPLATE}">{$CONST.INSTALL}: {$CONST.FRONTEND}</a>
|
||||
<a class="button_link" href="?serendipity[adminModule]=templates&serendipity[adminAction]=install-backend&serendipity[theme]={$template}{$info.info.customURI}&{$urltoken}" title="{$CONST.SET_AS_TEMPLATE}">{$CONST.INSTALL}: {$CONST.BACKEND}</a>
|
||||
{else}
|
||||
|
Reference in New Issue
Block a user