]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-config_mediadata.php
Naming convention applied to language strings, new API function added:
[mailer.git] / inc / modules / admin / what-config_mediadata.php
index dbacb56b841fe94cde72c7e0bdf8ad57eb3d69c2..7a5b8f423a6fb5d0a1b046e5e09fd857ffdc8433 100644 (file)
@@ -66,8 +66,8 @@ if (isFormSent()) {
        if (postRequestParameter('mt_stage') <= getTotalConfirmedUser()) {
                // Not enougth!
                unsetPostRequestParameter('ok');
-       }
-}
+       } // END - if
+} // END - if
 
 if (isFormSent()) {
        // Save data
@@ -80,8 +80,8 @@ if (isFormSent()) {
        } else {
                // Make start editable
                $content['mt_start'] =
-                       addSelectionBox('day'  , date('d', time())).
-                       addSelectionBox('month', date('m', time())).
+                       addSelectionBox('day'  , getDay()).
+                       addSelectionBox('month', getMonth()).
                        addSelectionBox('year',  -1)
                ;
        }