summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6d35ef5)
raw | patch | inline | side by side (parent: 6d35ef5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 18 Sep 2006 10:18:41 +0000 (10:18 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 18 Sep 2006 10:18:41 +0000 (10:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4710 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_workstationGeneric.inc | patch | blob | history | |
plugins/admin/systems/workstation.tpl | patch | blob | history |
diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc
index 7fc3c74e05e49f2e91010c3c19c48cf0abdf8603..4c25e5fb83cdf8aa8b02f8615208576279bbf30e 100644 (file)
"plCategory" => array("workstation" => array("description" => _("Workstation"),
"objectClass" => "gotoWorkstation")),
"plProvidedAcls"=> array(
- "cn" => _("Workstation name"),
+ "cn" => _("Workstation name"),
+ "l" => _("Location") ,
"base" => _("Base") ,
"gotoMode" => _("Goto mode"),
"gotoSyslogServer" => _("Syslog server"),
index b48817dd7945960698d5a5aa4b9f5bdbf8125d15..6167c98cbb7e270e93614b8e37068f0793d5a85f 100644 (file)
<td style="width:50%; vertical-align:top;">
<table summary="">
<tr>
- {if $cn eq 'wdefault'}
+{if $cn eq 'wdefault'}
<td colspan=2>{t}Workstation template{/t}</td>
- {else}
+{else}
<td><LABEL for="cn">{t}Workstation name{/t}</LABEL>{$must}</td>
<td>
+{render acl=$cnACL}
<input name="cn" id="cn" size=18 maxlength=60 value="{$cn}">
+{/render}
</td>
- {/if}
+{/if}
</tr>
<tr>
<td><LABEL for="cn">{t}Location{/t}</LABEL></td>
<td>
+{render acl=$lACL}
<input name="l" id="l" size=18 maxlength=60 value="{$l}">
+{/render}
</td>
</tr>
<tr>
<td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
- <td>
- <select size="1" id="base" name="base" title="{t}Choose subtree to place terminal in{/t}" {$baseACL}>
- {html_options options=$bases selected=$base_select}
- </select>
- {if $baseACL == ""}
- <input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
- {else}
- <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
- {/if}
+ <td> base . base .
+ base . base . base . base .
+ </td>
</tr>
</table>
</td>
<tr>
<td>{t}Mode{/t}</td>
<td>
- <select name="gotoMode" title="{t}Select terminal mode{/t}" {$gotoModeACL}>
+{render acl=$gotoModeACL}
+ <select name="gotoMode" title="{t}Select terminal mode{/t}">
{html_options options=$modes selected=$gotoMode_select}
</select>
+{/render}
</td>
</tr>
<tr>
<td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
<td>
- <select id="gotoSyslogServer" name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" {$gotoSyslogServerACL}>
+{render acl=$gotoSyslogServerACL}
+ <select id="gotoSyslogServer" name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}">
{html_options options=$syslogservers selected=$gotoSyslogServer_select}
</select>
+{/render}
</td>
</tr>
</table>
<table width="100%">
<tr>
<td colspan="2">
+{render acl=gotoNtpServerACL}
<input type="checkbox" value="1" name="inheritTimeServer"
{if $inheritTimeServer } checked {/if}
onClick="javascript:
changeState('gotoNtpServers');
changeState('addNtpServer');
changeState('delNtpServer');">{t}Inherit time server attributes{/t}
+{/render}
</td>
</tr>
<tr>
<td colspan="2" style='padding-left:14px;padding-top:5px;'><LABEL for="gotoNtpServerSelected">{t}NTP server{/t}</LABEL><br>
+{render acl=$gotoNtpServerACL}
<select name="gotoNtpServerSelected[]" id="gotoNtpServerSelected" multiple size=5 style="width:100%;"
- title="{t}Choose server to use for synchronizing time{/t}" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if}>
+ title="{t}Choose server to use for synchronizing time{/t}" {if $inheritTimeServer} disabled {/if}>
{html_options options=$gotoNtpServer_select}
</select>
+{/render}
<br>
- <select name="gotoNtpServers" id="gotoNtpServers" {$gotoNtpServerACL} {if $inheritTimeServer} disabled {/if} >
+{render acl=$gotoNtpServerACL}
+ <select name="gotoNtpServers" id="gotoNtpServers" {if $inheritTimeServer} disabled {/if} >
{html_options options=$gotoNtpServers}
</select>
- <input type="submit" name="addNtpServer" value="{t}Add{/t}" id="addNtpServer" {$gotoNtpServerACL}
+{/render}
+{render acl=$gotoNtpServerACL}
+ <input type="submit" name="addNtpServer" value="{t}Add{/t}" id="addNtpServer"
{if $inheritTimeServer} disabled {/if}>
- <input type="submit" name="delNtpServer" value="{t}Delete{/t}" id="delNtpServer" {$gotoNtpServerACL}
+{/render}
+{render acl=$gotoNtpServerACL}
+ <input type="submit" name="delNtpServer" value="{t}Delete{/t}" id="delNtpServer"
{if $inheritTimeServer} disabled {/if}>
+{/render}
</td>
</tr>
</table>
<table summary="">
<tr>
<td>
- <select size="1" name="saction" {$actionACL} title="{t}Select action to execute for this terminal{/t}">
+{render acl=$FAIstateACL}
+ <select size="1" name="saction" title="{t}Select action to execute for this terminal{/t}">
<option> </option>
{html_options options=$actions}
</select>
+{/render}
</td>
<td>
<input type=submit name="action" value="{t}Execute{/t}">