Line 7... |
Line 7... |
7 |
?>
|
7 |
?>
|
8 |
|
8 |
|
9 |
<?php echo wpsg_drawForm_AdminboxStart(__('Bestellvariablen', 'wpsg')); ?>
|
9 |
<?php echo wpsg_drawForm_AdminboxStart(__('Bestellvariablen', 'wpsg')); ?>
|
10 |
|
10 |
|
11 |
<?php foreach ($this->view['wpsg_mod_ordervars']['data'] as $ov_id => $ov) { ?>
|
11 |
<?php foreach ($this->view['wpsg_mod_ordervars']['data'] as $ov_id => $ov) { ?>
|
12 |
|
12 |
|
13 |
<?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')); ?>
|
13 |
<?php echo wpsg_drawForm_Text(
|
- |
|
14 |
$this->callMod('wpsg_mod_ordervars', 'getNameById', array($ov['id'])),
|
- |
|
15 |
$this->callMod('wpsg_mod_ordervars', 'getValueByIdAndOrder', array($ov_id, $_REQUEST['edit_id'])),
|
- |
|
16 |
'wpsg_ordervar_'.$ov_id
|
- |
|
17 |
); ?>
|
14 |
|
18 |
|
15 |
<script type="text/javascript">/* <![CDATA[ */
|
19 |
<script type="text/javascript">/* <![CDATA[ */
|
16 |
|
20 |
|
17 |
<?php if ($ov['typ'] == '1') { /* Auswahl */ ?>
|
21 |
<?php if ($ov['typ'] == '1') { /* Auswahl */ ?>
|
18 |
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 |
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', {
|