From: Roland Häder Date: Thu, 17 Jan 2013 01:39:24 +0000 (+0000) Subject: Use numeric months with zero instead of 'translated' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=62578cb8cec89e285b8e10cf064cd7409d4134c0;p=mailer.git Use numeric months with zero instead of 'translated' --- diff --git a/inc/template-functions.php b/inc/template-functions.php index 3bd31a9dc4..8c749ab3a0 100644 --- a/inc/template-functions.php +++ b/inc/template-functions.php @@ -829,6 +829,14 @@ function addSelectionBox ($type, $default, $prefix = '', $id = NULL, $class = 'f } // END - for break; + case 'mn': // Months, numeric + for ($idx = 0; $idx <= 12; $idx++) { + $OUT .= ''; } // END - for break; case 'ho': // Hours - for ($idx = 0; $idx < 24; $idx++) { + for ($idx = 0; $idx <= 23; $idx++) { if (strlen($idx) == 1) $idx = 0 . $idx; $OUT .= '