Subversion Repositories regexpline_backup

[/] [trunk/] [design/] [standard/] [templates/] [content/] [datatype/] [collect/] [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 $data_text=cond( is_set( $#collection_attributes[$attribute.id] ),
6
                      $#collection_attributes[$attribute.id].data_text,
7
                      $attribute.content )
8
     $class_content=$attribute.class_content}
9
 
10
{switch match=$class_content.display_type}
11
{case match="area"}
12
    <textarea cols="{$cols|wash}" rows="{$rows|wash}" name="ContentObjectAttribute_hmregexpline_data_text_{$attribute.id}">{$data_text|wash}</textarea>
13
{/case}
14
{case}
15
    <input type="text" size="{$size|wash}" name="ContentObjectAttribute_hmregexpline_data_text_{$attribute.id}" value="{$data_text|wash}" />
16
{/case}
17
18
 
19
{undef $data_text}
20
 
21