Line 22... |
Line 22... |
22 |
<span class="wpsg_glyphicon_right glyphicon glyphicon-trash"></span></a>
|
22 |
<span class="wpsg_glyphicon_right glyphicon glyphicon-trash"></span></a>
|
23 |
<?php echo wpsg_drawForm_TextEnd(__('ID', 'wpsg')); ?>
|
23 |
<?php echo wpsg_drawForm_TextEnd(__('ID', 'wpsg')); ?>
|
24 |
|
24 |
|
25 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
25 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
26 |
<span id="va_name_<?php echo $va['id']; ?>"><?php echo $va['name']; ?></span>
|
26 |
<span id="va_name_<?php echo $va['id']; ?>"><?php echo $va['name']; ?></span>
|
27 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_name" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_name"></a>
|
27 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" data-wpsg-tip="wpsg_shippay_name" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_name" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_name"></a>
|
28 |
<?php echo wpsg_drawForm_TextEnd(__('Bezeichnung', 'wpsg')); ?>
|
28 |
<?php echo wpsg_drawForm_TextEnd(__('Bezeichnung', 'wpsg')); ?>
|
29 |
<script type="text/javascript">/* <![CDATA[ */
|
29 |
<script type="text/javascript">/* <![CDATA[ */
|
30 |
jQuery('#va_name_<?php echo $va['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1', {
|
30 |
jQuery('#va_name_<?php echo $va['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1', {
|
31 |
submitdata: {
|
31 |
submitdata: {
|
32 |
field: 'name',
|
32 |
field: 'name',
|
Line 35... |
Line 35... |
35 |
});
|
35 |
});
|
36 |
/* ]]> */</script>
|
36 |
/* ]]> */</script>
|
37 |
|
37 |
|
38 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
38 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
39 |
<input type="checkbox" value="1" <?php echo (($va['aktiv'] == '1')?'checked="checked"':''); ?> id="va_<?php echo $va['id']; ?>_aktiv" />
|
39 |
<input type="checkbox" value="1" <?php echo (($va['aktiv'] == '1')?'checked="checked"':''); ?> id="va_<?php echo $va['id']; ?>_aktiv" />
|
40 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_activ" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_activ"></a>
|
40 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" data-wpsg-tip="wpsg_shippay_activ" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_activ" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_activ"></a>
|
41 |
<?php echo wpsg_drawForm_TextEnd(__('Aktiv', 'wpsg')); ?>
|
41 |
<?php echo wpsg_drawForm_TextEnd(__('Aktiv', 'wpsg')); ?>
|
42 |
<script type="text/javascript">/* <![CDATA[ */
|
42 |
<script type="text/javascript">/* <![CDATA[ */
|
43 |
jQuery('#va_<?php echo $va['id']; ?>_aktiv').bind('change', function() {
|
43 |
jQuery('#va_<?php echo $va['id']; ?>_aktiv').bind('change', function() {
|
44 |
|
44 |
|
45 |
var value = 0;
|
45 |
var value = 0;
|
Line 56... |
Line 56... |
56 |
} );
|
56 |
} );
|
57 |
/* ]]> */</script>
|
57 |
/* ]]> */</script>
|
58 |
|
58 |
|
59 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
59 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
60 |
<span id="va_hint_<?php echo $va['id']; ?>"><?php echo wpsg_hspc($va['hint']); ?></span>
|
60 |
<span id="va_hint_<?php echo $va['id']; ?>"><?php echo wpsg_hspc($va['hint']); ?></span>
|
61 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_hint" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_hint"></a>
|
61 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" data-wpsg-tip="wpsg_shippay_hint" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_hint" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_hint"></a>
|
62 |
<?php echo wpsg_drawForm_TextEnd(__('Hinweistext', 'wpsg')); ?>
|
62 |
<?php echo wpsg_drawForm_TextEnd(__('Hinweistext', 'wpsg')); ?>
|
63 |
<script type="text/javascript">/* <![CDATA[ */
|
63 |
<script type="text/javascript">/* <![CDATA[ */
|
64 |
jQuery('#va_hint_<?php echo $va['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1', {
|
64 |
jQuery('#va_hint_<?php echo $va['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1', {
|
65 |
submitdata: {
|
65 |
submitdata: {
|
66 |
field: 'hint',
|
66 |
field: 'hint',
|
Line 71... |
Line 71... |
71 |
|
71 |
|
72 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
72 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
73 |
<span id="va_typ_<?php echo $va['id']; ?>"><?php
|
73 |
<span id="va_typ_<?php echo $va['id']; ?>"><?php
|
74 |
echo wpsg_hspc($this->view['arTypen'][$va['typ']]);
|
74 |
echo wpsg_hspc($this->view['arTypen'][$va['typ']]);
|
75 |
?></span>
|
75 |
?></span>
|
76 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_grundlage" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_grundlage"></a>
|
76 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" data-wpsg-tip="wpsg_shippay_grundlage" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_grundlage" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_grundlage"></a>
|
77 |
<?php echo wpsg_drawForm_TextEnd(__('Grundlage', 'wpsg')); ?>
|
77 |
<?php echo wpsg_drawForm_TextEnd(__('Grundlage', 'wpsg')); ?>
|
78 |
<script type="text/javascript">/* <![CDATA[ */
|
78 |
<script type="text/javascript">/* <![CDATA[ */
|
79 |
jQuery('#va_typ_<?php echo $va['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1', {
|
79 |
jQuery('#va_typ_<?php echo $va['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1', {
|
80 |
type: 'select',
|
80 |
type: 'select',
|
81 |
data: <?php echo wpsg_prepare_for_inlineEdit($this->view['arTypen']); ?>,
|
81 |
data: <?php echo wpsg_prepare_for_inlineEdit($this->view['arTypen']); ?>,
|
Line 92... |
Line 92... |
92 |
<?php echo wpsg_hspc($this->view['arVZ'][$va['vz']]['name']); ?>
|
92 |
<?php echo wpsg_hspc($this->view['arVZ'][$va['vz']]['name']); ?>
|
93 |
<?php } else { ?>
|
93 |
<?php } else { ?>
|
94 |
<?php echo __('Alle Versandzonen', 'wpsg'); ?>
|
94 |
<?php echo __('Alle Versandzonen', 'wpsg'); ?>
|
95 |
<?php } ?>
|
95 |
<?php } ?>
|
96 |
</span>
|
96 |
</span>
|
97 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_versandzone" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_versandzone"></a>
|
97 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" data-wpsg-tip="wpsg_shippay_versandzone" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_versandzone" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_versandzone"></a>
|
98 |
<?php echo wpsg_drawForm_TextEnd(__('Versandzone', 'wpsg')); ?>
|
98 |
<?php echo wpsg_drawForm_TextEnd(__('Versandzone', 'wpsg')); ?>
|
99 |
<script type="text/javascript">/* <![CDATA[ */
|
99 |
<script type="text/javascript">/* <![CDATA[ */
|
100 |
jQuery('#va_vz_<?php echo $va['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1', {
|
100 |
jQuery('#va_vz_<?php echo $va['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1', {
|
101 |
type: 'select',
|
101 |
type: 'select',
|
102 |
data : <?php echo wpsg_prepare_for_inlineEdit($arVzNamen) ?>,
|
102 |
data : <?php echo wpsg_prepare_for_inlineEdit($arVzNamen) ?>,
|
Line 107... |
Line 107... |
107 |
});
|
107 |
});
|
108 |
/* ]]> */</script>
|
108 |
/* ]]> */</script>
|
109 |
|
109 |
|
110 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
110 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
111 |
<span id="va_kosten_<?php echo $va['id']; ?>"><?php echo wpsg_hspc($va['kosten']); ?></span>
|
111 |
<span id="va_kosten_<?php echo $va['id']; ?>"><?php echo wpsg_hspc($va['kosten']); ?></span>
|
112 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_hint" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_kostenschluessel"></a>
|
112 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" data-wpsg-tip="wpsg_shippay_kostenschluessel" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_kostenschluessel" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_kostenschluessel"></a>
|
113 |
<?php echo wpsg_drawForm_TextEnd(__('Kostenschlüssel', 'wpsg')); ?>
|
113 |
<?php echo wpsg_drawForm_TextEnd(__('Kostenschlüssel', 'wpsg')); ?>
|
114 |
<script type="text/javascript">/* <![CDATA[ */
|
114 |
<script type="text/javascript">/* <![CDATA[ */
|
115 |
jQuery('#va_kosten_<?php echo $va['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1', {
|
115 |
jQuery('#va_kosten_<?php echo $va['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1', {
|
116 |
submitdata: {
|
116 |
submitdata: {
|
117 |
field: 'kosten',
|
117 |
field: 'kosten',
|
Line 142... |
Line 142... |
142 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
142 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
143 |
<span id="va_mwst_key_<?php echo $va['id']; ?>"><?php
|
143 |
<span id="va_mwst_key_<?php echo $va['id']; ?>"><?php
|
144 |
$tax_groups = wpsg_tax_groups();
|
144 |
$tax_groups = wpsg_tax_groups();
|
145 |
echo wpsg_hspc($tax_groups[$va['mwst_key']]);
|
145 |
echo wpsg_hspc($tax_groups[$va['mwst_key']]);
|
146 |
?></span>
|
146 |
?></span>
|
147 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_mwst" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_mwst"></a>
|
147 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" data-wpsg-tip="wpsg_shippay_mwst" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_mwst" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_mwst"></a>
|
148 |
<?php echo wpsg_drawForm_TextEnd(__('Steuersatz', 'wpsg')); ?>
|
148 |
<?php echo wpsg_drawForm_TextEnd(__('Steuersatz', 'wpsg')); ?>
|
149 |
<script type="text/javascript">/* <![CDATA[ */
|
149 |
<script type="text/javascript">/* <![CDATA[ */
|
150 |
jQuery('#va_mwst_key_<?php echo $va['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1', {
|
150 |
jQuery('#va_mwst_key_<?php echo $va['id']; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_versandarten&do=inlinedit&noheader=1', {
|
151 |
type: 'select',
|
151 |
type: 'select',
|
152 |
data: <?php echo wpsg_prepare_for_inlineEdit(wpsg_tax_groups()); ?>,
|
152 |
data: <?php echo wpsg_prepare_for_inlineEdit(wpsg_tax_groups()); ?>,
|
Line 157... |
Line 157... |
157 |
});
|
157 |
});
|
158 |
/* ]]> */</script>
|
158 |
/* ]]> */</script>
|
159 |
|
159 |
|
160 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
160 |
<?php echo wpsg_drawForm_TextStart(); ?>
|
161 |
<input type="checkbox" value="1" <?php echo (($va['mwst_laender'] == '1')?'checked="checked"':''); ?> id="va_mwst_laender_<?php echo $va['id']; ?>" />
|
161 |
<input type="checkbox" value="1" <?php echo (($va['mwst_laender'] == '1')?'checked="checked"':''); ?> id="va_mwst_laender_<?php echo $va['id']; ?>" />
|
162 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_mwstland" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_mwstland"></a>
|
162 |
<a class="wpsg_glyphicon_right glyphicon glyphicon-question-sign" data-wpsg-tip="wpsg_shippay_mwstland" rel="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_mwstland" href="?page=wpsg-Admin&subaction=loadHelp&noheader=1&field=wpsg_shippay_mwstland"></a>
|
163 |
<?php echo wpsg_drawForm_TextEnd(__('Keine MwSt. wenn Land steuerfrei', 'wpsg')); ?>
|
163 |
<?php echo wpsg_drawForm_TextEnd(__('Keine MwSt. wenn Land steuerfrei', 'wpsg')); ?>
|
164 |
<script type="text/javascript">/* <![CDATA[ */
|
164 |
<script type="text/javascript">/* <![CDATA[ */
|
165 |
jQuery('#va_mwst_laender_<?php echo $va['id']; ?>').bind('change', function() {
|
165 |
jQuery('#va_mwst_laender_<?php echo $va['id']; ?>').bind('change', function() {
|
166 |
|
166 |
|
167 |
var value = 0;
|
167 |
var value = 0;
|