Fixed some template errors
This commit is contained in:
parent
96934bf2aa
commit
1f2f56538e
@ -7,7 +7,7 @@
|
|||||||
{include file=plugin:commentcenter/listcomments}
|
{include file=plugin:commentcenter/listcomments}
|
||||||
<p>{$plang.sure}</p>
|
<p>{$plang.sure}</p>
|
||||||
<div class="buttonbar">
|
<div class="buttonbar">
|
||||||
{if $is_managing}
|
{if isset($is_managing) && $is_managing}
|
||||||
<input type="hidden" name="entry" value="{$entry}" />
|
<input type="hidden" name="entry" value="{$entry}" />
|
||||||
{assign var="button_suff" value="_2"}
|
{assign var="button_suff" value="_2"}
|
||||||
{else}
|
{else}
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{include file=plugin:commentcenter/header}
|
{include file=plugin:commentcenter/header}
|
||||||
{html_form}
|
{html_form}
|
||||||
|
{if !isset($polnew)}{assign var="polnew" value=false}{/if}
|
||||||
<h2>{if $polnew}{$plang.newpol}{else}{$plang.editpol}{/if}</h2>
|
<h2>{if $polnew}{$plang.newpol}{else}{$plang.editpol}{/if}</h2>
|
||||||
<dl class="option-set">
|
<dl class="option-set">
|
||||||
<dt>{$plang.apply_to}</dt>
|
<dt>{$plang.apply_to}</dt>
|
||||||
@ -8,7 +9,7 @@
|
|||||||
<label for="all_entries">{$plang.all_entries}</label><br />
|
<label for="all_entries">{$plang.all_entries}</label><br />
|
||||||
<input type="radio" name="apply_to" id="some_entries" value="some_entries"{if isset($policy.entry) and !empty($policy.entry)} checked="checked"{/if} />
|
<input type="radio" name="apply_to" id="some_entries" value="some_entries"{if isset($policy.entry) and !empty($policy.entry)} checked="checked"{/if} />
|
||||||
<label for="some_entries">{$plang.some_entries}</label><br />
|
<label for="some_entries">{$plang.some_entries}</label><br />
|
||||||
<input type="radio" name="apply_to" id="properties" value="properties"{if !$polnew && isset($policy.is_all) & !$policy.is_all & isset($policy.entry) & empty($policy.entry)} checked="checked"{/if} />
|
<input type="radio" name="apply_to" id="properties" value="properties"{if !$polnew && isset($policy.is_all) && !$policy.is_all & isset($policy.entry) & empty($policy.entry)} checked="checked"{/if} />
|
||||||
<label for="properties">{$plang.properties}</label><br />
|
<label for="properties">{$plang.properties}</label><br />
|
||||||
</dd>
|
</dd>
|
||||||
<dt><label for="behavoir">{$plang.behavoir}</label></dt>
|
<dt><label for="behavoir">{$plang.behavoir}</label></dt>
|
||||||
|
@ -14,9 +14,9 @@
|
|||||||
<td class="main-cell">
|
<td class="main-cell">
|
||||||
{if isset($delete)}<input type="hidden" name="del_policy[]" value="{$id}" />
|
{if isset($delete)}<input type="hidden" name="del_policy[]" value="{$id}" />
|
||||||
{/if}
|
{/if}
|
||||||
{if $policy.is_all}
|
{if isset($policy.is_all) && $policy.is_all}
|
||||||
{$plang.all_entries}
|
{$plang.all_entries}
|
||||||
{elseif is_array($policy.entry) && count($policy.entry)>0}
|
{elseif isset($policy.entry) && is_array($policy.entry) && count($policy.entry)>0}
|
||||||
{$plang.fol_entries}
|
{$plang.fol_entries}
|
||||||
<ul>
|
<ul>
|
||||||
{foreach from=$policy.entry item=entry}
|
{foreach from=$policy.entry item=entry}
|
||||||
@ -29,7 +29,7 @@
|
|||||||
<li><span title="{$policy.entry}">{$policy.entry|idToSubject}</span></li>
|
<li><span title="{$policy.entry}">{$policy.entry|idToSubject}</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
{else}
|
{else}
|
||||||
{if count($policy.categories)>0}
|
{if isset($policy.categories) && count($policy.categories)>0}
|
||||||
<p>{$plang.fol_cats}
|
<p>{$plang.fol_cats}
|
||||||
{$policy.categories|@filed}</p>
|
{$policy.categories|@filed}</p>
|
||||||
{/if}
|
{/if}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user