File: generic.tpl

package info (click to toggle)
gosa-plugins-netgroups 2.8~git20211022.3b6449d-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 364 kB
  • sloc: php: 1,418; xml: 606; makefile: 5
file content (55 lines) | stat: -rw-r--r-- 1,901 bytes parent folder | download | duplicates (2)
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
{if $multiple_support}
    <input type="hidden" value="1" name="nisnetgroup_mulitple_edit">
{/if}

<div class="netgroup-wrapper">
    <h2>{t}NIS Netgroup{/t}</h2>

    <div class="row">
        <div class="col s12 xl6">
            <div class="input-field">
                {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}

                <label for="cn">{t}NIS Netgroup name{/t}{$must}</label>
            </div>

            {render acl=$descriptionACL checkbox=$multiple_support checked=$use_description}
            <div class="input-field">
                <input type='text' id="description" name="description" value="{$description}" title="{t}Descriptive text for this NIS Netgroup{/t}">
                <label for="description">{t}Description{/t}</label>
            </div>
            {/render}

            {if !$multiple_support}
            {render acl=$baseACL checkbox=$multiple_support checked=$use_base}
            <div class="input-field ldap-tree">
                {$base}
            </div>
            {/render}
            {/if}
        </div>

        <div class="col s12 xl6">
            {render acl=$memberCnACL}
                <label for="members"><b>{t}NIS Netgroup members{/t}</b></label>
                {$memberList}
            {/render}
            <button class="btn-small" type=submit name="edit_membership">{msgPool type=addButton}</button>
        </div>
    </div>
</div>

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

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