From 54390eecd0f8e80d133bd77698cede072dbdd681 Mon Sep 17 00:00:00 2001 From: hartmut Date: Fri, 6 Jan 2017 15:24:56 +0000 Subject: Änderungen und Fehlerkorrekturen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6005 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/form/checkbox.phtml | 9 +- views/admin/form/input.phtml | 4 +- views/admin/form/link.phtml | 2 +- views/admin/form/select.phtml | 2 +- views/admin/form/text.phtml | 2 +- views/admin/form/textarea.phtml | 2 +- views/admin/form/upload.phtml | 2 +- views/admin/hilfe.phtml | 21 +-- views/admin/news.phtml | 7 +- views/admin/ueber.phtml | 154 ++++++++++++++------- views/css/admin.css | 19 ++- views/mods/mod_core/admin_register.phtml | 58 +++++--- .../mod_discount/produkt_addedit_sidebar.phtml | 12 +- views/mods/mod_export/fields.phtml | 2 +- views/mods/mod_gutschein/index.phtml | 2 +- views/mods/mod_keygen/settings_edit.phtml | 122 +++++----------- .../mod_ordervars/checkout_inner_prebutton.phtml | 8 +- views/mods/mod_packagetracking/settings_edit.phtml | 2 +- .../mod_packagetracking/settings_edit_list.phtml | 9 +- views/mods/mod_productvariants/admin_html.phtml | 8 +- views/mods/mod_productvariants/admin_show.phtml | 2 +- views/mods/mod_productvars/pv_list.phtml | 5 +- .../produkt_addedit_content.phtml | 1 - views/mods/mod_produktattribute/list.phtml | 119 +++++++++------- .../mods/mod_produktattribute/settings_edit.phtml | 13 +- views/mods/mod_rechnungen/settings_edit.phtml | 34 ++--- views/mods/mod_statistics/settings_edit.phtml | 12 +- views/mods/mod_trustedshops/settings_edit.phtml | 85 +++++------- views/mods/mod_voucherproduct/settings_edit.phtml | 6 +- views/mods/mod_wirecard/settings_edit.phtml | 29 +++- views/order/index.phtml | 4 +- 31 files changed, 421 insertions(+), 336 deletions(-) diff --git a/views/admin/form/checkbox.phtml b/views/admin/form/checkbox.phtml index b1f7bda..8a574f2 100644 --- a/views/admin/form/checkbox.phtml +++ b/views/admin/form/checkbox.phtml @@ -27,12 +27,19 @@ view['field_label']; ?> view['field_config']['help'])) { ?> - + view['field_config']['rAlign'])) { ?> + + + + + diff --git a/views/admin/form/input.phtml b/views/admin/form/input.phtml index 9a5865c..76560da 100644 --- a/views/admin/form/input.phtml +++ b/views/admin/form/input.phtml @@ -38,10 +38,10 @@ view['field_config']['help'])) { ?> view['field_config']['rAlign'])) { ?> + class="glyphicon glyphicon glyphicon-question-sign form-control-feedback" aria-hidden="true" style="float:right;"> + class="glyphicon glyphicon glyphicon-question-sign form-control-feedback" aria-hidden="true"> diff --git a/views/admin/form/link.phtml b/views/admin/form/link.phtml index 711d1e9..f831506 100644 --- a/views/admin/form/link.phtml +++ b/views/admin/form/link.phtml @@ -31,7 +31,7 @@ >view['field_link']; ?> view['field_config']['help'])) { ?> - + diff --git a/views/admin/form/select.phtml b/views/admin/form/select.phtml index 89a811e..396baa5 100644 --- a/views/admin/form/select.phtml +++ b/views/admin/form/select.phtml @@ -80,7 +80,7 @@ view['field_config']['help'])) { ?> - + view['field_config']['icon'])) { ?> diff --git a/views/admin/form/text.phtml b/views/admin/form/text.phtml index cd52dde..50fd204 100644 --- a/views/admin/form/text.phtml +++ b/views/admin/form/text.phtml @@ -12,7 +12,7 @@ view['field_config']['help'])) { ?> - + diff --git a/views/admin/form/textarea.phtml b/views/admin/form/textarea.phtml index d016766..87c85df 100644 --- a/views/admin/form/textarea.phtml +++ b/views/admin/form/textarea.phtml @@ -15,7 +15,7 @@ view['field_config']['help'])) { ?> - + diff --git a/views/admin/form/upload.phtml b/views/admin/form/upload.phtml index 8e3c47e..79ef440 100644 --- a/views/admin/form/upload.phtml +++ b/views/admin/form/upload.phtml @@ -22,7 +22,7 @@ /> view['field_config']['help'])) { ?> - + diff --git a/views/admin/hilfe.phtml b/views/admin/hilfe.phtml index 2f24636..24859fc 100644 --- a/views/admin/hilfe.phtml +++ b/views/admin/hilfe.phtml @@ -8,24 +8,27 @@ ?>
-

- +

- -

+ + +

http://wpshopgermany.maennchen1.de/category/tutorials/ + -

+

nicht unser Kontaktformular oder Telefon.", "wpsg"); ?>

http://forum.maennchen1.de/ + -

+

https://wpshopgermany.uservoice.com/ + -

+

@@ -75,12 +78,14 @@ + -

+

hier umgewandelt werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=migratemwst' ); ?> +

\ No newline at end of file diff --git a/views/admin/news.phtml b/views/admin/news.phtml index aceb183..ceb4d62 100644 --- a/views/admin/news.phtml +++ b/views/admin/news.phtml @@ -15,12 +15,17 @@ view['news'] as $news) { ?>
-

+ '.wpsg_hspc(wpsg_formatTimestamp($news['date'], true).' - '.$news['title']).''; + echo wpsg_drawForm_AdminboxStart(__($temp, 'wpsg')); + + ?>
<?php echo __('gelesen', 'wpsg'); ?>
+
diff --git a/views/admin/ueber.phtml b/views/admin/ueber.phtml index f5cfc01..63c4d43 100644 --- a/views/admin/ueber.phtml +++ b/views/admin/ueber.phtml @@ -5,68 +5,120 @@ */ ?> -

-
-
- -
-
- -
-
-
+
+
+ +
+ + + -
-
- -
-
- + + + + +
+ +
+
-
+ + +
+ + + + + +
+ + arModule as $m_key => $m) + { + + $arModule[] = $m_key.((isset($m->version))?' '.$m->version:''); + + } + ?> -

+ true)); ?> + true)); ?> + true)); ?> + true)); ?> + ". "max_input_time: ". ini_get('max_input_time') . "
". "max_execution_time: ". ini_get('max_execution_time') . "
". "max_input_vars: ". ini_get('max_input_vars') . "
". "upload_max_filesize: ". ini_get('upload_max_filesize') . "
". "register_globals: ". ini_get('register_globals') . "
". "memory_limit: ". ini_get('memory_limit') . "
". "safe_mode: ". ini_get('safe_mode') . "
". "include_path: ". ini_get('include_path') . "
". "soap.wsdl_cache: ". ini_get('soap.wsdl_cache') . "
", array('text' => true, 'nohspc' => true)); ?> + true)); ?> - + get_option('active_plugins'); ?> + + /
+ -$arModule = array(); -foreach ($this->arModule as $m_key => $m) -{ + - $arModule[] = $m_key.((isset($m->version))?' '.$m->version:''); + + get_option('wpsg_plugintest_active_plugins'))) { ?> + + + + + +
+ + + -} -?> + + +
+ + true)); ?> - true)); ?> - true)); ?> - true)); ?> -". "max_input_time: ". ini_get('max_input_time') . "
". "max_execution_time: ". ini_get('max_execution_time') . "
". "max_input_vars: ". ini_get('max_input_vars') . "
". "upload_max_filesize: ". ini_get('upload_max_filesize') . "
". "register_globals: ". ini_get('register_globals') . "
". "memory_limit: ". ini_get('memory_limit') . "
". "safe_mode: ". ini_get('safe_mode') . "
". "include_path: ". ini_get('include_path') . "
". "soap.wsdl_cache: ". ini_get('soap.wsdl_cache') . "
", array('text' => true, 'nohspc' => true)); ?> - true)); ?> - -
-
- + $pinfo = preg_replace ( '%^.*(.*).*$%ms', '$1', $pinfo ); + //echo $pinfo; + + //$pinfo = preg_replace("/(width):\".*?\"/", "\${1}=\"100%\"", $pinfo); + //$pinfo = preg_replace('/(width)(:)"([\d]+)"/', '${1}${2}"100%"', $pinfo); + //$pinfo = str_replace('width: 934px;', 'width:100%;', $pinfo); + + echo $pinfo; + //jQuery('#phpinfo').replaceWith($pinfo); + + ?>
-
- get_option('active_plugins'); ?> -

- - /
- -

-
-

- get_option('wpsg_plugintest_active_plugins'))) { ?> - - - - -

+ + + + + + + +
+ + + + + + + + +
-
+ + + + +
diff --git a/views/css/admin.css b/views/css/admin.css index 4f1b6fc..8c7fcbc 100644 --- a/views/css/admin.css +++ b/views/css/admin.css @@ -220,14 +220,20 @@ /* Modul Gutschein */ #wpsg-bs.wpsg_voucher .col_checkbox { width:20px; } .wpsg_mod_voucher_fieldtable { font-size:12px; } +.wpsg_mod_voucher_fieldtable .col_bezeichnung { width:25px; } +.wpsg_mod_voucher_fieldtable .col_x, +.wpsg_mod_voucher_fieldtable .col_y { width:60px; } +.wpsg_mod_voucher_fieldtable .col_color { width:80px; } +.wpsg_mod_voucher_fieldtable .col_groesse { width:60px; } -/* Modul Lieferschein */ + +/* Modul Lieferschein/Rechnung */ .wpsg_mod_deliverynote_fieldtable { font-size:12px; } .wpsg_mod_deliverynote_fieldtable .col_bezeichnung { width:125px; } .wpsg_mod_deliverynote_fieldtable .col_x, .wpsg_mod_deliverynote_fieldtable .col_y { width:50px; } .wpsg_mod_deliverynote_fieldtable .col_color { width:80px; } -.wpsg_mod_deliverynote_fieldtable .col_groesse { width:50px; } +.wpsg_mod_deliverynote_fieldtable .col_groesse { width:60px; } .wpsg_foottextlist .col_standard { text-align:center; } /* Modul Rabatt */ @@ -253,6 +259,15 @@ .wpsg_pv_table .wpsg_pflicht { width:100px; text-align:center; } .wpsg_pv_table .wpsg_label { text-align:left; } +/* Produktattribute */ +.wpsg_pa_table { width:100%; } +.wpsg_pa_table tr td { vertical-align:top; } +.wpsg_pa_table .wpsg_id { width:20px; text-align:left; cursor:move; } +.wpsg_pa_table .wpsg_action { width:80px; text-align:center; } +.wpsg_pa_table .wpsg_typ { width:150px; text-align:left; } +.wpsg_pa_table .wpsg_show { width:100px; text-align:center; } +.wpsg_pa_table .wpsg_label { text-align:left; } + /* Bestellvariablen */ .wpsg_ov_table { width:100%; } .wpsg_ov_table .wpsg_id { width:20px; text-align:left; } diff --git a/views/mods/mod_core/admin_register.phtml b/views/mods/mod_core/admin_register.phtml index 379faf5..9f5bb34 100644 --- a/views/mods/mod_core/admin_register.phtml +++ b/views/mods/mod_core/admin_register.phtml @@ -6,25 +6,36 @@ */ ?> -
- -
-
-
-
-
    -
  • -
  • -
  • -
+
+
+ +
+ + + + + + + + +
+ +
+
- + +
-

+ + +
view['typ'], array('readonly' => true, 'disabled' => true)); ?> @@ -43,11 +54,16 @@ +
+ + -

- + + +
+ view['data']['domains']) <= 0) { ?>

@@ -76,12 +92,15 @@ - +

+ -

+ + +

weitere Module installieren und ihrer bestehenden wpShopGermany-Lizenz hinzufügen.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module'); ?>

@@ -93,8 +112,9 @@
- - + +
+
\ No newline at end of file diff --git a/views/mods/mod_discount/produkt_addedit_sidebar.phtml b/views/mods/mod_discount/produkt_addedit_sidebar.phtml index 7d6d4b7..f71d0bf 100644 --- a/views/mods/mod_discount/produkt_addedit_sidebar.phtml +++ b/views/mods/mod_discount/produkt_addedit_sidebar.phtml @@ -5,12 +5,9 @@ */ ?> -
-
-

- -

-
+ + +
view['wpsg_mod_discount']['data'][0]); ?> view['wpsg_mod_discount']['data'][1]))); ?> @@ -20,4 +17,5 @@
-
\ No newline at end of file + + diff --git a/views/mods/mod_export/fields.phtml b/views/mods/mod_export/fields.phtml index 4282954..cf84a50 100644 --- a/views/mods/mod_export/fields.phtml +++ b/views/mods/mod_export/fields.phtml @@ -84,7 +84,7 @@ - + diff --git a/views/mods/mod_productvars/pv_list.phtml b/views/mods/mod_productvars/pv_list.phtml index 0eb134a..224e0f3 100644 --- a/views/mods/mod_productvars/pv_list.phtml +++ b/views/mods/mod_productvars/pv_list.phtml @@ -41,11 +41,12 @@ /* ]]> */
- mod->arTypen[$pv['typ']]; ?> + + mod->arTypen[$pv['typ']]; ?> id="wpsg_pv_pflicht_" /> - + - - - + + + + : + + + + @@ -136,9 +149,9 @@ jQuery(document).ready(function() { - jQuery('.wpsg_mod_produktattribute_table').sortable( { + jQuery('#wpsg_pa_table').sortable( { helper: wpsg_Tablefix, - items: 'tbody', + items: 'tr.wpsg_tablerow', handler: '.wpsg_id', update: function(event, ui) { @@ -157,7 +170,7 @@ } ); } - } ).disableSelection(); + } ); } ); diff --git a/views/mods/mod_produktattribute/settings_edit.phtml b/views/mods/mod_produktattribute/settings_edit.phtml index 19c8e61..fab13ac 100644 --- a/views/mods/mod_produktattribute/settings_edit.phtml +++ b/views/mods/mod_produktattribute/settings_edit.phtml @@ -14,8 +14,13 @@ */ function wpsg_mod_produktattribute_changeTyp(pa_id) { - - if (jQuery('#typ_' + pa_id).val() == '2') + //alert('changetyp1: ' + jQuery('#typ_' + pa_id).val()); + //alert('changetyp1: ' + jQuery('#typ_' + pa_id).attr('data-value')); + + //typ = jQuery('#typ_' + pa_id).val(); + typ = jQuery('#typ_' + pa_id).attr('data-value'); + + if (typ == '2') { jQuery('.auswahlrow_' + pa_id).show(); } @@ -28,7 +33,7 @@ url: 'wp-admin/admin.php?page=wpsg-Admin&subaction=module&modul=wpsg_mod_produktattribute&do=inlinedit&noheader=1', data: { field: 'typ', - value: jQuery('#typ_' + pa_id).val(), + xvalue: jQuery('#typ_' + pa_id).attr('data-value'), pa_id: pa_id }, success: function(data) { @@ -105,4 +110,4 @@
- \ No newline at end of file + diff --git a/views/mods/mod_rechnungen/settings_edit.phtml b/views/mods/mod_rechnungen/settings_edit.phtml index c215ba9..8f728e8 100644 --- a/views/mods/mod_rechnungen/settings_edit.phtml +++ b/views/mods/mod_rechnungen/settings_edit.phtml @@ -86,6 +86,13 @@ @@ -141,7 +148,7 @@ get_option('wpsg_mod_rechnungen_showgutschriftrechnung'), array('help' => 'wpsg_mod_rechnungen_showgutschriftrechnung')); ?> get_option('wpsg_mod_rechnungen_showpv'), array('help' => 'wpsg_mod_rechnungen_showpv')); ?> get_option('wpsg_mod_rechnungen_showov'), array('help' => 'wpsg_mod_rechnungen_showov')); ?> - get_option('wpsg_mod_rechnungen_showanr'), array('help' => 'wpsg_mod_rechnungen_showanr')); ?> + get_option('wpsg_mod_rechnungen_showanr'), array('help' => 'wpsg_mod_rechnungen_showanr')); ?> get_option('wpsg_mod_rechnungen_hideCountry'), array('help' => 'wpsg_mod_rechnungen_hideCountry')); ?> get_option('wpsg_rechnungen_start'), array('help' => 'wpsg_rechnungen_start')); ?> get_option('wpsg_gutschrift_start'), array('help' => 'wpsg_gutschrift_start')); ?> @@ -149,21 +156,16 @@ get_option('wpsg_rechnungen_format'), array('help' => 'wpsg_rechnungen_format')); ?> get_option('wpsg_gutschrift_format'), array('help' => 'wpsg_gutschrift_format')); ?> -
-
- -
-
-

- %nr% -
- %Jahr% -
- %Monat% -
- %Tag% -
-

-
-
-
-
+ +

+ %nr% -
+ %Jahr% -
+ %Monat% -
+ %Tag% -
+

+
+ + true)); ?>
diff --git a/views/mods/mod_statistics/settings_edit.phtml b/views/mods/mod_statistics/settings_edit.phtml index 5eb9062..44180d1 100644 --- a/views/mods/mod_statistics/settings_edit.phtml +++ b/views/mods/mod_statistics/settings_edit.phtml @@ -89,7 +89,11 @@ ?>

-  : + true)); + ?> +
- : + true)); + ?> +
  • getURL(wpsg_ShopController::URL_BASKET))), array('text' => true)); ?>
  • diff --git a/views/mods/mod_trustedshops/settings_edit.phtml b/views/mods/mod_trustedshops/settings_edit.phtml index 6f3712f..667a297 100644 --- a/views/mods/mod_trustedshops/settings_edit.phtml +++ b/views/mods/mod_trustedshops/settings_edit.phtml @@ -17,18 +17,15 @@
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    + + +
    +
    get_option('wpsg_mod_trustedshops_siegelcache'), array('help' => 'wpsg_mod_trustedshops_siegelcache')); ?> get_option('wpsg_mod_trustedshops_siegeltitle'), array('help' => 'wpsg_mod_trustedshops_siegeltitle')); ?> @@ -40,9 +37,9 @@ <?php echo wpsg_hspc($this->get_option('wpsg_mod_trustedshops_siegeltitle')); ?> -
    +
    -
    +
    __('Nicht anzeigen', 'wpsg'), @@ -56,9 +53,9 @@ get_option('wpsg_mod_trustedshops_warranty'), array('help' => 'wpsg_mod_trustedshops_warranty')); ?> -
    +
    -
    +
    __('Nicht anzeigen', 'wpsg'), @@ -81,16 +78,11 @@ -
    - -
    +
    -
    -
    - -
    -
    - +
    + + get_option('wpsg_mod_trustedshops_reminder')))?'checked="checked"':''); ?> tabindex="14" name="wpsg_mod_trustedshops_reminder" value="1"> @@ -101,27 +93,27 @@

    - -
    -
    -
    + + true)); ?> + + + arStatus as $state_id => $state_label) { ?> + get_option('wpsg_mod_trustedshops_state'); + $chk = ((in_array($state_id, (array)$this->get_option('wpsg_mod_trustedshops_state')))?1:0); + echo wpsg_drawForm_Checkbox('wpsg_mod_trustedshops_state[]', __($state_label, 'wpsg'), + $chk, array('help1' => 'wpsg_shippay_mwstland', + 'value' => wpsg_hspc($state_id), + 'noHidden' => true, + 'fullWidth' => true + )); + ?> +
    + + + true)); ?> + -
    -
    - -
    -
    - - arStatus as $state_id => $state_label) { ?> - - - -
    -
    -
    view['lastExport'], array('text' => true)); ?> @@ -144,9 +136,8 @@ -
    -
    +
    diff --git a/views/mods/mod_voucherproduct/settings_edit.phtml b/views/mods/mod_voucherproduct/settings_edit.phtml index 79b8528..e07f6b3 100644 --- a/views/mods/mod_voucherproduct/settings_edit.phtml +++ b/views/mods/mod_voucherproduct/settings_edit.phtml @@ -47,7 +47,8 @@
    - +
    + @@ -60,6 +61,8 @@ + + @@ -124,6 +127,7 @@ +
    diff --git a/views/mods/mod_wirecard/settings_edit.phtml b/views/mods/mod_wirecard/settings_edit.phtml index fa32f33..8e03bf0 100644 --- a/views/mods/mod_wirecard/settings_edit.phtml +++ b/views/mods/mod_wirecard/settings_edit.phtml @@ -6,7 +6,7 @@ ?> get_option('wpsg_mod_wirecard_name'), array('help' => 'wpsg_shippay_name')); ?> -get_option('wpsg_mod_wirecard_activ'), array('help' => 'wpsg_shippay_activ')); ?> +get_option('wpsg_mod_wirecard_activ'), array('rAlign' => true, 'help' => 'wpsg_shippay_activ')); ?> get_option('wpsg_mod_wirecard_hint'), array('help' => 'wpsg_shippay_hint')); ?> get_option('wpsg_mod_wirecard_logo'), array('help' => 'wpsg_mod_wirecard_logo', 'hint' => __('Auflösung: 95x65 Pixel (GIF/JPG/PNG)', 'wpsg'))); ?>
    @@ -28,18 +28,37 @@
    - +
    -
    +
    + + true)); ?>
      view['paymentTypes'] as $pt_key => $pt) { ?>
    • - - get_option('wpsg_mod_wirecard_paymenttype'))))?'checked="checked"':''); ?> name="wpsg_mod_wirecard_paymenttype[]" />  + + get_option('wpsg_mod_wirecard_paymenttype'); + $arr2 = (array)explode(',', $this->get_option('wpsg_mod_wirecard_paymenttype')); + $chk = ((in_array($pt_key, (array)explode(',', $this->get_option('wpsg_mod_wirecard_paymenttype'))))?'checked="checked"':''); + $chk = ((in_array($pt_key, (array)explode(',', $this->get_option('wpsg_mod_wirecard_paymenttype'))))?1:0); + // function wpsg_drawForm_Checkbox($field_name, $field_label, $field_checked, $conf = array()) + echo wpsg_drawForm_Checkbox('wpsg_mod_wirecard_paymenttype[]', __($pt, 'wpsg'), + $chk, array('help1' => 'wpsg_shippay_mwstland', + 'value' => wpsg_hspc($pt_key), + 'noHidden' => true, + 'fullWidth1' => true + )); + ?> +
    +

    + true)); ?> +
    +
    diff --git a/views/order/index.phtml b/views/order/index.phtml index 4af0848..1133d52 100644 --- a/views/order/index.phtml +++ b/views/order/index.phtml @@ -166,11 +166,11 @@
    admincomment) != "") { ?> - admincomment); ?>" onclick="return false;" class="glyphicon glyphicon-info-sign admincomment" href="#"> + admincomment); ?>" onclick="return false;" class="glyphicon glyphicon-question-sign admincomment" href="#"> comment) != "") { ?> - comment); ?>" onclick="return false;" class="glyphicon glyphicon-info-sign customercomment" href="#"> + comment); ?>" onclick="return false;" class="glyphicon glyphicon-question-sign customercomment" href="#"> hasShippingAdress()) { ?> -- cgit v1.2.3