From 82fae2b6b05dcea8c69616ca2c707480abac9f77 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 7 May 2007 08:37:06 +0000 Subject: [PATCH] Added feedback step. Which is not working right now. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6272 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/setup.php | 1 + setup/class_setup.inc | 1 + setup/class_setupStep_Feedback.inc | 59 ++++++++++++ setup/setup_feedback.tpl | 149 +++++++++++++++++++++++++++++ setup/setup_migrate.tpl | 4 +- 5 files changed, 212 insertions(+), 2 deletions(-) create mode 100644 setup/class_setupStep_Feedback.inc create mode 100644 setup/setup_feedback.tpl diff --git a/html/setup.php b/html/setup.php index dfc4c8e56..5adc78a6d 100644 --- a/html/setup.php +++ b/html/setup.php @@ -37,6 +37,7 @@ require_once("../setup/class_setupStep_Config2.inc"); require_once("../setup/class_setupStep_Config3.inc"); require_once("../setup/class_setupStep_Schema.inc"); require_once("../setup/class_setupStep_Migrate.inc"); +require_once("../setup/class_setupStep_Feedback.inc"); require_once("../setup/class_setupStep_Finish.inc"); diff --git a/setup/class_setup.inc b/setup/class_setup.inc index ec662d910..2f65cd775 100644 --- a/setup/class_setup.inc +++ b/setup/class_setup.inc @@ -57,6 +57,7 @@ class setup $this->o_steps[$i++] = new Step_Config2(); $this->o_steps[$i++] = new Step_Config3(); $this->o_steps[$i++] = new Step_Migrate(); + $this->o_steps[$i++] = new Step_Feedback(); $this->o_steps[$i++] = new Step_Finish(); $this->i_steps = $i-1; diff --git a/setup/class_setupStep_Feedback.inc b/setup/class_setupStep_Feedback.inc new file mode 100644 index 000000000..af3a91a79 --- /dev/null +++ b/setup/class_setupStep_Feedback.inc @@ -0,0 +1,59 @@ +is_enabled = TRUE; + $this->is_active = TRUE; + $this->update_strings(); + } + + function update_strings() + { + $this->s_title = _("Feedback"); + $this->s_info = _("In order to keep you up to date, you can simply check some of the options below."); + $this->s_title_long = _("Notification and registration"); + } + + function execute() + { + $this->is_completed=TRUE; + $smarty = get_smarty(); + $smarty->assign ("must", "*"); + $smarty->assign('auth_id', session_id()); + return($smarty->fetch(get_template_path("setup_feedback.tpl",TRUE,dirname(__FILE__)))); + } + + function save_object() + { + + } +} + +// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: +?> diff --git a/setup/setup_feedback.tpl b/setup/setup_feedback.tpl new file mode 100644 index 000000000..efaf46ad1 --- /dev/null +++ b/setup/setup_feedback.tpl @@ -0,0 +1,149 @@ +
+ +

+  {t}Subscribe to the gosa-announce mailinglist{/t} +

+ + {t}When checking this option, GOsa will try to connect http://oss.gonicus.de in order to subscribe you to the gosa-announce mailing list. You've to confirm this by mail.{/t} + + + + + + + + + + + + + + +
+ {t}Organization{/t} + + +
+ {t}Name{/t} + + +
+ {t}eMail{/t}{$must} + + +
+ + +

 

+

+  {t}Send feedback to the GOsa project team{/t} +

+ {t}When checking this option, GOsa will try to connect http://oss.gonicus.de in order to submit your form anonymously.{/t} +
{t}Generic{/t} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {t}Did the setup procedure help you to get started?{/t} + + {t}Yes{/t} +
+ {t}No{/t} +
+ {t}If not, what problems did you encounter{/t}: + + +
+ {t}Is this the first time you use GOsa?{/t} + + {t}Yes{/t} +
+ {t}No{/t} +
+ {t}I use it since{/t} + + +
+ {t}What operation system / distribution do you use?{/t} + + +
+ {t}What web server do you use?{/t} + + +
+ {t}What PHP version do you use?{/t} + + +
+ +
{t}LDAP{/t} + + + + + + + + + +
{t}What kind of LDAP server(s) do you use?{/t} + +
{t}How many objects are in your LDAP?{/t} + +
+ +
{t}Features{/t} + + + + + + + + + +
{t}What features of GOsa do you use?{/t} + + [ ] POSIX (UNIX accounts/groups) + [ ] Samba management + [ ] Mailsystem management + [ ] FAX system administration + [ ] Asterisk administration + [ ] System invetory + [ ] System-/Configmanagement + [ ] Addressbook +
{t}What features do you want to see in next versions of GOsa?{/t} + +
+
diff --git a/setup/setup_migrate.tpl b/setup/setup_migrate.tpl index cc59d6ee7..5f6fde3bb 100644 --- a/setup/setup_migrate.tpl +++ b/setup/setup_migrate.tpl @@ -185,7 +185,7 @@ {else} - {t}Create a new user and a group with adminstrational acls{/t}
+ {t}Create a new user with adminstrational acls{/t}
{t}To automatically add a new administrative user to your ldap database use the formular below.{/t}

@@ -319,7 +319,7 @@ dn: {$deps_to_migrate.$key.dn}

User migration

- {t}The listed deparmtents below are currenlty invisble in the GOsa user interface. If you want to migrate a set of departments, just select them and use the migrate button below.{/t}
+ {t}The listed users below are currenlty invisble in the GOsa user interface. If you want to migrate a set of users, just select them and use the migrate button below.{/t}
{t}If you want to know what will be done when migrating the selected entries, just use the 'What will be done here' button and you will see a list of changes.{/t} -- 2.30.2