Ignore:
Timestamp:
Feb 20, 2006, 5:39:37 AM (18 years ago)
Author:
rvelices
Message:

calendar redesign: step 1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_default.inc.php

    r1036 r1047  
    8181  }
    8282  // url link on picture.php page
    83   $url_link = PHPWG_ROOT_PATH.'picture.php?cat='.$page['cat'];
    84   $url_link.= '&image_id='.$row['id'];
     83  $url_link = PHPWG_ROOT_PATH.'picture.php?';
     84  if ( isset($page['cat']) )
     85  {
     86    $url_link .= 'cat='.$page['cat'].'&';
     87  }
     88  $url_link.= 'image_id='.$row['id'];
    8589  if ($page['cat'] == 'search')
    8690  {
     
    9094  {
    9195    $url_link.= '&list='.$_GET['list'];
     96  }
     97  if ( isset($_GET['calendar']) )
     98  {
     99    $url_link.= '&calendar='.$_GET['calendar'];
    92100  }
    93101   
Note: See TracChangeset for help on using the changeset viewer.