summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ef3c723)
raw | patch | inline | side by side (parent: ef3c723)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Apr 2007 08:38:45 +0000 (08:38 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 4 Apr 2007 08:38:45 +0000 (08:38 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5969 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/setup/class_setup.inc b/setup/class_setup.inc
index 987fa0f21dabcd0947abe4aa18553e07e222ad3b..3b2fe43aad3413ad9bfb566c6c2747ac43d24c96 100644 (file)
--- a/setup/class_setup.inc
+++ b/setup/class_setup.inc
$str = "";
foreach($this->o_steps as $key => $step){
+ $step -> update_strings();
+
$s_title = $step -> get_title();
$s_info = $step -> get_small_info();
$b_active = $step -> is_active();
index 8724548f9b0897ff4b7ce9019335fcb78a90f4c7..cffd352660d87696231afaf1fbdecba68e6dca1b 100644 (file)
$this->is_enabled = TRUE;
$this->is_active = TRUE;
-
+
+ $this->update_strings();
+ }
+
+ function update_strings()
+ {
$this->s_title = _("Language selection");
$this->s_title_long = _("Please choose a language");
$this->s_info = _("This step is allows you to define your prefered language.");
index 3e68f5a62db5a1fdd810aaf3a76b1b6556893737..fb87801455ff6cb54ef7bdaaae4a152c4269bfde 100644 (file)
var $is_writeable = array();
function setup_step_2()
+ {
+ $this->update_strings();
+ }
+
+
+ function update_strings()
{
$this->s_title = _("Installation check");
$this->s_title_long = _("Basic installation checks");
$this->s_info = _("Some basic checks for PHP version, ldap extension...");
}
-
+
/* Execute and display template */
function execute()
index 8147706471e5a6df9cc72d894a142e66ba903046..0912abcc458eb3c234c81aac9d5de7f14e8f2bcf 100644 (file)
function setup_step_3()
{
- $this->s_title = _("License");
- $this->s_title_long = _("GNU / GPL-License");
- $this->s_info = _("GNU / GPL-License");
-
+ $this->update_strings();
+
if(!file_exists("../setup/license.txt")){
$this->License = "<font color='red'>License not found. Setup stops here.</font>";
}else{
$this->license_found = true;
}
}
+
+
+ function update_strings()
+ {
+ $this->s_title = _("License");
+ $this->s_title_long = _("GNU / GPL-License");
+ $this->s_info = _("GNU / GPL-License");
+ }
+
function execute()
{
index a67944be01770e9a0dcbdfdc19f0557f7b42f286..69a2ba8633f7c746c2c97af8acc31f2ef8b0a8b6 100644 (file)
var $attributes = array("connection","location","admin","password","base","tls");
function setup_step_4()
+ {
+ $this->update_strings();
+ }
+
+
+ function update_strings()
{
$this->s_title = _("Ldap settings");
$this->s_title_long = _("Ldap connection setup");
$this->s_info = _("This dialog allows the basic configuration of GOsa's behaviour and properties in your main configuration.");
}
+
function execute()
{
$smarty = get_smarty();
index bff22d5a30815ffb431bb5f94cb3d05bef4d0124..01d6ed167c20db7323a6654cd55cbe5ca67af0fe 100644 (file)
function setup_step_5()
{
- $this->s_title = _("GOsa settings 1/3");
- $this->s_title_long = _("GOsa generic settings, page 1/3");
- $this->s_info = _("This dialog allows you to setup GOsa behaviour");
+ $this->update_strings();
$tmp = @passwordMethod::get_available_methods_if_not_loaded();
foreach($tmp['name'] as $name){
}
}
+
+ function update_strings()
+ {
+ $this->s_title = _("GOsa settings 1/3");
+ $this->s_title_long = _("GOsa generic settings, page 1/3");
+ $this->s_info = _("This dialog allows you to setup GOsa behaviour");
+ }
+
function execute()
{
index eb25438a7e7ac3c0ceccf6364e47d794717aaec3..c9c61ec31333a90138809f8e76137ecbfef3365c 100644 (file)
var $attributes = array("strict","governmentmode","sambaidmapping","account_expiration");
function setup_step_6()
+ {
+ $this->update_strings();
+ }
+
+
+ function update_strings()
{
$this->s_title = _("GOsa settings 2/3");
$this->s_title_long = _("GOsa generic settings, page 2/3");
$this->s_info = _("This dialog allows you to setup GOsa behaviour");
}
-
+
function execute()
{
/* Update snapshot values, with already collected values */
index 69463a0da4f6d58030c34ea19a38bcc406d7185c..35f9816155ca357ac9061d8ac69b058a751430a3 100644 (file)
function setup_step_6a()
+ {
+ $this->update_strings();
+ }
+
+
+ function update_strings()
{
$this->s_title = _("GOsa settings 3/3");
$this->s_title_long = _("GOsa generic settings, page 3/3");
$this->s_info = _("This dialog allows you to setup GOsa behaviour");
}
-
+
function execute()
{
$smarty = get_smarty();
index cea3655633c4828469c6f923d79d3bb9852a7656..38ea41139697f2bab02e0f3b716137c14203749c 100644 (file)
var $samba_version = 3;
function setup_step_7()
+ {
+ $this->update_strings();
+ }
+
+
+ function update_strings()
{
$this->s_title = _("Ldap schema check");
$this->s_title_long = _("Ldap schema check");
index 14d5600a1305b17f6fd4ca7043277f06a0000178..822940453d043f7fe692f7fd8747538fdfab2050 100644 (file)
var $last_backup_name = "";
function setup_step_8()
+ {
+ $this->update_strings();
+ }
+
+
+ function update_strings()
{
$this->s_title = _("Configuration file");
$this->s_info = _("In this step the configuration file will be created.");