Subversion Repositories wpShopGermany4

Rev

Rev 5013 | Rev 5877 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1908 daniel 1
<?php
2
 
3
	/**
4
	 * Template für die Einstellungen des Sparkassen Internet Moduls
5
	 */
6
 
7
?>
8
<br />
5013 daniel 9
<?php echo wpsg_drawForm_Input('wpsg_mod_shs_bezeichnung_creditcard', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_shs_bezeichnung_creditcard'), array('help' => 'wpsg_mod_shs_bezeichnung_creditcard')); ?>
10
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_shs_aktiv_creditcard', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_shs_aktiv_creditcard'), array('help' => 'wpsg_mod_shs_aktiv_creditcard')); ?>
11
<?php echo wpsg_drawForm_Textarea('wpsg_mod_shs_hint_creditcard', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_shs_hint_creditcard'), array('help' => 'wpsg_mod_shs_hint_creditcard')); ?>
1909 daniel 12
<br />
5013 daniel 13
<?php echo wpsg_drawForm_Input('wpsg_mod_shs_bezeichnung_maestro', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_shs_bezeichnung_maestro'), array('help' => 'wpsg_mod_shs_bezeichnung_maestro')); ?>
14
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_shs_aktiv_maestro', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_shs_aktiv_maestro'), array('help' => 'wpsg_mod_shs_aktiv_maestro')); ?>
15
<?php echo wpsg_drawForm_Textarea('wpsg_mod_shs_hint_maestro', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_shs_hint_maestro'), array('help' => 'wpsg_mod_shs_hint_maestro')); ?>
1909 daniel 16
<br />
5013 daniel 17
<?php echo wpsg_drawForm_Input('wpsg_mod_shs_bezeichnung_directdebit', __('Bezeichnung', 'wpsg'), $this->get_option('wpsg_mod_shs_bezeichnung_directdebit'), array('help' => 'wpsg_mod_shs_bezeichnung_directdebit')); ?>
18
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_shs_aktiv_directdebit', __('Aktiv', 'wpsg'), $this->get_option('wpsg_mod_shs_aktiv_directdebit'), array('help' => 'wpsg_mod_shs_aktiv_directdebit')); ?>
19
<?php echo wpsg_drawForm_Textarea('wpsg_mod_shs_hint_directdebit', __('Hinweistext', 'wpsg'), $this->get_option('wpsg_mod_shs_hint_directdebit'), array('help' => 'wpsg_mod_shs_hint_directdebit')); ?>
1909 daniel 20
<br />
5013 daniel 21
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_shs_sandbox', __('Sandbox Modus', 'wpsg'), $this->get_option('wpsg_mod_shs_sandbox'), array('help' => 'wpsg_mod_shs_sandbox')); ?>
22
<?php echo wpsg_drawForm_Input('wpsg_mod_shs_sslmerchant', __('SSL Händlerkennung (S-Internetkasse-SSL-User)', 'wpsg'), $this->get_option('wpsg_mod_shs_sslmerchant'), array('help' => 'wpsg_mod_shs_sslmerchant')); ?>
1908 daniel 23
<?php echo wpsg_drawForm_Input('wpsg_mod_shs_sslpw', __('MAC-Schlüssel', 'wpsg'), $this->get_option('wpsg_mod_shs_sslpw'), array(
5013 daniel 24
	'help'=>'wpsg_mod_shs_sslpw',
1908 daniel 25
	'pwd' => true,
5013 daniel 26
	/*'hint' => __('Muss mit dem Passwort im S-Interface unter Konfiguration -> Formularservice übereinstimmen.', 'wpsg')	*/
1908 daniel 27
)); ?>
28
<?php echo wpsg_drawForm_Input('', __('URL für Shopbenachrichtigung', 'wpsg'), $this->view['wpsg_mod_notify_url'], array(
5013 daniel 29
	'help' => 'wpsg_mod_notify_url',
30
	/*'hint' => __('Muss im S-Interface unter Konfiguration -> Formularservice hinterlegt werden.', 'wpsg')		*/
1908 daniel 31
)); ?>
5013 daniel 32
<?php echo wpsg_drawForm_Input('wpsg_mod_shs_apiurl', __('URL für Anfragen', 'wpsg'), $this->get_option('wpsg_mod_shs_apiurl'), array('help' => 'wpsg_mod_shs_apiurl')); ?>
33
<?php echo wpsg_drawForm_Input('wpsg_mod_shs_apiversion', __('API Version', 'wpsg'), $this->view['api_version'], array('help' => 'wpsg_mod_shs_apiversion','readonly' => true, 'text' => true)); ?>
1908 daniel 34
<br />
5013 daniel 35
<?php echo wpsg_drawForm_Input('wpsg_mod_shs_gebuehr', __('Gebühr/Rabatt', 'wpsg'), wpsg_ff($this->get_option('wpsg_mod_shs_gebuehr'), true), array('help' => 'wpsg_mod_shs_gebuehr','unit' => $this->get_option('wpsg_currency').' / %')); ?>
36
<?php echo wpsg_drawForm_Select('wpsg_mod_shs_mwst', __('Mehrwertsteuersatz', 'wpsg'), wpsg_tax_groups(), $this->get_option('wpsg_mod_shs_mwst'), array('help' => 'wpsg_mod_shs_mwst')); ?>
37
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_shs_mwstland', __('Keine MwSt. wenn Land steuerfrei', 'wpsg'), $this->get_option('wpsg_mod_shs_mwstland'), array('help' => 'wpsg_mod_shs_mwstland')); ?>
1908 daniel 38
<br />
39
<div class="wpsg_form_field">
40
	<div class="wpsg_form_left">
41
		<label><?php echo __('Formularoptionen', 'wpsg'); ?>:</label>
42
	</div>
43
	<div class="wpsg_form_right">
44
		<label>
1911 daniel 45
			<input <?php echo (($this->get_option('wpsg_mod_shs_mobileversion') == '1')?'checked="checked"':''); ?> style="margin-right:5px; margin-top:0px; float:none;" type="checkbox" class="checkbox" value="1" id="wpsg_mod_shs_mobileversion" name="wpsg_mod_shs_mobileversion" /><?php echo __('Mobile Version nutzen', 'wpsg'); ?>
1908 daniel 46
		</label><br />
47
		<label>
1911 daniel 48
			<input <?php echo (($this->get_option('wpsg_mod_shs_creditcard_cardholder') == '1')?'checked="checked"':''); ?> style="margin-right:5px; margin-top:0px; float:none;" type="checkbox" class="checkbox" value="1" id="wpsg_mod_shs_creditcard_cardholder" name="wpsg_mod_shs_creditcard_cardholder" /><?php echo __('Kartenhinhaber ist Pflichtfeld (Nur Kreditkarte)', 'wpsg'); ?>
1908 daniel 49
		</label><br />
50
		<label>
1911 daniel 51
			<input <?php echo (($this->get_option('wpsg_mod_shs_creditcard_optionalcardholder') == '1')?'checked="checked"':''); ?> style="margin-right:5px; margin-top:0px; float:none;" type="checkbox" class="checkbox" value="1" id="wpsg_mod_shs_creditcard_optionalcardholder" name="wpsg_mod_shs_creditcard_optionalcardholder" /><?php echo __('Kartenhinhaber ist Optional (Nur Kreditkarte)', 'wpsg'); ?>
1908 daniel 52
		</label><br />
53
		<label>
1911 daniel 54
			<input <?php echo (($this->get_option('wpsg_mod_shs_creditcard_sslifvisaenrolledu') == '1')?'checked="checked"':''); ?> style="margin-right:5px; margin-top:0px; float:none;" type="checkbox" class="checkbox" value="1" id="wpsg_mod_shs_creditcard_sslifvisaenrolledu" name="wpsg_mod_shs_creditcard_sslifvisaenrolledu" /><?php echo __('Bei VISA ohne Autorisierung zahlung erlauben (Nur Kreditkarte / VISA)', 'wpsg'); ?>
1908 daniel 55
		</label><br />
56
		<label>
1911 daniel 57
			<input <?php echo (($this->get_option('wpsg_mod_shs_directdebit_accountholder') == '1')?'checked="checked"':''); ?> style="margin-right:5px; margin-top:0px; float:none;" type="checkbox" class="checkbox" value="1" id="wpsg_mod_shs_directdebit_accountholder" name="wpsg_mod_shs_directdebit_accountholder" /><?php echo __('Kontoinhaber ist Pflichtfeld (Nur Lastschrift)', 'wpsg'); ?>
1908 daniel 58
		</label><br />
59
		<label>
1911 daniel 60
			<input <?php echo (($this->get_option('wpsg_mod_shs_directdebit_optionalaccountholder') == '1')?'checked="checked"':''); ?> style="margin-right:5px; margin-top:0px; float:none;" type="checkbox" class="checkbox" value="1" id="wpsg_mod_shs_directdebit_optionalaccountholder" name="wpsg_mod_shs_directdebit_optionalaccountholder" /><?php echo __('Kontoinhaber ist Optional (Nur Lastschrift)', 'wpsg'); ?>
1908 daniel 61
		</label><br />
62
		<label>
1911 daniel 63
			<input <?php echo (($this->get_option('wpsg_mod_shs_directdebit_checklist') == '1')?'checked="checked"':''); ?> style="margin-right:5px; margin-top:0px; float:none;" type="checkbox" class="checkbox" value="1" id="wpsg_mod_shs_directdebit_checklist" name="wpsg_mod_shs_directdebit_checklist" /><?php echo __('Sperrlistenabfrage (Nur Lastschrift, muss freigeschaltet sein)', 'wpsg'); ?>
1908 daniel 64
		</label>
65
	</div>
66
	<div class="wpsg_clear"></div>
67
</div>
68
<br />
5013 daniel 69
<?php echo wpsg_drawForm_Select('wpsg_mod_shs_transactiontype', __('Autorisierung', 'wpsg'), array('preauthorization', 'authorization'), $this->get_option('wpsg_mod_shs_transactiontype'), array('help' => 'wpsg_mod_shs_transactiontype')); ?>
70
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_shs_autostart', __('Zahlung sofort starten', 'wpsg'), $this->get_option('wpsg_mod_shs_autostart'), array('help' => 'wpsg_mod_shs_autostart')); ?>
71
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_shs_autoend', __('Nach Abschluß direkt auf Fehler- bzw. Erfolgsseite leiten', 'wpsg'), $this->get_option('wpsg_mod_shs_autoend'), array('help' => 'wpsg_mod_shs_autoend')); ?>
72
<?php echo wpsg_drawForm_Select('wpsg_page_mod_shs_success', __('Erfolgsseite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_mod_shs_success'), array('help' => 'wpsg_mod_shs_success')); ?>
73
<?php echo wpsg_drawForm_Select('wpsg_page_mod_shs_error', __('Fehlerseite', 'wpsg'), $this->view['pages'], $this->get_option('wpsg_page_mod_shs_error'), array('help' => 'wpsg_mod_shs_error')); ?>
1908 daniel 74
 
5013 daniel 75
<script type="text/javascript">/* <![CDATA[ */
1911 daniel 76
 
77
	jQuery('#wpsg_mod_shs_creditcard_cardholder').bind('click', function() { if (jQuery(this).attr('checked')) jQuery('#wpsg_mod_shs_creditcard_optionalcardholder').attr('checked', false); } );
78
	jQuery('#wpsg_mod_shs_creditcard_optionalcardholder').bind('click', function() { if (jQuery(this).attr('checked')) jQuery('#wpsg_mod_shs_creditcard_cardholder').attr('checked', false); } );
79
	jQuery('#wpsg_mod_shs_directdebit_accountholder').bind('click', function() { if (jQuery(this).attr('checked')) jQuery('#wpsg_mod_shs_directdebit_optionalaccountholder').attr('checked', false); } );
80
	jQuery('#wpsg_mod_shs_directdebit_optionalaccountholder').bind('click', function() { if (jQuery(this).attr('checked')) jQuery('#wpsg_mod_shs_directdebit_accountholder').attr('checked', false); } );
5013 daniel 81
 
1911 daniel 82
/* ]]> */</script>