From c94c674d48096c14b1248ec06be947da3b52be6e Mon Sep 17 00:00:00 2001
From: franciscoarocas <54645175+franciscoarocas@users.noreply.github.com>
Date: Fri, 1 Jan 2021 21:24:39 +0100
Subject: [PATCH] Updated plugins tpls (New admin theme)
---
fp-content/plugin_commentcenter/policies.txt | 11 ++
.../akismet/tpls/admin.plugin.akismet.tpl | 35 +++---
.../bbcode/tpls/admin.plugin.bbcode.tpl | 8 +-
.../tpls/admin.plugin.blockparser.tpl | 113 ++++++++++--------
fp-plugins/commentcenter/tpls/approvelist.tpl | 7 +-
fp-plugins/commentcenter/tpls/configure.tpl | 33 +++--
fp-plugins/commentcenter/tpls/deletecomm.tpl | 7 +-
fp-plugins/commentcenter/tpls/deletepol.tpl | 7 +-
fp-plugins/commentcenter/tpls/editpol.tpl | 25 ++--
fp-plugins/commentcenter/tpls/footer.tpl | 4 +
fp-plugins/commentcenter/tpls/header.tpl | 25 ++--
.../commentcenter/tpls/listcomments.tpl | 8 +-
.../commentcenter/tpls/listpolicies.tpl | 6 +-
fp-plugins/commentcenter/tpls/manage.tpl | 10 +-
fp-plugins/commentcenter/tpls/policies.tpl | 7 +-
.../tpls/admin.plugin.lastcommentsadmin.tpl | 30 +++--
.../tpls/admin.plugin.prettyurls.tpl | 90 +++++++-------
fp-plugins/qspam/tpls/admin.plugin.qspam.tpl | 57 +++++----
18 files changed, 277 insertions(+), 206 deletions(-)
create mode 100644 fp-content/plugin_commentcenter/policies.txt
create mode 100644 fp-plugins/commentcenter/tpls/footer.tpl
diff --git a/fp-content/plugin_commentcenter/policies.txt b/fp-content/plugin_commentcenter/policies.txt
new file mode 100644
index 0000000..1ecf2a5
--- /dev/null
+++ b/fp-content/plugin_commentcenter/policies.txt
@@ -0,0 +1,11 @@
+
+ array (
+ 'do' => '0',
+ 'is_all' => true,
+ ),
+);
+
+?>
\ No newline at end of file
diff --git a/fp-plugins/akismet/tpls/admin.plugin.akismet.tpl b/fp-plugins/akismet/tpls/admin.plugin.akismet.tpl
index e79dc33..2fa9d7f 100644
--- a/fp-plugins/akismet/tpls/admin.plugin.akismet.tpl
+++ b/fp-plugins/akismet/tpls/admin.plugin.akismet.tpl
@@ -1,17 +1,24 @@
-
+
+
+
+
+
{$plang.description}
-{include file=shared:errorlist.tpl}
-
-
-
-{html_form}
-
-
{$plang.apikey}
-
-
-
{$plang.whatis}
-
-{/html_form}
+ {include file=shared:errorlist.tpl}
+
+
+ {html_form}
+
+
{$plang.apikey}
+
+
+
{$plang.whatis}
+
+ {/html_form}
+
+
+
+
\ No newline at end of file
diff --git a/fp-plugins/bbcode/tpls/admin.plugin.bbcode.tpl b/fp-plugins/bbcode/tpls/admin.plugin.bbcode.tpl
index 79e7a68..a11bef3 100644
--- a/fp-plugins/bbcode/tpls/admin.plugin.bbcode.tpl
+++ b/fp-plugins/bbcode/tpls/admin.plugin.bbcode.tpl
@@ -16,7 +16,7 @@
{$plang.allow_html}
-
+
{$plang.allow_html_long}
@@ -24,7 +24,7 @@
{$plang.toolbar}
-
+
{$plang.toolbar_long}
@@ -38,7 +38,7 @@
{$plang.comments}
-
+
{$plang.comments_long}
@@ -47,7 +47,7 @@
{$plang.urlmaxlen_long_pre}
-
+
{$plang.urlmaxlen_long_post}
diff --git a/fp-plugins/blockparser/tpls/admin.plugin.blockparser.tpl b/fp-plugins/blockparser/tpls/admin.plugin.blockparser.tpl
index 8f9fe41..fed2312 100644
--- a/fp-plugins/blockparser/tpls/admin.plugin.blockparser.tpl
+++ b/fp-plugins/blockparser/tpls/admin.plugin.blockparser.tpl
@@ -1,60 +1,67 @@
-
{$plang.head}
-
{$plang.description}
+
+
+
+
+
+
{$plang.description}
-{include file=shared:errorlist.tpl}
-{static_block}
+ {include file=shared:errorlist.tpl}
+ {static_block}
-
+ {/static_block}
+
+
+
+
\ No newline at end of file
diff --git a/fp-plugins/commentcenter/tpls/approvelist.tpl b/fp-plugins/commentcenter/tpls/approvelist.tpl
index e4516b3..4c0dce0 100644
--- a/fp-plugins/commentcenter/tpls/approvelist.tpl
+++ b/fp-plugins/commentcenter/tpls/approvelist.tpl
@@ -9,7 +9,7 @@
{$plang.app_spamdesc}
{assign var="fetch" value="akismet"}
{include file=plugin:commentcenter/listcomments}
-
+
{$plang.app_hamsubmit}
{/if}
{if $other}
@@ -18,7 +18,8 @@
{include file=plugin:commentcenter/listcomments}
{/if}
- {html_submit name="mpubcomm" id="mpubcomm" value=$plang.app_pselected}
- {html_submit name="mdelcomm" id="mdelcomm" value=$plang.app_dselected}
+ {html_submit name="mpubcomm" id="mpubcomm" class="btn btn-primary" value=$plang.app_pselected}
+ {html_submit name="mdelcomm" id="mdelcomm" class="btn btn-secondary" value=$plang.app_dselected}
{/html_form}
+{include file=plugin:commentcenter/footer}
\ No newline at end of file
diff --git a/fp-plugins/commentcenter/tpls/configure.tpl b/fp-plugins/commentcenter/tpls/configure.tpl
index f5bbf93..e36d851 100644
--- a/fp-plugins/commentcenter/tpls/configure.tpl
+++ b/fp-plugins/commentcenter/tpls/configure.tpl
@@ -6,37 +6,48 @@
{$plang.log_all}
-
- {$plang.log_all_long}
+
+
+
+ {$plang.log_all_long}
+
+
{$plang.email_alert}
-
- {$plang.email_alert_long}
+
+
+
+ {$plang.email_alert_long}
+
+
{$plang.akismet}
- {$plang.akismet_use}
-
-
-
+
+
+
+ {$plang.akismet_use}
+
+
{$plang.akismet_key}
-
+
{$plang.akismet_key_long}
{$plang.akismet_url}
-
+
{$plang.akismet_url_long|sprintf:$smarty.const.BLOG_BASEURL}
- {html_submit name="configure" id="configure" value=$plang.save_conf}
+ {html_submit name="configure" class="btn btn-primary" id="configure" value=$plang.save_conf}
{/html_form}
+{include file=plugin:commentcenter/footer}
\ No newline at end of file
diff --git a/fp-plugins/commentcenter/tpls/deletecomm.tpl b/fp-plugins/commentcenter/tpls/deletecomm.tpl
index 229c57c..a3729a4 100644
--- a/fp-plugins/commentcenter/tpls/deletecomm.tpl
+++ b/fp-plugins/commentcenter/tpls/deletecomm.tpl
@@ -14,10 +14,11 @@
{assign var="button_suff" value=""}
{/if}
{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}
- {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}
- {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}
{/html_form}
+{include file=plugin:commentcenter/footer}
\ No newline at end of file
diff --git a/fp-plugins/commentcenter/tpls/deletepol.tpl b/fp-plugins/commentcenter/tpls/deletepol.tpl
index dd2a9b4..829538e 100644
--- a/fp-plugins/commentcenter/tpls/deletepol.tpl
+++ b/fp-plugins/commentcenter/tpls/deletepol.tpl
@@ -7,10 +7,11 @@
{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}
- {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}
- {html_submit name="cancel" id="cancel" value=$plang.del_cancel}
+ {html_submit class="btn btn-secondary" name="cancel" id="cancel" value=$plang.del_cancel}
{/html_form}
+{include file=plugin:commentcenter/footer}
\ No newline at end of file
diff --git a/fp-plugins/commentcenter/tpls/editpol.tpl b/fp-plugins/commentcenter/tpls/editpol.tpl
index ed2dff5..6bf462d 100644
--- a/fp-plugins/commentcenter/tpls/editpol.tpl
+++ b/fp-plugins/commentcenter/tpls/editpol.tpl
@@ -4,16 +4,16 @@