From: hickert Date: Thu, 16 Sep 2010 09:16:38 +0000 (+0000) Subject: Updated filenames X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f30cdf4c3393debe8352a83277ddebb969a58d00;p=gosa.git Updated filenames git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19702 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/Device/InstallRecipe.tpl b/gosa-plugins/goto/admin/systems/goto/Device/InstallRecipe.tpl new file mode 100644 index 000000000..9daeafb98 --- /dev/null +++ b/gosa-plugins/goto/admin/systems/goto/Device/InstallRecipe.tpl @@ -0,0 +1 @@ +test diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc new file mode 100644 index 000000000..a4595f525 --- /dev/null +++ b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc @@ -0,0 +1,81 @@ +attributes as $attr){ + $smarty->assign($attr, $this->$attr); + } + return($smarty->fetch(get_template_path('goto/Device/installRecipe.tpl', TRUE))); + } + + + function save() + { + plugin::save(); + $this->cleanup(); + $ldap=$this->config->get_ldap_link(); + $ldap->cd($this->config->current['BASE']); + $ldap->cd($this->dn); + $ldap->modify($this->attrs); + echo $ldap->get_error(); + } + + static function plInfo() + { + return (array( + "plShortName" => _("Device"), + "plDescription" => _("Registered device"), + "plSelfModify" => FALSE, + "plDepends" => array(), + "plPriority" => 1, + "plSection" => array("administration"), + "plCategory" => array("registeredDevice"), + "plProvidedAcls" => array( + "member" => _("Member"), + "ksTemplate" => _("Template"), + "ksKeyboardlayout" => _("Keyboard layout"), + "ksSystemLocale" => _("System locale"), + "ksTimezone" => _("Timezone"), + "ksTimeUTC" => _("Time"), + "ksNTPServer" => _("NTP-Server"), + "ksMirror" => _("Kickstart mirror"), + "ksMirrorTorrent" => _("Kickstart torrent mirror"), + "ksRootEnabled" => _("Root login enabled"), + "ksRootPasswordHash" => _("Root password hash"), + "ksKernelPackage" => _("Kernal package"), + "ksPartitionTable" => _("Partition table") + ) + ) + ); + } +} + +?> diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_installRecipe.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_installRecipe.inc deleted file mode 100644 index a4595f525..000000000 --- a/gosa-plugins/goto/admin/systems/goto/Device/class_installRecipe.inc +++ /dev/null @@ -1,81 +0,0 @@ -attributes as $attr){ - $smarty->assign($attr, $this->$attr); - } - return($smarty->fetch(get_template_path('goto/Device/installRecipe.tpl', TRUE))); - } - - - function save() - { - plugin::save(); - $this->cleanup(); - $ldap=$this->config->get_ldap_link(); - $ldap->cd($this->config->current['BASE']); - $ldap->cd($this->dn); - $ldap->modify($this->attrs); - echo $ldap->get_error(); - } - - static function plInfo() - { - return (array( - "plShortName" => _("Device"), - "plDescription" => _("Registered device"), - "plSelfModify" => FALSE, - "plDepends" => array(), - "plPriority" => 1, - "plSection" => array("administration"), - "plCategory" => array("registeredDevice"), - "plProvidedAcls" => array( - "member" => _("Member"), - "ksTemplate" => _("Template"), - "ksKeyboardlayout" => _("Keyboard layout"), - "ksSystemLocale" => _("System locale"), - "ksTimezone" => _("Timezone"), - "ksTimeUTC" => _("Time"), - "ksNTPServer" => _("NTP-Server"), - "ksMirror" => _("Kickstart mirror"), - "ksMirrorTorrent" => _("Kickstart torrent mirror"), - "ksRootEnabled" => _("Root login enabled"), - "ksRootPasswordHash" => _("Root password hash"), - "ksKernelPackage" => _("Kernal package"), - "ksPartitionTable" => _("Partition table") - ) - ) - ); - } -} - -?> diff --git a/gosa-plugins/goto/admin/systems/goto/Device/installRecipe.tpl b/gosa-plugins/goto/admin/systems/goto/Device/installRecipe.tpl deleted file mode 100644 index 9daeafb98..000000000 --- a/gosa-plugins/goto/admin/systems/goto/Device/installRecipe.tpl +++ /dev/null @@ -1 +0,0 @@ -test