diff options
Diffstat (limited to 'ratatoeskr/templates/src/systemtemplates/pluginlist.html')
-rw-r--r-- | ratatoeskr/templates/src/systemtemplates/pluginlist.html | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/pluginlist.html b/ratatoeskr/templates/src/systemtemplates/pluginlist.html index 5d88fb4..85ad71a 100644 --- a/ratatoeskr/templates/src/systemtemplates/pluginlist.html +++ b/ratatoeskr/templates/src/systemtemplates/pluginlist.html @@ -19,27 +19,21 @@ </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: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:else> <tr><td colspan="8" style="text-align: center;"><em><ste:get_translation for="no_plugins" /></em></td></tr> </ste:else> - </ste:if> + </ste:foreach> </tbody> </table> <div> |