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">
21 <div class=
"pure-u-lg-1-6 pure-u-1-8"></div>
22 <div class=
"pure-u-lg-2-3 pure-u-3-4 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>{'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
"
52 onclick="return orderUp(this.parentNode.parentNode.getAttribute('data-order'));
">
55 <a href="#
" class="order
"
56 onclick="return orderDown(this.parentNode.parentNode.getAttribute('data-order'));
">
60 <input type="hidden
" name="order_{$key}
" value="{$counter}
">
63 <tr class="pure-u-lg-
0 mobile-row
">
64 <td colspan="4"><label for="{$key}
">{$value.description}</label></td>
70 <th class="center
">{'Disable'|t}</th>
72 <th><div class="pure-u-
0 pure-u-lg-visible
">{'Description'|t}</div></th>
73 <th class="center
">{'Order'|t}</th>
81 <section id="disabled_plugins
">
82 <h3 class="window-subtitle
">{'Disabled Plugins'|t}</h3>
85 {if="count($disabledPlugins)==
0"}
86 <p>{'No plugin disabled.'|t}
</p>
91 <th class=
"center">{'Enable'|t}
</th>
93 <th><div class=
"pure-u-0 pure-u-lg-visible">{'Description'|t}
</div></th>
97 {
loop="$disabledPlugins"}
99 <td class=
"center"><input type=
"checkbox" name=
"{$key}" id=
"{$key}"></td>
101 <label for=
"{$key}"><strong>{
function="str_replace('_', ' ', $key)"}
</strong></label>
103 <td><div class=
"pure-u-0 pure-u-lg-visible">
104 <label for=
"{$key}">{$value.description}
</label>
107 <tr class=
"pure-u-lg-0 mobile-row">
108 <td colspan=
"3"><label for=
"{$key}">{$value.description}
</label></td>
114 <th class=
"center">{'Enable'|t}
</th>
116 <th><div class=
"pure-u-0 pure-u-lg-visible">{'Description'|t}
</div></th>
124 <div class=
"center more">
125 More plugins available
126 <a href=
"doc/Community-&-Related-software.html#third-party-plugins">in the documentation
</a>.
129 <input type=
"submit" value=
"{'Save'|t}" name=
"save">
133 <input type=
"hidden" name=
"token" value=
"{$token}">
136 <form action=
"?do=save_pluginadmin" method=
"POST">
138 <div class=
"pure-u-lg-1-6 pure-u-1-8"></div>
139 <div class=
"pure-u-lg-2-3 pure-u-3-4 page-form page-form-light">
140 <h2 class=
"window-title">{'Plugin configuration'|t}
</h2>
141 <section id=
"plugin_parameters">
143 {
if="count($enabledPlugins)==
0"}
144 <p>{'No plugin enabled.'|t}
</p>
146 {
loop="$enabledPlugins"}
147 {
if="count($value.parameters)
> 0"}
148 <div class="plugin_parameters
">
149 <h3 class="window-subtitle
">{function="str_replace('_', ' ', $key)"}
</h3>
150 {
loop="$value.parameters"}
151 <div class=
"plugin_parameter">
152 <div class=
"float_label">
155 {
if="isset($value.desc)"}
156 · {$value.desc}
160 <div class=
"float_input">
161 <input name=
"{$key}" value=
"{$value.value}" id=
"{$key}" type=
"text" />
170 <input type=
"submit" name=
"parameters_form" value=
"{'Save'|t}"/>
178 {
include="page.footer"}
179 <script src=
"inc/plugin_admin.js#"></script>