]> git.mxchange.org Git - mailer.git/commitdiff
More renaming of name='ok' to something else (better to separate them out)
authorRoland Häder <roland@mxchange.org>
Sat, 24 Nov 2012 23:52:34 +0000 (23:52 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 24 Nov 2012 23:52:34 +0000 (23:52 +0000)
inc/modules/admin.php
templates/de/html/admin/admin_config_
templates/de/html/admin/admin_reg_form.tpl

index a9f9405431c756b8150719cd0ad679a7f5aca739..69dc30b7c0d870dff917777cd8c67f08c4f26e3b 100644 (file)
@@ -128,7 +128,7 @@ if (!isAdminRegistered()) {
                $content['error_message'] = '';
 
                // Yet-another notice-fix
-               if ((isFormSent()) && (postRequestElement('ok') == '***')) {
+               if ((isFormSent('add_first_admin')) && (postRequestElement('ok') == '***')) {
                        // Init variables
                        $loginMessage = '';
                        $pass1Message = '';
index c876f1cd11ddb7efd41b67a68bc36de51919deb3..73029783768a3572cf5810b3fea2c29973f6d487 100644 (file)
@@ -18,7 +18,7 @@
 
        <div class="table_footer top">
                <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-               <input type="submit" class="form_submit" name="ok" value="{--SAVE_SETTINGS--}" />
+               <input type="submit" class="form_submit" name="save_config" value="{--SAVE_SETTINGS--}" />
        </div>
 </div>
 {%form_close%}
index b961107b05512d892fef5ced6c8a75457be66987..0a2352dec710d6958511a903bcd68a7a286bcb90 100644 (file)
@@ -31,7 +31,7 @@
        <tr>
                <td align="center" colspan="2" class="table_footer top">
                        <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
-                       <input type="submit" class="form_submit" name="ok" value="{--ADMIN_ACCOUNT_FIRST_CREATION_SUBMIT--}" />
+                       <input type="submit" class="form_submit" name="add_first_admin" value="{--ADMIN_ACCOUNT_FIRST_CREATION_SUBMIT--}" />
                </td>
        </tr>
 </table>