summaryrefslogtreecommitdiff
path: root/templates/admin_plugins.tpl
diff options
context:
space:
mode:
authorlaetzer <laetzer@users.sourceforge.net>2007-05-05 09:05:50 +0000
committerlaetzer <laetzer@users.sourceforge.net>2007-05-05 09:05:50 +0000
commited788efb0c63cfd2ad2367403691b8828e7af76e (patch)
tree2f4c6e5ae1761ddba6df481fdd2ce0a9d2b9d817 /templates/admin_plugins.tpl
parentd47ecf1b04cf37594fbc9c277435abfde76e75b8 (diff)
downloadliberty-ed788efb0c63cfd2ad2367403691b8828e7af76e.tar.gz
liberty-ed788efb0c63cfd2ad2367403691b8828e7af76e.tar.bz2
liberty-ed788efb0c63cfd2ad2367403691b8828e7af76e.zip
+ fieldsets
Diffstat (limited to 'templates/admin_plugins.tpl')
-rw-r--r--templates/admin_plugins.tpl114
1 files changed, 58 insertions, 56 deletions
diff --git a/templates/admin_plugins.tpl b/templates/admin_plugins.tpl
index df7f000..6038a1e 100644
--- a/templates/admin_plugins.tpl
+++ b/templates/admin_plugins.tpl
@@ -13,63 +13,65 @@
{jstabs}
{foreach from=$pluginTypes item=plugin_type key=plugin_type_label}
{jstab title="$plugin_type_label"}
- {if $plugin_type eq 'format'}
- {formfeedback warning="If you disable a format, content pages using that format can no longer be edited."}
- {elseif $plugin_type eq 'data'}
- {formfeedback warning="Disabling plugins will also disable them in content pages, even if they are already in use."}
- {/if}
-
- <table class="panel">
- <caption>{tr}Plugin Type: {$plugin_type_label}{/tr}</caption>
- <tr>
- <th style="width:70%;">{tr}Plugin{/tr}</th>
- <th style="width:20%;">{tr}GUID{/tr}</th>
- {if $plugin_type eq 'format'}
- <th style="width:5%;">{tr}Default{/tr}</th>
- {/if}
- <th style="width:5%;">{tr}Active{/tr}</th>
- </tr>
-
- {foreach from=$gLibertySystem->mPlugins item=plugin key=guid}
- {if $plugin.plugin_type eq $plugin_type}
- <tr class="{cycle values="odd,even"}">
- <td>
- {if $plugin_type eq 'data'}
- <h3>{$plugin.title|escape}</h3>
- {else}
- <h3>{$plugin.edit_label}</h3>
- {/if}
- {$plugin.description}
- </td>
- <td>{$guid}</td>
- {if $plugin_type eq 'format'}
- <td align="center">{if $plugin.is_active == 'y'}{html_radios values=$guid name="default_format" checked=$gBitSystem->getConfig('default_format')}{/if}</td>
- {/if}
- <td align="center">
- {if $plugin.is_active=='x'}
- Missing
- {else}
- {html_checkboxes name="PLUGINS[`$guid`]" values="y" checked=`$plugin.is_active` labels=false id=$guid}
+ {legend legend=Plugins}
+ {if $plugin_type eq 'format'}
+ {formfeedback warning="If you disable a format, content pages using that format can no longer be edited."}
+ {elseif $plugin_type eq 'data'}
+ {formfeedback warning="Disabling plugins will also disable them in content pages, even if they are already in use."}
+ {/if}
+
+ <table class="panel">
+ <caption>{tr}Plugin Type: {$plugin_type_label}{/tr}</caption>
+ <tr>
+ <th style="width:70%;">{tr}Plugin{/tr}</th>
+ <th style="width:20%;">{tr}GUID{/tr}</th>
+ {if $plugin_type eq 'format'}
+ <th style="width:5%;">{tr}Default{/tr}</th>
+ {/if}
+ <th style="width:5%;">{tr}Active{/tr}</th>
+ </tr>
+
+ {foreach from=$gLibertySystem->mPlugins item=plugin key=guid}
+ {if $plugin.plugin_type eq $plugin_type}
+ <tr class="{cycle values="odd,even"}">
+ <td>
+ {if $plugin_type eq 'data'}
+ <h3>{$plugin.title|escape}</h3>
+ {else}
+ <h3>{$plugin.edit_label}</h3>
+ {/if}
+ {$plugin.description}
+ </td>
+ <td>{$guid}</td>
+ {if $plugin_type eq 'format'}
+ <td align="center">{if $plugin.is_active == 'y'}{html_radios values=$guid name="default_format" checked=$gBitSystem->getConfig('default_format')}{/if}</td>
{/if}
- </td>
- </tr>
- {/if}
- {/foreach}
- </table>
-
- <br />
-
- {if $plugin_type eq 'format'}
- {formfeedback warning="{tr}This will change the way any wiki page that contains HTML will be displayed{/tr}"}
- <div class="row">
- {formlabel label="Allow HTML" for="allow_html"}
- {forminput}
- <input type="checkbox" name="content_allow_html" value="y" {if $gBitSystem->isFeatureActive('content_allow_html')}checked="checked"{/if} />
- This will render HTML in all content pages if it is present. This is a security risk to allow HTML entry by untrusted users, but is usually required for existing installations. For a more controlled environment, assign the <a href="{$smarty.const.USERS_PKG_URL}admin/edit_group.php">p_liberty_enter_html permission</a>.
- {formhelp note="Allow the use of HTML in tikiwiki format content."}
- {/forminput}
- </div>
- {/if}
+ <td align="center">
+ {if $plugin.is_active=='x'}
+ Missing
+ {else}
+ {html_checkboxes name="PLUGINS[`$guid`]" values="y" checked=`$plugin.is_active` labels=false id=$guid}
+ {/if}
+ </td>
+ </tr>
+ {/if}
+ {/foreach}
+ </table>
+
+ <br />
+
+ {if $plugin_type eq 'format'}
+ {formfeedback warning="{tr}This will change the way any wiki page that contains HTML will be displayed{/tr}"}
+ <div class="row">
+ {formlabel label="Allow HTML" for="allow_html"}
+ {forminput}
+ <input type="checkbox" name="content_allow_html" value="y" {if $gBitSystem->isFeatureActive('content_allow_html')}checked="checked"{/if} />
+ This will render HTML in all content pages if it is present. This is a security risk to allow HTML entry by untrusted users, but is usually required for existing installations. For a more controlled environment, assign the <a href="{$smarty.const.USERS_PKG_URL}admin/edit_group.php">p_liberty_enter_html permission</a>.
+ {formhelp note="Allow the use of HTML in tikiwiki format content."}
+ {/forminput}
+ </div>
+ {/if}
+ {/legend}
{/jstab}
{/foreach}
{/jstabs}