|
...
|
...
|
@@ -49,32 +49,32 @@ else {
|
|
49
|
49
|
$lostpassword_notify = isset($tmp['lostpassword_notify']) ? $tmp['lostpassword_notify'] : "";
|
|
50
|
50
|
$registration_toemail = isset($tmp['registration_toemail']) ? $tmp['registration_toemail'] : "";
|
|
51
|
51
|
|
|
52
|
|
- $output .= "<div id=\"settingsform\" style=\"width: 99%\">
|
|
53
|
|
- <form method=\"POST\" style=\"margin: 1em auto;\" enctype=\"multipart/form-data\"
|
|
54
|
|
- action=\"admin.php?action=modules&admin=true&module=notifications\">";
|
|
|
52
|
+ $output .=
|
|
|
53
|
+ "<div id=\"settingsform\" style=\"width: 99%\">
|
|
|
54
|
+ <form method=\"POST\" style=\"margin: 1em auto;\" enctype=\"multipart/form-data\" action=\"admin.php?action=modules&admin=true&module=notifications\">";
|
|
55
|
55
|
$output .= "<div style='margin-bottom: 1em'>
|
|
56
|
|
- <label for=\"notifications[registration_notify]\">". _REGISTRATION_NOTIFY. ": </label>
|
|
57
|
|
- <select name=\"notifications[registration_notify]\">
|
|
58
|
|
- <option value=\"1\"".($registration_notify == "1" ? " selected" : "").">"._YES."</option>
|
|
59
|
|
- <option value=\"0\"".($registration_notify == "0" ? " selected" : "").">"._NO. "</option>
|
|
60
|
|
- </select></div>
|
|
61
|
|
- <div style='margin-bottom: 1em'>
|
|
62
|
|
- <label for=\"notifications[lostpassword_notify]\">" . _LOST_PASWORD_NOTIFY . ": </label>
|
|
63
|
|
- <select name=\"notifications[lostpassword_notify]\">
|
|
64
|
|
- <option value=\"1\"" . ($lostpassword_notify == "1" ? " selected" : "") . ">" . _YES . "</option>
|
|
65
|
|
- <option value=\"0\"" . ($lostpassword_notify == "0" ? " selected" : "") . ">" . _NO . "</option>
|
|
66
|
|
- </select></div>
|
|
67
|
|
- <div style='margin-bottom: 1em'>
|
|
68
|
|
- <label for=\"notifications[registration_toemail]\">". _REGISTRATION_TOEMAIL.":</label>
|
|
69
|
|
- <input type=\"text\" class=\"textbox\" id=\"registration_toemail\" maxlength=\"250\"
|
|
70
|
|
- name=\"notifications[registration_toemail]\" size=\"80\" value=\"" . $registration_toemail . "\"></div>
|
|
71
|
|
-
|
|
72
|
|
- </div>";
|
|
|
56
|
+ <label for=\"notifications[registration_notify]\">". _REGISTRATION_NOTIFY. ": </label>
|
|
|
57
|
+ <select name=\"notifications[registration_notify]\">
|
|
|
58
|
+ <option value=\"1\"".($registration_notify == "1" ? " selected" : "").">"._YES."</option>
|
|
|
59
|
+ <option value=\"0\"".($registration_notify == "0" ? " selected" : "").">"._NO. "</option>
|
|
|
60
|
+ </select>
|
|
|
61
|
+ </div>
|
|
|
62
|
+ <div style='margin-bottom: 1em'>
|
|
|
63
|
+ <label for=\"notifications[lostpassword_notify]\">" . _LOST_PASWORD_NOTIFY . ": </label>
|
|
|
64
|
+ <select name=\"notifications[lostpassword_notify]\">
|
|
|
65
|
+ <option value=\"1\"" . ($lostpassword_notify == "1" ? " selected" : "") . ">" . _YES . "</option>
|
|
|
66
|
+ <option value=\"0\"" . ($lostpassword_notify == "0" ? " selected" : "") . ">" . _NO . "</option>
|
|
|
67
|
+ </select>
|
|
|
68
|
+ </div>
|
|
|
69
|
+ <div style='margin-bottom: 1em'>
|
|
|
70
|
+ <label for=\"notifications[registration_toemail]\">". _REGISTRATION_TOEMAIL.":</label>
|
|
|
71
|
+ <input type=\"text\" class=\"textbox\" id=\"registration_toemail\" maxlength=\"250\" name=\"notifications[registration_toemail]\" size=\"80\" value=\"" . $registration_toemail . "\">
|
|
|
72
|
+ </div>";
|
|
73
|
73
|
$output .= "<div id='submitdiv'>
|
|
74
|
|
- <INPUT type=\"submit\" id=\"submit\" class=\"button\" name=\"submit\" value=\""._SUBMIT."\">
|
|
|
74
|
+ <input type=\"submit\" id=\"submit\" class=\"button\" name=\"submit\" value=\""._SUBMIT."\">
|
|
75
|
75
|
</div>
|
|
76
|
76
|
</form>
|
|
77
|
|
- </div>";
|
|
|
77
|
+ </div>";
|
|
78
|
78
|
|
|
79
|
79
|
}
|
|
80
|
80
|
?>
|