summaryrefslogtreecommitdiff
path: root/views/mods/mod_ordervars
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2016-12-09 14:52:48 +0000
committerhartmut <noreply@maennchen1.de>2016-12-09 14:52:48 +0000
commit6f5379425cbb8ac4e3e95be7c9496b6d508b95ba (patch)
treeba17e1bca2c3722aca72ade838019cf0c2f1b02f /views/mods/mod_ordervars
parent9b4baec1311ee5a28e00e4fdd4c6c166d005d5ba (diff)
Backend, Statistic und Korrektur E_NOTICE
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5945 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_ordervars')
-rw-r--r--views/mods/mod_ordervars/order_view_sidebar.phtml4
-rw-r--r--views/mods/mod_ordervars/ov_list.phtml2
2 files changed, 3 insertions, 3 deletions
diff --git a/views/mods/mod_ordervars/order_view_sidebar.phtml b/views/mods/mod_ordervars/order_view_sidebar.phtml
index 4f11976..2cf8c73 100644
--- a/views/mods/mod_ordervars/order_view_sidebar.phtml
+++ b/views/mods/mod_ordervars/order_view_sidebar.phtml
@@ -24,7 +24,7 @@
ov_id: '<?php echo $ov['id']; ?>'
},
submit : '<?php echo __('Speichern', 'wpsg'); ?>',
- data : '<?php echo json_encode(wpsg_array_merge((array)$ov['auswahl'], array('not_set' => __('Keine Angabe', 'wpsg')))); ?>',
+ data : <?php echo wpsg_prepare_for_inlineEdit(wpsg_array_merge((array)$ov['auswahl'], array('not_set' => __('Keine Angabe', 'wpsg')))); ?>,
type : 'select',
placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
@@ -48,7 +48,7 @@
ov_id: '<?php echo $ov['id']; ?>'
},
submit : '<?php echo __('Speichern', 'wpsg'); ?>',
- data : '<?php echo json_encode(array('1' => __('Ja', 'wpsg'), '0' => __('Nein', 'wpsg'))); ?>',
+ data : <?php echo wpsg_prepare_for_inlineEdit(array('1' => __('Ja', 'wpsg'), '0' => __('Nein', 'wpsg'))); ?>,
type : 'select',
placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',
diff --git a/views/mods/mod_ordervars/ov_list.phtml b/views/mods/mod_ordervars/ov_list.phtml
index b8cb5c3..09876ce 100644
--- a/views/mods/mod_ordervars/ov_list.phtml
+++ b/views/mods/mod_ordervars/ov_list.phtml
@@ -61,7 +61,7 @@
ov_id: '<?php echo $ov['id']; ?>'
},
submit: '<?php echo __('Speichern', 'wpsg'); ?>',
- data: '<?php echo json_encode($this->mod->arTypen); ?>',
+ data: <?php echo wpsg_prepare_for_inlineEdit($this->mod->arTypen); ?>,
type: 'select',
placeholder: '<?php echo __('Zum Bearbeiten anklicken ...', 'wpsg'); ?>',
indicator: '<?php echo __('Speicher ...', 'wpsg'); ?>',