mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01:00
fixes #1222 define calendar constants in calendar_base.class
So that we can include both calendar_weekly and calendar_monthly in the same script.
This commit is contained in:
1 parent
e541bd036f
commit
0530a64e91
3 files changed
+8
-16
No files matched your search
@@ -10,6 +10,14 @@
|
||||
* @package functions\calendar
|
||||
*/
|
||||
|
||||
/** level of year view */
|
||||
define('CYEAR', 0);
|
||||
/** level of week view in weekly view */
|
||||
define('CWEEK', 1);
|
||||
/** level of month view in monthly view */
|
||||
define('CMONTH', 1);
|
||||
/** level of day view */
|
||||
define('CDAY', 2);
|
||||
|
||||
/**
|
||||
* Base class for monthly and weekly calendar styles
|
||||
|
||||
@@ -12,14 +12,6 @@
|
||||
|
||||
include_once(PHPWG_ROOT_PATH.'include/calendar_base.class.php');
|
||||
|
||||
/** level of year view */
|
||||
define('CYEAR', 0);
|
||||
/** level of month view */
|
||||
define('CMONTH', 1);
|
||||
/** level of day view */
|
||||
define('CDAY', 2);
|
||||
|
||||
|
||||
/**
|
||||
* Monthly calendar style (composed of years/months and days)
|
||||
*/
|
||||
|
||||
@@ -12,14 +12,6 @@
|
||||
|
||||
include_once(PHPWG_ROOT_PATH.'include/calendar_base.class.php');
|
||||
|
||||
/** level of year view */
|
||||
define('CYEAR', 0);
|
||||
/** level of week view */
|
||||
define('CWEEK', 1);
|
||||
/** level of day view */
|
||||
define('CDAY', 2);
|
||||
|
||||
|
||||
/**
|
||||
* Weekly calendar style (composed of years/week in years and days in week)
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user