From: quix0r 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=fcdeb5ef528a82018785895cd0227b0869a4fd13;hp=083009f6fc3d6cb8156ecd955e518a3d8067fe12;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 .= '