Subversion Repositories regexpline_backup

[/] [stable/] [1.1/] [design/] [standard/] [templates/] [class/] [datatype/] [view/] [hmregexpline.tpl] - Blame information for rev 3

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 xrow
{def $content=$class_attribute.content
2
     $presets=ezini( 'GeneralSettings', 'RegularExpressions', 'regexpline.ini' )}
3
 
4
<div class="block">
5
 
6
    <div class="element">
7
        <label>{'Regular expression'|i18n( 'extension/regexpline/design/standard/class/datatype/view' )}:</label>
8
        {if $content.preset|ne('')}{$presets[$content.preset]|wash}{else}<p>{$content.regexp|wash}</p>{/if}
9
    </div>
10
 
11
</div>
12
<div class="block">
13
 
14
    <div class="element">
15
        <label>{'Help text'|i18n( 'extension/regexpline/design/standard/class/datatype/view' )}:</label>
16
        <p>{$content.help_text|wash|nl2br}</p>
17
    </div>
18
 
19
    <div class="element">
20
        <label>{'Object name pattern'|i18n( 'extension/regexpline/design/standard/class/datatype/view' )}:</label>
21
        {if $content.naming_pattern|ne('')}
22
            <p>{$content.naming_pattern|wash}</p>
23
        {else}
24
            <p>{'No pattern supplied. Using the complete expression.'|i18n( 'extension/regexpline/design/standard/class/datatype/view' )}</p>
25
        {/if}
26
    </div>
27
 
28
</div>
29
 
30
{undef $content $presets}