Changeset 1722 for trunk/index.php
- Timestamp:
- Jan 15, 2007, 1:09:14 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r1711 r1722 107 107 } 108 108 109 if (isset($page['flat_ recent_cat']) or isset($page['chronology_field']))109 if (isset($page['flat_cat']) or isset($page['chronology_field'])) 110 110 { 111 111 $template->assign_block_vars( 112 112 'mode_normal', 113 113 array( 114 'URL' => duplicate_index_url( array(), array('chronology_field', 'start', 'flat_ recent_cat') )115 ) 116 ); 117 } 118 119 if (!isset($page['flat_ recent_cat']) and 'categories'==$page['section'])120 { 121 $template->assign_block_vars( 122 'flat_ recent_cat',123 array( 124 'URL' => duplicate_index_url(array('flat_ recent_cat' => $user['recent_period']), array('start', 'chronology_field'))114 'URL' => duplicate_index_url( array(), array('chronology_field', 'start', 'flat_cat') ) 115 ) 116 ); 117 } 118 119 if (!isset($page['flat_cat']) and 'categories' == $page['section']) 120 { 121 $template->assign_block_vars( 122 'flat_cat', 123 array( 124 'URL' => duplicate_index_url(array('flat_cat' => ''), array('start', 'chronology_field')) 125 125 ) 126 126 ); … … 138 138 'mode_created', 139 139 array( 140 'URL' => duplicate_index_url( $chronology_params, array('start', 'flat_ recent_cat') )140 'URL' => duplicate_index_url( $chronology_params, array('start', 'flat_cat') ) 141 141 ) 142 142 ); … … 146 146 'mode_posted', 147 147 array( 148 'URL' => duplicate_index_url( $chronology_params, array('start', 'flat_ recent_cat') )148 'URL' => duplicate_index_url( $chronology_params, array('start', 'flat_cat') ) 149 149 ) 150 150 ); … … 162 162 $url = duplicate_index_url( 163 163 array('chronology_field'=>$chronology_field ), 164 array('chronology_date', 'start', 'flat_ recent_cat')164 array('chronology_date', 'start', 'flat_cat') 165 165 ); 166 166 $template->assign_block_vars(
Note: See TracChangeset
for help on using the changeset viewer.