summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3a4dfa4)
raw | patch | inline | side by side (parent: 3a4dfa4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 31 May 2005 11:26:20 +0000 (11:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 31 May 2005 11:26:20 +0000 (11:26 +0000) |
ihtml/themes/default/setup_step4.tpl | patch | blob | history | |
include/setup_checks.inc | patch | blob | history |
index 194b40cd4e332bc2c6144d2dc0e1660618032b4d..8c3303be3a6b78ae72bdb48d2d47c74489e59164 100644 (file)
<td>{t}Mail method{/t}</td>
<td>
<select name="mail" size="1" title="">
- {html_options options=$mail_methods selected=$mail}
+ <option name="mail" value="disabled">{t}disabled{/t}</option>
+ {html_options options=$mail_methods selected=$mail}
</select>
</tr>
</table>
index 4e580256da781cbe58985b38c2e40826f8177e8c..91b45e51391682603b65116169f77c8650a28e7d 100644 (file)
--- a/include/setup_checks.inc
+++ b/include/setup_checks.inc
function parse_contrib_conf()
{
+
$str = "";
$used_samba_version = 0;
$query = "";
$replacements['{CRYPT}'] = $ldapconf['arr_cryptkeys'][$ldapconf['arr_crypts']];
$replacements['{SID}\n'] = "";
$replacements['{RIDBASE}\n'] = "";
- $replacements['{MAILMETHOD}'] = $ldapconf['mail_methods'][$ldapconf['mail']];
+ if($ldapconf['mail'] == "disabled")
+ $replacements['{MAILMETHOD}'] = "";
+ else
+ $replacements['{MAILMETHOD}'] = $ldapconf['mail_methods'][$ldapconf['mail']];
+ if($ldapconf['mail'] == "disabled")
$replacements['{SMBHASH}'] = $pwdhash;
$replacements['{GOVERNMENTMODE}']= "false";
$replacements['{kolabAccount}'] = "";