1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-28 00:30:09 +02:00

Removed Months and Days from language files. Replaced with strftime() functions. New 'terms' method added to Date handler.

eg. e107::getDate()->terms('month'); returns an array of month names in the current language.
This commit is contained in:
Cameron
2014-06-02 17:07:02 -07:00
parent ac4b3a5fdc
commit c65359e444
6 changed files with 69 additions and 33 deletions

View File

@@ -34,7 +34,11 @@ if(false === $cached)
// initialization + fetch options
// ------------------------------
$prefix = e_PLUGIN_ABS."blogcalendar_menu";
$marray = array(BLOGCAL_M1, BLOGCAL_M2, BLOGCAL_M3, BLOGCAL_M4, BLOGCAL_M5, BLOGCAL_M6, BLOGCAL_M7, BLOGCAL_M8, BLOGCAL_M9, BLOGCAL_M10, BLOGCAL_M11, BLOGCAL_M12);
$marray = e107::getDate()->terms('month');
$pref['blogcal_ws'] = "monday";
// ----------------------------------------------