  |
1 | 1 | | <?php |
| |
2 | 2 | | /* |
  |
3 | | - | $Id: template.php 1497 2007-03-29 13:40:05Z hpdl $ |
| |
| 3 | + | $Id: template.php 1674 2007-08-20 22:56:00Z hpdl $ |
|
4 | 4 | | |
| |
5 | 5 | | osCommerce, Open Source E-Commerce Solutions |
| |
6 | 6 | | http://www.oscommerce.com |
| |
7 | 7 | | |
  |
8 | | - | Copyright (c) 2005 osCommerce |
| |
| 8 | + | Copyright (c) 2007 osCommerce |
|
9 | 9 | | |
| |
10 | 10 | | This program is free software; you can redistribute it and/or modify |
| |
11 | 11 | | it under the terms of the GNU General Public License v2 (1991) |
| |
|
|
 |
… |
|
196 | 196 | | $_page_module_name = 'osC_' . ucfirst($group) . '_' . ucfirst($module); |
| |
197 | 197 | | $object = new $_page_module_name(); |
| |
198 | 198 | | |
  |
199 | | - | require('includes/classes/actions.php'); |
| |
200 | | - | osC_Actions::parse(); |
| |
| 199 | + | if ( isset($_GET['action']) && !empty($_GET['action']) ) { |
| |
| 200 | + | include('includes/classes/actions.php'); |
|
201 | 201 | | |
  |
| 202 | + | osC_Actions::parse($_GET['action']); |
| |
| 203 | + | } |
| |
| 204 | + | |
  |
202 | 205 | | return $object; |
| |
203 | 206 | | } |
| |
204 | 207 | | |