mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 19:59:56 +03: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:
parent
e541bd036f
commit
0530a64e91
3 changed files with 8 additions and 16 deletions
|
@ -10,6 +10,14 @@
|
||||||
* @package functions\calendar
|
* @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
|
* Base class for monthly and weekly calendar styles
|
||||||
|
|
|
@ -12,14 +12,6 @@
|
||||||
|
|
||||||
include_once(PHPWG_ROOT_PATH.'include/calendar_base.class.php');
|
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)
|
* Monthly calendar style (composed of years/months and days)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -12,14 +12,6 @@
|
||||||
|
|
||||||
include_once(PHPWG_ROOT_PATH.'include/calendar_base.class.php');
|
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)
|
* Weekly calendar style (composed of years/week in years and days in week)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue