summaryrefslogtreecommitdiff
path: root/views/mods/mod_productpackage
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2016-12-26 14:49:42 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2016-12-26 14:49:42 +0000
commit67b4f47637af35d708e6b1c056f2dfff86f69b03 (patch)
tree5f5b3df06e057313c72a7190fa9a117a1c07a71b /views/mods/mod_productpackage
parent1a5382bd8186a4a41eb3d7ff032d7f34784ac61e (diff)
- Produktpakete unter system/intern verschoben
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5999 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_productpackage')
-rw-r--r--views/mods/mod_productpackage/productlist.phtml15
-rw-r--r--views/mods/mod_productpackage/produkt_edit_sidebar.phtml77
2 files changed, 0 insertions, 92 deletions
diff --git a/views/mods/mod_productpackage/productlist.phtml b/views/mods/mod_productpackage/productlist.phtml
deleted file mode 100644
index 299257d..0000000
--- a/views/mods/mod_productpackage/productlist.phtml
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
- /**
- * Template für die Liste der zugeordneten Produkte
- */
-
-?>
-<?php if (!wpsg_isSizedArray($this->view['arProducts'])) { ?>
-<?php echo __('Bisher wurden keine Produkte ausgewählt', 'wpsg'); ?>
-<?php } else { ?>
-
-
-<?php } ?>
-<br /><br />
-<a href="" class="wpsg_link_add" onclick="return wpsg_mod_productpackage_add();"><?php echo __('Produkt auswählen', 'wpsg'); ?></a> \ No newline at end of file
diff --git a/views/mods/mod_productpackage/produkt_edit_sidebar.phtml b/views/mods/mod_productpackage/produkt_edit_sidebar.phtml
deleted file mode 100644
index f71ab25..0000000
--- a/views/mods/mod_productpackage/produkt_edit_sidebar.phtml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?php
-
- /**
- * Template für die Integration des Produktpaketes in die Produktverwaltung
- */
-
-?>
-<div id="wpsg_mod_productpackage_dialog"></div>
-
-<div id="wpsg_productpackage" class="postbox">
- <h3 class="wpsg_handlediv">
- <span class="handlediv" title="<?php echo __('Zum Ein/Ausklappen hier klicken', 'wpsg'); ?>"><br /></span>
- <span><?php echo __('Produktpaket', 'wpsg'); ?> </span>
- </h3>
- <div class="inside">
-
- <?php echo wpsg_drawForm_Checkbox('wpsg_mod_productpackage_set', __('Produktpaket', 'wpsg'), $this->get_option('wpsg_mod_productpackage_set')); ?>
-
- <div id="wpsg_mod_productpackage_layer">
-
- <?php echo $this->callMod('wpsg_mod_productpackage', 'productlist', array($this->view['data']['id'])); ?>
-
- </div>
-
- </div>
-</div>
-
-<script type="text/javascript">/* <![CDATA[ */
-
- function wpsg_mod_productpackage_select(product_id)
- {
-
- alert(product_id);
-
- } // function wpsg_mod_productpackage_select(product_id)
-
- function wpsg_mod_productpackage_add()
- {
-
- jQuery('#wpsg_mod_productpackage_dialog').html('<img style="margin:15px;" src="<?php echo WPSG_URL; ?>views/gfx/ajax-loader.gif" alt="<?php echo __('Bitte warten ...', 'wpsg'); ?>" />');
-
- jQuery('#wpsg_mod_productpackage_dialog').dialog( {
- 'dialogClass': 'wp-dialog',
- 'modal': true,
- 'width': 390,
- 'height': 350,
- 'title': '<?php echo __('Produktauswahl', 'wpsg'); ?>',
- 'open': function() {
-
- jQuery.ajax( {
- url: '<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Produkt&action=select&wpsg_mode=filterDialog&noheader=1&edit_id=<?php echo $this->view['data']['id']; ?>&callback=wpsg_mod_productpackage_select',
- success: function(data) {
-
- jQuery('#wpsg_mod_productpackage_dialog').html(data);
-
- }
- } );
-
- }
- } );
-
- return false;
-
- } // function wpsg_mod_productpackage_select()
-
- jQuery(document).ready(function() {
-
- jQuery('#wpsg_mod_productpackage_set').bind('change', function() {
-
- if (jQuery(this).attr("checked") == "checked") jQuery('#wpsg_mod_productpackage_layer').show();
- else jQuery('#wpsg_mod_productpackage_layer').hide();
-
- } ).click();
-
- } );
-
-/* ]]> */</script> \ No newline at end of file