|
From: Florin C B. <ory...@us...> - 2014-04-09 08:54:25
|
Update of /cvsroot/mxbb/mx_calsnails/includes In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23033 Modified Files: cal_functions.php cal_settings.php Log Message: some contrib for cal module Index: cal_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/cal_functions.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** cal_functions.php 8 Oct 2013 19:43:42 -0000 1.27 --- cal_functions.php 9 Apr 2014 08:54:21 -0000 1.28 *************** *** 3239,3245 **** 'month_sort' => $user_hebrew ? $mx_user->lang['jewish_months'][$jewishMonthHebName[$jwdate[1]]] : mb_substr($mx_user->lang['jewish_months'][$jewishMonthHebName[$jwdate[1]]], 0, 3), ! 'year' => $jwdate[0], ! 'year_heb' => $this->heb_number_to_chars($jwdate[0], CAL_JEWISH_ADD_GERESHAYIM), ! 'year_lang' => $user_hebrew ? $this->heb_number_to_chars($jwdate[0], CAL_JEWISH_ADD_GERESHAYIM) : $jwdate[0], ); --- 3239,3245 ---- 'month_sort' => $user_hebrew ? $mx_user->lang['jewish_months'][$jewishMonthHebName[$jwdate[1]]] : mb_substr($mx_user->lang['jewish_months'][$jewishMonthHebName[$jwdate[1]]], 0, 3), ! 'year' => $jwdate[0], ! 'year_heb' => $this->heb_number_to_chars($jwdate[0], CAL_JEWISH_ADD_GERESHAYIM), ! 'year_lang' => $user_hebrew ? $this->heb_number_to_chars($jwdate[0], CAL_JEWISH_ADD_GERESHAYIM) : $jwdate[0], ); Index: cal_settings.php =================================================================== RCS file: /cvsroot/mxbb/mx_calsnails/includes/cal_settings.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** cal_settings.php 8 Oct 2013 19:43:42 -0000 1.24 --- cal_settings.php 9 Apr 2014 08:54:22 -0000 1.25 *************** *** 43,45 **** --- 43,61 ---- define('SECONDS_PER_DAY', 86400); // 24h * 60m * 60s + // Forum/Topic states + !defined('FORUM_CAT') ? define('FORUM_CAT', 0) : false; + !defined('FORUM_POST') ? define('FORUM_POST', 1) : false; + !defined('FORUM_LINK') ? define('FORUM_LINK', 2) : false; + !defined('ITEM_UNLOCKED') ? define('ITEM_UNLOCKED', 0) : false; + !defined('ITEM_LOCKED') ? define('ITEM_LOCKED', 1) : false; + !defined('ITEM_MOVED') ? define('ITEM_MOVED', 2) : false; + + // Topic types + !defined('POST_NORMAL') ? define('POST_NORMAL', 0) : false; + !defined('POST_STICKY') ? define('POST_STICKY', 1) : false; + !defined('POST_MOAD_ANNOUNCE') ? define('POST_MOAD_ANNOUNCE', 2) : false; + !defined('POST_GLOBAL') ? define('POST_GLOBAL', 3) : false; + !defined('POST_GLOBAL_ANNOUNCE') ? define('POST_GLOBAL_ANNOUNCE', 3) : false; + !defined('POST_NEWS') ? define('POST_NEWS', 4) : false; + ?> \ No newline at end of file |