summaryrefslogtreecommitdiff
path: root/templates/admin_plugins.tpl
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-08-01 18:41:07 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-08-01 18:41:07 +0000
commitee3fd1e1d304664c64c5e6f34a28561374fbab58 (patch)
tree234b264cb1acd9da1ba654942e465866cd329cf7 /templates/admin_plugins.tpl
parent58db6b4a6f61527b78374143035ad0420e933b61 (diff)
downloadliberty-ee3fd1e1d304664c64c5e6f34a28561374fbab58.tar.gz
liberty-ee3fd1e1d304664c64c5e6f34a28561374fbab58.tar.bz2
liberty-ee3fd1e1d304664c64c5e6f34a28561374fbab58.zip
merge recent changes with HEAD - R1 and HEAD are identical now
Diffstat (limited to 'templates/admin_plugins.tpl')
-rw-r--r--templates/admin_plugins.tpl61
1 files changed, 13 insertions, 48 deletions
diff --git a/templates/admin_plugins.tpl b/templates/admin_plugins.tpl
index 02945cd..0fe3818 100644
--- a/templates/admin_plugins.tpl
+++ b/templates/admin_plugins.tpl
@@ -7,7 +7,6 @@
<h1>{tr}Admin Liberty Plugins{/tr}</h1>
</div>
- {debug}
<div class="body">
{form legend="Liberty Plugins"}
{formfeedback error=$errorMsg}
@@ -57,57 +56,23 @@
{/if}
{/foreach}
</table>
- {/jstab}
- {/foreach}
- {/jstabs}
- {*
- {foreach from=$gLibertySystem->mPlugins item=plugin key=guid}
- {if $prev_type ne $plugin.plugin_type and $prev_type ne ''}
- </table><!-- close all but last table -->
- <br />
- {/if}
+ <br />
- {if $prev_type ne $plugin.plugin_type}
- <!-- create new table on plugin_type change -->
- <table class="panel">
- <caption>{tr}Plugin Type: {$plugin.plugin_type}{/tr}</caption>
- <tr>
- <th style="width:70%;">{tr}Plugin{/tr}</th>
- {if $plugin.plugin_type eq 'format'}
- <th style="width:5%;">{tr}Default{/tr}</th>
- {/if}
- <th style="width:20%;">{tr}GUID{/tr}</th>
- <th style="width:5%;">{tr}Active{/tr}</th>
- </tr>
- {/if}
-
- {assign var=prev_type value=$plugin.plugin_type}
- <tr class="{cycle values="odd,even"}">
- <td>
- {if $plugin.plugin_type eq 'data'}
- <h3>{$plugin.title}</h3>
- {/if}
- <label for="{$guid}">
- {$plugin.plugin_description}
- </label>
- </td>
- {if $plugin.plugin_type eq 'format'}
- <td align="center">{if $plugin.is_active == 'y'}{html_radios values=$guid name="default_format" checked=$default_format}{/if}</td>
- {/if}
- <td>{$guid}</td>
- <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 $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="allow_html[]" id="allow_html" {if $gBitSystem->isFeatureActive( 'allow_html' ) }checked="checked"{/if} />
+ {formhelp note="Allow the use of HTML in tikiwiki format content."}
+ {/forminput}
+ </div>
{/if}
- </td>
- </tr>
- {/foreach}
+ {/jstab}
+ {/foreach}
+ {/jstabs}
- </table><!-- close last table -->
-*}
<div class="row submit">
<input type="submit" name="pluginsave" value="{tr}Save Plugin Settings{/tr}" />
</div>