7 {
include="page.header"}
10 <div class=
"pure-g new-version-message pure-alert pure-alert-warning">
11 <div class=
"pure-u-2-24"></div>
12 <div class=
"pure-u-20-24">
13 {'You need to enable Javascript to change plugin loading order.'|t}
16 <div class=
"clear"></div>
19 <form method=
"POST" action=
"?do=save_pluginadmin" name=
"pluginform" id=
"pluginform" class=
"pluginform-container">
21 <div class=
"pure-u-lg-1-8 pure-u-1-24"></div>
22 <div class=
"pure-u-lg-3-4 pure-u-22-24 page-form page-form-complete">
23 <h2 class=
"window-title">{'Plugin administration'|t}
</h2>
25 <section id=
"enabled_plugins">
26 <h3 class=
"window-subtitle">{'Enabled Plugins'|t}
</h3>
29 {
if="count($enabledPlugins)==
0"}
30 <p class=
"center">{'No plugin enabled.'|t}
</p>
32 <table id=
"plugin_table">
35 <th class=
"center">{'Disable'|t}
</th>
37 <th><div class=
"pure-u-0 pure-u-lg-visible">{'Description'|t}
</div></th>
38 <th class=
"center">{'Order'|t}
</th>
42 {
loop="$enabledPlugins"}
43 <tr data-line=
"{$key}" data-order=
"{$counter}" class=
"main-row">
44 <td class=
"center"><input type=
"checkbox" name=
"{$key}" id=
"{$key}" checked=
"checked"></td>
46 <label for=
"{$key}"><strong>{
function="str_replace('_', ' ', $key)"}
</strong></label>
48 <td><div class=
"pure-u-0 pure-u-lg-visible"><label for=
"{$key}">{$value.description}
</label></div></td>
50 {
if="count($enabledPlugins)
>1"}
51 <a href="#
" class="order order-up
">▲</a>
52 <a href="#
" class="order order-down
">▼</a>
54 <input type="hidden
" name="order_{$key}
" value="{$counter}
">
57 <tr data-line="{$key}
" data-order="{$counter}
" class="pure-u-lg-
0 mobile-row
">
58 <td colspan="4"><label for="{$key}
">{$value.description}</label></td>
64 <th class="center
">{'Disable'|t}</th>
66 <th><div class="pure-u-
0 pure-u-lg-visible
">{'Description'|t}</div></th>
67 <th class="center
">{'Order'|t}</th>
75 <section id="disabled_plugins
">
76 <h3 class="window-subtitle
">{'Disabled Plugins'|t}</h3>
79 {if="count($disabledPlugins)==
0"}
80 <p class=
"center">{'No plugin disabled.'|t}
</p>
85 <th class=
"center">{'Enable'|t}
</th>
87 <th><div class=
"pure-u-0 pure-u-lg-visible">{'Description'|t}
</div></th>
91 {
loop="$disabledPlugins"}
93 <td class=
"center"><input type=
"checkbox" name=
"{$key}" id=
"{$key}"></td>
95 <label for=
"{$key}"><strong>{
function="str_replace('_', ' ', $key)"}
</strong></label>
97 <td><div class=
"pure-u-0 pure-u-lg-visible">
98 <label for=
"{$key}">{$value.description}
</label>
101 <tr class=
"pure-u-lg-0 mobile-row">
102 <td colspan=
"3"><label for=
"{$key}">{$value.description}
</label></td>
108 <th class=
"center">{'Enable'|t}
</th>
110 <th><div class=
"pure-u-0 pure-u-lg-visible">{'Description'|t}
</div></th>
118 <div class=
"center more">
119 {"More plugins available"|t}
120 <a href=
"doc/html/Community-&-Related-software/#third-party-plugins">{"in the documentation"|t}
</a>.
123 <input type=
"submit" value=
"{'Save'|t}" name=
"save">
127 <input type=
"hidden" name=
"token" value=
"{$token}">
130 <form action=
"?do=save_pluginadmin" method=
"POST">
132 <div class=
"pure-u-lg-1-8 pure-u-1-24"></div>
133 <div class=
"pure-u-lg-3-4 pure-u-22-24 page-form page-form-light">
134 <h2 class=
"window-title">{'Plugin configuration'|t}
</h2>
135 <section id=
"plugin_parameters">
137 {
if="count($enabledPlugins)==
0"}
138 <p class=
"center">{'No plugin enabled.'|t}
</p>
141 {
loop="$enabledPlugins"}
142 {$nbParameters=$nbParameters+count($value.parameters)}
143 {
if="count($value.parameters)
> 0"}
144 <div class="plugin_parameters
">
145 <h3 class="window-subtitle
">{function="str_replace('_', ' ', $key)"}
</h3>
146 {
loop="$value.parameters"}
147 <div class=
"plugin_parameter">
148 <p class=
"float_label">
151 {
if="isset($value.desc)"}
152 · {$value.desc}
156 <div class=
"float_input">
157 <input name=
"{$key}" value=
"{$value.value}" id=
"{$key}" type=
"text" />
164 {
if="$nbParameters===
0"}
165 <p class=
"center">{'No parameter available.'|t}
</p>
168 <input type=
"submit" name=
"parameters_form" value=
"{'Save'|t}"/>
178 {
include="page.footer"}
179 <script src=
"js/pluginsadmin.min.js?v={$version_hash}"></script>