[ Index ]

PHP Cross Reference of phpwcms V1.4.3 _r380 (23.11.09)

title

Body

[close]

/template/inc_script/frontend_render/disabled/ -> calendar.php (source)

   1  <?php
   2  
   3  // used to get a calendar
   4  
   5  if(strpos($content["all"],'{CALENDAR') !== false) {
   6  
   7      include_once (PHPWCMS_ROOT.'/include/inc_ext/php_calendar/php_calendar.php');
   8      include_once (PHPWCMS_ROOT.'/include/inc_front/calendar.func.inc.php');
   9  
  10      $_baseCalVal = initializeCalendar(PHPWCMS_TEMPLATE.'calendar/calendar.ini');
  11  
  12      $content['all'] = str_replace('{CALENDAR}', generate_calendar(    array(
  13                                                      'locale'            =>'de_DE', 
  14                                                      'day_name_length'    => 2,
  15                                                      'weekNrTitle'        => 'KW',
  16                                                      'days'                => $_baseCalVal['days'],
  17                                                      'pn'                => array(    '&laquo;'=>$_baseCalVal['prev_link'], 
  18                                                                                      '&raquo;'=>$_baseCalVal['next_link'])
  19                                              )    ), $content['all']);
  20  }
  21  
  22  ?>


Generated: Wed Dec 30 05:55:15 2009 Cross-referenced by PHPXref 0.7