ldapsaisie/public_html/templates/default/LSformElement_ssh_key_field.tpl
2009-11-13 14:26:11 +01:00

11 lines
589 B
Smarty

{if $freeze}
{if $value.type}
<span class='LSformElement_ssh_key_short_display' title='{$span_title}'>{$value.shortTxt}...</span> (Type : {$value.type}) <a href='mailto:{$value.mail}'>{$value.mail}</a><p class='LSformElement_ssh_key_value'>{$value.value}</p>
{elseif $value.shortTxt}
<span class='LSformElement_ssh_key_short_display'>{$value.shortTxt}...</span> ({$unknowTypeTxt})<p class='LSformElement_ssh_key_value'>{$value.value}</p>
{else}
{$noValueTxt}
{/if}
{else}
<textarea name='{$attr_name}[]' class='LSform LSformElement_ssh_key'>{$value}</textarea>
{/if}