Subversion Repositories regexpline_backup

[/] [stable/] [2.0/] [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}">
9
{$data_text|wash}
10
</textarea>
11
{/case}
12
 
13
{case}
14
<input type="text" name="ContentObjectAttribute_hmregexpline_data_text_{$attribute.id}" value="{$data_text|wash}" />
15
{/case}
16
17
{undef $data_text}