mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 03:09:58 +03:00
So that we can include both calendar_weekly and calendar_monthly in the same script.
This commit is contained in:
parent
3b1f636e26
commit
466f77021e
3 changed files with 8 additions and 16 deletions
|
@ -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)
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue