{* $Id$ *}
|
|
|
|
{if $prefs.javascript_enabled eq 'y' && $area_id}
|
|
<a href="javascript:void(0);" onclick="needToConfirm=false;$.closeModal();$(document).one('hidden.bs.modal', function () {ldelim}popupPluginForm('{$area_id}','{$plugin_name|lower|@addslashes}');{rdelim}); return false;">{icon name=$plugin.iconname|default:"plugin" _text="{tr}Insert{/tr}"}</a>
|
|
{/if}
|
|
<strong>{$plugin.name|escape}</strong>
|
|
<em>{$plugin_name|lower}</em>
|
|
|
|
{if $prefs.feature_help eq 'y'}
|
|
{if !empty($plugin.documentation)}
|
|
<a href="{$plugin.documentation|escape}" onclick="needToConfirm=false;" target="tikihelp" class="tikihelp text-info">
|
|
{icon name='help'}
|
|
</a>
|
|
{/if}
|
|
{/if}
|
|
|
|
|
|
<div class="plugin-desc" style="margin-left:30px">
|
|
{if $plugin.description eq ''}
|
|
{tr}No description available{/tr}
|
|
{else}
|
|
{$plugin.description}
|
|
{/if}
|
|
</div>
|
|
|
|
{if $prefs.javascript_enabled eq 'y'}
|
|
{else}
|
|
<div class="plugin-sample">
|
|
{if $plugin.body}
|
|
{{$plugin_name}(
|
|
{foreach key=name item=param from=$plugin.params}
|
|
<div class="plugin-param">
|
|
{if $param.required}
|
|
{$name}=<em>"{$param.description|escape}"</em>
|
|
{else}
|
|
[ {$name}=<em>"{$param.description|escape}"</em> ]
|
|
{/if}
|
|
</div>
|
|
{/foreach}
|
|
)}
|
|
<div class="plugin-param">
|
|
{$plugin.body}
|
|
</div>
|
|
{{$plugin_name}}
|
|
{else}
|
|
{{$plugin_name|@lower}
|
|
{foreach key=name item=param from=$plugin.params}
|
|
<div class="plugin-param">
|
|
{if $param.required}
|
|
{$name}=<em>"{$param.description|escape}"</em>
|
|
{else}
|
|
[ {$name}=<em>"{$param.description|escape}"</em> ]
|
|
{/if}
|
|
</div>
|
|
{/foreach}
|
|
}
|
|
{/if}
|
|
</div>
|
|
{/if}
|