File: generic.tpl

package info (click to toggle)
gosa-plugin-netgroups 0.1~svn652-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 264 kB
  • ctags: 10
  • sloc: php: 1,342; xml: 343; makefile: 21; sh: 8
file content (78 lines) | stat: -rw-r--r-- 2,863 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{if $multiple_support}
    <input type="hidden" value="1" name="nisnetgroup_mulitple_edit">
{/if}


<table summary="" style="width:100%;">
    <tr>
        <td style="width:50%; vertical-align:top;">
            <table summary="" style="width:100%">
                <tr>
                    <td><LABEL for="cn">{t}NIS Netgroup name{/t}</LABEL>{$must}</td>
                    <td>
                        {if $multiple_support}
                            <input type='text' id="dummy1" name="dummy1" value="{t}Multiple edit{/t}" disabled>
                        {else}
                            {render acl=$cnACL}
                            <input type='text' id="cn" name="cn" 
                                value="{$cn}" title="{t}Name of the NIS Netgroup{/t}">
                            {/render}
                        {/if}
                    </td>
                </tr>
                <tr>
                    <td>
                        <LABEL for="description">{t}Description{/t}</LABEL>
                    </td>
                    <td>
                        {render acl=$descriptionACL checkbox=$multiple_support checked=$use_description}
                            <input type='text' id="description" name="description" 
                                value="{$description}" title="{t}Descriptive text for this NIS Netgroup{/t}">
                        {/render}
                    </td>
                </tr>
                {if !$multiple_support}
                <tr>
                    <td>
                        <LABEL for="base">{t}Base{/t}</LABEL>{$must}
                    </td>
                    <td>
                        {render acl=$baseACL checkbox=$multiple_support checked=$use_base}
                            {$base}
                        {/render}
                    </td>
                </tr>
                {/if}
            </table>

        </td>
        <td class='left-border'>   &nbsp;
        </td>

        <td style="vertical-align:top;">
            <table summary="" style="width:100%">
                <tr>
                    <td style="vertical-align:top; width:50%">
                        <b>
                            <LABEL for="members">{t}NIS Netgroup members{/t}</LABEL></b>
                        <br>
                        {$memberList}
                        <br>
                        {render acl=$memberCnACL}
                            <input type=submit name="edit_membership" value="{msgPool type=addButton}">
                        {/render}
                    </td>
                </tr> 
            </table>
        </td>
    </tr>
</table>

<input type="hidden" name="nisnetgroupedit" value="1">

<!-- Place cursor -->
<script language="JavaScript" type="text/javascript">
    <!-- // First input field on page
    focus_field('cn');
    -->
</script>