From 14e72923ea792808b9e747d1cea2e8b038f3e808 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Sch=C3=B6nberger?= Date: Fri, 8 Dec 2023 16:40:11 +0100 Subject: [PATCH] Version 1.7.0 for 1.5.7g --- .../DEINTEMPLATE/common/html_header.php | 24 ++++-- .../DEINTEMPLATE/common/tpl_main_page.php | 73 ++++++++++--------- .../tpl_document_general_info_display.php | 37 +++++----- .../tpl_document_product_info_display.php | 31 ++++---- ...tpl_product_free_shipping_info_display.php | 39 +++++----- .../templates/tpl_product_info_display.php | 35 +++++---- .../tpl_product_music_info_display.php | 43 +++++------ .../templates/tpl_product_reviews_default.php | 25 ++++--- .../common/html_header.php | 56 ++++++++------ .../common/tpl_main_page.php | 60 +++++++-------- .../tpl_document_general_info_display.php | 31 ++++---- .../tpl_document_product_info_display.php | 32 ++++---- ...tpl_product_free_shipping_info_display.php | 44 +++++------ .../templates/tpl_product_info_display.php | 35 ++++----- .../tpl_product_music_info_display.php | 44 +++++------ .../templates/tpl_product_reviews_default.php | 10 +-- .../init_includes/init_tpp_config.php | 2 +- liesmich.txt | 7 +- 18 files changed, 331 insertions(+), 297 deletions(-) diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/common/html_header.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/common/html_header.php index 877bc98..a7d1afd 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/common/html_header.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/common/html_header.php @@ -1,15 +1,15 @@ tag
+ * outputs the html header. i,e, everything that comes before the \ tag * - * @copyright Copyright 2003-2022 Zen Cart Development Team + * @copyright Copyright 2003-2023 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: html_header.php for Tabbed Products Pro 2022-03-30 19:16:39Z webchills $ + * @version $Id: html_header.php for Tabbed Products Pro 2023-12-08 19:16:39Z webchills $ */ if (!defined('IS_ADMIN_FLAG')) { die('Illegal Access'); @@ -31,14 +31,24 @@ > + tag has been rendered for the current page; some scripts need to be +// inserted just after that tag's rendered. +// +$zco_notifier->notify('NOTIFY_HTML_HEAD_TAG_START', $current_page_base); +?> + + + <?php echo META_TAG_TITLE; ?> - + - + @@ -73,7 +83,7 @@ - + - * Normally consisting of a header, left side column. center column. right side column and footer
- * For customizing, this file can be copied to /templates/your_template_dir/pagename
- * example: to override the privacy page
- * - make a directory /templates/my_template/privacy
- * - copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php
- *
- * to override the global settings and turn off columns un-comment the lines below for the correct column to turn off
- * to turn off the header and/or footer uncomment the lines below
- * Note: header can be disabled in the tpl_header.php
- * Note: footer can be disabled in the tpl_footer.php
- *
- * $flag_disable_header = true;
- * $flag_disable_left = true;
- * $flag_disable_right = true;
- * $flag_disable_footer = true;
- *
- * // example to not display right column on main page when Always Show Categories is OFF
- *
- * if ($current_page_base == 'index' and $cPath == '') {
- * $flag_disable_right = true;
- * }
- *
- * example to not display right column on main page when Always Show Categories is ON and set to categories_id 3
- *
- * if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') {
- * $flag_disable_right = true;
- * }
+ * Zen Cart German Specific (zencartpro adaptations) + * Governs the overall layout of an entire page + * Normally consisting of a header, left side column. center column. right side column and footer + * For customizing, this file can be copied to /templates/your_template_dir/pagename + * example: to override the privacy page + * - make a directory /templates/my_template/privacy + * - copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php + * + * to override the global settings and turn off columns un-comment the lines below for the correct column to turn off + * to turn off the header and/or footer uncomment the lines below + * Note: header can be disabled in the tpl_header.php + * Note: footer can be disabled in the tpl_footer.php + * + * $flag_disable_header = true; + * $flag_disable_left = true; + * $flag_disable_right = true; + * $flag_disable_footer = true; + * + * // example to not display right column on main page when Always Show Categories is OFF + * + * if ($current_page_base == 'index' and $cPath == '') { + * $flag_disable_right = true; + * } + * + * example to not display right column on main page when Always Show Categories is ON and set to categories_id 3 + * + * if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') { + * $flag_disable_right = true; + * } * - * @copyright Copyright 2003-2022 Zen Cart Development Team + * @copyright Copyright 2003-2023 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_main_page.php for Tabbed Products Pro 2022-03-30 18:49:16Z webchills $ + * @version $Id: tpl_main_page.php for Tabbed Products Pro 2023-12-08 18:49:16Z webchills $ */ if (!defined('IS_ADMIN_FLAG')) { die('Illegal Access'); @@ -104,7 +104,8 @@ * */ ?> - + + @@ -146,7 +147,8 @@ +?> + - + - + + diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_document_general_info_display.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_document_general_info_display.php index 01404ac..5d8ec49 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_document_general_info_display.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_document_general_info_display.php @@ -1,15 +1,15 @@ + * Zen Cart German Specific (zencartpro adaptations) + * Loaded automatically by index.php?main_page=document_general_info. * Displays template according to "document-general" product-type needs * - * @copyright Copyright 2003-2022 Zen Cart Development Team + * @copyright Copyright 2003-2023 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_document_general_info_display.php for Tabbed Products Pro 2022-03-30 18:47:36Z webchills $ + * @version $Id: tpl_document_general_info_display.php for Tabbed Products Pro 2023-12-08 18:47:36Z webchills $ */ ?> @@ -48,7 +48,7 @@ ' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
'; + $one_time = '' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
'; } else { $one_time = ''; } @@ -93,7 +93,7 @@
-
+
in_cart($_GET['products_id'])) ? '

' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '

' : ''); if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 - $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } else { // show the quantity box - $the_button = PRODUCTS_ORDER_QTY_TEXT . '
' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = PRODUCTS_ORDER_QTY_TEXT . '
' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); ?> @@ -131,7 +131,7 @@ ' . $products_quantity . TEXT_PRODUCT_QUANTITY . '' : '') . "\n"; ?> ' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '' : ' ') . "\n"; ?> -
+
@@ -140,11 +140,12 @@ if ($flag_show_ask_a_question) { ?> -
- -' . ASK_A_QUESTION . ''; ?> +
+ +' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT, ' id="askAQuestionButton"') . ''; ?> -
+
+
get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?> fields['count'] > 0 ) { ?> -
+

fields['count'] : ''); ?>

-
+
diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_document_product_info_display.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_document_product_info_display.php index 3aaaac0..68bbeec 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_document_product_info_display.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_document_product_info_display.php @@ -2,14 +2,14 @@ /** * Page Template * Zen Cart German Specific - * Loaded automatically by index.php?main_page=document_product_info.
+ * Loaded automatically by index.php?main_page=document_product_info. * Displays template according to "document-product" product-type needs * * @copyright Copyright 2003-2022 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_document_product_info_display.php for Tabbed Products Pro 2022-03-30 18:47:36Z webchills $ + * @version $Id: tpl_document_product_info_display.php for Tabbed Products Pro 2023-12-08 18:47:36Z webchills $ */ ?> @@ -48,7 +48,7 @@ ' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '

'; + $one_time = '' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
'; } else { $one_time = ''; } @@ -93,7 +93,7 @@
-
+
in_cart($_GET['products_id'])) ? '

' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '

' : ''); if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 - $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } else { // show the quantity box - $the_button = PRODUCTS_ORDER_QTY_TEXT . '
' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = PRODUCTS_ORDER_QTY_TEXT . '
' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); ?> @@ -140,11 +140,12 @@ if ($flag_show_ask_a_question) { ?> -
- -' . ASK_A_QUESTION . ''; ?> +
+ +' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT, ' id="askAQuestionButton"') . ''; ?> -
+
+
get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?> fields['count'] > 0 ) { ?> -
+

fields['count'] : ''); ?>

-
+
diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_free_shipping_info_display.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_free_shipping_info_display.php index 1794e2a..d1f6f4d 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_free_shipping_info_display.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_free_shipping_info_display.php @@ -1,16 +1,16 @@ + * Zen Cart German Specific (158 code in 157) + * Loaded automatically by index.php?main_page=product_free_shipping_info. * Displays details of a "free-shipping" product (provided it is assigned to the product-free-shipping product type) * - * @package templateSystem - * @copyright Copyright 2003-2022 Zen Cart Development Team + + * @copyright Copyright 2003-2023 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_product_free_shipping_info_display.php for Tabbed Products Pro 2022-03-30 18:28:24Z webchills $ + * @version $Id: tpl_product_free_shipping_info_display.php for Tabbed Products Pro 2023-12-08 18:28:24Z webchills $ */ ?> @@ -49,7 +49,7 @@ ' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '

'; + $one_time = '' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
'; } else { $one_time = ''; } @@ -94,7 +94,7 @@
-
+
in_cart($_GET['products_id'])) ? '

' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '

' : ''); if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 - $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } else { // show the quantity box - $the_button = PRODUCTS_ORDER_QTY_TEXT . '
' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = PRODUCTS_ORDER_QTY_TEXT . '
' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); ?> @@ -132,7 +132,7 @@ ' . $products_quantity . TEXT_PRODUCT_QUANTITY . '' : '') . "\n"; ?> ' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '' : '') . "\n"; ?> -
+
@@ -142,11 +142,12 @@ if ($flag_show_ask_a_question) { ?> -
- -' . ASK_A_QUESTION . ''; ?> +
+ +' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT, ' id="askAQuestionButton"') . ''; ?> -
+
+
get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?> fields['count'] > 0 ) { ?> -
+

fields['count'] : ''); ?>

-
+
diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_info_display.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_info_display.php index a19810e..06018af 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_info_display.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_info_display.php @@ -1,16 +1,15 @@ + * Zen Cart German Specific (158 code in 157) + * Loaded automatically by index.php?main_page=product_info. * Displays details of a typical product * - * @package templateSystem - * @copyright Copyright 2003-2022 Zen Cart Development Team + * @copyright Copyright 2003-2023 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_product_info_display.php for Tabbed Products Pro 2022-03-30 18:28:24Z webchills $ + * @version $Id: tpl_product_info_display.php for Tabbed Products Pro 2023-12-08 18:28:24Z webchills $ */ ?> @@ -49,7 +48,7 @@ ' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '

'; + $one_time = '' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
'; } else { $one_time = ''; } @@ -94,7 +93,7 @@
-
+
in_cart($_GET['products_id'])) ? '

' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '

' : ''); if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 - $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } else { // show the quantity box - $the_button = PRODUCTS_ORDER_QTY_TEXT . '
' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = PRODUCTS_ORDER_QTY_TEXT . '
' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); ?> @@ -132,7 +131,7 @@ ' . $products_quantity . TEXT_PRODUCT_QUANTITY . '' : '') . "\n"; ?> ' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '' : '') . "\n"; ?> -
+
@@ -141,11 +140,11 @@ if ($flag_show_ask_a_question) { ?> -
+
-' . ASK_A_QUESTION . ''; ?> +' . ASK_A_QUESTION . ''; ?> -
+
get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?> fields['count'] > 0 ) { ?> -
+

fields['count'] : ''); ?>

-
+
diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_music_info_display.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_music_info_display.php index 63ddc90..6fd4ce9 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_music_info_display.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_music_info_display.php @@ -1,16 +1,16 @@ + * Zen Cart German Specific (158 code in 157 / zencartpro adaptations) + * Loaded automatically by index.php?main_page=product_music_info. * Displays details of a music product * - * @package templateSystem - * @copyright Copyright 2003-2022 Zen Cart Development Team + + * @copyright Copyright 2003-2023 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_product_music_info_display.php for Tabbed Products Pro 2022-03-30 18:28:24Z webchills $ + * @version $Id: tpl_product_music_info_display.php for Tabbed Products Pro 2023-12-08 18:28:24Z webchills $ */ ?> @@ -49,7 +49,7 @@ ' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
'; + $one_time = '' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
'; } else { $one_time = ''; } @@ -94,7 +94,7 @@
-
+
in_cart($_GET['products_id'])) ? '

' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '

' : ''); if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 - $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } else { // show the quantity box - $the_button = PRODUCTS_ORDER_QTY_TEXT . '
' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = PRODUCTS_ORDER_QTY_TEXT . '
' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); } $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); ?> @@ -134,7 +134,7 @@ ' . TEXT_PRODUCT_ARTIST . $products_artist_name . '' : '') . "\n"; ?> ' . TEXT_PRODUCT_MUSIC_GENRE . $products_music_genre_name . '' : '') . "\n"; ?> -
+
@@ -144,11 +144,12 @@ if ($flag_show_ask_a_question) { ?> -
- -' . ASK_A_QUESTION . ''; ?> +
+ +' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT, ' id="askAQuestionButton"') . ''; ?> -
+
+
get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?> get_template_dir('/tpl_modules_media_manager.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_media_manager.php'); ?> -
+
-
+
fields['count'] > 0 ) { ?> -
+

fields['count'] : ''); ?>

-
+
diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_reviews_default.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_reviews_default.php index d50f310..4b339e4 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_reviews_default.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE/templates/tpl_product_reviews_default.php @@ -2,17 +2,18 @@ /** * Page Template * - * @package templateSystem + * @copyright Copyright 2003-2022 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_product_reviews_default.php for Tabbed Products Pro 2022-03-30 18:49:16Z webchills $ + * @version $Id: tpl_product_reviews_default.php for Tabbed Products Pro 2023-12-08 18:49:16Z webchills $ */ ?>
+size('product_info') > 0) echo $messageStack->output('product_info'); ?> fields['products_id'] )) { - // $link = '

' . '' . MORE_INFO_TEXT . '' . '

'; + // $link = '

' . '' . MORE_INFO_TEXT . '' . '

'; $link = ''; } else { $link= '' . zen_image_button(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT) . ''; } $the_button = $link; $products_link = ''; - echo zen_get_buy_now_button($review->fields['products_id'], $the_button, $products_link) . '
' . zen_get_products_quantity_min_units_display($review->fields['products_id']); + echo zen_get_buy_now_button($review->fields['products_id'], $the_button, $products_link) . '
' . zen_get_products_quantity_min_units_display($review->fields['products_id']); ?>
@@ -44,7 +45,7 @@

-
+
number_of_rows > 0) { @@ -59,7 +60,7 @@ } foreach ($reviewsArray as $reviews) { ?> -
+
' . zen_image_button(BUTTON_IMAGE_READ_REVIEWS , BUTTON_READ_REVIEWS_ALT) . ''; ?>
@@ -70,22 +71,22 @@
-
+
-
-
' . TEXT_APPROVAL_REQUIRED: ''); ?>
-
+
+
' . TEXT_APPROVAL_REQUIRED: ''); ?>
+
number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3'))) { ?> -
+
diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/common/html_header.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/common/html_header.php index 3d11716..4a548ab 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/common/html_header.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/common/html_header.php @@ -1,15 +1,15 @@ tag
+ * outputs the html header. i,e, everything that comes before the \ tag * - * @copyright Copyright 2003-2022 Zen Cart Development Team + * @copyright Copyright 2003-2023 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: html_header.php for Tabbed Products 2022-03-30 19:15:39Z webchills $ + * @version $Id: html_header.php for Tabbed Products 2023-12-08 16:15:39Z webchills $ */ if (!defined('IS_ADMIN_FLAG')) { die('Illegal Access'); @@ -28,10 +28,10 @@ ?> isMobile(); $isTablet = $detect->isTablet(); if (!isset($layoutType)) $layoutType = ($isMobile ? ($isTablet ? 'tablet' : 'mobile') : 'default'); @@ -42,27 +42,35 @@ > + tag has been rendered for the current page; some scripts need to be +// inserted just after that tag's rendered. +// +$zco_notifier->notify('NOTIFY_HTML_HEAD_TAG_START', $current_page_base); +?> + <?php echo META_TAG_TITLE; ?> - - + + - - + + - + - + - - + + - + - + catalog_languages) > 1) { foreach($lng->catalog_languages as $key => $value) { - echo '' . "\n"; + echo '' . "\n"; } } // EOF hreflang for multilingual sites @@ -83,7 +91,7 @@ - + @@ -120,9 +128,9 @@ ?> get_template_dir('super_data_head.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/super_data_head.php'); ?> get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . 'responsive_mobile.css' . '" />'; -$responsive_tablet = ''; -$responsive_default = ''; +$responsive_mobile = ''; +$responsive_tablet = ''; +$responsive_default = ''; if (!isset($_SESSION['layoutType'])) { $_SESSION['layoutType'] = 'legacy'; } @@ -130,7 +138,7 @@ if (in_array($current_page_base,explode(",",'popup_image,popup_image_additional')) ) { echo ''; } else { - echo ''; + echo ''; if ( $detect->isMobile() && !$detect->isTablet() || $_SESSION['layoutType'] == 'mobile' ) { echo $responsive_mobile; } else if ( $detect->isTablet() || $_SESSION['layoutType'] == 'tablet' ){ @@ -143,7 +151,7 @@ } ?> - + notify('NOTIFY_HTML_HEAD_END', $current_page_base); ?> diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/common/tpl_main_page.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/common/tpl_main_page.php index 179fc1c..0263597 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/common/tpl_main_page.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/common/tpl_main_page.php @@ -1,42 +1,42 @@ - * Normally consisting of a header, left side column. center column. right side column and footer
- * For customizing, this file can be copied to /templates/your_template_dir/pagename
- * example: to override the privacy page
- * - make a directory /templates/my_template/privacy
- * - copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php
- *
- * to override the global settings and turn off columns un-comment the lines below for the correct column to turn off
- * to turn off the header and/or footer uncomment the lines below
- * Note: header can be disabled in the tpl_header.php
- * Note: footer can be disabled in the tpl_footer.php
- *
- * $flag_disable_header = true;
- * $flag_disable_left = true;
- * $flag_disable_right = true;
- * $flag_disable_footer = true;
- *
- * // example to not display right column on main page when Always Show Categories is OFF
- *
- * if ($current_page_base == 'index' and $cPath == '') {
- * $flag_disable_right = true;
- * }
- *
- * example to not display right column on main page when Always Show Categories is ON and set to categories_id 3
- *
- * if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') {
- * $flag_disable_right = true;
- * }
+ * Zen Cart German Specific (zencartpro adaptations) + * Governs the overall layout of an entire page + * Normally consisting of a header, left side column. center column. right side column and footer + * For customizing, this file can be copied to /templates/your_template_dir/pagename + * example: to override the privacy page + * - make a directory /templates/my_template/privacy + * - copy /templates/templates_defaults/common/tpl_main_page.php to /templates/my_template/privacy/tpl_main_page.php + * + * to override the global settings and turn off columns un-comment the lines below for the correct column to turn off + * to turn off the header and/or footer uncomment the lines below + * Note: header can be disabled in the tpl_header.php + * Note: footer can be disabled in the tpl_footer.php + * + * $flag_disable_header = true; + * $flag_disable_left = true; + * $flag_disable_right = true; + * $flag_disable_footer = true; + * + * // example to not display right column on main page when Always Show Categories is OFF + * + * if ($current_page_base == 'index' and $cPath == '') { + * $flag_disable_right = true; + * } + * + * example to not display right column on main page when Always Show Categories is ON and set to categories_id 3 + * + * if ($current_page_base == 'index' and $cPath == '' or $cPath == '3') { + * $flag_disable_right = true; + * } * * @copyright Copyright 2003-2022 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_main_page.php for Tabbed Products Pro 2022-03-30 18:49:16Z webchills $ + * @version $Id: tpl_main_page.php for Tabbed Products 2023-12-08 19:53:16Z webchills $ */ if (!defined('IS_ADMIN_FLAG')) { die('Illegal Access'); diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_document_general_info_display.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_document_general_info_display.php index d8c965b..ea36412 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_document_general_info_display.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_document_general_info_display.php @@ -2,14 +2,14 @@ /** * Page Template * Zen Cart German Specific - * Loaded automatically by index.php?main_page=document_general_info.
+ * Loaded automatically by index.php?main_page=document_general_info. * Displays template according to "document-general" product-type needs * * @copyright Copyright 2003-2022 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_document_general_info_display.php for Tabbed Products Pro 2022-03-30 18:33:58Z webchills $ + * @version $Id: tpl_document_general_info_display.php for Tabbed Products Pro 2023-12-08 18:33:58Z webchills $ */ ?> @@ -21,7 +21,7 @@
- + size('product_info') > 0) echo $messageStack->output('product_info'); ?> @@ -46,24 +46,21 @@ -
+

-
+
get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?> - @@ -95,7 +92,7 @@
-' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT) . ''; ?> +' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT, ' id="askAQuestionButton"') . ''; ?>

@@ -116,7 +113,7 @@ ' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
'; + $one_time = '' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
'; } else { $one_time = ''; } @@ -161,11 +158,13 @@ $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '

' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '

' : ''); if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 - $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = ''; } else { // show the quantity box - $the_button = '
' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
' . PRODUCTS_ORDER_QTY_TEXT . '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = '
' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
' . PRODUCTS_ORDER_QTY_TEXT . ''; } + $the_button .= zen_draw_hidden_field('products_id', (int)$_GET['products_id']); + $the_button .= zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT, ' id="addToCartButton"'); $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); ?> @@ -212,11 +211,11 @@ // if more than 0 reviews, then show reviews button; otherwise, show the "write review" button if ($reviews->fields['count'] > 0 ) { ?> -
+

fields['count'] : ''); ?>

-
+
diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_document_product_info_display.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_document_product_info_display.php index e18aa86..33a8e2b 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_document_product_info_display.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_document_product_info_display.php @@ -2,14 +2,14 @@ /** * Page Template * Zen Cart German Specific - * Loaded automatically by index.php?main_page=document_product_info.
+ * Loaded automatically by index.php?main_page=document_product_info. * Displays template according to "document-product" product-type needs * * @copyright Copyright 2003-2022 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_document_product_info_display.php for Tabbed Products Pro 2022-03-30 18:47:58Z webchills $ + * @version $Id: tpl_document_product_info_display.php for Tabbed Products Pro 2023-12-08 18:47:58Z webchills $ */ ?> - + size('product_info') > 0) echo $messageStack->output('product_info'); ?> @@ -53,16 +53,13 @@
get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?> - @@ -73,9 +70,12 @@ require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
+
- +
    @@ -95,7 +95,7 @@
    -' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT) . ''; ?> +' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT, ' id="askAQuestionButton"') . ''; ?>

    @@ -116,7 +116,7 @@ ' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
    '; + $one_time = '' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
    '; } else { $one_time = ''; } @@ -161,11 +161,13 @@ $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '

    ' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '

    ' : ''); if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 - $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = ''; } else { // show the quantity box - $the_button = '
    ' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
    ' . PRODUCTS_ORDER_QTY_TEXT . '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = '
    ' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
    ' . PRODUCTS_ORDER_QTY_TEXT . ''; } + $the_button .= zen_draw_hidden_field('products_id', (int)$_GET['products_id']); + $the_button .= zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT, ' id="addToCartButton"'); $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); ?> @@ -214,11 +216,11 @@ // if more than 0 reviews, then show reviews button; otherwise, show the "write review" button if ($reviews->fields['count'] > 0 ) { ?> -
    +

    fields['count'] : ''); ?>

    -
    +
    diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_free_shipping_info_display.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_free_shipping_info_display.php index d7d3f41..3ebeb09 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_free_shipping_info_display.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_free_shipping_info_display.php @@ -1,15 +1,15 @@ + * Zen Cart German Specific (158 code in 157) + * Loaded automatically by index.php?main_page=product_free_shipping_info. * Displays details of a "free-shipping" product (provided it is assigned to the product-free-shipping product type) * - * @copyright Copyright 2003-2022 Zen Cart Development Team + * @copyright Copyright 2003-2023 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_product_free_shipping_info_display.php for Tabbed Products Pro 2022-03-30 18:51:58Z webchills $ + * @version $Id: tpl_product_free_shipping_info_display.php for Tabbed Products Pro 2023-12-08 18:51:58Z webchills $ */ ?> @@ -21,7 +21,7 @@
    - + size('product_info') > 0) echo $messageStack->output('product_info'); ?> @@ -54,16 +54,13 @@
    get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?> - @@ -74,7 +71,9 @@ require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
    - +
    @@ -93,11 +92,12 @@ if ($flag_show_ask_a_question) { ?> -
    - -' . ASK_A_QUESTION . ''; ?> +
    + +' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT, ' id="askAQuestionButton"') . ''; ?> -
    +
    +
    ' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '

    '; + $one_time = '' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
    '; } else { $one_time = ''; } @@ -129,7 +129,7 @@ ?> get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?> in_cart($_GET['products_id'])) ? '

    ' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '

    ' : ''); if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 - $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = ''; } else { // show the quantity box - $the_button = '
    ' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
    ' . PRODUCTS_ORDER_QTY_TEXT . '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = '
    ' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
    ' . PRODUCTS_ORDER_QTY_TEXT . ''; } + $the_button .= zen_draw_hidden_field('products_id', (int)$_GET['products_id']); + $the_button .= zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT, ' id="addToCartButton"'); $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); ?> @@ -212,11 +214,11 @@ // if more than 0 reviews, then show reviews button; otherwise, show the "write review" button if ($reviews->fields['count'] > 0 ) { ?> -
    +

    fields['count'] : ''); ?>

    -
    +
    diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_info_display.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_info_display.php index 37c68b1..2425cea 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_info_display.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_info_display.php @@ -1,15 +1,15 @@ + * Zen Cart German Specific (zencartpro adaptations) + * Loaded automatically by index.php?main_page=product_info. * Displays details of a typical product * - * @copyright Copyright 2003-2022 Zen Cart Development Team + * @copyright Copyright 2003-2023 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_product_info_display.php for Tabbed Products Pro 2022-03-30 18:51:36Z webchills $ + * @version $Id: tpl_product_info_display.php for Tabbed Products Pro 2023-12-08 18:51:36Z webchills $ */ ?> @@ -21,7 +21,7 @@
    - + size('product_info') > 0) echo $messageStack->output('product_info'); ?> @@ -54,16 +54,13 @@
    get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?> - @@ -74,7 +71,9 @@ require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
    - +
    @@ -96,7 +95,7 @@
    -' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT) . ''; ?> +' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT, ' id="askAQuestionButton"') . ''; ?>

    @@ -117,7 +116,7 @@ ' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
    '; + $one_time = '' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
    '; } else { $one_time = ''; } @@ -162,11 +161,13 @@ $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '

    ' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '

    ' : ''); if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 - $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = ''; } else { // show the quantity box - $the_button = '
    ' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
    ' . PRODUCTS_ORDER_QTY_TEXT . '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = '
    ' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
    ' . PRODUCTS_ORDER_QTY_TEXT . ''; } + $the_button .= zen_draw_hidden_field('products_id', (int)$_GET['products_id']); + $the_button .= zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT, ' id="addToCartButton"'); $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); ?> @@ -213,11 +214,11 @@ // if more than 0 reviews, then show reviews button; otherwise, show the "write review" button if ($reviews->fields['count'] > 0 ) { ?> -
    +

    fields['count'] : ''); ?>

    -
    +
    diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_music_info_display.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_music_info_display.php index cef0ab8..d51c348 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_music_info_display.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_music_info_display.php @@ -1,15 +1,15 @@ + * Zen Cart German Specific (zencartpro adaptations) + * Loaded automatically by index.php?main_page=product_music_info. * Displays details of a music product * - * @copyright Copyright 2003-2022 Zen Cart Development Team + * @copyright Copyright 2003-2023 Zen Cart Development Team * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_product_music_info_display.php for Tabbed Products Pro 2022-03-30 18:52:58Z webchills $ + * @version $Id: tpl_product_music_info_display.php for Tabbed Products Pro 2023-12-08 18:52:58Z webchills $ */ ?> @@ -21,7 +21,7 @@
    - + size('product_info') > 0) echo $messageStack->output('product_info'); ?> @@ -54,16 +54,13 @@
    get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?> - @@ -74,7 +71,9 @@ require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
    - +
    -
    - -' . ASK_A_QUESTION . ''; ?> +
    + +' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT, ' id="askAQuestionButton"') . ''; ?> -
    +
    +
    ' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '

    '; + $one_time = '' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '
    '; } else { $one_time = ''; } @@ -140,7 +140,7 @@ ?> get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?> in_cart($_GET['products_id'])) ? '

    ' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '

    ' : ''); if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) { // hide the quantity box and default to 1 - $the_button = '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = ''; } else { // show the quantity box - $the_button = '
    ' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
    ' . PRODUCTS_ORDER_QTY_TEXT . '' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT); + $the_button = '
    ' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '
    ' . PRODUCTS_ORDER_QTY_TEXT . ''; } + $the_button .= zen_draw_hidden_field('products_id', (int)$_GET['products_id']); + $the_button .= zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT, ' id="addToCartButton"'); $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button); ?> @@ -223,11 +225,11 @@ // if more than 0 reviews, then show reviews button; otherwise, show the "write review" button if ($reviews->fields['count'] > 0 ) { ?> -
    +

    fields['count'] : ''); ?>

    -
    +
    diff --git a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_reviews_default.php b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_reviews_default.php index 5208835..fc8b553 100644 --- a/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_reviews_default.php +++ b/GEAENDERTE DATEIEN/includes/templates/DEINTEMPLATE_RESPONSIVE/templates/tpl_product_reviews_default.php @@ -7,14 +7,14 @@ * Zen Cart German Version - www.zen-cart-pro.at * @copyright Portions Copyright 2003 osCommerce * @license https://www.zen-cart-pro.at/license/3_0.txt GNU General Public License V3.0 - * @version $Id: tpl_product_reviews_default.php for Tabbed Products Pro 2022-03-30 18:53:58Z webchills $ + * @version $Id: tpl_product_reviews_default.php for Tabbed Products Pro 2023-12-08 18:53:58Z webchills $ */ ?>
    size('product_info') > 0) echo $messageStack->output('product_info'); ?>
    fields['products_id'] )) { - // $link = '

    ' . '' . MORE_INFO_TEXT . '' . '

    '; + // $link = '

    ' . '' . MORE_INFO_TEXT . '' . '

    '; $link = ''; } else { $link= '' . zen_image_button(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT) . ''; } $the_button = $link; $products_link = ''; - echo zen_get_buy_now_button($review->fields['products_id'], $the_button, $products_link) . '
    ' . zen_get_products_quantity_min_units_display($review->fields['products_id']); + echo zen_get_buy_now_button($review->fields['products_id'], $the_button, $products_link) . '
    ' . zen_get_products_quantity_min_units_display($review->fields['products_id']); ?> @@ -86,7 +86,7 @@ } else { ?> -
    ' . TEXT_APPROVAL_REQUIRED: ''); ?>
    +
    ' . TEXT_APPROVAL_REQUIRED: ''); ?>