Changeset 13923 for trunk/categories.php
- Timestamp:
- 04/18/10 12:09:01 (2 years ago)
- File:
-
- 1 edited
-
trunk/categories.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/categories.php
r13000 r13923 50 50 } 51 51 52 $aParam['type'] = isset($_ REQUEST['tags_mode']) ? $_REQUEST['tags_mode'] : $oCateg->getFirstObject();52 $aParam['type'] = isset($_GET['tags_mode']) ? $_GET['tags_mode'] : $oCateg->getFirstObject(); 53 53 54 54 $sCode = $oCateg->display($aParam, $iBoxId, $sAction, $bOrderPanel, getParam('categ_show_columns')); … … 191 191 function getBlockCode_Calendar($iBlockId) 192 192 { 193 $sYear = isset($_ REQUEST['year']) ? (int)$_REQUEST['year'] : '';194 $sMonth = isset($_ REQUEST['month']) ? (int)$_REQUEST['month'] : '';193 $sYear = isset($_GET['year']) ? (int)$_GET['year'] : ''; 194 $sMonth = isset($_GET['month']) ? (int)$_GET['month'] : ''; 195 195 $oCalendar = new CategoriesCalendar($sYear, $sMonth); 196 196 … … 200 200 function getBlockCode_CategoriesDate($iBlockId) 201 201 { 202 if (isset($_ REQUEST['year']) && isset($_REQUEST['month']) && isset($_REQUEST['day']))202 if (isset($_GET['year']) && isset($_GET['month']) && isset($_GET['day'])) 203 203 { 204 204 $aParam = array( 205 205 'pagination' => getParam('categ_perpage_browse'), 206 206 'date' => array( 207 'year' => (int)$_ REQUEST['year'],208 'month' => (int)$_ REQUEST['month'],209 'day' => (int)$_ REQUEST['day']207 'year' => (int)$_GET['year'], 208 'month' => (int)$_GET['month'], 209 'day' => (int)$_GET['day'] 210 210 ) 211 211 ); … … 281 281 'pagination' => getParam('categ_perpage_browse') 282 282 ); 283 284 if ( isset($_REQUEST['filter']))285 $aParam['filter'] = $ _REQUEST['filter'];283 $sFilter = bx_get('filter'); 284 if ($sFilter !== false) 285 $aParam['filter'] = $sFilter; 286 286 else if ($this->oForm->isSubmittedAndValid()) 287 287 $aParam['filter'] = $this->oForm->getCleanValue('Keyword'); … … 337 337 } 338 338 339 switch ($_ REQUEST['action'])339 switch ($_GET['action']) 340 340 { 341 341 case BX_CATEG_ACTION_COMMON:
Note: See TracChangeset
for help on using the changeset viewer.