summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 93634db)
raw | patch | inline | side by side (parent: 93634db)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 May 2007 08:37:06 +0000 (08:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 7 May 2007 08:37:06 +0000 (08:37 +0000) |
Which is not working right now.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6272 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6272 594d385d-05f5-0310-b6e9-bd551577e9d8
html/setup.php | patch | blob | history | |
setup/class_setup.inc | patch | blob | history | |
setup/class_setupStep_Feedback.inc | [new file with mode: 0644] | patch | blob |
setup/setup_feedback.tpl | [new file with mode: 0644] | patch | blob |
setup/setup_migrate.tpl | patch | blob | history |
diff --git a/html/setup.php b/html/setup.php
index dfc4c8e56ff5f26cb5ad12005a7561e4925203cf..5adc78a6d1c500e551b33a84c7405af8f0ebf49a 100644 (file)
--- a/html/setup.php
+++ b/html/setup.php
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 ec662d910671333d27d37ce41e1a016d75936060..2f65cd775989511068ca9c2138954f9d813cfaa6 100644 (file)
--- a/setup/class_setup.inc
+++ b/setup/class_setup.inc
$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
--- /dev/null
@@ -0,0 +1,59 @@
+<?php
+
+/*
+ This code is part of GOsa (https://gosa.gonicus.de)
+ Copyright (C) 2007 Fabian Hickert
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
+
+
+class Step_Feedback extends setup_step
+{
+ var $languages = array();
+ var $attributes = array();
+ var $header_image = "images/welcome.png";
+
+ function Step_Feedback()
+ {
+ $this->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", "<font class=\"must\">*</font>");
+ $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
--- /dev/null
+++ b/setup/setup_feedback.tpl
@@ -0,0 +1,149 @@
+<div class='default' style='margin:12px; '>
+
+ <h2>
+ <input type='checkbox' name='use_gosa_announce' value='1' class='center'> {t}Subscribe to the gosa-announce mailinglist{/t}
+ </h2>
+
+ {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}
+
+ <table>
+ <tr>
+ <td>
+ {t}Organization{/t}
+ </td>
+ <td>
+ <input name='' type='text' value=''>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {t}Name{/t}
+ </td>
+ <td>
+ <input name='' type='text' value=''>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {t}eMail{/t}{$must}
+ </td>
+ <td>
+ <input name='' type='text' value=''>
+ </td>
+ </tr>
+ </table>
+
+
+ <p> </p>
+ <h2>
+ <input type='checkbox' name='use_gosa_announce' value='1' class='center'> {t}Send feedback to the GOsa project team{/t}
+ </h2>
+ {t}When checking this option, GOsa will try to connect http://oss.gonicus.de in order to submit your form anonymously.{/t}
+ <br><b>{t}Generic{/t}</b>
+ <table>
+ <tr>
+ <td>
+ {t}Did the setup procedure help you to get started?{/t}
+ </td>
+ <td>
+ <input type='radio' name='get_started' value='1'>{t}Yes{/t}
+ <br>
+ <input type='radio' name='get_started' value='0'>{t}No{/t}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {t}If not, what problems did you encounter{/t}:
+ </td>
+ <td>
+ <textarea name='problems_encountered' rows='4' cols='20'style='width:100%'></textarea>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {t}Is this the first time you use GOsa?{/t}
+ </td>
+ <td>
+ <input type='radio' name='first_use' value='1'>{t}Yes{/t}
+ <br>
+ <input type='radio' name='first_use' value='0'>{t}No{/t}
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td>
+ {t}I use it since{/t}
+ <select name='use_since_month' title='{t}Select the month since when you are using GOsa{/t}'>
+ <option></option>
+ </select>
+ <select name='use_since_year' title='{t}Select the year since when you are using GOsa{/t}'>
+ <option></option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {t}What operation system / distribution do you use?{/t}
+ </td>
+ <td>
+ <input type='text' name='distribution' value=''>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {t}What web server do you use?{/t}
+ </td>
+ <td>
+ <input type='text' name='distribution' value=''>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {t}What PHP version do you use?{/t}
+ </td>
+ <td>
+ <input type='text' name='distribution' value=''>
+ </td>
+ </tr>
+ </table>
+
+ <br><b>{t}LDAP{/t}</b>
+ <table>
+ <tr>
+ <td>{t}What kind of LDAP server(s) do you use?{/t}
+ </td>
+ <td><input type='text' name='distribution' value=''>
+ </td>
+ </tr>
+ <tr>
+ <td>{t}How many objects are in your LDAP?{/t}
+ </td>
+ <td><input type='text' name='distribution' value=''>
+ </td>
+ </tr>
+ </table>
+
+ <br><b>{t}Features{/t}</b>
+ <table>
+ <tr>
+ <td>{t}What features of GOsa do you use?{/t}
+ </td>
+ <td>
+ [ ] POSIX (UNIX accounts/groups)
+ [ ] Samba management
+ [ ] Mailsystem management
+ [ ] FAX system administration
+ [ ] Asterisk administration
+ [ ] System invetory
+ [ ] System-/Configmanagement
+ [ ] Addressbook
+ </td>
+ </tr>
+ <tr>
+ <td>{t}What features do you want to see in next versions of GOsa?{/t}
+ </td>
+ <td><textarea name='want_to_see_next'></textarea>
+ </td>
+ </tr>
+ </table>
+</div>
index cc59d6ee70097899d606601f8948d7ad2585aacc..5f6fde3bb4f3ab184ebe51f7deff1682d948d5c6 100644 (file)
--- a/setup/setup_migrate.tpl
+++ b/setup/setup_migrate.tpl
<input type='submit' name='create_acls_create_confirmed' value='{t}Next{/t}'>
<input type='submit' name='create_acls_create_abort' value='{t}Abort{/t}'>
{else}
- <b>{t}Create a new user and a group with adminstrational acls{/t}</b><br>
+ <b>{t}Create a new user with adminstrational acls{/t}</b><br>
{t}To automatically add a new administrative user to your ldap database use the formular below.{/t}<br>
<p style='padding-left:10px;'>
<h2>User migration</h2>
- {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}<br>
+ {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}<br>
{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}