diff options
| author | hartmut <noreply@maennchen1.de> | 2017-09-12 08:07:03 +0000 |
|---|---|---|
| committer | hartmut <noreply@maennchen1.de> | 2017-09-12 08:07:03 +0000 |
| commit | 12af0d1e2abd7223af36ecfc0c5bcf9aa77fc239 (patch) | |
| tree | 06d6233a5c619362ca0d2a3e17c177c1f6c59c4b /views | |
| parent | ea831ce5a638f1761ea49220170404517a958a65 (diff) | |
Korrektur Produktbilder->ImageHandler
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6493 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views')
| -rw-r--r-- | views/mods/mod_request/requestpage.phtml | 3 | ||||
| -rw-r--r-- | views/produkt/images.phtml | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/views/mods/mod_request/requestpage.phtml b/views/mods/mod_request/requestpage.phtml index 61b96db..75a5722 100644 --- a/views/mods/mod_request/requestpage.phtml +++ b/views/mods/mod_request/requestpage.phtml @@ -102,9 +102,6 @@ <?php /* Produktbild BEGIN */ ?>
<?php if ($this->get_option('wpsg_mod_request_requestpageimage') == '1') {
- //if (wpsg_isSizedString($request_product['product_data']['varianten_image'])) $arBilder = array($request_product['product_data']['varianten_image']);
- //else $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder_MT', array($request_product['product_id']));
-
if (wpsg_isSizedString($request_product['product_data']['varianten_image'])) $arBilder = array($request_product['product_data']['varianten_image']);
else {
diff --git a/views/produkt/images.phtml b/views/produkt/images.phtml index 3f29c65..a5d254b 100644 --- a/views/produkt/images.phtml +++ b/views/produkt/images.phtml @@ -55,7 +55,7 @@ * Wird beim löschen eines Bilds (anklicken) aufgerufen
*/
function wpsg_remove_bild_MT(pid) {
-
+alert(1);
post_id = pid;
//jQuery('#wpsg_produktbilder_remove').show();
jQuery('#wpsg_produktbilder_remove').modal( { } );
@@ -64,7 +64,7 @@ }
function wpsg_remove_bild_MT_OK() {
-
+alert(2);
delmt = jQuery('#dialog_produktbilder_delmt').is(':checked');
del = jQuery('#dialog_produktbilder_del').is(':checked');
@@ -98,7 +98,7 @@ */
function wpsg_remove_bild(strBild)
{
-
+alert(3);
if (!confirm('<?php echo __('Sind Sie sicher, das Sie dieses Bild löschen möchten?', 'wpsg'); ?>')) return false;
jQuery('#produktbilder_target').html('<img src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
|
