summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3e0376a)
raw | patch | inline | side by side (parent: 3e0376a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Oct 2010 09:15:58 +0000 (09:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Oct 2010 09:15:58 +0000 (09:15 +0000) |
-Moved action into init()
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20091 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20091 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc
index 9fc2272b07f48d6321af139a415b7119f8456f51..7e73df9470a1fd29226061708e5d4665798510e4 100644 (file)
// Set default password hash
$this->hash = $this->config->get_cfg_value("core","passwordDefaultHash");
+ // Prepare list of timezones
+ $this->timezones = $this->getTimezones();
+
+ // Get list of password hashes
+ $tmp = passwordMethod::get_available_methods();
+ $this->hashes = array();
+ foreach($tmp['name'] as $name){
+ $this->hashes[$name] = $name;
+ }
+
// Prepare NTP servers list
$this->installNTPServerList= new sortableListing($this->installNTPServer);
$this->installNTPServerList->setDeleteable(true);
// Start without error.
$this->initFailed = FALSE;
- // Prepare list of timezones
- $this->timezones = $this->getTimezones();
-
// Get list of NTP servers
$this->installNTPServer = array();
if(isset($this->attrs['installNTPServer']['count'])){
}
}
- // Get list of password hashes
- $tmp = passwordMethod::get_available_methods();
- $this->hashes = array();
- foreach($tmp['name'] as $name){
- $this->hashes[$name] = $name;
- }
-
// Load list of bootstrap methods.
$res = $this->loadInstallationMethods();
if($res == NULL){
$this->installBootstrapMethodList = $res['installBootstrapMethodList'];
$this->installConfigManagementList = $res['installConfigManagementList'];
+
// Load system locales
$locales = $this->getSystemLocales();
if($locales == NULL){
}
$this->installSystemLocaleList = $locales;
+
// Load installation templates
$res = $this->loadInstallationTemplates();
if($res == NULL){