summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6d036dd)
raw | patch | inline | side by side (parent: 6d036dd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 11 Apr 2007 13:09:25 +0000 (13:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 11 Apr 2007 13:09:25 +0000 (13:09 +0000) |
Udpated some texts
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6012 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6012 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/html/setup.php b/html/setup.php
index 8d2ef2e957e9ed840be4a982a8384867b01c011d..b11642a6cd80a470752e70849268f9388f0eae45 100644 (file)
--- a/html/setup.php
+++ b/html/setup.php
$smarty->assign("errors" , "");
}
+$smarty->assign("version",get_gosa_version());
+
echo $header.$smarty->fetch("../setup/setup_frame.tpl");
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>
index 5d6fdbd34a1dde0e7729b8d65ca7b6e767fe7409..0b0466c740832088e132cde7e0371e6159b02b20 100644 (file)
{
$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.");
+ $this->s_info = _("This step is allows you to select your prefered language.");
}
function execute()
index 0912abcc458eb3c234c81aac9d5de7f14e8f2bcf..db861f868bc12e51995b1927f2d93571ca7e4e45 100644 (file)
function setup_step_3()
{
$this->update_strings();
+ }
+
+ function load_license()
+ {
if(!file_exists("../setup/license.txt")){
$this->License = "<font color='red'>License not found. Setup stops here.</font>";
+ $this->license_found = false;
}else{
$fp = fopen("../setup/license.txt","r");
$this->License = "";
function execute()
{
+ $this->load_license();
+
$smarty = get_smarty();
$smarty -> assign("License",nl2br($this->License));
$smarty -> assign("license_found",$this->license_found);
- $this->is_completed = true;
+
return($smarty -> fetch (get_template_path("../setup/setup_step3.tpl")));
}
+
+ function save_object()
+ {
+ if($this->license_found){
+ $this->is_completed = true;
+ }else{
+ $this->is_completed = false;
+ }
+ }
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
diff --git a/setup/setup_frame.tpl b/setup/setup_frame.tpl
index b5866db653f3391d7ceae6da88cd90e47d6c18c0..e067df5d5d4b01b16e61736ad9c28c661b2c5eaa 100644 (file)
--- a/setup/setup_frame.tpl
+++ b/setup/setup_frame.tpl
</div>
<div class='setup_bottom'>
- Bottom
+ {$version}
</div>
</div>
</div>
diff --git a/setup/setup_step1.tpl b/setup/setup_step1.tpl
index a2c23394e22f3132ad8d20726544e8d2deb7e81e..e6df1b2ee71367dd8f68bc34c861fee6323e0ca3 100644 (file)
--- a/setup/setup_step1.tpl
+++ b/setup/setup_step1.tpl
<div>
<div class='default'>
- <b>{t}Please select prefered language{/t}</b>
+ <b>{t}Please select your prefered language{/t}</b>
</div>
<br>
<div class='default' style='float:left;width:160px;'>