From 3e4732295bcdb021e6dbffad0bc8d19157ca7862 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 26 Apr 2019 13:13:33 +0000 Subject: Implementation von Sanitisierung und Validierung sämtlicher Benutzereingaben im Backend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7398 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/licence.phtml | 1 - views/mods/mod_statistics/settings_edit.phtml | 20 ++++++++++++++++---- views/order/product_table.phtml | 2 +- views/order/view.phtml | 2 +- views/order/view_alternativeDesign.phtml | 2 -- views/produkt/addedit.phtml | 2 +- views/produkt/select.phtml | 6 +++--- views/produkttemplates/standard_redirect.phtml | 4 ++-- 8 files changed, 24 insertions(+), 15 deletions(-) (limited to 'views') diff --git a/views/admin/licence.phtml b/views/admin/licence.phtml index 9c5af5d..cd30bce 100644 --- a/views/admin/licence.phtml +++ b/views/admin/licence.phtml @@ -183,7 +183,6 @@
- $modul_info) { if ($modul_info['active'] !== true) unset($wpsg_update_data['modulinfo'][$modul_key]); } ?> diff --git a/views/mods/mod_statistics/settings_edit.phtml b/views/mods/mod_statistics/settings_edit.phtml index ac7f7e9..4a4bbb8 100644 --- a/views/mods/mod_statistics/settings_edit.phtml +++ b/views/mods/mod_statistics/settings_edit.phtml @@ -5,7 +5,8 @@
  • -
  • +
  • +
  • @@ -86,7 +87,11 @@ //echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_enable_first_touch_tracking', __('Enable First Touch Tracking', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_enable_first_touch_tracking')); echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_track_page_load_time', __('Ladegeschwindigkeit der Website erfassen', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_track_page_load_time'), array('help' => 'wpsg_mod_statistics_google_track_page_load_time')); - ?> + + echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_opt_out', __('Google Opt Out', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_opt_out'), array('help' => 'wpsg_mod_statistics_google_opt_out')); + + echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_enhanced_tracking_code', __('Enhanced Tacking Code', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_enhanced_tracking_code'), array('help' => 'wpsg_mod_statistics_google_enhanced_tracking_code')); + ?>

    - -
    + +
    + get_option('wpsg_mod_statistics_socialmedia_fb_px'), array('help' => 'wpsg_mod_statistics_socialmedia_fb_px')); + ?> +
    +
    + +
    get_option('wpsg_mod_statistics_line_chart_width'), array('help' => 'wpsg_mod_statistics_line_chart_width')); echo wpsg_drawForm_Input('wpsg_mod_statistics_line_chart_height', __('Liniendiagramm (Hoehe in px)', 'wpsg'), $this->get_option('wpsg_mod_statistics_line_chart_height'), array('help' => 'wpsg_mod_statistics_line_chart_height')); diff --git a/views/order/product_table.phtml b/views/order/product_table.phtml index 88763c6..1f5d037 100644 --- a/views/order/product_table.phtml +++ b/views/order/product_table.phtml @@ -318,5 +318,5 @@ - + \ No newline at end of file diff --git a/views/order/view.phtml b/views/order/view.phtml index 5908c22..e275f50 100644 --- a/views/order/view.phtml +++ b/views/order/view.phtml @@ -46,7 +46,7 @@ view['data']['id']); ?> view['arSubAction'] as $k => $v) { $i ++; ?> - + diff --git a/views/order/view_alternativeDesign.phtml b/views/order/view_alternativeDesign.phtml index 37005bf..0fe1911 100644 --- a/views/order/view_alternativeDesign.phtml +++ b/views/order/view_alternativeDesign.phtml @@ -6,8 +6,6 @@ ?> -view['arSubAction'])); ?> -
    diff --git a/views/produkt/addedit.phtml b/views/produkt/addedit.phtml index 0af087c..c937817 100644 --- a/views/produkt/addedit.phtml +++ b/views/produkt/addedit.phtml @@ -72,7 +72,7 @@
    - + view['arSubAction'] as $k => $v) { $i ++; ?>
    diff --git a/views/produkt/select.phtml b/views/produkt/select.phtml index 2fd0f31..b4ef1e1 100644 --- a/views/produkt/select.phtml +++ b/views/produkt/select.phtml @@ -14,10 +14,10 @@ - + - /wp-content/plugins/'.WPSG_FOLDERNAME.'/views/js/bootstrap-3.3.6-dist/css/bootstrap.css?ver=4.7.5' type='text/css' media='all' /> - /wp-content/plugins/'.WPSG_FOLDERNAME.'/views/js/bootstrap-3.3.6-dist/css/bootstrap-theme.css?ver=4.7.5' type='text/css' media='all' /> + //plugins/'.WPSG_FOLDERNAME.'/views/js/bootstrap-3.3.6-dist/css/bootstrap.css?ver=4.7.5' type='text/css' media='all' /> + //plugins/'.WPSG_FOLDERNAME.'/views/js/bootstrap-3.3.6-dist/css/bootstrap-theme.css?ver=4.7.5' type='text/css' media='all' /> diff --git a/views/produkttemplates/standard_redirect.phtml b/views/produkttemplates/standard_redirect.phtml index 58bdad2..ffa4047 100644 --- a/views/produkttemplates/standard_redirect.phtml +++ b/views/produkttemplates/standard_redirect.phtml @@ -13,7 +13,7 @@ ?>
    - + @@ -261,7 +261,7 @@ callMods('product_bottom', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> - +
    view['oProduct']->canOrder()) { ?> -- cgit v1.2.3