entries inc event fetch fixes

fix iframe returning 1, when true and
add a new language const change msg, instead of the wrongly used save message
This commit is contained in:
Ian 2015-08-07 15:55:18 +02:00
parent c65c9e786f
commit 86b6c8ce49

View File

@ -215,8 +215,12 @@
<span class="msg_success"><span class="icon-ok-circled"></span> {$CONST.IFRAME_SAVE_DRAFT}</span>
{/if}
{if $is_iframe}
{if $iframe === true && isset($smarty.post.serendipity.properties.lang_selected)}
<span class="msg_success"><span class="icon-ok-circled"></span> {$CONST.PLUGIN_EVENT_MULTILINGUAL_ENTRY_RELOADED|sprintf:{(''==$smarty.post.serendipity.properties.lang_selected)?$lang:$smarty.post.serendipity.properties.lang_selected}}</span>
{else}
<span class="msg_success"><span class="icon-ok-circled"></span> {$CONST.IFRAME_SAVE}</span>
{/if}
{/if}
{if $is_iframepreview}
<span class="msg_success"><span class="icon-ok-circled"></span> {$CONST.IFRAME_PREVIEW}</span>
{/if}
@ -236,5 +240,5 @@
</div>
{/if}
{/if}
{$iframe}
{if $iframe !== true && !empty($iframe)}{$iframe}{/if}
{$entryForm}