From 3aff4f0bfec650d7a080b919b299ddcf6fc6ee59 Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 24 Feb 2006 01:16:30 +0000 Subject: fix: remove all php warnings and notices git-svn-id: http://piwigo.org/svn/trunk@1056 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_calendar.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/functions_calendar.inc.php') diff --git a/include/functions_calendar.inc.php b/include/functions_calendar.inc.php index acc8b15b0..43ca188ef 100644 --- a/include/functions_calendar.inc.php +++ b/include/functions_calendar.inc.php @@ -75,7 +75,7 @@ WHERE id IN (' . implode(',',$page['items']) .')'; pwg_debug('start initialize_calendar'); $cal_styles = array( - // Weekly style + // Monthly style array( 'link' => 'm', 'default_link' => '', @@ -83,12 +83,13 @@ WHERE id IN (' . implode(',',$page['items']) .')'; 'include' => 'calendar_monthly.class.php', 'view_calendar' => true, ), - // Monthly style + // Weekly style array( 'link' => 'w', 'default_link' => 'w-', 'name' => l10n('Weekly'), 'include' => 'calendar_weekly.class.php', + 'view_calendar' => false, ), ); -- cgit v1.2.3