php8 compat fixes for entry preview
This commit is contained in:
@ -211,9 +211,6 @@
|
||||
{/if}
|
||||
|
||||
{if $switched_output}
|
||||
{if ($get.adminAction && $dateval)}
|
||||
<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> {$CONST.DATE_INVALID}</span>
|
||||
{/if}
|
||||
{if ($get.adminAction && $use_legacy)}
|
||||
{if $is_draft && ! $errors}
|
||||
<span class="msg_success"><span class="icon-ok-circled" aria-hidden="true"></span> {$CONST.IFRAME_SAVE_DRAFT}</span>
|
||||
|
@ -2,7 +2,7 @@
|
||||
{if $entry_vars.errMsg}
|
||||
<span class="msg_error"><span class="icon-attention-circled" aria-hidden="true"></span> {$entry_vars.errMsg}</span>
|
||||
{/if}
|
||||
<form id="serendipityEntry" name="serendipityEntry" {$entry_vars.entry.entry_form} action="{$entry_vars.targetURL}" method="post">
|
||||
<form id="serendipityEntry" name="serendipityEntry" {if isset($entry_vars.entry.entry_form)}$entry_vars.entry.entry_form{/if} action="{$entry_vars.targetURL}" method="post">
|
||||
{foreach $entry_vars.hiddens as $key => $value}
|
||||
<input type="hidden" name="{$key}" value="{$value}">
|
||||
{/foreach}
|
||||
|
@ -38,7 +38,7 @@
|
||||
</head>
|
||||
<body{if $template_option.webfonts != 'none'} class="{$template_option.webfonts}"{/if}>
|
||||
<div id="page" class="clearfix container">
|
||||
<div class="clearfix{if $leftSidebarElements > 0 && $rightSidebarElements > 0} col3{elseif $leftSidebarElements > 0 && $rightSidebarElements == 0} col2l{else} col2r{/if}">
|
||||
<div class="clearfix col2r">
|
||||
<main id="content"{if $template_option.imgstyle != 'none'} class="{$template_option.imgstyle}"{/if}>
|
||||
{if $mode == 'preview'}
|
||||
<div class="clearfix">
|
||||
|
Reference in New Issue
Block a user