summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/admin/shopdata.phtml2
-rw-r--r--views/mods/mod_gutschein/product_bottom.phtml16
-rw-r--r--views/mods/mod_gutschein/settings_edit.phtml29
3 files changed, 1 insertions, 46 deletions
diff --git a/views/admin/shopdata.phtml b/views/admin/shopdata.phtml
index aa19de1..328dafe 100644
--- a/views/admin/shopdata.phtml
+++ b/views/admin/shopdata.phtml
@@ -24,7 +24,7 @@
<div class="panel-heading clearfix">
<h3 class="panel-title"><?php echo __('Allgemeine Angaben', 'wpsg'); ?></h3>
</div>
- <div class="panel-body">
+ <div class="panel-body">
<?php echo wpsg_drawForm_Input('wpsg_shopdata_name', __('Name des Shops / Firma', 'wpsg'), $this->get_option('wpsg_shopdata_name'), array('help' => 'wpsg_shopdata_name')); ?>
<?php echo wpsg_drawForm_Input('wpsg_shopdata_owner', __('Inhaber des Shops', 'wpsg'), $this->get_option('wpsg_shopdata_owner'), array('help' => 'wpsg_shopdata_owner')); ?>
<?php echo wpsg_drawForm_Input('wpsg_shopdata_tel', __('Telefonnummer', 'wpsg'), $this->get_option('wpsg_shopdata_tel'), array('help' => 'wpsg_shopdata_tel')); ?>
diff --git a/views/mods/mod_gutschein/product_bottom.phtml b/views/mods/mod_gutschein/product_bottom.phtml
deleted file mode 100644
index ba938cd..0000000
--- a/views/mods/mod_gutschein/product_bottom.phtml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-
- /**
- * Template um den Wertgutschein im unteren Bereich des Produkttemplates zu integrieren
- */
-
-?>
-<?php if ($this->hasMod('wpsg_mod_gutschein') && ($this->get_option('wpsg_mod_gutschein_wert') == 1)) { ?>
-
- <div class="wpsg_checkoutblock" id="wpsg_vorname">
- <label style="float:left" for="vname" class="wpsg_checkout"><?php echo __("Wertgutschein:", "wpsg"); ?></label>
- <input style="width:50%; float:left; margin:0 20px; height:20px; " class="product_voucher" type="text" id="vname" value="" /><span style="float:left;"><?php echo $this->get_option('wpsg_currency'); ?></span>
- </div>
-
- <div class="wpsg_clear"></div> <br />
-<?php } ?> \ No newline at end of file
diff --git a/views/mods/mod_gutschein/settings_edit.phtml b/views/mods/mod_gutschein/settings_edit.phtml
index b67a39a..fdd1faf 100644
--- a/views/mods/mod_gutschein/settings_edit.phtml
+++ b/views/mods/mod_gutschein/settings_edit.phtml
@@ -8,32 +8,3 @@
<?php echo wpsg_drawForm_Input('wpsg_mod_gutschein_size', __('Länge der Gutscheincodes', 'wpsg'), $this->get_option('wpsg_mod_gutschein_size'), array ('help' => 'wpsg_mod_gutschein_size')); ?>
<?php echo wpsg_drawForm_Input('wpsg_mod_gutschein_perPage', __('Gutscheine pro Seite (Backend)', 'wpsg'), $this->get_option('wpsg_mod_gutschein_perPage'), array ('help' => 'wpsg_mod_gutschein_perPage')); ?>
-<br />
-
-<?php echo wpsg_drawForm_Checkbox('wpsg_mod_gutschein_wert', __('Wertgutschein als Zahlungsart aktiv', 'wpsg'), $this->get_option('wpsg_mod_gutschein_wert'), array ('help' => 'wpsg_mod_gutschein_wert')); ?>
-<div class="wpsg_mod_gutschein_wert_activ" style="display:none;">
-
- <?php echo wpsg_drawForm_Input('wpsg_mod_gutschein_wert_bezeichnung', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_gutschein_wert_bezeichnung'), array('help' => 'wpsg_mod_gutschein_wert_bezeichnung')); ?>
- <?php echo wpsg_drawForm_Textarea('wpsg_mod_gutschein_wert_hint', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_gutschein_wert_hint'), array('help' => 'wpsg_mod_gutschein_wert_hint')); ?>
-
- <br />
- <?php echo wpsg_drawForm_Input('wpsg_mod_gutschein_wert_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_gutschein_wert_gebuehr'), true), array('help' => 'wpsg_mod_gutschein_wert_gebuehr','unit' => $this->get_option('wpsg_currency').' / %')); ?>
- <?php echo wpsg_drawForm_Select('wpsg_mod_gutschein_wert_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_gutschein_wert_mwst'), array('help' => 'wpsg_mod_gutschein_wert_mwst')); ?>
- <?php echo wpsg_drawForm_Checkbox('wpsg_mod_gutschein_wert_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_gutschein_wert_mwstland'), array('help' => 'wpsg_mod_gutschein_wert_mwstland')); ?>
-
-</div>
-
-<script type="text/javascript">/* <![CDATA[ */
-
- jQuery(document).ready(function() {
-
- jQuery('#wpsg_mod_gutschein_wert').bind('change', function() {
-
- if (jQuery(this).is(':checked')) jQuery('.wpsg_mod_gutschein_wert_activ').show();
- else jQuery('.wpsg_mod_gutschein_wert_activ').hide();
-
- } ).change();
-
- } );
-
-/* ]]> */</script> \ No newline at end of file