Subversion Repositories regexpline_backup

[/] [stable/] [2.1/] [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
{def $data_text=cond( is_set( $#collection_attributes[$attribute.id] ),
2
                      $#collection_attributes[$attribute.id].data_text,
3
                      $attribute.content )
4
     $class_content=$attribute.class_content}
5
 
6
{switch match=$class_content.display_type}
7
{case match="area"}
8
<textarea cols="80" rows="10" name="ContentObjectAttribute_hmregexpline_data_text_{$attribute.id}">{$data_text|wash}</textarea>
9
{/case}
10
 
11
{case}
12
<input type="text" name="ContentObjectAttribute_hmregexpline_data_text_{$attribute.id}" value="{$data_text|wash}" />
13
{/case}
14
15
{undef $data_text}