aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/templates/src/systemtemplates/pluginlist.html
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/templates/src/systemtemplates/pluginlist.html')
-rw-r--r--ratatoeskr/templates/src/systemtemplates/pluginlist.html66
1 files changed, 66 insertions, 0 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/pluginlist.html b/ratatoeskr/templates/src/systemtemplates/pluginlist.html
new file mode 100644
index 0000000..ea01335
--- /dev/null
+++ b/ratatoeskr/templates/src/systemtemplates/pluginlist.html
@@ -0,0 +1,66 @@
+<ste:load name="master.html" />
+<ste:block name="content">
+ <ste:if>$success
+ <ste:then>
+ <div class="success"><ste:escape>$success</ste:escape></div>
+ </ste:then>
+ </ste:if>
+ <ste:if>$error
+ <ste:then>
+ <div class="error"><ste:escape>$error</ste:escape></div>
+ </ste:then>
+ </ste:if>
+
+ <form action="$rel_path_to_root/backend/plugin/list" method="POST">
+ <table class="listtab fullwidth">
+ <thead>
+ <tr>
+ <th>&nbsp;</th>
+ <th><ste:get_translation for="plugin_name" /></th>
+ <th><ste:get_translation for="plugin_version" /></th>
+ <th><ste:get_translation for="plugin_isactive" /></th>
+ <th><ste:get_translation for="plugin_description" /></th>
+ <th><ste:get_translation for="plugin_author" /></th>
+ <th><ste:get_translation for="plugin_web" /></th>
+ <th><ste:get_translation for="plugin_help" /></th>
+ </tr>
+ </thead>
+ <tbody>
+ <ste:set var="plugins_n"><ste:arraylen array="plugins" /></ste:set>
+ <ste:if>
+ ~{$plugins_n|gt|0}
+ <ste:then>
+ <ste:foreach array="plugins" value="p">
+ <tr>
+ <td><input type="checkbox" name="plugins_multiselect[]" value="$p[id]" /></td>
+ <td><ste:escape>$p[name]</ste:escape></td>
+ <td><ste:escape>$p[versiontext]</ste:escape></td>
+ <td>?{$p[active]|<strong><ste:get_translation for="yes" />|<ste:get_translation for="no" />}</td>
+ <td><ste:escape>$p[description]</ste:escape></td>
+ <td><ste:escape>$p[author]</ste:escape></td>
+ <td>?{$p[web]|<a href="<ste:escape>$p[web]</ste:escape>"><ste:escape>$p[web]</ste:escape></a>|}</td>
+ <td>?{$p[help]|<a href="$rel_path_to_root/backend/plugin/help/$p[id]"><ste:get_translation for="plugin_help" /></a>|}</td>
+ </tr>
+ </ste:foreach>
+ </ste:then>
+ <ste:else>
+ <tr><td colspan="8" style="text-align: center;"><em><ste:get_translation for="no_plugins" /></em></td></tr>
+ </ste:else>
+ </ste:if>
+ </tbody>
+ </table>
+ <div>
+ <input type="submit" name="delete" value="<ste:get_translation for='delete' />" />
+ <select name="really_delete">
+ <option value="no" selected="selected"><ste:get_translation for="no" /></option>
+ <option value="yes"><ste:get_translation for="yes" /></option>
+ </select>
+ |
+ <input type="submit" name="update" value="<ste:get_translation for='plugin_update' />" />
+ |
+ <input type="submit" name="activate" value="<ste:get_translation for='plugin_activate' />" />
+ |
+ <input type="submit" name="deactivate" value="<ste:get_translation for='plugin_deactivate' />" />
+ </div>
+ </form>
+</ste:block>