summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6a7350f)
raw | patch | inline | side by side (parent: 6a7350f)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Sep 2007 09:21:01 +0000 (09:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 25 Sep 2007 09:21:01 +0000 (09:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7399 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/contrib/gosa.conf b/contrib/gosa.conf
index 5268f15e66f0d7d86ecdf0b28feae922f7683df3..58eac7530c29ad09ab57e18e4448378ecb81ea7a 100644 (file)
--- a/contrib/gosa.conf
+++ b/contrib/gosa.conf
</printtabs>
<phonetabs>
- <tab class="phonegeneric" name="Generic" />
+ <tab class="phoneGeneric" name="Generic" />
<tab class="glpiAccount" name="Inventory" />
</phonetabs>
diff --git a/plugins/admin/systems/class_phoneGeneric.inc b/plugins/admin/systems/class_phoneGeneric.inc
index 1d8ff6c4568c746a0e729602038b67fe253016ae..365aaf5af5360619b8abcc1f10c6390f27af0a56 100644 (file)
var $objectclasses= array("top", "goFonHardware");
- function phonegeneric (&$config, $dn= NULL, $parent= NULL)
+ function phoneGeneric (&$config, $dn= NULL, $parent= NULL)
{
plugin::plugin ($config, $dn, $parent);
$this->netConfigDNS = new termDNS($this->config,$this,$this->objectclasses, true);
$this->netConfigDNS->ipHostNumber = $source['ipHostNumber'][0];
}
- $source_o = new phonegeneric($this->config, $source['dn']);
+ $source_o = new phoneGeneric($this->config, $source['dn']);
$this->selected_categorie = $source_o->selected_categorie;
}
diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc
index 3b2813f8cb88df3ecd35030e43e14a7bc4df4718..bd4fe814a5c25cb1cb5490e3c203ab0029d76797 100644 (file)
"workstation" => array("CLASS"=>"WORKTABS", "TABNAME"=>"workgeneric", "TABCLASS" =>"worktabs", "ACL"=> "workstation"),
"server" => array("CLASS"=>"SERVTABS", "TABNAME"=>"servgeneric", "TABCLASS" =>"servtabs", "ACL"=> "server"),
"printer" => array("CLASS"=>"PRINTTABS", "TABNAME"=>"printgeneric", "TABCLASS" =>"printtabs", "ACL"=> "printer"),
- "phone" => array("CLASS"=>"PHONETABS", "TABNAME"=>"phonegeneric", "TABCLASS" =>"phonetabs", "ACL"=> "phone"),
+ "phone" => array("CLASS"=>"PHONETABS", "TABNAME"=>"phoneGeneric", "TABCLASS" =>"phonetabs", "ACL"=> "phone"),
"component" => array("CLASS"=>"COMPONENTTABS","TABNAME"=>"componentgeneric","TABCLASS" =>"componenttabs", "ACL"=> "component"));
if(isset($tabs[$sw])){
if($tabtype=="phonetabs"){
$this->systab= new $tabtype($this->config, $this->config->data['TABS'][$tabobj], $dn,$type);
$this->systab->set_acl_base($dn);
- $this->systab->by_object['phonegeneric']->remove_from_parent ();
+ $this->systab->by_object['phoneGeneric']->remove_from_parent ();
}else{
$this->systab= new $tabtype($this->config,$this->config->data['TABS'][$tabobj], $dn,$type);
$this->systab->set_acl_base($dn);
if($tabtype=="phonetabs"){
$this->systab= new $tabtype($this->config, $this->config->data['TABS'][$tabobj], $this->dn,$type);
$this->systab->set_acl_base($this->dn);
- $this->systab->by_object['phonegeneric']->remove_from_parent ();
+ $this->systab->by_object['phoneGeneric']->remove_from_parent ();
}else{
$this->systab= new $tabtype($this->config,$this->config->data['TABS'][$tabobj], $this->dn,$type);
$this->systab->set_acl_base($this->dn);
"TABCLASS" =>"servtabs", "ACL" =>"server"),
"printer" => array( "CLASS" =>"PRINTTABS", "TABNAME" =>"printgeneric",
"TABCLASS" =>"printtabs", "ACL" =>"printer"),
- "phone" => array( "CLASS" =>"PHONETABS", "TABNAME" =>"phonegeneric",
+ "phone" => array( "CLASS" =>"PHONETABS", "TABNAME" =>"phoneGeneric",
"TABCLASS" =>"phonetabs", "ACL" =>"phone"),
"component" => array( "CLASS" =>"COMPONENTTABS","TABNAME" =>"componentgeneric",
"TABCLASS" =>"componenttabs","ACL" =>"component"));
index 2c65e6385f5b11f23b865ffe181706f0f2cc8867..13d5ac3c7f125970c8669fecc49f10c6b5e80428 100644 (file)
{
/* Check for new 'dn', in order to propagate the
'dn' to all plugins */
- $baseobject= $this->by_object['phonegeneric'];
+ $baseobject= $this->by_object['phoneGeneric'];
$this->dn= "cn=$baseobject->cn,ou=phones,ou=systems,".$baseobject->base;
$baseobject->dn= $this->dn;