summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 367d82b)
raw | patch | inline | side by side (parent: 367d82b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 May 2007 08:00:40 +0000 (08:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 8 May 2007 08:00:40 +0000 (08:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6289 594d385d-05f5-0310-b6e9-bd551577e9d8
setup/class_setupStep_Feedback.inc | patch | blob | history | |
setup/setup_feedback.tpl | patch | blob | history |
index 59849117f9dcd9b4fe111cdc414e21c004f2e0d9..bd2580b44d89b8d6a0bb2b1dd97abd6d7e44e6c2 100644 (file)
$this->init();
}
+ $additional_info ="";
+
if(isset($_POST['send_feedback'])){
$msgs = $this->check();
}
if(!preg_match("/successfully/i",$ret_value)){
print_red(sprintf(_("Could not send feedback. Script said '%s'."),$ret_value));
+ }else{
+ $additional_info = "<font color='green'>"._("Feedback sucessfully send")."</font>";
}
}
@fclose($ret);
}
$smarty->assign("years",$years);
$smarty->assign("features_used",$this->features_used);
+ $smarty->assign("additional_info",$additional_info);
$smarty->assign ("must", "<font class=\"must\">*</font>");
return($smarty->fetch(get_template_path("setup_feedback.tpl",TRUE,dirname(__FILE__))));
}
index 319f46a47010da5a0018aecaa6b63d2fb0ca230b..20fae54e6fad93b7b63ad37d2b86ad4d280d79b9 100644 (file)
--- a/setup/setup_feedback.tpl
+++ b/setup/setup_feedback.tpl
<div class='default' style='margin:12px; '>
+ <h2>{$additional_info}</h2>
+
<h2>
<input {if $subscribe} checked {/if} type='checkbox' name='subscribe' value='1' class='center'> {t}Subscribe to the gosa-announce mailinglist{/t}
</h2>