azett 52bf429a01 Replaced Smarty 2.6.31-dev with v 4.0.4, keeping the FP-specific Smarty plugins.
Updated calls to current Smarty API (register_function()/register_modifier()/register_block() -> registerPlugin(); assign_by_ref() -> assignByRef()).
Fixed file includes in templates with quotes.
Removed SmartyValidate.class.php includes.

Still work in progress as some errors still appear!
2022-01-23 15:02:33 +01:00

24 lines
799 B
Smarty

{include file="plugin:commentcenter/header"}
<h2>{$plang.delc_title}</h2>
<p>{if $single}{$plang.delc_descs}{else}{$plang.delc_descm}{/if}</p>
{html_form}
{assign var="delete" value=true}
{assign var="fetch" value="del"}
{include file="plugin:commentcenter/listcomments"}
<p>{$plang.sure}</p>
<div class="buttonbar">
{if $is_managing}
<input type="hidden" name="entry" value="{$entry}" />
{assign var="button_suff" value="_2"}
{else}
{assign var="button_suff" value=""}
{/if}
{if $single}
{html_submit name="commdelok$button_suff" id="commdelok$button_suff" value=$plang.del_subs}
{else}
{html_submit name="commdelok$button_suff" id="commdelok$button_suff" value=$plang.del_subm}
{/if}
{html_submit name="ccancel$button_suff" id="ccancel$button_suff" value=$plang.del_cancel}
</div>
{/html_form}