{strip}
{bithelp}

{tr}Admin Liberty Plugins{/tr}

{form} {formfeedback error=$errorMsg} {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 'storage'} {formfeedback warning="These plugins have been replaced by the mime plugins. We are working on removing these."} {elseif $plugin_type eq 'data'} {formfeedback warning="Disabling plugins will also disable them in content pages, even if they are already in use."} {/if}
{foreach from=$gLibertySystem->mPlugins item=plugin key=guid} {if $plugin.plugin_type eq $plugin_type}
{*
{if $plugin.help_page} {jspopup href="http://www.bitweaver.org/wiki/`$plugin.help_page`" ibiticon="icons/dialog-information" title=$plugin.help_page class="external"} {/if} {if $plugin.plugin_settings_url} {booticon iname="fa-pen-to-square" iexplain="Plugin Settings"} {/if}
*}
{if $plugin_type eq 'format'}
{if $plugin.is_active == 'y'}{/if}
{/if} {if $plugin.plugin_type == 'mime' && $guid == $smarty.const.LIBERTY_DEFAULT_MIME_HANDLER}{tr}DEFAULT{/tr}{/if} {$plugin.description} {if !empty($plugin.requirements.output)} {formfeedback hash=$plugin.requirements.output} {/if}
{/if} {/foreach} {if $plugin_type eq 'format'} {formfeedback warning="{tr}This will change the way any wiki page that contains HTML will be displayed. We recommend turning on HTMLPurifier if either of these is on.{/tr}"}
{formlabel label="Allow HTML" for="allow_html"} {forminput} 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 p_liberty_enter_html permission. {formhelp note="Allow the use of HTML in tikiwiki format content."} {/forminput}
{formlabel label="Force Allow HTML" for="force_allow_html"} {forminput} isFeatureActive('content_force_allow_html')}checked="checked"{/if} /> This will force HTML to be allowed for all users in tikiwiki format content. We require this on if you are using CKEditor and recommended it with any other WYSIWYG editor. {formhelp note="This will force the allowance of HTML in tikiwiki format content for all users."} {/forminput}
{/if} {/jstab} {/foreach} {/jstabs}
{formlabel label="Reset all plugin settings" for=""} {forminput} {formhelp note="This will remove all plugin settings from the database and reset them to the default values. This can be useful if some plugins don't seem to work or you simply want to reset all values on this page."} {/forminput}
{/form}
{/strip}