From 681acf44472deb7671387d5d601fc7a98061610f Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Wed, 9 Mar 2016 13:27:25 +0000 Subject: - Optimierungen V4 git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5401 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/form/input.phtml | 4 +- views/admin/konfiguration.phtml | 191 +++++++++++++++++++++------------------- views/admin/shopdata.phtml | 90 +++++++++++-------- views/css/admin.css | 3 + 4 files changed, 159 insertions(+), 129 deletions(-) diff --git a/views/admin/form/input.phtml b/views/admin/form/input.phtml index 234b1cc..4c68a73 100644 --- a/views/admin/form/input.phtml +++ b/views/admin/form/input.phtml @@ -1,4 +1,4 @@ -
+
@@ -6,6 +6,8 @@
+ +
\ No newline at end of file diff --git a/views/admin/konfiguration.phtml b/views/admin/konfiguration.phtml index 145e1cd..38a3a8a 100644 --- a/views/admin/konfiguration.phtml +++ b/views/admin/konfiguration.phtml @@ -19,102 +19,109 @@
- hasMod('wpsg_mod_core')) { ?> - - arLizenz['l'] == 0) { ?> -
-
- : -
-
- getDemoDays() < 0) { ?> -

getDemoDays())); ?>

+
+
+

+
+
+ hasMod('wpsg_mod_core')) { ?> + + arLizenz['l'] == 0) { ?> +
+
+ : +
+
+ getDemoDays() < 0) { ?> +

getDemoDays())); ?>

+ +

getDemoDays()); ?>

+ + +
+
+
-

getDemoDays()); ?>

- - -
-
-
- - - arLizenz['l']) - { - - case '1': $strText = __('Light Version', 'wpsg'); break; - case '2': $strText = __('Pro Version', 'wpsg'); break; - case '3': $strText = __('Enterprise Version', 'wpsg'); break; - default: die(); + + arLizenz['l']) + { + + case '1': $strText = __('Light Version', 'wpsg'); break; + case '2': $strText = __('Pro Version', 'wpsg'); break; + case '3': $strText = __('Enterprise Version', 'wpsg'); break; + default: die(); + + } - } + echo wpsg_drawForm_Text(__('Lizenzstatus', 'wpsg'), $strText); + + ?> + + +
+
 
+
+ Weitere Funktionen in der Vollversion.
[ Vollversion kaufen ] [ Weitere Infos ]', 'wpsg'), + 'http://shop.maennchen1.de/produkte/wpshopgermany-lizenzkey/', + 'http://wpshopgermany.de/' + ); ?> +
+
+
+ - echo wpsg_drawForm_Text(__('Lizenzstatus', 'wpsg'), $strText); - - ?> - - -
-
 
-
- Weitere Funktionen in der Vollversion.
[ Vollversion kaufen ] [ Weitere Infos ]', 'wpsg'), - 'http://shop.maennchen1.de/produkte/wpshopgermany-lizenzkey/', - 'http://wpshopgermany.de/' - ); ?> -
-
-
- - - get_option("wpsg_version_installed", true) != WPSG_VERSION) { ?> -
-
- : -
-
-

Bitte klicken Sie auf ", "wpsg").''.__("Aktualisieren", "wpsg").' ('.__("Produkte etc. werden dabei nicht gelöscht.", "wpsg"); ?>)

+ get_option("wpsg_version_installed", true) != WPSG_VERSION) { ?> +
+
+ : +
+
+

Bitte klicken Sie auf ", "wpsg").''.__("Aktualisieren", "wpsg").' ('.__("Produkte etc. werden dabei nicht gelöscht.", "wpsg"); ?>)

+ +
+
+
+ + +   + + + + get_option('wpsg_currency'), array('help' => 'Einstellungen_Allgemein_Waehrung')); ?> + + view['arLanguages'])) { ?> + view['arLanguages'], $this->get_option('wpsg_backend_language'), array('help' => 'Einstellungen_Allgemein_Standardsprachebackend')); ?> + + + get_option('wpsg_produkte_perpage'), array('help' => 'ProduktePerPage')); ?> + get_option('wpsg_order_perpage')); ?> + get_option('wpsg_showincompleteorder')); ?> + get_option('wpsg_currency')), $this->get_option('wpsg_emptyorder_clear')); ?> + __('Auf Seite bleiben', 'wpsg'), + '1' => __('Zum Warenkorb leiten', 'wpsg'), + '2' => __('Warenkorb im Fenster anzeigen', 'wpsg'), + '3' => __('Lightbox Meldung', 'wpsg') + ), $this->get_option('wpsg_afterinsert')); ?> + get_option('wpsg_skip_checkout2')); ?> + __('In Session belassen', 'wpsg'), + '1' => __('Löschen', 'wpsg') + ), $this->get_option('wpsg_afterorder')); ?> + get_option('wpsg_format_knr'), array('help' => 'Formatierung_Kundennummer')); ?> + __('Numerisch', 'wpsg'), '1' => __('Alphabetisch', 'wpsg')), $this->get_option('wpsg_order_knr')); ?> + get_option('wpsg_customer_start')); ?> + get_option('wpsg_format_onr'), array('help' => 'Formatierung_Bestellnummer')); ?> + get_option('wpsg_order_start')); ?>
-
-
- - -   - - - - - get_option('wpsg_currency'), array('help' => 'Einstellungen_Allgemein_Waehrung')); ?> - - view['arLanguages'])) { ?> - view['arLanguages'], $this->get_option('wpsg_backend_language'), array('help' => 'Einstellungen_Allgemein_Standardsprachebackend')); ?> - - - get_option('wpsg_produkte_perpage'), array('help' => 'ProduktePerPage')); ?> - get_option('wpsg_order_perpage')); ?> - get_option('wpsg_showincompleteorder')); ?> - get_option('wpsg_currency')), $this->get_option('wpsg_emptyorder_clear')); ?> - __('Auf Seite bleiben', 'wpsg'), - '1' => __('Zum Warenkorb leiten', 'wpsg'), - '2' => __('Warenkorb im Fenster anzeigen', 'wpsg'), - '3' => __('Lightbox Meldung', 'wpsg') - ), $this->get_option('wpsg_afterinsert')); ?> - get_option('wpsg_skip_checkout2')); ?> - __('In Session belassen', 'wpsg'), - '1' => __('Löschen', 'wpsg') - ), $this->get_option('wpsg_afterorder')); ?> - get_option('wpsg_format_knr'), array('help' => 'Formatierung_Kundennummer')); ?> - __('Numerisch', 'wpsg'), '1' => __('Alphabetisch', 'wpsg')), $this->get_option('wpsg_order_knr')); ?> - get_option('wpsg_customer_start')); ?> - get_option('wpsg_format_onr'), array('help' => 'Formatierung_Bestellnummer')); ?> - get_option('wpsg_order_start')); ?> - - + /* ]]> */ diff --git a/views/admin/shopdata.phtml b/views/admin/shopdata.phtml index e2340c6..a9d1ca0 100644 --- a/views/admin/shopdata.phtml +++ b/views/admin/shopdata.phtml @@ -4,57 +4,75 @@ * Template für die allgemeinen Shopdaten */ -?> -
- -
-
-
-
+?> -
    - view['arSubAction'] as $k => $v) { ?> -
  • +
    + +
    + + view['arSubAction'] as $k => $v) { ?> + -
+
-
+
- get_option('wpsg_shopdata_name'), array('help' => 'wpsg_shopdata_name')); ?> - get_option('wpsg_shopdata_owner'), array('help' => 'wpsg_shopdata_owner')); ?> - get_option('wpsg_shopdata_tel'), array('help' => 'wpsg_shopdata_tel')); ?> - get_option('wpsg_shopdata_fax'), array('help' => 'wpsg_shopdata_fax')); ?> - get_option('wpsg_shopdata_email'), array('help' => 'wpsg_shopdata_email')); ?> - get_option('wpsg_shopdata_taxnr'), array('help' => 'wpsg_shopdata_taxnr')); ?> - get_option('wpsg_shopdata_ustidnr'), array('help' => 'wpsg_shopdata_ustidnr')); ?> +
+
+

+
+
+ get_option('wpsg_shopdata_name'), array('help' => 'wpsg_shopdata_name')); ?> + get_option('wpsg_shopdata_owner'), array('help' => 'wpsg_shopdata_owner')); ?> + get_option('wpsg_shopdata_tel'), array('help' => 'wpsg_shopdata_tel')); ?> + get_option('wpsg_shopdata_fax'), array('help' => 'wpsg_shopdata_fax')); ?> + get_option('wpsg_shopdata_email'), array('help' => 'wpsg_shopdata_email')); ?> + get_option('wpsg_shopdata_taxnr'), array('help' => 'wpsg_shopdata_taxnr')); ?> + get_option('wpsg_shopdata_ustidnr'), array('help' => 'wpsg_shopdata_ustidnr')); ?> +
+
-

+
+
+

+
+
- get_option('wpsg_shopdata_street'), array('help' => 'wpsg_shopdata_street')); ?> - get_option('wpsg_shopdata_zip'), array('help' => 'wpsg_shopdata_zip')); ?> - get_option('wpsg_shopdata_city'), array('help' => 'wpsg_shopdata_city')); ?> + get_option('wpsg_shopdata_street'), array('help' => 'wpsg_shopdata_street')); ?> + get_option('wpsg_shopdata_zip'), array('help' => 'wpsg_shopdata_zip')); ?> + get_option('wpsg_shopdata_city'), array('help' => 'wpsg_shopdata_city')); ?> + +
+
-

+
+
+

+
+
- get_option('wpsg_shopdata_bank_name'), array('help' => 'wpsg_shopdata_bank_name')); ?> - get_option('wpsg_shopdata_bank_owner'), array('help' => 'wpsg_shopdata_bank_owner')); ?> - get_option('wpsg_shopdata_bank_iban'), array('help' => 'wpsg_shopdata_bank_iban')); ?> - get_option('wpsg_shopdata_bank_bic'), array('help' => 'wpsg_shopdata_bank_bic')); ?> + get_option('wpsg_shopdata_bank_name'), array('help' => 'wpsg_shopdata_bank_name')); ?> + get_option('wpsg_shopdata_bank_owner'), array('help' => 'wpsg_shopdata_bank_owner')); ?> + get_option('wpsg_shopdata_bank_iban'), array('help' => 'wpsg_shopdata_bank_iban')); ?> + get_option('wpsg_shopdata_bank_bic'), array('help' => 'wpsg_shopdata_bank_bic')); ?> + +
+

-
- \ No newline at end of file + jQuery('.wpsg_form_help').tipTip(); + + } ); + + /* ]]> */ +
\ No newline at end of file diff --git a/views/css/admin.css b/views/css/admin.css index d377028..f011238 100644 --- a/views/css/admin.css +++ b/views/css/admin.css @@ -13,6 +13,8 @@ #wpsg-bs .content { width:100%; box-sizing:border-box; padding-right:20px; } #wpsg-bs .form-group { margin-bottom:5px; margin-top:5px; } #wpsg-bs .form-checkbox { margin-top:-5px; margin-bottom:0px; } +#wpsg-bs .has-feedback label ~ .form-control-feedback { top:-1px; } +#wpsg-bs .has-feedback input[type="text"] { margin-right:20px; } /* Bootstrap Formulare im alten Teil */ .wpsg_old_forms .form-group { margin-left:-15px; margin-right:-15px; margin-bottom:5px; } @@ -43,6 +45,7 @@ .wpsg_admin_submenu { width:180px; float:left; } .wpsg_admin_content { padding-left:20px; width:800px; float:left; } .wpsg_admin_content h3 { margin-top:0px; margin-bottom:25px; } +.wpsg_admin_content h3.panel-title { margin-bottom:0px; } .wpsg_admin_submenu .list-group-item { padding:5px 10px; } .wpsg_admin .list-group-head { background-color:#666666; color:#FFFFFF; border:1px solid #666666; } .list-group { margin-bottom:15px !important; } -- cgit v1.2.3