Code

Updated setup
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Apr 2007 13:04:34 +0000 (13:04 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 19 Apr 2007 13:04:34 +0000 (13:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6132 594d385d-05f5-0310-b6e9-bd551577e9d8

setup/class_setupStep_Config1.inc
setup/setup_config3.tpl

index 6a3ab619abb053ad61e43e5d868cff5347c60372..dd2182b2fc2d5de99a0620b2a169919eee83ff70 100644 (file)
@@ -32,7 +32,7 @@ class Step_Config1 extends setup_step
 
   var $header_image = "images/ldapserver.png";
   var $account_expiration  =FALSE;
-  var $base_hook         = "/usr/bin/sudo myscript"; 
+  var $base_hook         = ""; 
   var $base_hook_active  = FALSE; 
 
   var $encryption = "crypt";
@@ -46,7 +46,7 @@ class Step_Config1 extends setup_step
                           "pwminlen_active" => FALSE,
                           "pwdiffer" => 5,
                           "pwdiffer_active" => FALSE,
-                          "externalpwdhook" => "/path/to/your/script username oldpassword newpassword",
+                          "externalpwdhook" => "",
                           "externalpwdhook_active" => FALSE);
 
   var $id_settings = array(       "idgen"         => "{%sn}-{%givenName[2-4]}",
index ad1092858905f6e8575409f45987d95d1416858b..62e2b7b5b069f50a9b82f8659750d1ea639e7c50 100644 (file)
@@ -1,8 +1,5 @@
 <div class='default' style='margin:12px; '>
-    <div style='float:left; '>
-               <br>
-               <b>{t}Optional settings{/t}</b>
-       </div>
+     <p><b>{t}GOsa core settings{/t}</b></p>
 
     <div class='step4_container'>
         <div class='step4_name'>
 
     <div class='step4_container'>
         <div class='step4_name'>
-            {t}Force globals{/t}
-        </div>
-        <div class='step4_value'>
-       
-            <select name="forceglobals" size="1" title="">
-               {html_options options=$bool selected=$optional.forceglobals}
-            </select>
-        </div>
-    </div>
-
-    <div class='step4_container'>
-        <div class='step4_name'>
-            {t}Force SSL{/t}
-        </div>
-        <div class='step4_value'>
-       
-            <select name="forcessl" size="1" title="">
-               {html_options options=$bool selected=$optional.forcessl}
-            </select>
-        </div>
-    </div>
-
-    <div class='step4_container'>
-        <div class='step4_name'>
-            {t}Warn SSL{/t}
-        </div>
-        <div class='step4_value'>
-       
-            <select name="warnssl" size="1" title="">
-               {html_options options=$bool selected=$optional.warnssl}
-            </select>
-        </div>
-    </div>
-
-    <div class='step4_container'>
-        <div class='step4_name'>
-            {t}Strict units{/t}
+            {t}Honour administrative units{/t}
         </div>
         <div class='step4_value'>
        
 
     <div class='step4_container'>
         <div class='step4_name'>
-            {t}PPd path{/t}
+            {t}Path for PPD storage{/t}
         </div>
         <div class='step4_value'>
             {if $optional.ppd_path_active == FALSE}
                 <input type='checkbox' value='1' name='ppd_path_active'
                     onClick='changeState("ppd_path");'>
-                <input style='width:90%' id='ppd_path' name='ppd_path' type='text' value='{$optional.ppd_path}' disabled>
+                <input size=60 id='ppd_path' name='ppd_path' type='text' value='{$optional.ppd_path}' disabled>
             {else}
                 <input type='checkbox' value='1' name='ppd_path_active' checked>
-                <input style='width:90%' id='ppd_path' name='ppd_path' type='text' value='{$optional.ppd_path}'  >
+                <input size=60 id='ppd_path' name='ppd_path' type='text' value='{$optional.ppd_path}'  >
             {/if}
         </div>
     </div>
             {if $optional.auto_network_hook_active == FALSE}
                 <input type='checkbox' value='1' name='auto_network_hook_active'
                     onClick='changeState("auto_network_hook");'>
-                <input style='width:90%' id='auto_network_hook' name='auto_network_hook' 
+                <input size=60 id='auto_network_hook' name='auto_network_hook' 
                                        type='text' value='{$optional.auto_network_hook}' disabled>
             {else}
                 <input type='checkbox' value='1' name='auto_network_hook_active' checked>
-                <input style='width:90%' id='auto_network_hook' name='auto_network_hook' type='text' 
+                <input size=60 id='auto_network_hook' name='auto_network_hook' type='text' 
                                        value='{$optional.auto_network_hook}'  >
             {/if}
         </div>
             {if $optional.mailQueueScriptPath_active == FALSE}
                 <input type='checkbox' value='1' name='mailQueueScriptPath_active'
                     onClick='changeState("mailQueueScriptPath");'>
-                <input style='width:90%' id='mailQueueScriptPath' name='mailQueueScriptPath' 
+                <input size=60 id='mailQueueScriptPath' name='mailQueueScriptPath' 
                                        type='text' value='{$optional.mailQueueScriptPath}' disabled>
             {else}
                 <input type='checkbox' value='1' name='mailQueueScriptPath_active' checked>
-                <input style='width:90%' id='mailQueueScriptPath' name='mailQueueScriptPath' type='text' 
+                <input size=60 id='mailQueueScriptPath' name='mailQueueScriptPath' type='text' 
                                        value='{$optional.mailQueueScriptPath}'  >
             {/if}
         </div>
             {if $optional.notifydir_active == FALSE}
                 <input type='checkbox' value='1' name='notifydir_active'
                     onClick='changeState("notifydir");'>
-                <input style='width:90%' id='notifydir' name='notifydir' 
+                <input size=60 id='notifydir' name='notifydir' 
                                        type='text' value='{$optional.notifydir}' disabled>
             {else}
                 <input type='checkbox' value='1' name='notifydir_active' checked>
-                <input style='width:90%' id='notifydir' name='notifydir' 
+                <input size=60 id='notifydir' name='notifydir' 
                                        type='text' value='{$optional.notifydir}'  >
             {/if}
         </div>
             {if $optional.kioskpath_active == FALSE}
                 <input type='checkbox' value='1' name='kioskpath_active'
                     onClick='changeState("kioskpath");'>
-                <input style='width:90%' id='kioskpath' name='kioskpath' 
+                <input size=60 id='kioskpath' name='kioskpath' 
                                        type='text' value='{$optional.kioskpath}' disabled>
             {else}
                 <input type='checkbox' value='1' name='kioskpath_active' checked>
-                <input style='width:90%' id='kioskpath' name='kioskpath' 
+                <input size=60 id='kioskpath' name='kioskpath' 
                                        type='text' value='{$optional.kioskpath}'  >
             {/if}
         </div>
             {t}Smarty compile directory{/t}
         </div>
         <div class='step4_value'>
-                       <input style='width:90%' id='compile' name='compile' 
+                       <input size=60 id='compile' name='compile' 
                                type='text' value='{$optional.compile}'>
         </div>
     </div>
+    <p><b>{t}Login and session{/t}</b></p>
+    <div class='step4_container'>
+        <div class='step4_name'>
+            {t}Enforce register_globals to be activated{/t}
+        </div>
+        <div class='step4_value'>
+       
+            <select name="forceglobals" size="1" title="">
+               {html_options options=$bool selected=$optional.forceglobals}
+            </select>
+        </div>
+    </div>
+
+    <div class='step4_container'>
+        <div class='step4_name'>
+            {t}Enforce encrypted connections{/t}
+        </div>
+        <div class='step4_value'>
+       
+            <select name="forcessl" size="1" title="">
+               {html_options options=$bool selected=$optional.forcessl}
+            </select>
+        </div>
+    </div>
+
+    <div class='step4_container'>
+        <div class='step4_name'>
+            {t}Warn if session is not encrypted{/t}
+        </div>
+        <div class='step4_value'>
+       
+            <select name="warnssl" size="1" title="">
+               {html_options options=$bool selected=$optional.warnssl}
+            </select>
+        </div>
+    </div>
 
     <div class='step4_container' style='height:5em;'>
         <div class='step4_name' style='height:5em;'>
             {t}Session lifetime{/t}
         </div>
         <div class='step4_value'>
-                       <input style='width:90%' id='session_lifetime' name='session_lifetime' 
+                       <input size=60 id='session_lifetime' name='session_lifetime' 
                                type='text' value='{$optional.session_lifetime}'>
         </div>
     </div>
 
+    <p><b>{t}Debugging{/t}</b></p>
     <div class='step4_container'>
         <div class='step4_name'>
-            {t}Maximal ldap query time{/t}
+            {t}Maximum LDAP query time{/t}
         </div>
         <div class='step4_value'>
             {if $optional.max_ldap_query_time_active == FALSE}
                 <input type='checkbox' value='1' name='max_ldap_query_time_active'
                     onClick='changeState("max_ldap_query_time");'>
-                <input style='width:90%' id='max_ldap_query_time' name='max_ldap_query_time' 
+                <input size=60 id='max_ldap_query_time' name='max_ldap_query_time' 
                                        type='text' value='{$optional.max_ldap_query_time}' disabled>
             {else}
                 <input type='checkbox' value='1' name='max_ldap_query_time_active' checked>
-                <input style='width:90%' id='max_ldap_query_time' name='max_ldap_query_time' 
+                <input size=60 id='max_ldap_query_time' name='max_ldap_query_time' 
                                        type='text' value='{$optional.max_ldap_query_time}'  >
             {/if}
         </div>
 
     <div class='step4_container'>
         <div class='step4_name'>
-            {t}Debuglevel{/t}
+            {t}Debug level{/t}
         </div>
         <div class='step4_value'>
                        <select name='debuglevel'>