Subversion Repositories regexpline_backup

[/] [stable/] [3.0/] [design/] [standard/] [templates/] [content/] [datatype/] [edit/] [hmregexpline.tpl] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 xrow
{default $size=70
2
         $cols=80
3
         $rows=10}
4
 
5
{def $class_content=$attribute.class_content}
6
 
7
{if $class_content.help_text|ne("")}
8
    <fieldset class="small">
9
        <legend>{'Help text'|i18n( 'extension/regexpline/design/standard/content/datatype/edit' )}</legend>
10
        <p>{$class_content.help_text|wash|nl2br}</p>
11
    </fieldset>
12
    <br />
13
{/if}
14
 
15
{switch match=$class_content.display_type}
16
{case match="area"}
17
    <textarea cols="{$cols|wash}" rows="{$rows|wash}" name="ContentObjectAttribute_hmregexpline_data_text_{$attribute.id}">{$attribute.content|wash}</textarea>
18
{/case}
19
{case}
20
    <input type="text" size="{$size|wash}" name="ContentObjectAttribute_hmregexpline_data_text_{$attribute.id}" value="{$attribute.content|wash}" />
21
{/case}
22
23
 
24
{undef $class_content}
25
 
26