Line 16... |
Line 16... |
16 |
<?php echo wpsg_drawForm_Input('wpsg_ordervar_'.$ov_id, $this->callMod('wpsg_mod_ordervars', 'getNameById', array($ov['id'])), $this->callMod('wpsg_mod_ordervars', 'getValueByIdAndOrder', array($ov_id, $_REQUEST['edit_id'])), array('text' => true, 'class_text' => 'wpsg_editable')); ?>
|
16 |
<?php echo wpsg_drawForm_Input('wpsg_ordervar_'.$ov_id, $this->callMod('wpsg_mod_ordervars', 'getNameById', array($ov['id'])), $this->callMod('wpsg_mod_ordervars', 'getValueByIdAndOrder', array($ov_id, $_REQUEST['edit_id'])), array('text' => true, 'class_text' => 'wpsg_editable')); ?>
|
17 |
|
17 |
|
18 |
<script type="text/javascript">/* <![CDATA[ */
|
18 |
<script type="text/javascript">/* <![CDATA[ */
|
19 |
|
19 |
|
20 |
<?php if ($ov['typ'] == '1') { /* Auswahl */ ?>
|
20 |
<?php if ($ov['typ'] == '1') { /* Auswahl */ ?>
|
21 |
jQuery('#wpsg_ordervar_<?php echo $ov_id; ?>').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_ordervars&do=inlinedit&noheader=1', {
|
21 |
jQuery('#wpsg_ordervar_<?php echo $ov_id; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_ordervars&do=inlinedit&noheader=1', {
|
22 |
submitdata: {
|
22 |
submitdata: {
|
23 |
order_id: <?php echo $_REQUEST['edit_id']; ?>,
|
23 |
order_id: <?php echo $_REQUEST['edit_id']; ?>,
|
24 |
ov_id: '<?php echo $ov['id']; ?>'
|
24 |
ov_id: '<?php echo $ov['id']; ?>'
|
25 |
},
|
25 |
},
|
26 |
submit : '<?php echo __('Speichern', 'wpsg'); ?>',
|
26 |
submit : '<?php echo __('Speichern', 'wpsg'); ?>',
|
Line 29... |
Line 29... |
29 |
placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
|
29 |
placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
|
30 |
indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
|
30 |
indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
|
31 |
tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
|
31 |
tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
|
32 |
});
|
32 |
});
|
33 |
<?php } else if ($ov['typ'] == '2') { /* Text */ ?>
|
33 |
<?php } else if ($ov['typ'] == '2') { /* Text */ ?>
|
34 |
jQuery('#wpsg_ordervar_<?php echo $ov_id; ?>').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_ordervars&do=inlinedit&noheader=1', {
|
34 |
jQuery('#wpsg_ordervar_<?php echo $ov_id; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_ordervars&do=inlinedit&noheader=1', {
|
35 |
submitdata: {
|
35 |
submitdata: {
|
36 |
order_id: <?php echo $_REQUEST['edit_id']; ?>,
|
36 |
order_id: <?php echo $_REQUEST['edit_id']; ?>,
|
37 |
ov_id: '<?php echo $ov['id']; ?>'
|
37 |
ov_id: '<?php echo $ov['id']; ?>'
|
38 |
},
|
38 |
},
|
39 |
submit: '<?php echo __('Speichern', 'wpsg'); ?>',
|
39 |
submit: '<?php echo __('Speichern', 'wpsg'); ?>',
|
40 |
placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
|
40 |
placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
|
41 |
indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
|
41 |
indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
|
42 |
tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
|
42 |
tooltip: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>'
|
43 |
});
|
43 |
});
|
44 |
<?php } else if ($ov['typ'] == '3') { /* Checkbox */ ?>
|
44 |
<?php } else if ($ov['typ'] == '3') { /* Checkbox */ ?>
|
45 |
jQuery('#wpsg_ordervar_<?php echo $ov_id; ?>').wspg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_ordervars&do=inlinedit&noheader=1', {
|
45 |
jQuery('#wpsg_ordervar_<?php echo $ov_id; ?>').wpsg_editable('<?php echo WPSG_URL_WP; ?>wp-admin/admin.php?page=wpsg-Order&action=ajax&mod=wpsg_mod_ordervars&do=inlinedit&noheader=1', {
|
46 |
submitdata: {
|
46 |
submitdata: {
|
47 |
order_id: <?php echo $_REQUEST['edit_id']; ?>,
|
47 |
order_id: <?php echo $_REQUEST['edit_id']; ?>,
|
48 |
ov_id: '<?php echo $ov['id']; ?>'
|
48 |
ov_id: '<?php echo $ov['id']; ?>'
|
49 |
},
|
49 |
},
|
50 |
submit : '<?php echo __('Speichern', 'wpsg'); ?>',
|
50 |
submit : '<?php echo __('Speichern', 'wpsg'); ?>',
|