8 modified files
admin/admin/includes/boxes
diff -u -r1.21 -r1.22
--- catalog.php 2003/07/09 01:18:53 1.21
+++ catalog.php 2004/07/22 23:06:42 1.22
@@ -5,7 +5,7 @@
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
- Copyright (c) 2002 osCommerce
+ Copyright (c) 2004 osCommerce
Released under the GNU General Public License
*/
@@ -18,19 +18,17 @@
$contents = array();
$heading[] = array('text' => BOX_HEADING_CATALOG,
- 'link' => tep_href_link(FILENAME_CATEGORIES, 'selected_box=catalog'));
+ 'link' => "_javascript_:toggleBlock('catalog');");
- if ($selected_box == 'catalog') {
- $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_CATALOG_REVIEWS . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_CATALOG_SPECIALS . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>');
- }
+ $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_CATALOG_MANUFACTURERS . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_CATALOG_REVIEWS . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_CATALOG_SPECIALS . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_CATALOG_PRODUCTS_EXPECTED . '</a>');
$box = new box;
- echo $box->menuBox($heading, $contents);
+ echo $box->menuBox($heading, $contents, 'catalog');
?>
</td>
</tr>
admin/admin/includes/boxes
diff -u -r1.19 -r1.20
--- configuration.php 2004/05/12 19:31:30 1.19
+++ configuration.php 2004/07/22 23:06:42 1.20
@@ -5,7 +5,7 @@
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
- Copyright (c) 2002 osCommerce
+ Copyright (c) 2004 osCommerce
Released under the GNU General Public License
*/
@@ -18,23 +18,21 @@
$contents = array();
$heading[] = array('text' => BOX_HEADING_CONFIGURATION,
- 'link' => tep_href_link(FILENAME_CONFIGURATION, 'gID=1&selected_box=configuration'));
+ 'link' => "_javascript_:toggleBlock('configuration');");
- if ($selected_box == 'configuration') {
- $cfg_groups = '';
- $configuration_groups_query = tep_db_query("select configuration_group_id as cgID, configuration_group_title as cgTitle from " . TABLE_CONFIGURATION_GROUP . " where visible = '1' order by sort_order");
- while ($configuration_groups = tep_db_fetch_array($configuration_groups_query)) {
- $cfg_groups .= '<a href="" class="menuBoxContentLink">' . $configuration_groups['cgTitle'] . '</a><br>';
- }
+ $cfg_groups = '';
+ $configuration_groups_query = tep_db_query("select configuration_group_id as cgID, configuration_group_title as cgTitle from " . TABLE_CONFIGURATION_GROUP . " where visible = '1' order by sort_order");
+ while ($configuration_groups = tep_db_fetch_array($configuration_groups_query)) {
+ $cfg_groups .= '<a href="" class="menuBoxContentLink">' . $configuration_groups['cgTitle'] . '</a><br>';
+ }
- $cfg_groups .= '<a href="" class="menuBoxContentLink">' . BOX_CONFIGURATION_SERVICES . '</a><br>';
- $cfg_groups .= '<a href="" class="menuBoxContentLink">' . BOX_CONFIGURATION_CREDIT_CARDS . '</a><br>';
+ $cfg_groups .= '<a href="" class="menuBoxContentLink">' . BOX_CONFIGURATION_SERVICES . '</a><br>';
+ $cfg_groups .= '<a href="" class="menuBoxContentLink">' . BOX_CONFIGURATION_CREDIT_CARDS . '</a><br>';
- $contents[] = array('text' => $cfg_groups);
- }
+ $contents[] = array('text' => $cfg_groups);
$box = new box;
- echo $box->menuBox($heading, $contents);
+ echo $box->menuBox($heading, $contents, 'configuration');
?>
</td>
</tr>
admin/admin/includes/boxes
diff -u -r1.16 -r1.17
--- customers.php 2003/07/09 01:18:53 1.16
+++ customers.php 2004/07/22 23:06:42 1.17
@@ -5,7 +5,7 @@
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
- Copyright (c) 2002 osCommerce
+ Copyright (c) 2004 osCommerce
Released under the GNU General Public License
*/
@@ -18,15 +18,13 @@
$contents = array();
$heading[] = array('text' => BOX_HEADING_CUSTOMERS,
- 'link' => tep_href_link(FILENAME_CUSTOMERS, 'selected_box=customers'));
+ 'link' => "_javascript_:toggleBlock('customers');");
- if ($selected_box == 'customers') {
- $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_CUSTOMERS_CUSTOMERS . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_CUSTOMERS_ORDERS . '</a>');
- }
+ $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_CUSTOMERS_CUSTOMERS . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_CUSTOMERS_ORDERS . '</a>');
$box = new box;
- echo $box->menuBox($heading, $contents);
+ echo $box->menuBox($heading, $contents, 'customers');
?>
</td>
</tr>
admin/admin/includes/boxes
diff -u -r1.17 -r1.18
--- localization.php 2004/04/15 16:06:41 1.17
+++ localization.php 2004/07/22 23:06:42 1.18
@@ -5,7 +5,7 @@
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
- Copyright (c) 2002 osCommerce
+ Copyright (c) 2004 osCommerce
Released under the GNU General Public License
*/
@@ -18,17 +18,15 @@
$contents = array();
$heading[] = array('text' => BOX_HEADING_LOCALIZATION,
- 'link' => tep_href_link(FILENAME_CURRENCIES, 'selected_box=localization'));
+ 'link' => "_javascript_:toggleBlock('localization');");
- if ($selected_box == 'localization') {
- $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_LOCALIZATION_CURRENCIES . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_LOCALIZATION_LANGUAGES . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_LOCALIZATION_ORDERS_STATUS . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_LOCALIZATION_WEIGHT_CLASSES . '</a>');
- }
+ $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_LOCALIZATION_CURRENCIES . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_LOCALIZATION_LANGUAGES . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_LOCALIZATION_ORDERS_STATUS . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_LOCALIZATION_WEIGHT_CLASSES . '</a>');
$box = new box;
- echo $box->menuBox($heading, $contents);
+ echo $box->menuBox($heading, $contents, 'localization');
?>
</td>
</tr>
admin/admin/includes/boxes
diff -u -r1.16 -r1.17
--- modules.php 2003/07/09 01:18:53 1.16
+++ modules.php 2004/07/22 23:06:42 1.17
@@ -5,7 +5,7 @@
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
- Copyright (c) 2002 osCommerce
+ Copyright (c) 2004 osCommerce
Released under the GNU General Public License
*/
@@ -18,16 +18,14 @@
$contents = array();
$heading[] = array('text' => BOX_HEADING_MODULES,
- 'link' => tep_href_link(FILENAME_MODULES, 'set=payment&selected_box=modules'));
+ 'link' => "_javascript_:toggleBlock('modules');");
- if ($selected_box == 'modules') {
- $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_MODULES_PAYMENT . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_MODULES_SHIPPING . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_MODULES_ORDER_TOTAL . '</a>');
- }
+ $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_MODULES_PAYMENT . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_MODULES_SHIPPING . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_MODULES_ORDER_TOTAL . '</a>');
$box = new box;
- echo $box->menuBox($heading, $contents);
+ echo $box->menuBox($heading, $contents, 'modules');
?>
</td>
</tr>
admin/admin/includes/boxes
diff -u -r1.5 -r1.6
--- reports.php 2003/07/09 01:18:53 1.5
+++ reports.php 2004/07/22 23:06:42 1.6
@@ -5,7 +5,7 @@
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
- Copyright (c) 2002 osCommerce
+ Copyright (c) 2004 osCommerce
Released under the GNU General Public License
*/
@@ -18,16 +18,12 @@
$contents = array();
$heading[] = array('text' => BOX_HEADING_REPORTS,
- 'link' => tep_href_link(FILENAME_STATS_PRODUCTS_VIEWED, 'selected_box=reports'));
+ 'link' => "_javascript_:toggleBlock('reports');");
- if ($selected_box == 'reports') {
- $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_REPORTS_PRODUCTS_VIEWED . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_REPORTS_PRODUCTS_PURCHASED . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_REPORTS_ORDERS_TOTAL . '</a>');
- }
+ $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_REPORTS_STATISTICS . '</a>');
$box = new box;
- echo $box->menuBox($heading, $contents);
+ echo $box->menuBox($heading, $contents, 'reports');
?>
</td>
</tr>
admin/admin/includes/boxes
diff -u -r1.17 -r1.18
--- taxes.php 2003/07/09 01:18:53 1.17
+++ taxes.php 2004/07/22 23:06:42 1.18
@@ -5,7 +5,7 @@
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
- Copyright (c) 2002 osCommerce
+ Copyright (c) 2004 osCommerce
Released under the GNU General Public License
*/
@@ -18,18 +18,16 @@
$contents = array();
$heading[] = array('text' => BOX_HEADING_LOCATION_AND_TAXES,
- 'link' => tep_href_link(FILENAME_COUNTRIES, 'selected_box=taxes'));
+ 'link' => "_javascript_:toggleBlock('taxes');");
- if ($selected_box == 'taxes') {
- $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_TAXES_COUNTRIES . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_TAXES_ZONES . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_TAXES_GEO_ZONES . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_TAXES_TAX_CLASSES . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_TAXES_TAX_RATES . '</a>');
- }
+ $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_TAXES_COUNTRIES . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_TAXES_ZONES . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_TAXES_GEO_ZONES . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_TAXES_TAX_CLASSES . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_TAXES_TAX_RATES . '</a>');
$box = new box;
- echo $box->menuBox($heading, $contents);
+ echo $box->menuBox($heading, $contents, 'taxes');
?>
</td>
</tr>
admin/admin/includes/boxes
diff -u -r1.21 -r1.22
--- tools.php 2003/07/09 01:18:53 1.21
+++ tools.php 2004/07/22 23:06:42 1.22
@@ -5,7 +5,7 @@
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
- Copyright (c) 2002 osCommerce
+ Copyright (c) 2004 osCommerce
Released under the GNU General Public License
*/
@@ -18,22 +18,20 @@
$contents = array();
$heading[] = array('text' => BOX_HEADING_TOOLS,
- 'link' => tep_href_link(FILENAME_BACKUP, 'selected_box=tools'));
+ 'link' => "_javascript_:toggleBlock('tools');");
- if ($selected_box == 'tools') {
- $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_BACKUP . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_BANNER_MANAGER . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_CACHE . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_DEFINE_LANGUAGE . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_FILE_MANAGER . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_MAIL . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_NEWSLETTER_MANAGER . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_SERVER_INFO . '</a><br>' .
- '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a>');
- }
+ $contents[] = array('text' => '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_BACKUP . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_BANNER_MANAGER . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_CACHE . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_DEFINE_LANGUAGE . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_FILE_MANAGER . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_MAIL . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_NEWSLETTER_MANAGER . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_SERVER_INFO . '</a><br>' .
+ '<a href="" class="menuBoxContentLink">' . BOX_TOOLS_WHOS_ONLINE . '</a>');
$box = new box;
- echo $box->menuBox($heading, $contents);
+ echo $box->menuBox($heading, $contents, 'tools');
?>
</td>
</tr>
CVSspam 0.2.8
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
|