diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-10-28 22:44:12 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-10-28 22:44:12 +0100 |
commit | d552bd7b8fbc9ff8b81067a05eba53207cb8c91a (patch) | |
tree | 928795654e62e74828cf2a484ba4e79678574248 /ratatoeskr/templates/src/systemtemplates/pluginlist.html | |
parent | a88de608dde6e0df48a122d72f112b5b92ad15ac (diff) | |
download | ratatoeskr-cms-d552bd7b8fbc9ff8b81067a05eba53207cb8c91a.tar.gz ratatoeskr-cms-d552bd7b8fbc9ff8b81067a05eba53207cb8c91a.tar.bz2 ratatoeskr-cms-d552bd7b8fbc9ff8b81067a05eba53207cb8c91a.zip |
Using the new ste:else in ste:foreach feature.
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> |