From 323568cb1a4d1acad9cbf381d0172ce114dabdaf Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Mon, 9 Sep 2019 08:35:33 +0000 Subject: - Adminbereich genounced git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7560 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/deinstall.phtml | 2 ++ views/admin/emailconf.phtml | 2 ++ views/admin/laender.phtml | 47 +++++++++++++++++++++++++++++-------- views/admin/laender_edit.phtml | 2 +- views/admin/licence.phtml | 18 +++++++++++--- views/admin/versandzonen.phtml | 38 ++++++++++++++++++++---------- views/admin/versandzonen_list.phtml | 20 +++++++++++----- 7 files changed, 97 insertions(+), 32 deletions(-) (limited to 'views/admin') diff --git a/views/admin/deinstall.phtml b/views/admin/deinstall.phtml index 885e812..1000e58 100644 --- a/views/admin/deinstall.phtml +++ b/views/admin/deinstall.phtml @@ -22,6 +22,8 @@
+ +

view['count_products'] > 0)?$this->view['count_products']:0)), false, array('fullWidth' => true)); ?> diff --git a/views/admin/emailconf.phtml b/views/admin/emailconf.phtml index 97e0c3d..f9644a6 100644 --- a/views/admin/emailconf.phtml +++ b/views/admin/emailconf.phtml @@ -25,6 +25,8 @@
+ + diff --git a/views/admin/laender.phtml b/views/admin/laender.phtml index 6c91a39..89e2d0c 100644 --- a/views/admin/laender.phtml +++ b/views/admin/laender.phtml @@ -37,6 +37,8 @@ + +
@@ -63,13 +65,16 @@ function wpsg_country_check_all() { jQuery('td.col_check input').each(function() { jQuery(this).prop('checked', !jQuery(this).prop('checked')); } ); } - function wpsg_country_remove(land_id) - { + function wpsg_country_remove(land_id) { if (!confirm('')) return false; jQuery.ajax( { - url: 'wp-admin/admin.php?page=wpsg-Admin&subaction=laender&do=remove&noheader=1', + url: '', data: { land_id: land_id }, @@ -92,7 +97,11 @@ jQuery('#Modal_wpsg_country_edit').modal('show'); jQuery.ajax( { - url: 'wp-admin/admin.php?page=wpsg-Admin&subaction=laender&do=add&noheader=1', + url: '', success: function(data) { jQuery('#Modal_wpsg_country_edit .modal-body').html(data); } } ); @@ -100,15 +109,18 @@ } // function wpsg_country_add() - function wpsg_country_import() - { + function wpsg_country_import() { if (!confirm('')) return false; jQuery('#wpsg_country_list').html(''); jQuery.ajax( { - url: 'wp-admin/admin.php?page=wpsg-Admin&subaction=laender&do=import&noheader=1', + url: '', success: function(data) { jQuery('#wpsg_country_list').html(data); @@ -128,7 +140,11 @@ jQuery('#wpsg_country_list').html(''); jQuery.ajax( { - url: 'wp-admin/admin.php?page=wpsg-Admin&subaction=laender&do=eu_import&noheader=1', + url: '', success: function(data) { jQuery('#wpsg_country_list').html(data); @@ -146,7 +162,11 @@ jQuery('#wpsg_country_list').html(''); jQuery.ajax( { - url: 'wp-admin/admin.php?page=wpsg-Admin&subaction=laender&do=save&noheader=1', + url: '', data: { form_data: jQuery('#wpsg_land_edit_form_edit').serialize() }, @@ -166,7 +186,14 @@ jQuery('#Modal_wpsg_country_edit').modal('show'); jQuery.ajax( { - url: 'wp-admin/admin.php?page=wpsg-Admin&subaction=laender&do=edit&noheader=1&land_id=' + land_id, + url: '', + data: { + land_id: land_id + }, success: function(data) { jQuery('#Modal_wpsg_country_edit .modal-body').html(data); } } ); diff --git a/views/admin/laender_edit.phtml b/views/admin/laender_edit.phtml index bc5e325..97e09b7 100644 --- a/views/admin/laender_edit.phtml +++ b/views/admin/laender_edit.phtml @@ -1,5 +1,5 @@ - + view['land']['id'])) { ?> diff --git a/views/admin/licence.phtml b/views/admin/licence.phtml index cd30bce..351c3ff 100644 --- a/views/admin/licence.phtml +++ b/views/admin/licence.phtml @@ -74,6 +74,8 @@ + + @@ -120,7 +122,11 @@ - + @@ -142,7 +148,11 @@
- + @@ -161,6 +171,8 @@ + +
@@ -249,7 +261,7 @@ echo '
'; echo wpsg_translate(__('Version installieren.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=registrierung&noheader=1&do=installModul&modul='.$modul_key.'&source=licence'); - + } } diff --git a/views/admin/versandzonen.phtml b/views/admin/versandzonen.phtml index f823780..809e98a 100644 --- a/views/admin/versandzonen.phtml +++ b/views/admin/versandzonen.phtml @@ -31,7 +31,7 @@
- \ No newline at end of file + \ No newline at end of file diff --git a/views/admin/versandzonen_list.phtml b/views/admin/versandzonen_list.phtml index 61b8ddf..cd8352f 100644 --- a/views/admin/versandzonen_list.phtml +++ b/views/admin/versandzonen_list.phtml @@ -35,31 +35,39 @@ [ PLZ ] - + -- cgit v1.2.3