{* $Id$ *} {remarksbox type="tip" title="{tr}Tip{/tr}"} {tr}Text area (that apply throughout many features){/tr} {/remarksbox}
{ticket}
{include file='admin/include_apply_top.tpl'}
{tabset name="admin_textarea"} {tab name="{tr}General Settings{/tr}"}
{tr}Features{/tr}{help url="Text+Area"} {preference name=feature_fullscreen} {preference name=feature_filegals_manager} {preference name=feature_dynamic_content} {preference name=feature_wiki_replace} {preference name=feature_syntax_highlighter}
{preference name=feature_syntax_highlighter_theme}
{preference name=feature_wysiwyg} {preference name=ajax_autosave} {preference name=ajax_edit_previews}
{tr}Wiki syntax{/tr}{help url="Wiki-syntax"} {preference name=feature_smileys} {preference name=feature_wiki_paragraph_formatting}
{preference name=feature_wiki_paragraph_formatting_add_br}
{preference name=section_comments_parse} {preference name=feature_wiki_monosp} {preference name=feature_wiki_tables} {preference name=feature_wiki_argvariable} {preference name=wiki_dynvar_style} {preference name=wiki_dynvar_multilingual} {preference name=wiki_make_ordered_list_items_display_unique_numbers} {preference name=feature_absolute_to_relative_links}
{tr}Typography{/tr} {preference name=feature_typo_enable}
{preference name=feature_typo_quotes} {preference name=feature_typo_approximative_quotes} {preference name=feature_typo_dashes_and_ellipses} {preference name=feature_typo_nobreak_spaces}
{tr}Plugins{/tr} {preference name=wikiplugin_showreference} {preference name=wikiplugin_addreference} {preference name=wikiplugin_alink} {preference name=wikiplugin_aname} {preference name=wikiplugin_box} {preference name=wikiplugin_button} {preference name=wikiplugin_center} {preference name=wikiplugin_code} {preference name=wikiplugin_countdown} {preference name=wikiplugin_div} {preference name=wikiplugin_dl} {preference name=wikiplugin_fade} {preference name=wikiplugin_fancylist} {preference name=wikiplugin_fancytable} {preference name=wikiplugin_font} {preference name=wikiplugin_footnote} {preference name=wikiplugin_footnotearea} {preference name=wikiplugin_gauge} {preference name=wikiplugin_html} {preference name=wikiplugin_iframe} {preference name=wikiplugin_include} {preference name=wikiplugin_mono} {preference name=wikiplugin_mouseover} {preference name=wikiplugin_mwtable} {preference name=wikiplugin_now} {preference name=wikiplugin_quote} {preference name=wikiplugin_remarksbox} {preference name=wikiplugin_scroll} {preference name=wikiplugin_slider} {preference name=wikiplugin_sort} {preference name=wikiplugin_split} {preference name=wikiplugin_sup} {preference name=wikiplugin_sub} {preference name=wikiplugin_tabs} {preference name=wikiplugin_tag} {preference name=wikiplugin_toc} {preference name=wikiplugin_versions} {preference name=wikiplugin_showpref} {preference name=wikiplugin_casperjs}
{tr}Miscellaneous{/tr} {preference name=feature_purifier} {preference name=feature_autolinks} {preference name=feature_hotwords}
{preference name=feature_hotwords_nw} {preference name=feature_hotwords_sep}
{preference name=feature_use_quoteplugin} {preference name=feature_use_three_colon_centertag} {preference name=feature_simplebox_delim} {preference name=mail_template_custom_text}
{tr}Default size{/tr} {preference name=default_rows_textarea_wiki} {preference name=default_rows_textarea_comment} {preference name=default_rows_textarea_forum} {preference name=default_rows_textarea_forumthread}
{tr}External links and images{/tr} {preference name=cachepages} {preference name=cacheimages} {preference name=feature_wiki_ext_icon} {preference name=feature_wiki_ext_rel_nofollow} {preference name=popupLinks} {remarksbox type='tip' title="{tr}Tip{/tr}"} {tr}External links will be identified with:{/tr} {icon name="link-external"} {/remarksbox} {preference name=allowImageLazyLoad}
{/tab} {tab name="{tr}Plugins{/tr}"}
{remarksbox type="note" title="{tr}About plugins{/tr}"}{tr}Tiki plugins add functionality to wiki pages, articles, blogs, and so on. You can enable and disable them below.{/tr} {tr}You can approve plugin use at tiki-plugins.php.{/tr} {tr}The edit-plugin icon is an easy way for users to edit the parameters of each plugin in wiki pages. It can be disabled for individual plugins below.{/tr} {/remarksbox} {if !isset($disabled)} {button href="?page=textarea&disabled=y" _text="{tr}Check disabled plugins used in wiki pages{/tr}"}

{else} {remarksbox type=errors title="{tr}Disabled used plugins{/tr}"} {if empty($disabled)} {tr}None{/tr} {else} {/if} {/remarksbox} {/if}
{tr}Plugin preferences{/tr} {preference name=profile_autoapprove_wikiplugins} {preference name=wikipluginprefs_pending_notification} {preference name=image_responsive_class} {preference name=wikiplugin_maximum_passes}
{tr}Edit plugin icons{/tr} {preference name=wiki_edit_plugin}
{preference name=wiki_edit_icons_toggle}
{preference name=wikiplugin_list_gui} {preference name=wikiplugin_list_convert_trackerlist}
{tr}Plugins{/tr}
{preference name='unified_search_textarea_admin'} {if $prefs.unified_search_textarea_admin eq 'y'}
{else} {listfilter selectors='#plugins > fieldset' exclude=".donthide"} {/if}
{if $prefs.unified_search_textarea_admin eq 'y'} {remarksbox type='tip' title='{tr}Plugin List{/tr}'} {tr}Use the filter input above to find plugins, or enter return to see the whole list{/tr} {tr}Search Help{/tr} {icon name='help'} {/remarksbox} {/if}
{if $prefs.unified_search_textarea_admin eq 'y'}{/if}
{/tab} {tab name='{tr}Plugin Aliases{/tr}' key='plugin_alias'}
{remarksbox type="note" title="{tr}About plugin aliases{/tr}"} {tr}Tiki plugin aliases allow you to define your own custom configurations of existing plugins.{/tr}
{tr}Find out more here:{/tr}{help url="Plugin+Alias"} {/remarksbox} {if $prefs.javascript_enabled neq 'y'} {remarksbox type="tip" title="{tr}Tip{/tr}"} {tr}This page is designed to work with JavaScript{/tr} {/remarksbox} {/if} {tabset name='plugin_alias'} {tab name='{tr}Available alias{/tr}'}
{tr}Available alias{/tr}
{foreach $plugins_alias as $name => $pluginInfo} {foreachelse} {norecords _colspan=4} {/foreach}
{tr}Plugin Alias{/tr} {tr}Base{/tr} {tr}Edit{/tr} {tr}Delete{/tr}
{$pluginInfo.description.name|escape} {$pluginInfo.implementation|escape} {icon name='pencil' href='tiki-admin.php?page=textarea&plugin_alias='|cat:$name|escape} {* TODO add confirmation *}
{if not empty($smarty.request.plugin_alias)} {button name='add' id='pluginalias_add' _text='Create' _class='btn btn-info' _script='tiki-admin.php?page=textarea&new_alias'} {/if} {if isset($smarty.request.new_alias)} {jq}$("a[href='#contentplugin_alias-2']").tab("show");{/jq} {/if}
{jq}$('#pluginalias_available legend').trigger('click');{/jq} {/tab} {if not empty($smarty.request.plugin_alias)} {$tabname='Edit Alias'} {jq}$("a[href='#contentplugin_alias-2']").tab("show");{/jq} {else} {$tabname='Create Alias'} {if not isset($smarty.request.new_alias)} {jq}$("a[href='#contentplugin_alias-1']").tab("show");{/jq} {/if} {/if} {tab name=$tabname}
{tr}General information{/tr}
{if not empty($smarty.request.plugin_alias)} {$plugin_admin.plugin_name|escape} {else} {/if}










{tr}Simple plugin arguments{/tr} {icon name="add" class='add-param text-success tips' title='|{tr}Add parameter{/tr}'}
{if !empty($plugin_admin.params)} {foreach $plugin_admin.params as $token => $value} {if not $value|is_array}
{icon name='delete' class='text-danger delete-param tips btn btn-link' title='|{tr}Delete this parameter{/tr}'}
{elseif $token eq '__NEW__'}
{icon name='delete' class='text-danger delete-param tips btn btn-link' title='|{tr}Delete this parameter{/tr}'}
{/if} {/foreach} {/if}
{tr}Plugin parameter documentation{/tr} {icon name="add" class='add-param text-success tips' title='|{tr}Add parameter documentation{/tr}'} {if !empty($plugin_admin.description.params)} {foreach $plugin_admin.description.params as $token => $detail}
{icon name='delete' class='text-danger delete-param tips btn btn-link' title="|{tr}Delete this parameter's documentation{/tr}"}

{/foreach} {/if}

{tr}Plugin body{/tr}
{tr}Body Parameters{/tr} {icon name="add" class='add-param text-success tips' title='|{tr}Add body parameter{/tr}'} {foreach $plugin_admin.body.params as $token => $detail}
{icon name='delete' class='text-danger delete-param tips btn btn-link' title="|{tr}Delete this body parameter{/tr}"}

{/foreach}


{tr}Composed plugin arguments{/tr} {icon name="add" class='add-param text-success tips' title='|{tr}Add composed parameter{/tr}'} {foreach $plugin_admin.params as $token => $detail} {if $detail|is_array} {if not isset($composed_args)}{$composed_args=true}{/if}
{icon name='delete' class='text-danger delete-param tips btn btn-link' title="|{tr}Delete this composed argument{/tr}"}
{tr}Composed parameters{/tr} {icon name="add" class='add-param text-success tips' title='|{tr}Add composed parameter{/tr}'} {foreach $detail.params as $t => $d}
{icon name='delete' class='text-danger delete-param tips btn btn-link' title="|{tr}Delete this composed parameter{/tr}"}

{/foreach}
{/if} {/foreach}
{/tab} {/tabset} {/tab} {/tabset} {include file='admin/include_apply_bottom.tpl'}