Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1497
 
1674
 
1674
 
template.php
_> 11 <?php
  22 /*
<> 3 -  $Id: template.php 1497 2007-03-29 13:40:05Z hpdl $
   3+  $Id: template.php 1674 2007-08-20 22:56:00Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2005 osCommerce
   8+  Copyright (c) 2007 osCommerce
99 
  1010   This program is free software; you can redistribute it and/or modify
  1111   it under the terms of the GNU General Public License v2 (1991)
     
 !
196196       $_page_module_name = 'osC_' . ucfirst($group) . '_' . ucfirst($module);
  197197       $object = new $_page_module_name();
  198198 
<> 199 -      require('includes/classes/actions.php');
  200 -      osC_Actions::parse();
   199+      if ( isset($_GET['action']) && !empty($_GET['action']) ) {
   200+        include('includes/classes/actions.php');
201201 
<>  202+        osC_Actions::parse($_GET['action']);
   203+      }
   204+
<_ 202205       return $object;
  203206     }
  204207