summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8723247)
raw | patch | inline | side by side (parent: 8723247)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 13 Apr 2007 07:22:57 +0000 (07:22 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 13 Apr 2007 07:22:57 +0000 (07:22 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6040 594d385d-05f5-0310-b6e9-bd551577e9d8
15 files changed:
setup/setup_checks.tpl | patch | blob | history | |
setup/setup_config1.tpl | [new file with mode: 0644] | patch | blob |
setup/setup_config2.tpl | [new file with mode: 0644] | patch | blob |
setup/setup_config3.tpl | [new file with mode: 0644] | patch | blob |
setup/setup_finish.tpl | [new file with mode: 0644] | patch | blob |
setup/setup_language.tpl | [new file with mode: 0644] | patch | blob |
setup/setup_ldap.tpl | [new file with mode: 0644] | patch | blob |
setup/setup_schema.tpl | [new file with mode: 0644] | patch | blob |
setup/setup_step2.tpl | [deleted file] | patch | blob | history |
setup/setup_step4.tpl | [deleted file] | patch | blob | history |
setup/setup_step5.tpl | [deleted file] | patch | blob | history |
setup/setup_step6.tpl | [deleted file] | patch | blob | history |
setup/setup_step6a.tpl | [deleted file] | patch | blob | history |
setup/setup_step7.tpl | [deleted file] | patch | blob | history |
setup/setup_step8.tpl | [deleted file] | patch | blob | history |
diff --git a/setup/setup_checks.tpl b/setup/setup_checks.tpl
index 3a665e39c9a433ca39c8721799c619750717cdd2..9ba9e7abcf49c05e831a2255b091b91de58e8c7d 100644 (file)
--- a/setup/setup_checks.tpl
+++ b/setup/setup_checks.tpl
-<div>
- <div class='default'>
- <b>{t}Please select your prefered language{/t}</b>
+<!--
+ Div container with PHP module checks
+-->
+<div style='float:left;width:50%;'>
+
+ <!-- Set content styles -->
+ <div class='default' style='margin:10px;'>
+
+ <!-- Beginning PHP module check output -->
+ <h2 class='step2_container_title'>{t}PHP module and extension checks{/t}</h2>
+ {foreach from=$basic item=val key=key}
+
+ <!-- Entry {$key} -->
+ {if $basic[$key].SOLUTION != "" && !$basic[$key].RESULT}
+
+ <!-- Add ability to display info popup -->
+ <div class='step2_entry_container_info'
+ onMouseOver="javascript: display_solution('sol_{$key}');"
+ onMouseOut="javascript: hide_solution('sol_{$key}');" >
+ {else}
+
+ <!-- Normal entry everything is fine -->
+ <div class='step2_entry_container'>
+ {/if}
+
+ <div class='step2_entry_name'>{$basic[$key].NAME}</div>
+ <div class='step2_entry_status'>
+
+ {if $basic[$key].RESULT}
+ <div class='step2_successful'>{t}Successful{/t}</div>
+ {else}
+ {if $basic[$key].MUST}
+ <div class='step2_failed'>{t}Failed{/t}</div>
+ {else}
+ <div class='step2_warning'>{t}Failed{/t}</div>
+ {/if}
+ {if $basic[$key].SOLUTION != ""}
+
+ <!-- Inforamtion popup -->
+ <div class='solution_hidden' id='sol_{$key}'>
+ {if $basic[$key].MUST}
+ <div class='step2_failed_text'>
+ <b>{t}GOsa will NOT run without fixing this.{/t}</b>
+ {else}
+ <div class="step2_warning_text" style="background-image: url('images/warning.png')">
+ <i>{t}GOsa will run without fixing this.{/t}</i>
+ {/if}
+ <br>
+ {$basic[$key].SOLUTION}
+ </div>
+ </div>
+ {/if}
+ {/if}
+ </div>
+ </div>
+ {/foreach}
</div>
- <div class='default' style='padding-right:10px;'>
- <select name='lang_selected' title='{t}Please your prefered language here{/t}' size=10 width="300">
- {html_options options=$languages selected=$lang_selected}
- </select>
+</div>
+
+
+<!--
+ Div container with PHP config checks
+-->
+<div style='width:50%; float:left;'>
+
+ <!-- Set content styles -->
+ <div class='default' style='margin:10px;'>
+
+ <!-- Beginning PHP config check output -->
+ <h2 class='step2_container_title'>{t}PHP setup configuration{/t}</h2>
+
+ {foreach from=$config item=val key=key}
+
+ <!-- Entry {$key} -->
+ {if $config[$key].SOLUTION != "" && !$config[$key].RESULT}
+
+ <!-- Add ability to display info popup -->
+ <div class='step2_entry_container_info'
+ onMouseOver="javascript: display_solution('sol_config_{$key}');"
+ onMouseOut="javascript: hide_solution('sol_config_{$key}');" >
+ {else}
+
+ <!-- Normal entry everything is fine -->
+ <div class='step2_entry_container'>
+ {/if}
+
+
+ <div class='step2_entry_name'>{$config[$key].NAME}</div>
+ <div class='step2_entry_status'>
+ {if $config[$key].RESULT}
+ <div class='step2_successful'>{t}Successful{/t}</div>
+ {else}
+
+ {if $config[$key].MUST}
+ <div class='step2_failed'>{t}Failed{/t}</div>
+ {else}
+ <div class='step2_warning'>{t}Failed{/t}</div>
+ {/if}
+
+ {if $config[$key].SOLUTION != ""}
+
+ <!-- Inforamtion popup -->
+ <div class='solution_hidden' id='sol_config_{$key}'>
+ {if $config[$key].MUST}
+ <div class='step2_failed_text'>
+ <b>{t}GOsa will NOT run without fixing this.{/t}</b>
+ {else}
+ <div class='step2_warning_text' style="background-image: url('images/warning.png')">
+ <i>{t}GOsa will run without fixing this.{/t}</i>
+ {/if}
+ <br>
+ {$config[$key].SOLUTION}
+ </div>
+ </div>
+ {/if}
+ {/if}
+ </div>
+ </div>
+ {/foreach}
+
+
+<!--
+ Beginning PHP config check output
+-->
+ <h2 class='step2_container_title'>{t}Configuration file writeable{/t}</h2>
+
+ {foreach from=$is_writeable item=val key=key}
+
+ <!-- Entry {$key} -->
+ {if $is_writeable[$key].SOLUTION != "" && !$is_writeable[$key].RESULT}
+
+ <!-- Add ability to display info popup -->
+ <div class='step2_entry_container_info'
+ onMouseOver="javascript: display_solution('sol_is_writeable{$key}');"
+ onMouseOut="javascript: hide_solution('sol_is_writeable{$key}');" >
+ {else}
+
+ <!-- Normal entry everything is fine -->
+ <div class='step2_entry_container'>
+ {/if}
+
+
+ <div class='step2_entry_name'>{$is_writeable[$key].NAME}</div>
+ <div class='step2_entry_status'>
+ {if $is_writeable[$key].RESULT}
+ <div class='step2_successful'>{t}Successful{/t}</div>
+ {else}
+
+ {if $is_writeable[$key].MUST}
+ <div class='step2_failed'>{t}Failed{/t}</div>
+ {else}
+ <div class='step2_warning'>{t}Failed{/t}</div>
+ {/if}
+
+ {if $is_writeable[$key].SOLUTION != ""}
+
+ <!-- Inforamtion popup -->
+ <div class='solution_hidden' id='sol_is_writeable{$key}'>
+ {if $is_writeable[$key].MUST}
+ <div class='step2_failed_text'>
+ <b>{t}GOsa will NOT run without fixing this.{/t}</b>
+ {else}
+ <div class='step2_warning_text' style="background-image: url('images/warning.png')">
+ <i>{t}GOsa will run without fixing this.{/t}</i>
+ {/if}
+ <br>
+ {$is_writeable[$key].SOLUTION}
+ </div>
+ </div>
+ {/if}
+ {/if}
+ </div>
+ </div>
+ {/foreach}
+
+
+
</div>
</div>
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
-<br>
+<script type="text/javascript">
+{literal}
+ function display_solution(str){
+ obj = document.getElementById(str);
+ obj.className='solution_visible';
+ }
+ function hide_solution(str){
+ obj = document.getElementById(str);
+ obj.className='solution_hidden';
+ }
+
+{/literal}
+</script>
diff --git a/setup/setup_config1.tpl b/setup/setup_config1.tpl
--- /dev/null
+++ b/setup/setup_config1.tpl
@@ -0,0 +1,244 @@
+
+{if $warnings_cnt}
+<b><font style='color:red' >Errors:</font></b>
+{foreach from=$warnings item=val key=key}
+ <br>
+ <font style='color:red' >{$val}</font>
+{/foreach}
+{/if}
+
+<div class='default' style='margin:12px; '>
+ <div style='float:left; '>
+ <br>
+ <b>{t}GOsa settings{/t}</b>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}GOsa theme{/t}
+ </div>
+ <div class='step4_value'>
+ <select name="theme">
+ {html_options options=$themes selected=$theme}
+ </select>
+ </div>
+ <div class='step4_status'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}People dn attribute{/t}
+ </div>
+ <div class='step4_value'>
+ <select size="1" name="peopledn">
+ {html_options values=$peopledns output=$peopledns selected=$peopledn}
+ </select>
+ </div>
+ <div class='step4_status'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}People storage ou{/t}
+ </div>
+ <div class='step4_value'>
+ <input type='text' name='peopleou' maxlength='40' size='20' value='{$peopleou}'>
+ </div>
+ <div class='step4_status'>
+ </div>
+ </div>
+
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Group storage ou{/t}
+ </div>
+ <div class='step4_value'>
+ <input type='text' name='groupou' maxlength='40' size='20' value='{$groupou}'>
+ </div>
+ <div class='step4_status'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}ID base for users/groups{/t}
+ </div>
+ <div class='step4_value'>
+ <input type='text' name='uidbase' maxlength='20' size='10' value='{$uidbase}'>
+ </div>
+ <div class='step4_status'>
+ </div>
+ </div>
+
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Base hook{/t}
+ </div>
+ <div class='step4_value'>
+ {if $base_hook_active == FALSE}
+ <input type='checkbox' value='1' name='base_hook_active'
+ onClick='changeState("base_hook");'>
+ <input style='width:90%' id='base_hook' name='base_hook' type='text' value='{$base_hook}' disabled>
+ {else}
+ <input type='checkbox' value='1' name='base_hook_active' checked>
+ <input style='width:90%' id='base_hook' name='base_hook' type='text' value='{$base_hook}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Display PHP errors{/t}
+ </div>
+ <div class='step4_value'>
+ <select name="errorlvl" size="1" title="">
+ {html_options options=$bool selected=$errorlvl}
+ </select>
+ </div>
+ <div class='step4_status'>
+ </div>
+ </div>
+ <div style='float:left;'>
+ <br>
+ <b>{t}Password settings{/t}</b>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Password encryption algorithm{/t}
+ </div>
+ <div class='step4_value'>
+ <select name="encryption" size="1" title="">
+ {html_options options=$crypt_methods selected=$encryption}
+ </select>
+ </div>
+ <div class='step4_status'>
+ </div>
+ </div>
+
+ <div class='step4_container' style='height:4em;'>
+ <div class='step4_name' style='height:4em;'>
+ {t}Password restrictions{/t}
+ </div>
+ <div class='step4_value' style='height:4em;'>
+
+ {if $pwd_rules.pwminlen_active == FALSE}
+ <input type='checkbox' value='1' name='pwminlen_active'
+ onClick='changeState("pwminlen");'>
+ {t}Password minimum length{/t}
+ <input id='pwminlen' name='pwminlen' type='text' value='{$pwd_rules.pwminlen}' size=3 disabled>
+ {else}
+ <input type='checkbox' value='1' name='pwminlen_active' checked>
+ {t}Password minimum length{/t}
+ <input id='pwminlen' name='pwminlen' type='text' value='{$pwd_rules.pwminlen}' size=3 >
+ {/if}
+ <br>
+ {if $pwd_rules.pwdiffer_active == FALSE}
+ <input type='checkbox' value='1' name='pwdiffer_active'
+ onClick='changeState("pwdiffer");'>
+ {t}Different characters from old password{/t}
+ <input id='pwdiffer' name='pwdiffer' type='text' value='{$pwd_rules.pwdiffer}' size=3 disabled>
+ {else}
+ <input type='checkbox' value='1' name='pwdiffer_active' checked>
+ {t}Different characters from old password{/t}
+ <input id='pwdiffer' name='pwdiffer' type='text' value='{$pwd_rules.pwdiffer}' size=3 >
+ {/if}
+
+ </div>
+ <div class='step4_status' style='height:4em;'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}External script{/t}
+ </div>
+ <div class='step4_value'>
+ {if $pwd_rules.externalpwdhook_active == FALSE}
+ <input type='checkbox' value='1' name='externalpwdhook_active'
+ onClick='changeState("externalpwdhook");'>
+ <input style='width:90%' id='externalpwdhook' name='externalpwdhook' type='text' value='{$pwd_rules.externalpwdhook}' disabled>
+ {else}
+ <input type='checkbox' value='1' name='externalpwdhook_active' checked>
+ <input style='width:90%' id='externalpwdhook' name='externalpwdhook' type='text' value='{$pwd_rules.externalpwdhook}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div style='float:left; '>
+ <br>
+ <b>{t}Mail settings{/t}</b>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Mail method{/t}
+ </div>
+ <div class='step4_value'>
+ <select name="mail" size="1" title="">
+ <option value="disabled">{t}disabled{/t}</option>
+ {html_options options=$mail_methods selected=$mail}
+ </select>
+ </div>
+ <div class='step4_status'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Vacation templates{/t}
+ </div>
+ <div class='step4_value'>
+ {if $mail_settings.vacationdir_active == FALSE}
+ <input type='checkbox' value='1' name='vacationdir_active'
+ onClick='changeState("vacationdir");'>
+ <input style='width:90%' id='vacationdir' name='vacationdir' type='text' value='{$mail_settings.vacationdir}' disabled>
+ {else}
+ <input type='checkbox' value='1' name='vacationdir_active' checked>
+ <input style='width:90%' id='vacationdir' name='vacationdir' type='text' value='{$mail_settings.vacationdir}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Use cyrus account style{/t}
+ </div>
+ <div class='step4_value'>
+ <select name="cyrusunixstyle" size="1" title="">
+ {html_options options=$bool selected=$cyrusunixstyle}
+ </select>
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+</div>
+
+<input type='hidden' value='1' name='step5_posted'>
+<!--
+ {t}GOsa supports several encryption types for your passwords. Normally this is adjustable via user templates, but you can specify a default method to be used here, too.{/t}
+ {t}GOsa always acts as admin and manages access rights internally. This is a workaround till OpenLDAP's in directory ACI's are fully implemented. For this to work, we need the admin DN and the corresponding password.{/t}
+ {t}Some basic LDAP parameters are tunable and affect the locations where GOsa saves people and groups, including the way accounts get created. Check the values below if the fit your needs.{/t}
+ {t}GOsa has modular support for several mail methods. These methods provide interfaces to users mailboxes and general handling for quotas. You can choose the dummy plugin to leave all your mail settings untouched.{/t}-->
+
diff --git a/setup/setup_config2.tpl b/setup/setup_config2.tpl
--- /dev/null
+++ b/setup/setup_config2.tpl
@@ -0,0 +1,250 @@
+
+{if $warnings_cnt}
+<b><font style='color:red' >Errors:</font></b>
+{foreach from=$warnings item=val key=key}
+ <br>
+ <font style='color:red' >{$val}</font>
+{/foreach}
+{/if}
+<div class='default' style='margin:12px; '>
+ <div style='float:left; width:600px;'>
+ <br>
+ <b>{t}Samba settings{/t}</b>
+ </div>
+
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Samba SID{/t}
+ </div>
+ <div class='step4_value'>
+ {if $samba_settings.samba_sid_active == FALSE}
+ <input type='checkbox' value='1' name='samba_sid_active'
+ onClick='changeState("samba_sid");'>
+ <input style='width:90%' id='samba_sid' name='samba_sid' type='text' value='{$samba_settings.samba_sid}' disabled>
+ {else}
+ <input type='checkbox' value='1' name='samba_sid_active' checked>
+ <input style='width:90%' id='samba_sid' name='samba_sid' type='text' value='{$samba_settings.samba_sid}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}RID base{/t}
+ </div>
+ <div class='step4_value'>
+ {if $samba_settings.samba_rid_active == FALSE}
+ <input type='checkbox' value='1' name='samba_rid_active'
+ onClick='changeState("samba_rid");'>
+ <input style='width:90%' id='samba_rid' name='samba_rid' type='text' value='{$samba_settings.samba_rid}' disabled>
+ {else}
+ <input type='checkbox' value='1' name='samba_rid_active' checked>
+ <input style='width:90%' id='samba_rid' name='samba_rid' type='text' value='{$samba_settings.samba_rid}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Samba SID mapping{/t}
+ </div>
+ <div class='step4_value'>
+ <select name="sambaidmapping" size="1" title="">
+ {html_options options=$bool selected=$sambaidmapping}
+ </select>
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+ <div style='float:left; width:600px;'>
+ <br>
+ <b>{t}Additional GOsa settings{/t}</b>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Windows workstation ou{/t}
+ </div>
+ <div class='step4_value'>
+ {if $generic_settings.wws_ou_active == FALSE}
+ <input type='checkbox' value='1' name='wws_ou_active'
+ onClick='changeState("wws_ou");'>
+ <input style='width:90%' id='wws_ou' name='wws_ou' type='text' value='{$generic_settings.wws_ou}' disabled>
+ {else}
+ <input type='checkbox' value='1' name='wws_ou_active' checked>
+ <input style='width:90%' id='wws_ou' name='wws_ou' type='text' value='{$generic_settings.wws_ou}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}GID / UID min id{/t}
+ </div>
+ <div class='step4_value'>
+ {if $generic_settings.minid_active == FALSE}
+ <input type='checkbox' value='1' name='minid_active'
+ onClick='changeState("minid");'>
+ <input style='width:90%' id='minid' name='minid' type='text' value='{$generic_settings.minid}' disabled>
+ {else}
+ <input type='checkbox' value='1' name='minid_active' checked>
+ <input style='width:90%' id='minid' name='minid' type='text' value='{$generic_settings.minid}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Strict units{/t}
+ </div>
+ <div class='step4_value'>
+ <select name="strict" size="1" title="">
+ {html_options options=$bool selected=$strict}
+ </select>
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Government mode{/t}
+ </div>
+ <div class='step4_value'>
+ <select name="governmentmode" size="1" title="">
+ {html_options options=$bool selected=$governmentmode}
+ </select>
+ </div>
+ <div class='step4_status'>
+ </div>
+ </div>
+
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Automatic uids{/t}
+ </div>
+ <div class='step4_value'>
+ {if $generic_settings.idgen_active == FALSE}
+ <input type='checkbox' value='1' name='idgen_active'
+ onClick='changeState("idgen");'>
+ <input style='width:90%' id='idgen' name='idgen' type='text' value='{$generic_settings.idgen}' disabled>
+ {else}
+ <input type='checkbox' value='1' name='idgen_active' checked>
+ <input style='width:90%' id='idgen' name='idgen' type='text' value='{$generic_settings.idgen}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Use account expiration{/t}
+ </div>
+ <div class='step4_value'>
+ <select name="account_expiration" size="1" title="">
+ {html_options options=$bool selected=$account_expiration}
+ </select>
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+ <div class='step4_container' style='height:12em;'>
+ <div class='step4_name' style='height:12em;'>
+ {t}Enable snapshot functionality{/t}
+ </div>
+ <div class='step4_value' style='height:12em;'>
+ {if $generic_settings.snapshot_active == FALSE}
+ <input type='checkbox' value='1' name='snapshot_active'
+ onClick='
+ changeState("snapshot_base");
+ changeState("snapshot_ldap_base");
+ changeState("snapshot_server");
+ changeState("snapshot_user");
+ changeState("snapshot_password");'>{t}Enable{/t}<br>
+ <div style='float:left;width:120px;'>
+ {t}Snapshot base{/t}
+ </div>
+ <input style='width:220' id='snapshot_base' name='snapshot_base'
+ type='text' value='{$generic_settings.snapshot_base}' disabled><br>
+ <div style='float:left;width:120px;'>
+ {t}Ldap base{/t}
+ </div>
+ <input style='width:220' id='snapshot_ldap_base' name='snapshot_ldap_base'
+ type='text' value='{$generic_settings.snapshot_ldap_base}' disabled><br>
+ <div style='float:left;width:120px;'>
+ {t}Server{/t}
+ </div>
+ <input style='width:220' id='snapshot_server' name='snapshot_server'
+ type='text' value='{$generic_settings.snapshot_server}' disabled><br>
+ <div style='float:left;width:120px;'>
+ {t}User{/t}
+ </div>
+ <input style='width:220' id='snapshot_user' name='snapshot_user'
+ type='text' value='{$generic_settings.snapshot_user}' disabled><br>
+ <div style='float:left;width:120px;'>
+ {t}Password{/t}
+ </div>
+ <input style='width:220' id='snapshot_password' name='snapshot_password'
+ type='password' value='{$generic_settings.snapshot_password}' disabled>
+ {else}
+ <input type='checkbox' value='1' name='snapshot_active' checked>{t}Enable{/t}<br>
+ <div style='float:left;width:120px;'>
+ {t}Snapshot base{/t}
+ </div>
+ <input style='width:220' id='snapshot_base' name='snapshot_base'
+ type='text' value='{$generic_settings.snapshot_base}'><br>
+ <div style='float:left;width:120px;'>
+ {t}Ldap base{/t}
+ </div>
+ <input style='width:220' id='snapshot_ldap_base' name='snapshot_ldap_base'
+ type='text' value='{$generic_settings.snapshot_ldap_base}'><br>
+ <div style='float:left;width:120px;'>
+ {t}Server{/t}
+ </div>
+ <input style='width:220' id='snapshot_server' name='snapshot_server'
+ type='text' value='{$generic_settings.snapshot_server}'><br>
+ <div style='float:left;width:120px;'>
+ {t}User{/t}
+ </div>
+ <input style='width:220' id='snapshot_user' name='snapshot_user'
+ type='text' value='{$generic_settings.snapshot_user}'><br>
+ <div style='float:left;width:120px;'>
+ {t}Password{/t}
+ </div>
+ <input style='width:220;' id='snapshot_password' name='snapshot_password'
+ type='password' value='{$generic_settings.snapshot_password}'>
+ {/if}
+ </div>
+ <div class='step4_status' style='height:12em;'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+</div>
+
+<input type='hidden' value='1' name='step6_posted'>
diff --git a/setup/setup_config3.tpl b/setup/setup_config3.tpl
--- /dev/null
+++ b/setup/setup_config3.tpl
@@ -0,0 +1,275 @@
+
+{if $warnings_cnt}
+<b><font style='color:red' >Errors:</font></b>
+{foreach from=$warnings item=val key=key}
+ <br>
+ <font style='color:red' >{$val}</font>
+{/foreach}
+{/if}
+
+<div class='default' style='margin:12px; '>
+ <div style='float:left; '>
+ <br>
+ <b>{t}Optional settings{/t}</b>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Enable Copy & Paste{/t}
+ </div>
+ <div class='step4_value'>
+
+ <select name="enableCopyPaste" size="1" title="">
+ {html_options options=$bool selected=$optional.enableCopyPaste}
+ </select>
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Disable primary group filter{/t}
+ </div>
+ <div class='step4_value'>
+
+ <select name="noprimarygroup" size="1" title="">
+ {html_options options=$bool selected=$optional.noprimarygroup}
+ </select>
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <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 class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </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 class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </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 class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}PPd path{/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>
+ {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}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Network resolv hook{/t}
+ </div>
+ <div class='step4_value'>
+ {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'
+ 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'
+ value='{$optional.auto_network_hook}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Mail queue script path{/t}
+ </div>
+ <div class='step4_value'>
+ {if $optional.mailQueueScriptPath_active == FALSE}
+ <input type='checkbox' value='1' name='mailQueueScriptPath_active'
+ onClick='changeState("mailQueueScriptPath");'>
+ <input style='width:90%' 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'
+ value='{$optional.mailQueueScriptPath}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Notification path{/t}
+ </div>
+ <div class='step4_value'>
+ {if $optional.notifydir_active == FALSE}
+ <input type='checkbox' value='1' name='notifydir_active'
+ onClick='changeState("notifydir");'>
+ <input style='width:90%' 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'
+ type='text' value='{$optional.notifydir}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Smarty compile directory{/t}
+ </div>
+ <div class='step4_value'>
+ <input style='width:90%' id='compile' name='compile'
+ type='text' value='{$optional.compile}'>
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container' style='height:5em;'>
+ <div class='step4_name' style='height:5em;'>
+ {t}SMB hash{/t}
+ </div>
+ <div class='step4_value' style='height:5em;'>
+ <input {if $optional.smbhash == "/usr/bin/mkntpasswd"} checked {/if}
+ type='radio' name='smbhash' value='/usr/bin/mkntpasswd'>
+ /usr/bin/mkntpasswd<br>
+ <input {if $optional.smbhash == "mkntpwd"} checked {/if}
+ type='radio' name='smbhash' value='mkntpwd'>
+ mkntpwd<br>
+ <input {if $optional.smbhash == 'perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen \$ARGV[0]), $/;"'} checked {/if}
+ type='radio' name='smbhash' value='perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen \$ARGV[0]), $/;"'>
+ perl -MCrypt::SmbHash ...
+ </div>
+ <div class='step4_status' style='height:5em;'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Session lifetime{/t}
+ </div>
+ <div class='step4_value'>
+ <input style='width:90%' id='session_lifetime' name='session_lifetime'
+ type='text' value='{$optional.session_lifetime}'>
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Maximal 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'
+ 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'
+ type='text' value='{$optional.max_ldap_query_time}' >
+ {/if}
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Debuglevel{/t}
+ </div>
+ <div class='step4_value'>
+ <select name='debuglevel'>
+ {if $optional.debuglevel == 0}
+ <option value='0' selected>0 {t}Disabled{/t}</option>
+ <option value='1'>1 {t}Enabled{/t}</option>
+ {else}
+ <option value='0'>0 {t}Disabled{/t}</option>
+ <option value='1' selected>1 {t}Enabled{/t}</option>
+ {/if}
+ </select>
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+</div>
+
+<input type='hidden' value='1' name='step6a_posted'>
diff --git a/setup/setup_finish.tpl b/setup/setup_finish.tpl
--- /dev/null
+++ b/setup/setup_finish.tpl
@@ -0,0 +1,77 @@
+<div class='default' style='margin:12px;' >
+<div style='float:left;'>
+
+<h2>{t}Configuration File{/t}</h2>
+ <p>
+ {t}GOsa setup has collected all data needed to create an initial configuration file.{/t}
+ </p>
+ <p>
+ {$msg1}
+ </p>
+ <p>
+ <b>{t}Automatically write configuration{/t}</b>
+ </p>
+ <p>
+ {if $writeable}
+ {t}Write configuration file{/t}
+ <input type='submit' name='saveconf' value='{t}Save configuration{/t}'>
+
+ {if $exists}
+ <br>
+ <input type='hidden' name='create_backup_visible' value='1'>
+ <input {if $create_backup} checked {/if} type='checkbox' value='1' name='create_backup'>
+ {t}Create a backup from existing configuration file{/t}
+ {/if}
+
+ {if $err_msg != ""}
+ <div style='color:red ; font-weight:bold '>{$err_msg}</div>
+ {else}
+ {if $save_requested}
+ <div style='color:green ; font-weight:bold '>{t}Configuration succesfully written.{/t}</div>
+ {/if}
+ {/if}
+
+ {if $last_backup_name}
+ <br>
+ <div style='padding-left:20px;'>{t}Last created backup{/t}: <i>{$last_backup_name}</i></div>
+ <br>
+ {/if}
+
+
+
+ {if $exists}
+ <br>
+ <br>
+ <b>{t}Use GOsa with current configuration file{/t}</b>
+ <br>
+ <input type='submit' name='use_gosa' value='{t}Use GOsa now{/t}'>
+ {/if}
+ {else}
+ <div style='font-weight: bold; color: red;'>{t}Can't write configuration file, please check permissions.{/t}</div>
+ <pre>
+{$msg_permissions}
+ {$CONFIG_DIR}
+ {$CONFIG_DIR}/{$CONFIG_FILE}
+ </pre>
+ {/if}
+ <br>
+ <p>
+ <b>{t}Manually create configuration file{/t}</b>
+ </p>
+ <p>
+ {t}Download the configuration file{/t}
+ <input type='submit' name='getconf' value='{t}Download configuration{/t}'>
+ </p>
+ <p>
+ {$msg2}
+ </p>
+ <pre>
+ # chown root.{$webgroup} {$CONFIG_DIR}/{$CONFIG_FILE}
+ # chmod 640 {$CONFIG_DIR}/{$CONFIG_FILE}
+ </pre>
+
+
+
+</div>
+</div>
+<input type='hidden' value='1' name='step8_posted'>
diff --git a/setup/setup_language.tpl b/setup/setup_language.tpl
--- /dev/null
+++ b/setup/setup_language.tpl
@@ -0,0 +1,20 @@
+<div>
+ <div class='default'>
+ <b>{t}Please select your prefered language{/t}</b>
+ </div>
+ <div class='default' style='padding-right:10px;'>
+ <select name='lang_selected' title='{t}Please your prefered language here{/t}' size=10 width="300">
+ {html_options options=$languages selected=$lang_selected}
+ </select>
+ </div>
+</div>
+<br>
+<br>
+<br>
+<br>
+<br>
+<br>
+<br>
+<br>
+<br>
+<br>
diff --git a/setup/setup_ldap.tpl b/setup/setup_ldap.tpl
--- /dev/null
+++ b/setup/setup_ldap.tpl
@@ -0,0 +1,129 @@
+
+<h2>{t}ldap connection{/t}</h2>
+
+<div style='width:100%;'>
+{t}Please enter the server URI to allow the GOsa setup to connect your LDAP server (Example: ldap://your.server:389).{/t}
+<br>
+{t}Use the 'Test' button to try to connect with the given values. The status will be shown on the bottom of the page.{/t}
+<br>
+
+</div>
+<div class='default' style='margin:12px; '>
+<div style=';float:left;width:100%;'>
+
+ {if $resolve_user}
+
+ <div style='float:left; width:100%;margin-bottom:20px;border: solid 1px #CCC;'>
+ <input type='text' value='{$resolve_filter}' name='resolve_filter'>
+ <input type='submit' value='{t}Search{/t}' name='resolve_search'>
+ <input type='submit' value='{t}Use selected user{/t}' name='use_selected_user'>
+ <input type='submit' value='{t}Cancel{/t}' name='resolve_user'>
+ <select name='admin_to_use' size=6 style="width:100%;background-color:#DDD;">
+ {html_options options=$resolved_users selected=$admin}
+ </select>
+ </div>
+
+ {else}
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Location description{/t}
+ </div>
+ <div class='step4_value'>
+ <input type='text' name='location' maxlength='80' size='25' value='{$location}' style='width:100%;'>
+ </div>
+ <div class='step4_status'>
+
+ </div>
+ </div>
+ <div class='step4_container'>
+ <div class='step4_name'>
+ <div style='vertical-align:middle;height:100%;'>{t}Connection url{/t}</div>
+ </div>
+ <div class='step4_value'>
+ <input type='text' name='connection' maxlength='80' size='25' value='{$connection}' style='width:100%;'>
+ </div>
+ <div class='step4_status'>
+ <input type='submit' value='{t}Test{/t}' style='width:100%;'>
+ </div>
+ </div>
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Base{/t}
+ </div>
+ <div class='step4_value'>
+ {if $namingContextsCount >= 1}
+ <select name='base' style='width:100%;'>
+ {html_options values=$namingContexts output=$namingContexts selected=$base}
+ </select>
+ {else}
+ <input type='text' name='base' maxlength='80' size='40' value='{$base}' style='width:100%;'>
+ {/if}
+ </div>
+ <div class='step4_status'>
+ </div>
+ </div>
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Admin DN{/t}
+ </div>
+ <div class='step4_value'>
+ <input type='text' name='admin' maxlength='160' size='40' value='{$admin}' style='width:100%;'>
+ </div>
+ <div class='step4_status'>
+ {if $resolve_user}
+ <input type='submit' name='resolve_user' value='{t}Cancel{/t}' style='width:100%;' >
+ {else}
+ <input type='submit' name='resolve_user' value='{t}Select user{/t}' style='width:100%;' >
+ {/if}
+ </div>
+ </div>
+
+
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Admin password{/t}
+ </div>
+ <div class='step4_value'>
+ <input type='password' name='password' maxlength='20' size='20' value='{$password}' style='width:100%;'>
+ </div>
+ <div class='step4_status'>
+ </div>
+ </div>
+ <div class='step4_container'>
+ <div class='step4_name'>
+ </div>
+ <div class='step4_value'>
+ </div>
+ <div class='step4_status'>
+ <input type='submit' value='{t}Try connect{/t}' style='width:100%;'>
+ </div>
+ </div>
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Use tls connection{/t}
+ </div>
+ <div class='step4_value'>
+ <select name="tls" size="1" title="">
+ {html_options options=$bool selected=$tls}
+ </select>
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+ {/if}
+ <div class='step4_container' style='height:45px;'>
+ <div class='step4_name' style='height:45px;'>
+ {t}Status{/t}
+ </div>
+ <div class='step4_value' style='height:45px;'>
+ {$connection_status}
+ </div>
+ <div class='step4_status' style='height:45px;'>
+ </div>
+ </div>
+</div>
+</div>
diff --git a/setup/setup_schema.tpl b/setup/setup_schema.tpl
--- /dev/null
+++ b/setup/setup_schema.tpl
@@ -0,0 +1,44 @@
+<div class='default' style='margin:12px; '>
+ <div style='float:left; '>
+ <br>
+ <b>{t}Validate schema when login into GOsa?{/t}</b>
+ </div>
+ <div class='step4_container'>
+ <div class='step4_name'>
+ {t}Enable schema validation{/t}
+ </div>
+ <div class='step4_value'>
+ <select name='enable_schema_check'>
+ {html_options options=$bool selected=$enable_schema_check}
+ </select>
+ </div>
+ <div class='step4_status'>
+ {t}Infos in FAQ{/t}
+ <img alt='!' class='center' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
+ </div>
+ </div>
+ <div style='float:left;' >
+ {if $failed_checks == 0}
+ <h2>{t}Schema check was completely successful{/t}</h2>
+ {else}
+ <h2><img src='images/warning.png' class='center'>
+ <font color='red'>{t}The schema check returned the following results{/t}</font></h2>
+ {/if}
+ <div style='float:left'>
+ {foreach from=$checks item=val key=key}
+ {if !$checks[$key].STATUS}
+ <br>
+ <b>{$key}</b>
+ {$checks[$key].INFO}
+ <br>
+ {if $checks[$key].IS_MUST_HAVE}
+ <i><font color='red'>{$checks[$key].MSG}</font></i>
+ {else}
+ <i><font color='orange'>{$checks[$key].MSG}</font></i>
+ {/if}
+ <br>
+ {/if}
+ {/foreach}
+ </div>
+</div>
+<input type='hidden' value='1' name='step7_posted'>
diff --git a/setup/setup_step2.tpl b/setup/setup_step2.tpl
--- a/setup/setup_step2.tpl
+++ /dev/null
@@ -1,192 +0,0 @@
-<!--
- Div container with PHP module checks
--->
-<div style='float:left;width:50%;'>
-
- <!-- Set content styles -->
- <div class='default' style='margin:10px;'>
-
- <!-- Beginning PHP module check output -->
- <h2 class='step2_container_title'>{t}PHP module and extension checks{/t}</h2>
- {foreach from=$basic item=val key=key}
-
- <!-- Entry {$key} -->
- {if $basic[$key].SOLUTION != "" && !$basic[$key].RESULT}
-
- <!-- Add ability to display info popup -->
- <div class='step2_entry_container_info'
- onMouseOver="javascript: display_solution('sol_{$key}');"
- onMouseOut="javascript: hide_solution('sol_{$key}');" >
- {else}
-
- <!-- Normal entry everything is fine -->
- <div class='step2_entry_container'>
- {/if}
-
- <div class='step2_entry_name'>{$basic[$key].NAME}</div>
- <div class='step2_entry_status'>
-
- {if $basic[$key].RESULT}
- <div class='step2_successful'>{t}Successful{/t}</div>
- {else}
- {if $basic[$key].MUST}
- <div class='step2_failed'>{t}Failed{/t}</div>
- {else}
- <div class='step2_warning'>{t}Failed{/t}</div>
- {/if}
- {if $basic[$key].SOLUTION != ""}
-
- <!-- Inforamtion popup -->
- <div class='solution_hidden' id='sol_{$key}'>
- {if $basic[$key].MUST}
- <div class='step2_failed_text'>
- <b>{t}GOsa will NOT run without fixing this.{/t}</b>
- {else}
- <div class="step2_warning_text" style="background-image: url('images/warning.png')">
- <i>{t}GOsa will run without fixing this.{/t}</i>
- {/if}
- <br>
- {$basic[$key].SOLUTION}
- </div>
- </div>
- {/if}
- {/if}
- </div>
- </div>
- {/foreach}
- </div>
-</div>
-
-
-<!--
- Div container with PHP config checks
--->
-<div style='width:50%; float:left;'>
-
- <!-- Set content styles -->
- <div class='default' style='margin:10px;'>
-
- <!-- Beginning PHP config check output -->
- <h2 class='step2_container_title'>{t}PHP setup configuration{/t}</h2>
-
- {foreach from=$config item=val key=key}
-
- <!-- Entry {$key} -->
- {if $config[$key].SOLUTION != "" && !$config[$key].RESULT}
-
- <!-- Add ability to display info popup -->
- <div class='step2_entry_container_info'
- onMouseOver="javascript: display_solution('sol_config_{$key}');"
- onMouseOut="javascript: hide_solution('sol_config_{$key}');" >
- {else}
-
- <!-- Normal entry everything is fine -->
- <div class='step2_entry_container'>
- {/if}
-
-
- <div class='step2_entry_name'>{$config[$key].NAME}</div>
- <div class='step2_entry_status'>
- {if $config[$key].RESULT}
- <div class='step2_successful'>{t}Successful{/t}</div>
- {else}
-
- {if $config[$key].MUST}
- <div class='step2_failed'>{t}Failed{/t}</div>
- {else}
- <div class='step2_warning'>{t}Failed{/t}</div>
- {/if}
-
- {if $config[$key].SOLUTION != ""}
-
- <!-- Inforamtion popup -->
- <div class='solution_hidden' id='sol_config_{$key}'>
- {if $config[$key].MUST}
- <div class='step2_failed_text'>
- <b>{t}GOsa will NOT run without fixing this.{/t}</b>
- {else}
- <div class='step2_warning_text' style="background-image: url('images/warning.png')">
- <i>{t}GOsa will run without fixing this.{/t}</i>
- {/if}
- <br>
- {$config[$key].SOLUTION}
- </div>
- </div>
- {/if}
- {/if}
- </div>
- </div>
- {/foreach}
-
-
-<!--
- Beginning PHP config check output
--->
- <h2 class='step2_container_title'>{t}Configuration file writeable{/t}</h2>
-
- {foreach from=$is_writeable item=val key=key}
-
- <!-- Entry {$key} -->
- {if $is_writeable[$key].SOLUTION != "" && !$is_writeable[$key].RESULT}
-
- <!-- Add ability to display info popup -->
- <div class='step2_entry_container_info'
- onMouseOver="javascript: display_solution('sol_is_writeable{$key}');"
- onMouseOut="javascript: hide_solution('sol_is_writeable{$key}');" >
- {else}
-
- <!-- Normal entry everything is fine -->
- <div class='step2_entry_container'>
- {/if}
-
-
- <div class='step2_entry_name'>{$is_writeable[$key].NAME}</div>
- <div class='step2_entry_status'>
- {if $is_writeable[$key].RESULT}
- <div class='step2_successful'>{t}Successful{/t}</div>
- {else}
-
- {if $is_writeable[$key].MUST}
- <div class='step2_failed'>{t}Failed{/t}</div>
- {else}
- <div class='step2_warning'>{t}Failed{/t}</div>
- {/if}
-
- {if $is_writeable[$key].SOLUTION != ""}
-
- <!-- Inforamtion popup -->
- <div class='solution_hidden' id='sol_is_writeable{$key}'>
- {if $is_writeable[$key].MUST}
- <div class='step2_failed_text'>
- <b>{t}GOsa will NOT run without fixing this.{/t}</b>
- {else}
- <div class='step2_warning_text' style="background-image: url('images/warning.png')">
- <i>{t}GOsa will run without fixing this.{/t}</i>
- {/if}
- <br>
- {$is_writeable[$key].SOLUTION}
- </div>
- </div>
- {/if}
- {/if}
- </div>
- </div>
- {/foreach}
-
-
-
- </div>
-</div>
-<script type="text/javascript">
-{literal}
- function display_solution(str){
- obj = document.getElementById(str);
- obj.className='solution_visible';
- }
- function hide_solution(str){
- obj = document.getElementById(str);
- obj.className='solution_hidden';
- }
-
-{/literal}
-</script>
diff --git a/setup/setup_step4.tpl b/setup/setup_step4.tpl
--- a/setup/setup_step4.tpl
+++ /dev/null
@@ -1,129 +0,0 @@
-
-<h2>{t}ldap connection{/t}</h2>
-
-<div style='width:100%;'>
-{t}Please enter the server URI to allow the GOsa setup to connect your LDAP server (Example: ldap://your.server:389).{/t}
-<br>
-{t}Use the 'Test' button to try to connect with the given values. The status will be shown on the bottom of the page.{/t}
-<br>
-
-</div>
-<div class='default' style='margin:12px; '>
-<div style=';float:left;width:100%;'>
-
- {if $resolve_user}
-
- <div style='float:left; width:100%;margin-bottom:20px;border: solid 1px #CCC;'>
- <input type='text' value='{$resolve_filter}' name='resolve_filter'>
- <input type='submit' value='{t}Search{/t}' name='resolve_search'>
- <input type='submit' value='{t}Use selected user{/t}' name='use_selected_user'>
- <input type='submit' value='{t}Cancel{/t}' name='resolve_user'>
- <select name='admin_to_use' size=6 style="width:100%;background-color:#DDD;">
- {html_options options=$resolved_users selected=$admin}
- </select>
- </div>
-
- {else}
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Location description{/t}
- </div>
- <div class='step4_value'>
- <input type='text' name='location' maxlength='80' size='25' value='{$location}' style='width:100%;'>
- </div>
- <div class='step4_status'>
-
- </div>
- </div>
- <div class='step4_container'>
- <div class='step4_name'>
- <div style='vertical-align:middle;height:100%;'>{t}Connection url{/t}</div>
- </div>
- <div class='step4_value'>
- <input type='text' name='connection' maxlength='80' size='25' value='{$connection}' style='width:100%;'>
- </div>
- <div class='step4_status'>
- <input type='submit' value='{t}Test{/t}' style='width:100%;'>
- </div>
- </div>
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Base{/t}
- </div>
- <div class='step4_value'>
- {if $namingContextsCount >= 1}
- <select name='base' style='width:100%;'>
- {html_options values=$namingContexts output=$namingContexts selected=$base}
- </select>
- {else}
- <input type='text' name='base' maxlength='80' size='40' value='{$base}' style='width:100%;'>
- {/if}
- </div>
- <div class='step4_status'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Admin DN{/t}
- </div>
- <div class='step4_value'>
- <input type='text' name='admin' maxlength='160' size='40' value='{$admin}' style='width:100%;'>
- </div>
- <div class='step4_status'>
- {if $resolve_user}
- <input type='submit' name='resolve_user' value='{t}Cancel{/t}' style='width:100%;' >
- {else}
- <input type='submit' name='resolve_user' value='{t}Select user{/t}' style='width:100%;' >
- {/if}
- </div>
- </div>
-
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Admin password{/t}
- </div>
- <div class='step4_value'>
- <input type='password' name='password' maxlength='20' size='20' value='{$password}' style='width:100%;'>
- </div>
- <div class='step4_status'>
- </div>
- </div>
- <div class='step4_container'>
- <div class='step4_name'>
- </div>
- <div class='step4_value'>
- </div>
- <div class='step4_status'>
- <input type='submit' value='{t}Try connect{/t}' style='width:100%;'>
- </div>
- </div>
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Use tls connection{/t}
- </div>
- <div class='step4_value'>
- <select name="tls" size="1" title="">
- {html_options options=$bool selected=$tls}
- </select>
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
- {/if}
- <div class='step4_container' style='height:45px;'>
- <div class='step4_name' style='height:45px;'>
- {t}Status{/t}
- </div>
- <div class='step4_value' style='height:45px;'>
- {$connection_status}
- </div>
- <div class='step4_status' style='height:45px;'>
- </div>
- </div>
-</div>
-</div>
diff --git a/setup/setup_step5.tpl b/setup/setup_step5.tpl
--- a/setup/setup_step5.tpl
+++ /dev/null
@@ -1,244 +0,0 @@
-
-{if $warnings_cnt}
-<b><font style='color:red' >Errors:</font></b>
-{foreach from=$warnings item=val key=key}
- <br>
- <font style='color:red' >{$val}</font>
-{/foreach}
-{/if}
-
-<div class='default' style='margin:12px; '>
- <div style='float:left; '>
- <br>
- <b>{t}GOsa settings{/t}</b>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}GOsa theme{/t}
- </div>
- <div class='step4_value'>
- <select name="theme">
- {html_options options=$themes selected=$theme}
- </select>
- </div>
- <div class='step4_status'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}People dn attribute{/t}
- </div>
- <div class='step4_value'>
- <select size="1" name="peopledn">
- {html_options values=$peopledns output=$peopledns selected=$peopledn}
- </select>
- </div>
- <div class='step4_status'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}People storage ou{/t}
- </div>
- <div class='step4_value'>
- <input type='text' name='peopleou' maxlength='40' size='20' value='{$peopleou}'>
- </div>
- <div class='step4_status'>
- </div>
- </div>
-
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Group storage ou{/t}
- </div>
- <div class='step4_value'>
- <input type='text' name='groupou' maxlength='40' size='20' value='{$groupou}'>
- </div>
- <div class='step4_status'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}ID base for users/groups{/t}
- </div>
- <div class='step4_value'>
- <input type='text' name='uidbase' maxlength='20' size='10' value='{$uidbase}'>
- </div>
- <div class='step4_status'>
- </div>
- </div>
-
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Base hook{/t}
- </div>
- <div class='step4_value'>
- {if $base_hook_active == FALSE}
- <input type='checkbox' value='1' name='base_hook_active'
- onClick='changeState("base_hook");'>
- <input style='width:90%' id='base_hook' name='base_hook' type='text' value='{$base_hook}' disabled>
- {else}
- <input type='checkbox' value='1' name='base_hook_active' checked>
- <input style='width:90%' id='base_hook' name='base_hook' type='text' value='{$base_hook}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Display PHP errors{/t}
- </div>
- <div class='step4_value'>
- <select name="errorlvl" size="1" title="">
- {html_options options=$bool selected=$errorlvl}
- </select>
- </div>
- <div class='step4_status'>
- </div>
- </div>
- <div style='float:left;'>
- <br>
- <b>{t}Password settings{/t}</b>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Password encryption algorithm{/t}
- </div>
- <div class='step4_value'>
- <select name="encryption" size="1" title="">
- {html_options options=$crypt_methods selected=$encryption}
- </select>
- </div>
- <div class='step4_status'>
- </div>
- </div>
-
- <div class='step4_container' style='height:4em;'>
- <div class='step4_name' style='height:4em;'>
- {t}Password restrictions{/t}
- </div>
- <div class='step4_value' style='height:4em;'>
-
- {if $pwd_rules.pwminlen_active == FALSE}
- <input type='checkbox' value='1' name='pwminlen_active'
- onClick='changeState("pwminlen");'>
- {t}Password minimum length{/t}
- <input id='pwminlen' name='pwminlen' type='text' value='{$pwd_rules.pwminlen}' size=3 disabled>
- {else}
- <input type='checkbox' value='1' name='pwminlen_active' checked>
- {t}Password minimum length{/t}
- <input id='pwminlen' name='pwminlen' type='text' value='{$pwd_rules.pwminlen}' size=3 >
- {/if}
- <br>
- {if $pwd_rules.pwdiffer_active == FALSE}
- <input type='checkbox' value='1' name='pwdiffer_active'
- onClick='changeState("pwdiffer");'>
- {t}Different characters from old password{/t}
- <input id='pwdiffer' name='pwdiffer' type='text' value='{$pwd_rules.pwdiffer}' size=3 disabled>
- {else}
- <input type='checkbox' value='1' name='pwdiffer_active' checked>
- {t}Different characters from old password{/t}
- <input id='pwdiffer' name='pwdiffer' type='text' value='{$pwd_rules.pwdiffer}' size=3 >
- {/if}
-
- </div>
- <div class='step4_status' style='height:4em;'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}External script{/t}
- </div>
- <div class='step4_value'>
- {if $pwd_rules.externalpwdhook_active == FALSE}
- <input type='checkbox' value='1' name='externalpwdhook_active'
- onClick='changeState("externalpwdhook");'>
- <input style='width:90%' id='externalpwdhook' name='externalpwdhook' type='text' value='{$pwd_rules.externalpwdhook}' disabled>
- {else}
- <input type='checkbox' value='1' name='externalpwdhook_active' checked>
- <input style='width:90%' id='externalpwdhook' name='externalpwdhook' type='text' value='{$pwd_rules.externalpwdhook}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div style='float:left; '>
- <br>
- <b>{t}Mail settings{/t}</b>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Mail method{/t}
- </div>
- <div class='step4_value'>
- <select name="mail" size="1" title="">
- <option value="disabled">{t}disabled{/t}</option>
- {html_options options=$mail_methods selected=$mail}
- </select>
- </div>
- <div class='step4_status'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Vacation templates{/t}
- </div>
- <div class='step4_value'>
- {if $mail_settings.vacationdir_active == FALSE}
- <input type='checkbox' value='1' name='vacationdir_active'
- onClick='changeState("vacationdir");'>
- <input style='width:90%' id='vacationdir' name='vacationdir' type='text' value='{$mail_settings.vacationdir}' disabled>
- {else}
- <input type='checkbox' value='1' name='vacationdir_active' checked>
- <input style='width:90%' id='vacationdir' name='vacationdir' type='text' value='{$mail_settings.vacationdir}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Use cyrus account style{/t}
- </div>
- <div class='step4_value'>
- <select name="cyrusunixstyle" size="1" title="">
- {html_options options=$bool selected=$cyrusunixstyle}
- </select>
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-</div>
-
-<input type='hidden' value='1' name='step5_posted'>
-<!--
- {t}GOsa supports several encryption types for your passwords. Normally this is adjustable via user templates, but you can specify a default method to be used here, too.{/t}
- {t}GOsa always acts as admin and manages access rights internally. This is a workaround till OpenLDAP's in directory ACI's are fully implemented. For this to work, we need the admin DN and the corresponding password.{/t}
- {t}Some basic LDAP parameters are tunable and affect the locations where GOsa saves people and groups, including the way accounts get created. Check the values below if the fit your needs.{/t}
- {t}GOsa has modular support for several mail methods. These methods provide interfaces to users mailboxes and general handling for quotas. You can choose the dummy plugin to leave all your mail settings untouched.{/t}-->
-
diff --git a/setup/setup_step6.tpl b/setup/setup_step6.tpl
--- a/setup/setup_step6.tpl
+++ /dev/null
@@ -1,250 +0,0 @@
-
-{if $warnings_cnt}
-<b><font style='color:red' >Errors:</font></b>
-{foreach from=$warnings item=val key=key}
- <br>
- <font style='color:red' >{$val}</font>
-{/foreach}
-{/if}
-<div class='default' style='margin:12px; '>
- <div style='float:left; width:600px;'>
- <br>
- <b>{t}Samba settings{/t}</b>
- </div>
-
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Samba SID{/t}
- </div>
- <div class='step4_value'>
- {if $samba_settings.samba_sid_active == FALSE}
- <input type='checkbox' value='1' name='samba_sid_active'
- onClick='changeState("samba_sid");'>
- <input style='width:90%' id='samba_sid' name='samba_sid' type='text' value='{$samba_settings.samba_sid}' disabled>
- {else}
- <input type='checkbox' value='1' name='samba_sid_active' checked>
- <input style='width:90%' id='samba_sid' name='samba_sid' type='text' value='{$samba_settings.samba_sid}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}RID base{/t}
- </div>
- <div class='step4_value'>
- {if $samba_settings.samba_rid_active == FALSE}
- <input type='checkbox' value='1' name='samba_rid_active'
- onClick='changeState("samba_rid");'>
- <input style='width:90%' id='samba_rid' name='samba_rid' type='text' value='{$samba_settings.samba_rid}' disabled>
- {else}
- <input type='checkbox' value='1' name='samba_rid_active' checked>
- <input style='width:90%' id='samba_rid' name='samba_rid' type='text' value='{$samba_settings.samba_rid}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Samba SID mapping{/t}
- </div>
- <div class='step4_value'>
- <select name="sambaidmapping" size="1" title="">
- {html_options options=$bool selected=$sambaidmapping}
- </select>
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
- <div style='float:left; width:600px;'>
- <br>
- <b>{t}Additional GOsa settings{/t}</b>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Windows workstation ou{/t}
- </div>
- <div class='step4_value'>
- {if $generic_settings.wws_ou_active == FALSE}
- <input type='checkbox' value='1' name='wws_ou_active'
- onClick='changeState("wws_ou");'>
- <input style='width:90%' id='wws_ou' name='wws_ou' type='text' value='{$generic_settings.wws_ou}' disabled>
- {else}
- <input type='checkbox' value='1' name='wws_ou_active' checked>
- <input style='width:90%' id='wws_ou' name='wws_ou' type='text' value='{$generic_settings.wws_ou}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}GID / UID min id{/t}
- </div>
- <div class='step4_value'>
- {if $generic_settings.minid_active == FALSE}
- <input type='checkbox' value='1' name='minid_active'
- onClick='changeState("minid");'>
- <input style='width:90%' id='minid' name='minid' type='text' value='{$generic_settings.minid}' disabled>
- {else}
- <input type='checkbox' value='1' name='minid_active' checked>
- <input style='width:90%' id='minid' name='minid' type='text' value='{$generic_settings.minid}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Strict units{/t}
- </div>
- <div class='step4_value'>
- <select name="strict" size="1" title="">
- {html_options options=$bool selected=$strict}
- </select>
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Government mode{/t}
- </div>
- <div class='step4_value'>
- <select name="governmentmode" size="1" title="">
- {html_options options=$bool selected=$governmentmode}
- </select>
- </div>
- <div class='step4_status'>
- </div>
- </div>
-
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Automatic uids{/t}
- </div>
- <div class='step4_value'>
- {if $generic_settings.idgen_active == FALSE}
- <input type='checkbox' value='1' name='idgen_active'
- onClick='changeState("idgen");'>
- <input style='width:90%' id='idgen' name='idgen' type='text' value='{$generic_settings.idgen}' disabled>
- {else}
- <input type='checkbox' value='1' name='idgen_active' checked>
- <input style='width:90%' id='idgen' name='idgen' type='text' value='{$generic_settings.idgen}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Use account expiration{/t}
- </div>
- <div class='step4_value'>
- <select name="account_expiration" size="1" title="">
- {html_options options=$bool selected=$account_expiration}
- </select>
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
- <div class='step4_container' style='height:12em;'>
- <div class='step4_name' style='height:12em;'>
- {t}Enable snapshot functionality{/t}
- </div>
- <div class='step4_value' style='height:12em;'>
- {if $generic_settings.snapshot_active == FALSE}
- <input type='checkbox' value='1' name='snapshot_active'
- onClick='
- changeState("snapshot_base");
- changeState("snapshot_ldap_base");
- changeState("snapshot_server");
- changeState("snapshot_user");
- changeState("snapshot_password");'>{t}Enable{/t}<br>
- <div style='float:left;width:120px;'>
- {t}Snapshot base{/t}
- </div>
- <input style='width:220' id='snapshot_base' name='snapshot_base'
- type='text' value='{$generic_settings.snapshot_base}' disabled><br>
- <div style='float:left;width:120px;'>
- {t}Ldap base{/t}
- </div>
- <input style='width:220' id='snapshot_ldap_base' name='snapshot_ldap_base'
- type='text' value='{$generic_settings.snapshot_ldap_base}' disabled><br>
- <div style='float:left;width:120px;'>
- {t}Server{/t}
- </div>
- <input style='width:220' id='snapshot_server' name='snapshot_server'
- type='text' value='{$generic_settings.snapshot_server}' disabled><br>
- <div style='float:left;width:120px;'>
- {t}User{/t}
- </div>
- <input style='width:220' id='snapshot_user' name='snapshot_user'
- type='text' value='{$generic_settings.snapshot_user}' disabled><br>
- <div style='float:left;width:120px;'>
- {t}Password{/t}
- </div>
- <input style='width:220' id='snapshot_password' name='snapshot_password'
- type='password' value='{$generic_settings.snapshot_password}' disabled>
- {else}
- <input type='checkbox' value='1' name='snapshot_active' checked>{t}Enable{/t}<br>
- <div style='float:left;width:120px;'>
- {t}Snapshot base{/t}
- </div>
- <input style='width:220' id='snapshot_base' name='snapshot_base'
- type='text' value='{$generic_settings.snapshot_base}'><br>
- <div style='float:left;width:120px;'>
- {t}Ldap base{/t}
- </div>
- <input style='width:220' id='snapshot_ldap_base' name='snapshot_ldap_base'
- type='text' value='{$generic_settings.snapshot_ldap_base}'><br>
- <div style='float:left;width:120px;'>
- {t}Server{/t}
- </div>
- <input style='width:220' id='snapshot_server' name='snapshot_server'
- type='text' value='{$generic_settings.snapshot_server}'><br>
- <div style='float:left;width:120px;'>
- {t}User{/t}
- </div>
- <input style='width:220' id='snapshot_user' name='snapshot_user'
- type='text' value='{$generic_settings.snapshot_user}'><br>
- <div style='float:left;width:120px;'>
- {t}Password{/t}
- </div>
- <input style='width:220;' id='snapshot_password' name='snapshot_password'
- type='password' value='{$generic_settings.snapshot_password}'>
- {/if}
- </div>
- <div class='step4_status' style='height:12em;'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-</div>
-
-<input type='hidden' value='1' name='step6_posted'>
diff --git a/setup/setup_step6a.tpl b/setup/setup_step6a.tpl
--- a/setup/setup_step6a.tpl
+++ /dev/null
@@ -1,275 +0,0 @@
-
-{if $warnings_cnt}
-<b><font style='color:red' >Errors:</font></b>
-{foreach from=$warnings item=val key=key}
- <br>
- <font style='color:red' >{$val}</font>
-{/foreach}
-{/if}
-
-<div class='default' style='margin:12px; '>
- <div style='float:left; '>
- <br>
- <b>{t}Optional settings{/t}</b>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Enable Copy & Paste{/t}
- </div>
- <div class='step4_value'>
-
- <select name="enableCopyPaste" size="1" title="">
- {html_options options=$bool selected=$optional.enableCopyPaste}
- </select>
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Disable primary group filter{/t}
- </div>
- <div class='step4_value'>
-
- <select name="noprimarygroup" size="1" title="">
- {html_options options=$bool selected=$optional.noprimarygroup}
- </select>
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <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 class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </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 class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </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 class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}PPd path{/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>
- {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}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Network resolv hook{/t}
- </div>
- <div class='step4_value'>
- {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'
- 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'
- value='{$optional.auto_network_hook}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Mail queue script path{/t}
- </div>
- <div class='step4_value'>
- {if $optional.mailQueueScriptPath_active == FALSE}
- <input type='checkbox' value='1' name='mailQueueScriptPath_active'
- onClick='changeState("mailQueueScriptPath");'>
- <input style='width:90%' 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'
- value='{$optional.mailQueueScriptPath}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Notification path{/t}
- </div>
- <div class='step4_value'>
- {if $optional.notifydir_active == FALSE}
- <input type='checkbox' value='1' name='notifydir_active'
- onClick='changeState("notifydir");'>
- <input style='width:90%' 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'
- type='text' value='{$optional.notifydir}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Smarty compile directory{/t}
- </div>
- <div class='step4_value'>
- <input style='width:90%' id='compile' name='compile'
- type='text' value='{$optional.compile}'>
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container' style='height:5em;'>
- <div class='step4_name' style='height:5em;'>
- {t}SMB hash{/t}
- </div>
- <div class='step4_value' style='height:5em;'>
- <input {if $optional.smbhash == "/usr/bin/mkntpasswd"} checked {/if}
- type='radio' name='smbhash' value='/usr/bin/mkntpasswd'>
- /usr/bin/mkntpasswd<br>
- <input {if $optional.smbhash == "mkntpwd"} checked {/if}
- type='radio' name='smbhash' value='mkntpwd'>
- mkntpwd<br>
- <input {if $optional.smbhash == 'perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen \$ARGV[0]), $/;"'} checked {/if}
- type='radio' name='smbhash' value='perl -MCrypt::SmbHash -e "print join(q[:], ntlmgen \$ARGV[0]), $/;"'>
- perl -MCrypt::SmbHash ...
- </div>
- <div class='step4_status' style='height:5em;'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Session lifetime{/t}
- </div>
- <div class='step4_value'>
- <input style='width:90%' id='session_lifetime' name='session_lifetime'
- type='text' value='{$optional.session_lifetime}'>
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Maximal 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'
- 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'
- type='text' value='{$optional.max_ldap_query_time}' >
- {/if}
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Debuglevel{/t}
- </div>
- <div class='step4_value'>
- <select name='debuglevel'>
- {if $optional.debuglevel == 0}
- <option value='0' selected>0 {t}Disabled{/t}</option>
- <option value='1'>1 {t}Enabled{/t}</option>
- {else}
- <option value='0'>0 {t}Disabled{/t}</option>
- <option value='1' selected>1 {t}Enabled{/t}</option>
- {/if}
- </select>
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img class='center' alt='!' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
-</div>
-
-<input type='hidden' value='1' name='step6a_posted'>
diff --git a/setup/setup_step7.tpl b/setup/setup_step7.tpl
--- a/setup/setup_step7.tpl
+++ /dev/null
@@ -1,44 +0,0 @@
-<div class='default' style='margin:12px; '>
- <div style='float:left; '>
- <br>
- <b>{t}Validate schema when login into GOsa?{/t}</b>
- </div>
- <div class='step4_container'>
- <div class='step4_name'>
- {t}Enable schema validation{/t}
- </div>
- <div class='step4_value'>
- <select name='enable_schema_check'>
- {html_options options=$bool selected=$enable_schema_check}
- </select>
- </div>
- <div class='step4_status'>
- {t}Infos in FAQ{/t}
- <img alt='!' class='center' src='images/info_small.png' title='{t}Please read the FAQ for more informations{/t}'>
- </div>
- </div>
- <div style='float:left;' >
- {if $failed_checks == 0}
- <h2>{t}Schema check was completely successful{/t}</h2>
- {else}
- <h2><img src='images/warning.png' class='center'>
- <font color='red'>{t}The schema check returned the following results{/t}</font></h2>
- {/if}
- <div style='float:left'>
- {foreach from=$checks item=val key=key}
- {if !$checks[$key].STATUS}
- <br>
- <b>{$key}</b>
- {$checks[$key].INFO}
- <br>
- {if $checks[$key].IS_MUST_HAVE}
- <i><font color='red'>{$checks[$key].MSG}</font></i>
- {else}
- <i><font color='orange'>{$checks[$key].MSG}</font></i>
- {/if}
- <br>
- {/if}
- {/foreach}
- </div>
-</div>
-<input type='hidden' value='1' name='step7_posted'>
diff --git a/setup/setup_step8.tpl b/setup/setup_step8.tpl
--- a/setup/setup_step8.tpl
+++ /dev/null
@@ -1,77 +0,0 @@
-<div class='default' style='margin:12px;' >
-<div style='float:left;'>
-
-<h2>{t}Configuration File{/t}</h2>
- <p>
- {t}GOsa setup has collected all data needed to create an initial configuration file.{/t}
- </p>
- <p>
- {$msg1}
- </p>
- <p>
- <b>{t}Automatically write configuration{/t}</b>
- </p>
- <p>
- {if $writeable}
- {t}Write configuration file{/t}
- <input type='submit' name='saveconf' value='{t}Save configuration{/t}'>
-
- {if $exists}
- <br>
- <input type='hidden' name='create_backup_visible' value='1'>
- <input {if $create_backup} checked {/if} type='checkbox' value='1' name='create_backup'>
- {t}Create a backup from existing configuration file{/t}
- {/if}
-
- {if $err_msg != ""}
- <div style='color:red ; font-weight:bold '>{$err_msg}</div>
- {else}
- {if $save_requested}
- <div style='color:green ; font-weight:bold '>{t}Configuration succesfully written.{/t}</div>
- {/if}
- {/if}
-
- {if $last_backup_name}
- <br>
- <div style='padding-left:20px;'>{t}Last created backup{/t}: <i>{$last_backup_name}</i></div>
- <br>
- {/if}
-
-
-
- {if $exists}
- <br>
- <br>
- <b>{t}Use GOsa with current configuration file{/t}</b>
- <br>
- <input type='submit' name='use_gosa' value='{t}Use GOsa now{/t}'>
- {/if}
- {else}
- <div style='font-weight: bold; color: red;'>{t}Can't write configuration file, please check permissions.{/t}</div>
- <pre>
-{$msg_permissions}
- {$CONFIG_DIR}
- {$CONFIG_DIR}/{$CONFIG_FILE}
- </pre>
- {/if}
- <br>
- <p>
- <b>{t}Manually create configuration file{/t}</b>
- </p>
- <p>
- {t}Download the configuration file{/t}
- <input type='submit' name='getconf' value='{t}Download configuration{/t}'>
- </p>
- <p>
- {$msg2}
- </p>
- <pre>
- # chown root.{$webgroup} {$CONFIG_DIR}/{$CONFIG_FILE}
- # chmod 640 {$CONFIG_DIR}/{$CONFIG_FILE}
- </pre>
-
-
-
-</div>
-</div>
-<input type='hidden' value='1' name='step8_posted'>