From 402b03464812aaec76bc841ca7dacb775baf1e03 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 14 Jan 2017 15:52:17 +0100 Subject: Introduce the new default Shaarli template --- tpl/default/pluginsadmin.html | 182 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 182 insertions(+) create mode 100644 tpl/default/pluginsadmin.html (limited to 'tpl/default/pluginsadmin.html') diff --git a/tpl/default/pluginsadmin.html b/tpl/default/pluginsadmin.html new file mode 100644 index 00000000..92af2eef --- /dev/null +++ b/tpl/default/pluginsadmin.html @@ -0,0 +1,182 @@ + + + + {include="includes"} + + +{include="page.header"} + + + +
+
+
+
+

{'Plugin administration'|t}

+ +
+

{'Enabled Plugins'|t}

+ +
+ {if="count($enabledPlugins)==0"} +

{'No plugin enabled.'|t}

+ {else} + + + + + + + + + + + {loop="$enabledPlugins"} + + + + + + + + + + {/loop} + + + + + + + + + +
{'Disable'|t}{'Name'|t}
{'Description'|t}
{'Order'|t}
+ +
+ {if="count($enabledPlugins)>1"} + + ▲ + + + ▼ + + {/if} + +
{'Disable'|t}{'Name'|t}
{'Description'|t}
{'Order'|t}
+ {/if} +
+
+ +
+

{'Disabled Plugins'|t}

+ +
+ {if="count($disabledPlugins)==0"} +

{'No plugin disabled.'|t}

+ {else} + + + + + + + + + + {loop="$disabledPlugins"} + + + + + + + + + {/loop} + + + + + + + + +
{'Enable'|t}{'Name'|t}
{'Description'|t}
+ +
+ +
{'Enable'|t}{'Name'|t}
{'Description'|t}
+ {/if} +
+
+ +
+ More plugins available + in the documentation. +
+
+ +
+
+
+ +
+ +
+
+
+
+

{'Plugin configuration'|t}

+
+
+ {if="count($enabledPlugins)==0"} +

{'No plugin enabled.'|t}

+ {else} + {loop="$enabledPlugins"} + {if="count($value.parameters) > 0"} +
+

{function="str_replace('_', ' ', $key)"}

+ {loop="$value.parameters"} +
+

+ +

+
+ +
+
+ {/loop} +
+ {/if} + {/loop} + {/if} +
+ +
+
+
+
+
+
+ +{include="page.footer"} + + + + -- cgit v1.2.3