summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ad87f82)
raw | patch | inline | side by side (parent: ad87f82)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 29 Nov 2006 11:27:36 +0000 (11:27 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 29 Nov 2006 11:27:36 +0000 (11:27 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5247 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_phoneGeneric.inc | patch | blob | history | |
plugins/admin/systems/class_servGeneric.inc | patch | blob | history | |
plugins/admin/systems/printer.tpl | patch | blob | history |
diff --git a/plugins/admin/systems/class_phoneGeneric.inc b/plugins/admin/systems/class_phoneGeneric.inc
index 4305e79e2910774faa519f88d8f0a5adf9098cd6..e036269a5a7948e959656a3bf6c6f2c25390f3bd 100644 (file)
var $netConfigDNS;
/* attribute list for save action */
- var $attributes= array("cn", "description",
+ var $attributes= array("cn", "description", "base",
"goFonType","goFonDmtfMode","goFonHost","goFonDefaultIP",
"goFonQualify","goFonAuth","goFonSecret","goFonInkeys","goFonOutkey",
"goFonTrunk","goFonAccountCode","goFonMSN","selected_categorie","goFonPermit","goFonDeny"
"objectClass" => "goFonHardware")),
"plProvidedAcls"=> array(
"cn" => _("Name"),
+ "base" => _("Base"),
"description" => _("Description"),
"goFonType" => _("SIP Mode"),
"goFonDmtfMode" => _("SIP DTMF mode"),
diff --git a/plugins/admin/systems/class_servGeneric.inc b/plugins/admin/systems/class_servGeneric.inc
index 3c8de38e8fe2e7bdca5f167c7906b56360a81cff..47401c5bcc632085668ffe7640b244b4fd17497e 100644 (file)
/* Get base selection */
$tmp = $this->get_allowed_bases();
- if($tmp[$_POST['base']]){
- $this->base = $_POST['base'];
- }else{
- $this->base = $base_tmp;
+ if(isset($_POST['base'])){
+ if($tmp[$_POST['base']]){
+ $this->base = $_POST['base'];
+ }else{
+ $this->base = $base_tmp;
+ }
}
}
index 12836edcc52732bb3a03796ce919f22999700d89..e7f8d8d8356a93c109d7a38975d7995bc7f196f0 100644 (file)
<td><LABEL for="base">{t}Base{/t}</LABEL>{$must}</td>
<td>
{render acl=$baseACL}
- <select id="base" size="1" name="base" title="{t}Choose subtree to place user in{/t}" onchange="document.mainform.submit()">
+ <select id="base" size="1" name="base" title="{t}Choose subtree to place user in{/t}">
{html_options options=$bases selected=$base_select}
</select>
{/render}