cosmetic cleanups in source code.

This commit is contained in:
skeeter 2001-03-31 00:57:47 +00:00
parent e3bf56f192
commit 36becd4638

View File

@ -12,12 +12,12 @@
/* $Id$ */ /* $Id$ */
$phpgw_flags = Array( $phpgw_flags = Array(
'currentapp' => 'calendar', 'currentapp' => 'calendar',
'enable_nextmatchs_class' => True, 'enable_nextmatchs_class' => True,
'noheader' => True, 'noheader' => True,
'nonavbar' => True, 'nonavbar' => True,
'noappheader' => True, 'noappheader' => True,
'noappfooter' => True 'noappfooter' => True
); );
$phpgw_info['flags'] = $phpgw_flags; $phpgw_info['flags'] = $phpgw_flags;
@ -82,16 +82,16 @@
$p = CreateObject('phpgwapi.Template',$phpgw->common->get_tpl_dir('calendar')); $p = CreateObject('phpgwapi.Template',$phpgw->common->get_tpl_dir('calendar'));
$templates = Array( $templates = Array(
'pref' => 'pref.tpl', 'pref' => 'pref.tpl',
'pref_colspan' => 'pref_colspan.tpl', 'pref_colspan' => 'pref_colspan.tpl',
'pref_list' => 'pref_list.tpl', 'pref_list' => 'pref_list.tpl',
); );
$p->set_file($templates); $p->set_file($templates);
$var = Array( $var = Array(
'title' => lang('Calendar preferences'), 'title' => lang('Calendar preferences'),
'action_url' => $phpgw->link('/'.$phpgw_info['flags']['currentapp'].'/preferences.php'), 'action_url' => $phpgw->link('/'.$phpgw_info['flags']['currentapp'].'/preferences.php'),
'bg_color' => $phpgw_info['theme']['th_bg'], 'bg_color' => $phpgw_info['theme']['th_bg'],
'submit_lang' => lang('submit') 'submit_lang' => lang('submit')
); );