Show
Ignore:
Timestamp:
11/09/09 23:57:06 (13 years ago)
Author:
kovell
Message:

Improved PHP4 compatiblity. Named sessions. Cron feedfetch sets error reporting appropriately. Search is less restrictive by default.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/campaigns.php

    r459 r475  
    33 
    44$page = new Page('Campaigns'); 
    5  
     5$pagenum = intval($_GET['page']); 
    66switch ($_GET['view']) 
    77{ 
     
    1212                $page->setTitle('Active campaigns'); 
    1313                $table = new ContractListTable($activelist); 
    14                 $table->paginate(10, intval($_GET['page'])); 
     14                $table->paginate(10, $pagenum); 
    1515                $html .= $table->generate(); 
    1616                break; 
     
    2121                $page->setTitle('Past campaigns'); 
    2222                $table = new ContractListTable($pastlist); 
    23                 $table->paginate(10, intval($_GET['page'])); 
     23                $table->paginate(10, $pagenum); 
    2424                $html .= $table->generate(); 
    2525                break; 
     
    3434$page->setContent($html); 
    3535$page->generate(); 
    36 ?>