Changeset 2231 for trunk/include/functions_calendar.inc.php
- Timestamp:
- Mar 1, 2008, 2:12:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_calendar.inc.php
r1900 r2231 201 201 $must_show_list = false; 202 202 } 203 204 $page['comment'] = ''; 205 $template->assign('FILE_CHRONOLOGY_VIEW', 'month_calendar.tpl'); 203 206 204 207 foreach ($styles as $style => $style_data) … … 208 211 if ( $style_data['view_calendar'] or $view != CAL_VIEW_CALENDAR) 209 212 { 210 $selected = '';213 $selected = false; 211 214 212 215 if ($style!=$cal_style) … … 232 235 if ($style==$cal_style and $view==$page['chronology_view'] ) 233 236 { 234 $selected = 'SELECTED';237 $selected = true; 235 238 } 236 239 237 $template->a ssign_block_vars(238 'c alendar.views.view',240 $template->append( 241 'chronology_views', 239 242 array( 240 243 'VALUE' => $url, … … 252 255 .$fields[$page['chronology_field']]['label'].'</a>'; 253 256 $calendar_title.= $calendar->get_display_name(); 254 $template-> merge_block_vars('calendar',257 $template->assign('chronology', 255 258 array( 256 259 'TITLE' => $calendar_title
Note: See TracChangeset
for help on using the changeset viewer.