Changeset 1062 for trunk/include/calendar_weekly.class.php
- Timestamp:
- Mar 3, 2006, 2:57:39 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/calendar_weekly.class.php
r1059 r1062 81 81 assert($view_type==CAL_VIEW_LIST); 82 82 83 $this->build_nav_bar(CYEAR); // years 84 if ( count($this->date_components)>=1 ) 83 if ( count($this->date_components)==0 ) 84 { 85 $this->build_nav_bar(CYEAR); // years 86 } 87 if ( count($this->date_components)==1 ) 85 88 { 86 89 $this->build_nav_bar(CWEEK); // week nav bar 1-53 87 90 } 88 if ( count($this->date_components) >=2 )91 if ( count($this->date_components)==2 ) 89 92 { 90 93 $this->build_nav_bar(CDAY); // days nav bar Mon-Sun 91 94 } 95 $this->build_next_prev(); 92 96 return false; 93 97 }
Note: See TracChangeset
for help on using the changeset viewer.