Updated plugins tpls (New admin theme)
This commit is contained in:
parent
4a711c40cb
commit
c94c674d48
11
fp-content/plugin_commentcenter/policies.txt
Normal file
11
fp-content/plugin_commentcenter/policies.txt
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$policies = array (
|
||||||
|
0 =>
|
||||||
|
array (
|
||||||
|
'do' => '0',
|
||||||
|
'is_all' => true,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
|
||||||
|
?>
|
@ -1,17 +1,24 @@
|
|||||||
<h2>{$plang.head}</h2>
|
<div class="row">
|
||||||
<p>{$plang.description}</p>
|
<div class="col-12">
|
||||||
|
<div class="card shadow mb-4">
|
||||||
|
<div class="card-header"><h6 class="m-0 font-weight-bold text-primary">{$plang.head}</h6></div>
|
||||||
|
<div class="card-body">
|
||||||
|
<p>{$plang.description}</p>
|
||||||
|
|
||||||
{include file=shared:errorlist.tpl}
|
{include file=shared:errorlist.tpl}
|
||||||
|
|
||||||
<div style="margin: 0 auto; width: 20em;">
|
<div style="margin: 0 auto; width: 20em;">
|
||||||
|
|
||||||
{html_form}
|
{html_form}
|
||||||
|
|
||||||
<h4><label for="wp-apikey">{$plang.apikey}</label></h4>
|
<h4><label for="wp-apikey">{$plang.apikey}</label></h4>
|
||||||
<p><input id="wp-apikey" type="text" name="wp-apikey" value="{$akismetconf.apikey}" />
|
<p><input id="wp-apikey" class="form-control" type="text" name="wp-apikey" value="{$akismetconf.apikey}" />
|
||||||
<input type="submit" value="{$plang.submit}"/> </p>
|
<input type="submit" class="btn btn-primary" value="{$plang.submit}"/> </p>
|
||||||
<p> {$plang.whatis} </p>
|
<p> {$plang.whatis} </p>
|
||||||
|
|
||||||
{/html_form}
|
{/html_form}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
@ -16,7 +16,7 @@
|
|||||||
{$plang.allow_html}
|
{$plang.allow_html}
|
||||||
</label></dt>
|
</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><input type="checkbox" name="bb-allow-html" id="bb-allow-html" {if $bbchecked[0]}checked="checked"{/if} />
|
<p><input type="checkbox" class="form-check-input" name="bb-allow-html" id="bb-allow-html" {if $bbchecked[0]}checked="checked"{/if} />
|
||||||
{$plang.allow_html_long}</p>
|
{$plang.allow_html_long}</p>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
@ -24,7 +24,7 @@
|
|||||||
{$plang.toolbar}
|
{$plang.toolbar}
|
||||||
</label></dt>
|
</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><input type="checkbox" name="bb-toolbar" id="bb-toolbar" {if $bbchecked[2]}checked="checked"{/if} />
|
<p><input type="checkbox" class="form-check-input" name="bb-toolbar" id="bb-toolbar" {if $bbchecked[2]}checked="checked"{/if} />
|
||||||
{$plang.toolbar_long}</p>
|
{$plang.toolbar_long}</p>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
@ -38,7 +38,7 @@
|
|||||||
{$plang.comments}
|
{$plang.comments}
|
||||||
</label></dt>
|
</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p><input type="checkbox" name="bb-comments" id="bb-comments" {if $bbchecked[1]}checked="checked"{/if} />
|
<p><input type="checkbox" class="form-check-input" name="bb-comments" id="bb-comments" {if $bbchecked[1]}checked="checked"{/if} />
|
||||||
{$plang.comments_long} </p>
|
{$plang.comments_long} </p>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
@ -47,7 +47,7 @@
|
|||||||
</label></dt>
|
</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<p>{$plang.urlmaxlen_long_pre}
|
<p>{$plang.urlmaxlen_long_pre}
|
||||||
<input class="form-control input_gray bbcode_input" type="text" name="bb-maxlen" size="3" value="{$bbconf.number}">
|
<input class="form-control input_gray bbcode_input" type="text" name="bb-maxlen" size="3" value="{$bbconf.number}" style="display: inline-block;">
|
||||||
{$plang.urlmaxlen_long_post}</p>
|
{$plang.urlmaxlen_long_post}</p>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
@ -1,21 +1,25 @@
|
|||||||
<h2>{$plang.head}</h2>
|
<div class="row">
|
||||||
<p>{$plang.description}</p>
|
<div class="col-12">
|
||||||
|
<div class="card shadow mb-4">
|
||||||
|
<div class="card-header"><h6 class="m-0 font-weight-bold text-primary">{$plang.head}</h6></div>
|
||||||
|
<div class="card-body">
|
||||||
|
<p>{$plang.description}</p>
|
||||||
|
|
||||||
{include file=shared:errorlist.tpl}
|
{include file=shared:errorlist.tpl}
|
||||||
{static_block}
|
{static_block}
|
||||||
|
|
||||||
<form method="post"
|
<form method="post"
|
||||||
action="{$smarty.const.BLOG_BASEURL}admin.php?p=entry"
|
action="{$smarty.const.BLOG_BASEURL}admin.php?p=entry"
|
||||||
enctype="multipart/form-data">
|
enctype="multipart/form-data">
|
||||||
|
|
||||||
<table class="entrylist">
|
<table class="entrylist table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{$plang.id}</th>
|
<th>{$plang.id}</th>
|
||||||
<th>{$panelstrings.title}</th>
|
<th>{$panelstrings.title}</th>
|
||||||
<th>{$panelstrings.action}</th></tr></thead>
|
<th>{$panelstrings.action}</th></tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{static}
|
{static}
|
||||||
|
|
||||||
{assign var=inarr value=$id|in_array:$enabledlist}
|
{assign var=inarr value=$id|in_array:$enabledlist}
|
||||||
<tr{if $inarr} class="enabled" {/if}>
|
<tr{if $inarr} class="enabled" {/if}>
|
||||||
@ -43,18 +47,21 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{*** <tr>
|
{*** <tr>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<a href="admin.php?p=static&page={$id}&action=write">{$subject|truncate:70}</a>
|
<a href="admin.php?p=static&page={$id}&action=write">{$subject|truncate:70}</a>
|
||||||
</td>
|
</td>
|
||||||
<td>enable/disable</td>
|
<td>enable/disable</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
***}
|
***}
|
||||||
{/static}
|
{/static}
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
{/static_block}
|
|
||||||
|
|
||||||
|
{/static_block}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
@ -9,7 +9,7 @@
|
|||||||
<p>{$plang.app_spamdesc}</p>
|
<p>{$plang.app_spamdesc}</p>
|
||||||
{assign var="fetch" value="akismet"}
|
{assign var="fetch" value="akismet"}
|
||||||
{include file=plugin:commentcenter/listcomments}
|
{include file=plugin:commentcenter/listcomments}
|
||||||
<p><input type="checkbox" name="submitham" id="submitham" checked="checked" />
|
<p><input type="checkbox" class="form-check-input" name="submitham" id="submitham" checked="checked" />
|
||||||
<label for="submitham">{$plang.app_hamsubmit}</label></p>
|
<label for="submitham">{$plang.app_hamsubmit}</label></p>
|
||||||
{/if}
|
{/if}
|
||||||
{if $other}
|
{if $other}
|
||||||
@ -18,7 +18,8 @@
|
|||||||
{include file=plugin:commentcenter/listcomments}
|
{include file=plugin:commentcenter/listcomments}
|
||||||
{/if}
|
{/if}
|
||||||
<div class="buttonbar">
|
<div class="buttonbar">
|
||||||
{html_submit name="mpubcomm" id="mpubcomm" value=$plang.app_pselected}
|
{html_submit name="mpubcomm" id="mpubcomm" class="btn btn-primary" value=$plang.app_pselected}
|
||||||
{html_submit name="mdelcomm" id="mdelcomm" value=$plang.app_dselected}
|
{html_submit name="mdelcomm" id="mdelcomm" class="btn btn-secondary" value=$plang.app_dselected}
|
||||||
</div>
|
</div>
|
||||||
{/html_form}
|
{/html_form}
|
||||||
|
{include file=plugin:commentcenter/footer}
|
@ -6,37 +6,48 @@
|
|||||||
<dl class="option-set">
|
<dl class="option-set">
|
||||||
<dt><label for="log_all">{$plang.log_all}</label></dt>
|
<dt><label for="log_all">{$plang.log_all}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<input type="checkbox" name="log_all" id="log_all"{if $pl_conf.log_all} checked="checked"{/if} /><br />
|
<div class="form-check">
|
||||||
|
<input class="form-check-input" type="checkbox" name="log_all" id="log_all"{if $pl_conf.log_all} checked="checked"{/if}>
|
||||||
|
<label class="form-check-label" for="log_all">
|
||||||
{$plang.log_all_long}
|
{$plang.log_all_long}
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dt><label for="email_alert">{$plang.email_alert}</label></dt>
|
<dt><label for="email_alert">{$plang.email_alert}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<input type="checkbox" name="email_alert" id="email_alert"{if $pl_conf.email_alert} checked="checked"{/if} /><br />
|
<div class="form-check">
|
||||||
|
<input type="checkbox" class="form-check-input" name="email_alert" id="log_all"{if $pl_conf.email_alert} checked="checked"{/if} >
|
||||||
|
<label class="form-check-label" for="log_all">
|
||||||
{$plang.email_alert_long}
|
{$plang.email_alert_long}
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<h2>{$plang.akismet}</h2>
|
<h2>{$plang.akismet}</h2>
|
||||||
<dl class="option-set">
|
<dl class="option-set">
|
||||||
<dt><label for="akismet_check">{$plang.akismet_use}</label></dt>
|
<div class="form-check">
|
||||||
<dd>
|
<input type="checkbox" class="form-check-input" name="akismet_check" id="akismet_check"{if $pl_conf.akismet_check} checked="checked"{/if} >
|
||||||
<input type="checkbox" name="akismet_check" id="akismet_check"{if $pl_conf.akismet_check} checked="checked"{/if} />
|
<label class="form-check-label" for="log_all">
|
||||||
</dd>
|
{$plang.akismet_use}
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<dt class="akismet_opts"><label for="akismet_key">{$plang.akismet_key}</label></dt>
|
<dt class="akismet_opts"><label for="akismet_key">{$plang.akismet_key}</label></dt>
|
||||||
<dd class="akismet_opts">
|
<dd class="akismet_opts">
|
||||||
<input type="text" name="akismet_key" id="akismet_key" value="{$pl_conf.akismet_key}" /><br />
|
<input type="text" class="form-control" name="akismet_key" id="akismet_key" value="{$pl_conf.akismet_key}" /><br />
|
||||||
{$plang.akismet_key_long}
|
{$plang.akismet_key_long}
|
||||||
</dd>
|
</dd>
|
||||||
<dt class="akismet_opts"><label for="akismet_url">{$plang.akismet_url}</label></dt>
|
<dt class="akismet_opts"><label for="akismet_url">{$plang.akismet_url}</label></dt>
|
||||||
<dd class="akismet_opts">
|
<dd class="akismet_opts">
|
||||||
<input type="text" name="akismet_url" id="akismet_url" value="{$pl_conf.akismet_url}" /><br />
|
<input type="text" class="form-control" name="akismet_url" id="akismet_url" value="{$pl_conf.akismet_url}" /><br />
|
||||||
{$plang.akismet_url_long|sprintf:$smarty.const.BLOG_BASEURL}
|
{$plang.akismet_url_long|sprintf:$smarty.const.BLOG_BASEURL}
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<div class="buttonbar">
|
<div class="buttonbar">
|
||||||
{html_submit name="configure" id="configure" value=$plang.save_conf}
|
{html_submit name="configure" class="btn btn-primary" id="configure" value=$plang.save_conf}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/html_form}
|
{/html_form}
|
||||||
|
{include file=plugin:commentcenter/footer}
|
@ -14,10 +14,11 @@
|
|||||||
{assign var="button_suff" value=""}
|
{assign var="button_suff" value=""}
|
||||||
{/if}
|
{/if}
|
||||||
{if $single}
|
{if $single}
|
||||||
{html_submit name="commdelok$button_suff" id="commdelok$button_suff" value=$plang.del_subs}
|
{html_submit name="commdelok$button_suff" class="btn btn-primary" id="commdelok$button_suff" value=$plang.del_subs}
|
||||||
{else}
|
{else}
|
||||||
{html_submit name="commdelok$button_suff" id="commdelok$button_suff" value=$plang.del_subm}
|
{html_submit name="commdelok$button_suff" class="btn btn-primary" id="commdelok$button_suff" value=$plang.del_subm}
|
||||||
{/if}
|
{/if}
|
||||||
{html_submit name="ccancel$button_suff" id="ccancel$button_suff" value=$plang.del_cancel}
|
{html_submit name="ccancel$button_suff" class="btn btn-secondary" id="ccancel$button_suff" value=$plang.del_cancel}
|
||||||
</div>
|
</div>
|
||||||
{/html_form}
|
{/html_form}
|
||||||
|
{include file=plugin:commentcenter/footer}
|
@ -7,10 +7,11 @@
|
|||||||
<p>{$plang.sure}</p>
|
<p>{$plang.sure}</p>
|
||||||
<div class="buttonbar">
|
<div class="buttonbar">
|
||||||
{if $single}
|
{if $single}
|
||||||
{html_submit name="delok" id="delok" value=$plang.del_subs}
|
{html_submit class="btn btn-primary" name="delok" id="delok" value=$plang.del_subs}
|
||||||
{else}
|
{else}
|
||||||
{html_submit name="delok" id="delok" value=$plang.del_subm}
|
{html_submit class="btn btn-primary" name="delok" id="delok" value=$plang.del_subm}
|
||||||
{/if}
|
{/if}
|
||||||
{html_submit name="cancel" id="cancel" value=$plang.del_cancel}
|
{html_submit class="btn btn-secondary" name="cancel" id="cancel" value=$plang.del_cancel}
|
||||||
</div>
|
</div>
|
||||||
{/html_form}
|
{/html_form}
|
||||||
|
{include file=plugin:commentcenter/footer}
|
@ -4,16 +4,16 @@
|
|||||||
<dl class="option-set">
|
<dl class="option-set">
|
||||||
<dt>{$plang.apply_to}</dt>
|
<dt>{$plang.apply_to}</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<input type="radio" name="apply_to" id="all_entries" value="all_entries"{if $policy.is_all} checked="checked"{/if} />
|
<input type="radio" class="form-check-input" name="apply_to" id="all_entries" value="all_entries"{if $policy.is_all} checked="checked"{/if} />
|
||||||
<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 !empty($policy.entry)} checked="checked"{/if} />
|
<input type="radio" class="form-check-input" name="apply_to" id="some_entries" value="some_entries"{if !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 && !$policy.is_all & empty($policy.entry)} checked="checked"{/if} />
|
<input type="radio" class="form-check-input" name="apply_to" id="properties" value="properties"{if !$polnew && !$policy.is_all & 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>
|
||||||
<dd>
|
<dd>
|
||||||
<select name="behavoir" id="behavoir">
|
<select name="behavoir" class="form-select" id="behavoir">
|
||||||
<option value="1"{if $policy.do==1} selected="selected"{/if}>{$plang.allow}</option>
|
<option value="1"{if $policy.do==1} selected="selected"{/if}>{$plang.allow}</option>
|
||||||
<option value="0"{if $policy.do==0 && !$polnew} selected="selected"{/if}>{$plang.approvation}</option>
|
<option value="0"{if $policy.do==0 && !$polnew} selected="selected"{/if}>{$plang.approvation}</option>
|
||||||
<option value="-1"{if $policy.do==-1} selected="selected"{/if}>{$plang.block}</option>
|
<option value="-1"{if $policy.do==-1} selected="selected"{/if}>{$plang.block}</option>
|
||||||
@ -29,19 +29,19 @@
|
|||||||
|
|
||||||
{if !empty($policy.entry) && !is_array($policy.entry)}
|
{if !empty($policy.entry) && !is_array($policy.entry)}
|
||||||
{assign var="parity" value=1}
|
{assign var="parity" value=1}
|
||||||
<input type="text" name="entries[]" value="{$policy.entry|wp_specialchars}" />
|
<input type="text" class="form-control" name="entries[]" value="{$policy.entry|wp_specialchars}" />
|
||||||
{elseif !empty($policy.entry)}
|
{elseif !empty($policy.entry)}
|
||||||
{foreach name=entries_foreach from=$policy.entry item=entry}
|
{foreach name=entries_foreach from=$policy.entry item=entry}
|
||||||
<input type="text" name="entries[]" value="{$entry|wp_specialchars}" /> {if ($smarty.foreach.entries_foreach.iteration % 2)==0}<br />{/if}
|
<input type="text" class="form-control" name="entries[]" value="{$entry|wp_specialchars}" /> {if ($smarty.foreach.entries_foreach.iteration % 2)==0}<br />{/if}
|
||||||
{if ($smarty.foreach.entries_foreach.iteration % 2)==1 && $smarty.foreach.entries_foreach.last}{assign var="parity" value=1}{/if}
|
{if ($smarty.foreach.entries_foreach.iteration % 2)==1 && $smarty.foreach.entries_foreach.last}{assign var="parity" value=1}{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{/if}
|
{/if}
|
||||||
{if $parity==1} <input type="text" name="entries[]" value="" /><br />{/if}
|
{if $parity==1} <input type="text" name="entries[]" value="" /><br />{/if}
|
||||||
|
|
||||||
<input type="text" name="entries[]" value="" />
|
<input type="text" class="form-control" name="entries[]" value="" />
|
||||||
<input type="text" name="entries[]" value="" /><br />
|
<input type="text" class="form-control" name="entries[]" value="" /><br />
|
||||||
<input type="text" name="entries[]" value="" />
|
<input type="text" class="form-control" name="entries[]" value="" />
|
||||||
<input type="text" name="entries[]" value="" /><br />
|
<input type="text" class="form-control" name="entries[]" value="" /><br />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="fill_properties" class="option-set">
|
<div id="fill_properties" class="option-set">
|
||||||
@ -58,7 +58,7 @@
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{$plang.po_time}</legend>
|
<legend>{$plang.po_time}</legend>
|
||||||
<p><label for="older">{$plang.po_older}</label>
|
<p><label for="older">{$plang.po_older}</label>
|
||||||
<input type="text" name="older" id="older" value="{if !empty($policy.older)}{$policy.older/86400}{/if}" class="smalltextinput" />
|
<input type="text" class="form-control" name="older" id="older" value="{if !empty($policy.older)}{$policy.older/86400}{/if}" class="smalltextinput" style="display: inline-block;"/>
|
||||||
{$plang.days}</p>
|
{$plang.days}</p>
|
||||||
<!-- TODO: add the option for timestamp -->
|
<!-- TODO: add the option for timestamp -->
|
||||||
</fiedlset>
|
</fiedlset>
|
||||||
@ -67,6 +67,7 @@
|
|||||||
|
|
||||||
<div class="buttonbar">
|
<div class="buttonbar">
|
||||||
<input type="hidden" name="policy_id" value="{$pol_id}" />
|
<input type="hidden" name="policy_id" value="{$pol_id}" />
|
||||||
{html_submit name="edit_policy" id="edit_policy" value=$plang.save_policy}
|
{html_submit name="edit_policy" class="btn btn-primary" id="edit_policy" value=$plang.save_policy}
|
||||||
</div>
|
</div>
|
||||||
{/html_form}
|
{/html_form}
|
||||||
|
{include file=plugin:commentcenter/footer}
|
4
fp-plugins/commentcenter/tpls/footer.tpl
Normal file
4
fp-plugins/commentcenter/tpls/footer.tpl
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
@ -1,13 +1,16 @@
|
|||||||
<h2>{$plang.title}</h2>
|
|
||||||
<p>{$plang.desc1}</p>
|
|
||||||
<p>{$plang.desc2}</p>
|
|
||||||
<ul>
|
|
||||||
<li><a href="{$panel_url|action_link:commentcenter}" title="{$plang.lpolicies}">{$plang.lpolicies}</a></li>
|
|
||||||
<li><a href="{$action_url|cmd_link:approve_list:1}" title="{$plang.lapprove}">{$plang.lapprove}</a></li>
|
|
||||||
<li><a href="{$action_url|cmd_link:manage:'search'}" title="{$plang.lmanage}">{$plang.lmanage}</a></li>
|
|
||||||
<li><a href="{$action_url|cmd_link:configure:1}" title="{$plang.lconfig}">{$plang.lconfig}</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
{include file='shared:errorlist.tpl'}
|
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-12 mb-4">
|
||||||
|
<div class="card shadow mb-4">
|
||||||
|
<div class="card-header"><h6 class="m-0 font-weight-bold text-primary">{$plang.title}</h6></div>
|
||||||
|
<div class="card-body">
|
||||||
|
<p>{$plang.desc1}</p>
|
||||||
|
<p>{$plang.desc2}</p>
|
||||||
|
<ul>
|
||||||
|
<li><a href="{$panel_url|action_link:commentcenter}" title="{$plang.lpolicies}">{$plang.lpolicies}</a></li>
|
||||||
|
<li><a href="{$action_url|cmd_link:approve_list:1}" title="{$plang.lapprove}">{$plang.lapprove}</a></li>
|
||||||
|
<li><a href="{$action_url|cmd_link:manage:'search'}" title="{$plang.lmanage}">{$plang.lmanage}</a></li>
|
||||||
|
<li><a href="{$action_url|cmd_link:configure:1}" title="{$plang.lconfig}">{$plang.lconfig}</a></li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
{include file='shared:errorlist.tpl'}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<table class="entrylist">
|
<table class="entrylist table">
|
||||||
<thead><tr>
|
<thead><tr>
|
||||||
{if !$delete}<th></th>{/if}
|
{if !$delete}<th></th>{/if}
|
||||||
<th>{$plang.app_date}</th>
|
<th>{$plang.app_date}</th>
|
||||||
@ -16,7 +16,7 @@
|
|||||||
{foreach from=$entry.$fetch item=comm key=comm_id}
|
{foreach from=$entry.$fetch item=comm key=comm_id}
|
||||||
{assign var="i" value=$i+1}
|
{assign var="i" value=$i+1}
|
||||||
<tr>
|
<tr>
|
||||||
{if !$delete}<td class="td_select_{$fetch}"><input type="checkbox" name="select[e{$entryid}_c{$comm_id}]" /></td>{/if}
|
{if !$delete}<td class="td_select_{$fetch}"><input type="checkbox" class="form-check-input" name="select[e{$entryid}_c{$comm_id}]" /></td>{/if}
|
||||||
<td>{$comm.date|date_format:"%D, %T"}</td>
|
<td>{$comm.date|date_format:"%D, %T"}</td>
|
||||||
<td class="main_cell">
|
<td class="main_cell">
|
||||||
{$comm.content|strip_tags}
|
{$comm.content|strip_tags}
|
||||||
@ -41,7 +41,7 @@
|
|||||||
{else}
|
{else}
|
||||||
{assign var="rm_url" value=$action_url|cmd_link:deletecomm:"e`$entryid`_c`$comm_id`"}
|
{assign var="rm_url" value=$action_url|cmd_link:deletecomm:"e`$entryid`_c`$comm_id`"}
|
||||||
{/if}
|
{/if}
|
||||||
<a href="{$rm_url}" title="{$plang.app_delete}"><img src="{$plugin_url}imgs/delete.png" alt="{$plang.app_delete}" /></a>
|
<a href="{$rm_url}" title="{$plang.app_delete}"><img src="{$plugin_url}imgs/delete.png" alt="{$plang.app_delete}" style="margin-top: 4px;"/></a>
|
||||||
</td>
|
</td>
|
||||||
{/if}
|
{/if}
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<table id="commencenter-table">
|
<table id="commencenter-table"class="table">
|
||||||
<thead id="commencenter-table-head">
|
<thead id="commencenter-table-head">
|
||||||
<tr>
|
<tr>
|
||||||
{if !$delete} <th style="width: 10%;">{$plang.select}</th>{/if}
|
{if !$delete} <th style="width: 10%;">{$plang.select}</th>{/if}
|
||||||
@ -10,7 +10,7 @@
|
|||||||
<tbody id="commencenter-table-body">
|
<tbody id="commencenter-table-body">
|
||||||
{foreach name=policies from=$policies key=id item=policy}
|
{foreach name=policies from=$policies key=id item=policy}
|
||||||
<tr class="tr_policy{$id}">
|
<tr class="tr_policy{$id}">
|
||||||
{if !$delete} <td class="td_select"><input type="checkbox" name="select[{$id}]" /></td>{/if}
|
{if !$delete} <td class="td_select"><input type="checkbox" class="form-check-input" name="select[{$id}]" /></td>{/if}
|
||||||
<td class="main-cell">
|
<td class="main-cell">
|
||||||
{if $delete}<input type="hidden" name="del_policy[]" value="{$id}" />
|
{if $delete}<input type="hidden" name="del_policy[]" value="{$id}" />
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -2,8 +2,11 @@
|
|||||||
{html_form}
|
{html_form}
|
||||||
<h2>{$plang.man_searcht}</h2>
|
<h2>{$plang.man_searcht}</h2>
|
||||||
<p>{$plang.man_searchd}</p>
|
<p>{$plang.man_searchd}</p>
|
||||||
<p><input type="text" name="entry" value="{$entry_id}" />
|
|
||||||
{html_submit name="entry_search" id="entry_search" value=$plang.man_search}</p>
|
<div class="form-row">
|
||||||
|
<input type="text" class="form-control" name="entry" value="{$entry_id}" style="display: inline-block;"/>
|
||||||
|
{html_submit name="entry_search" class="btn btn-primary mt-1" id="entry_search" value=$plang.man_search}
|
||||||
|
</div>
|
||||||
|
|
||||||
{if !empty($entry_id)}
|
{if !empty($entry_id)}
|
||||||
{assign var="titleok" value=$entry_id|idToSubject|wp_specialchars}
|
{assign var="titleok" value=$entry_id|idToSubject|wp_specialchars}
|
||||||
@ -11,8 +14,9 @@
|
|||||||
{include file=plugin:commentcenter/listcomments}
|
{include file=plugin:commentcenter/listcomments}
|
||||||
<input type="hidden" name="entry_hid" value="{$entry_id}" />
|
<input type="hidden" name="entry_hid" value="{$entry_id}" />
|
||||||
<div class="buttonbar">
|
<div class="buttonbar">
|
||||||
{html_submit name="mdelcomm_2" id="mdelcomm_2" value=$plang.app_dselected}
|
{html_submit name="mdelcomm_2" id="mdelcomm_2" class="btn btn-primary" value=$plang.app_dselected}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{/html_form}
|
{/html_form}
|
||||||
|
{include file=plugin:commentcenter/footer}
|
@ -7,10 +7,9 @@
|
|||||||
<a href="#" rel="selectAll[td_select]">{$plang.select_all}</a>
|
<a href="#" rel="selectAll[td_select]">{$plang.select_all}</a>
|
||||||
<a href="#" rel="deselectAll[td_select]">{$plang.deselect_all}</a>
|
<a href="#" rel="deselectAll[td_select]">{$plang.deselect_all}</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="commentcenter_options">
|
|
||||||
<a href="{$action_url|cmd_link:poledit:-1}"><img src="{$plugin_url}imgs/edit.png" alt="{$plang.newpol}" />{$plang.newpol}</a>
|
|
||||||
</div>
|
|
||||||
<div class="buttonbar">
|
<div class="buttonbar">
|
||||||
{html_submit name="multidel" id="multidel" value=$plang.del_selected}
|
<a href="{$action_url|cmd_link:poledit:-1}" class="btn btn-secondary"><img src="{$plugin_url}imgs/edit.png" alt="{$plang.newpol}" /> {$plang.newpol}</a>
|
||||||
|
{html_submit class="btn btn-primary" name="multidel" id="multidel" value=$plang.del_selected}
|
||||||
</div>
|
</div>
|
||||||
{/html_form}
|
{/html_form}
|
||||||
|
{include file=plugin:commentcenter/footer}
|
@ -1,15 +1,21 @@
|
|||||||
<h2>{$plang.head}</h2>
|
<div class="row">
|
||||||
<p>{$plang.description}</p>
|
<div class="col-12 mb-4">
|
||||||
|
<div class="card shadow mb-4">
|
||||||
|
<div class="card-header">
|
||||||
|
<h6 class="m-0 font-weight-bold text-primary">{$plang.head}</h6>
|
||||||
|
</div>
|
||||||
|
<div class="card-body">
|
||||||
|
<h2>{$plang.head}</h2>
|
||||||
|
<p>{$plang.description}</p>
|
||||||
|
|
||||||
{include file=shared:errorlist.tpl}
|
{include file=shared:errorlist.tpl}
|
||||||
|
|
||||||
<div style="margin: 0 auto; width: 20em;">
|
{html_form}
|
||||||
|
<p><input type="submit" class="btn btn-primary" name="lastcommentadmin_clear" value="{$plang.clear}"/> </p><p>{$plang.cleardescription} </p>
|
||||||
{html_form}
|
<p><input type="submit" class="btn btn-primary" name="lastcommentadmin_rebuild" value="{$plang.rebuild}"/> </p><p>{$plang.rebuilddescription} </p>
|
||||||
<p><input type="submit" name="lastcommentadmin_clear" value="{$plang.clear}"/> </p><p>{$plang.cleardescription} </p>
|
{/html_form}
|
||||||
<p><br></p>
|
|
||||||
<p><input type="submit" name="lastcommentadmin_rebuild" value="{$plang.rebuild}"/> </p><p>{$plang.rebuilddescription} </p>
|
|
||||||
|
|
||||||
{/html_form}
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
@ -1,29 +1,30 @@
|
|||||||
<h2>{$plang.head}</h2>
|
<div class="row">
|
||||||
|
<div class="col-12">
|
||||||
{include file=shared:errorlist.tpl}
|
<div class="card shadow mb-4">
|
||||||
|
<div class="card-header"><h6 class="m-0 font-weight-bold text-primary">{$plang.head}</h6></div>
|
||||||
|
<div class="card-body">
|
||||||
{html_form}
|
{include file=shared:errorlist.tpl}
|
||||||
|
{html_form}
|
||||||
|
|
||||||
|
|
||||||
<h3>{$plang.mode} </h3>
|
<h3>{$plang.mode} </h3>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label><input type="radio" name="mode" value="0" {if $pconfig.mode == 0 }checked=checked{/if}>
|
<dt><label><input type="radio" class="form-check-input" name="mode" value="0" {if $pconfig.mode == 0 }checked=checked{/if}>
|
||||||
{$plang.auto} </label> </dt>
|
{$plang.auto} </label> </dt>
|
||||||
<dd>{$plang.autodescr}</dd>
|
<dd>{$plang.autodescr}</dd>
|
||||||
<dt><label><input type="radio" name="mode" value="1" {if $pconfig.mode==1}checked=checked{/if}>
|
<dt><label><input type="radio" class="form-check-input" name="mode" value="1" {if $pconfig.mode==1}checked=checked{/if}>
|
||||||
{$plang.pathinfo} </label> </dt>
|
{$plang.pathinfo} </label> </dt>
|
||||||
<dd>{$plang.pathinfodescr}</dd>
|
<dd>{$plang.pathinfodescr}</dd>
|
||||||
<dt><label><input type="radio" name="mode" value="2" {if $pconfig.mode==2}checked=checked{/if}>
|
<dt><label><input type="radio" class="form-check-input" name="mode" value="2" {if $pconfig.mode==2}checked=checked{/if}>
|
||||||
{$plang.httpget} </label> </dt>
|
{$plang.httpget} </label> </dt>
|
||||||
<dd>{$plang.httpgetdescr}</dd>
|
<dd>{$plang.httpgetdescr}</dd>
|
||||||
<dt><label><input type="radio" name="mode" value="3" {if $pconfig.mode==3}checked=checked{/if}>
|
<dt><label><input type="radio" class="form-check-input" name="mode" value="3" {if $pconfig.mode==3}checked=checked{/if}>
|
||||||
{$plang.pretty} </label> </dt>
|
{$plang.pretty} </label> </dt>
|
||||||
<dd>{$plang.prettydescr}</dd>
|
<dd>{$plang.prettydescr}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<div class="buttonbar">
|
<div class="buttonbar">
|
||||||
<input type="submit" name="saveopt" value="{$plang.saveopt}" />
|
<input type="submit" class="btn btn-primary" name="saveopt" value="{$plang.saveopt}" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@ -32,7 +33,7 @@
|
|||||||
|
|
||||||
<p>{$plang.description}</p>
|
<p>{$plang.description}</p>
|
||||||
<p>
|
<p>
|
||||||
<textarea id="htaccess" name="htaccess"
|
<textarea id="htaccess" name="htaccess" class="form-control mw-100"
|
||||||
{if $cantsave}readonly="readonly" {/if}cols="70" rows="16">{$htaccess|escape:'html'}</textarea>
|
{if $cantsave}readonly="readonly" {/if}cols="70" rows="16">{$htaccess|escape:'html'}</textarea>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@ -40,8 +41,13 @@
|
|||||||
{if $cantsave}
|
{if $cantsave}
|
||||||
<p><em>{$plang.cantsave}</em></p>
|
<p><em>{$plang.cantsave}</em></p>
|
||||||
{else}
|
{else}
|
||||||
<input type="submit" name="htaccess-submit" value="{$plang.submit}"/>
|
<input type="submit" class="btn btn-primary" name="htaccess-submit" value="{$plang.submit}"/>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/html_form}
|
{/html_form}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
@ -1,29 +1,38 @@
|
|||||||
<h2>{$plang.head}</h2>
|
<div class="row">
|
||||||
|
<div class="col-12">
|
||||||
|
<div class="card shadow mb-4">
|
||||||
|
<div class="card-header"><h6 class="m-0 font-weight-bold text-primary">{$plang.head}</h6></div>
|
||||||
|
<div class="card-body">
|
||||||
|
|
||||||
{include file=shared:errorlist.tpl}
|
{include file=shared:errorlist.tpl}
|
||||||
|
|
||||||
{html_form class=option-set}
|
{html_form class=option-set}
|
||||||
|
|
||||||
<div class="option-list">
|
<div class="option-list">
|
||||||
<p>{$plang.desc1|wptexturize}</p>
|
<p>{$plang.desc1|wptexturize}</p>
|
||||||
<p>
|
<p>
|
||||||
<textarea id="qs-wordlist" name="qs-wordlist" rows="10" cols="20">{$qscfg.wordlist}</textarea>
|
<textarea class="form-control mw-100" id="qs-wordlist" name="qs-wordlist" rows="10" cols="20">{$qscfg.wordlist}</textarea>
|
||||||
</p>
|
</p>
|
||||||
<p>{$plang.desc2}</p>
|
<p>{$plang.desc2}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>{$plang.options}</h2>
|
<h2>{$plang.options}</h2>
|
||||||
<dl class="option-list">
|
<dl class="option-list">
|
||||||
<dt><label>{$plang.desc3}</label></dt>
|
<dt><label>{$plang.desc3}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
{$plang.desc3pre}
|
{$plang.desc3pre}
|
||||||
<input type="text" class="smalltextinput" id="qs-number" name="qs-number" value="{$qscfg.number}" />
|
<input type="text" class="form-control" class="smalltextinput" id="qs-number" name="qs-number" value="{$qscfg.number}" style="display: inline-block;" />
|
||||||
{$plang.desc3post}
|
{$plang.desc3post}
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<div class="buttonbar">
|
<div class="buttonbar">
|
||||||
<input type="submit" value="{$plang.submit}"/>
|
<input type="submit" class="btn btn-primary" value="{$plang.submit}"/>
|
||||||
|
</div>
|
||||||
|
{/html_form}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/html_form}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user