blob: 3d66f24ecd64524cd8036ea08f07459b31e10ccb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{if $gBitUser->hasPermission( 'p_liberty_attach_attachments' )}
{capture name=input}
<input id="attachhelp" class="attachhelp" size="32" value="{$attachhelp}" />
{if !$nohelp}
{formhelp note="String to include this file as an attachment in a wiki page, blog post, article etc."}
{/if}
{/capture}
{if $legend}
<div class="form-group">
{formlabel label="Attachment" for="attachhelp"}
{forminput}
{$smarty.capture.input}
{/forminput}
</div>
{else}
<p class="formhelp">
{$smarty.capture.input}
</p>
{/if}
{/if}
|