From eaf11126b7c5a763dc70701ddf205ffe30676ef6 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Fri, 9 Sep 2016 20:05:19 +0000 Subject: - Fertigstellung neue Länderverwaltung - Deinstallationsoptionen an Layout angepasst - Bestellvariablen löschen - Backend Kleinigkeiten MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5748 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/laender.phtml | 338 +++++++--------------------------------------- 1 file changed, 49 insertions(+), 289 deletions(-) (limited to 'views/admin/laender.phtml') diff --git a/views/admin/laender.phtml b/views/admin/laender.phtml index 41c5fdd..dc15790 100644 --- a/views/admin/laender.phtml +++ b/views/admin/laender.phtml @@ -41,75 +41,7 @@
- view['data'])) { ?> - - - - - - - - - - - - - - - view['data'] as $l) { ?> - - - - - - - - - - - - - - - - - - - - -
- view['vz'][$l['vz']])) { ?> - view['vz'][$l['vz']]); ?> - - - - - - - - - - - - - - - - - - - - - - -
- - - -
- -

- + render(WPSG_PATH_VIEW.'/admin/laender_list.phtml'); ?>
@@ -117,8 +49,13 @@ -

- +
+
+
+ +
+ + @@ -141,6 +78,46 @@ } // function wpsg_country_add() + 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', + success: function(data) { + + jQuery('#wpsg_country_list').html(data); + + } + } ); + + return false; + + } // function wpsg_country_import() + + function wpsg_country_importEU() + { + + if (!confirm('')) return false; + + jQuery('#wpsg_country_list').html(''); + + jQuery.ajax( { + url: 'wp-admin/admin.php?page=wpsg-Admin&subaction=laender&do=eu_import&noheader=1', + success: function(data) { + + jQuery('#wpsg_country_list').html(data); + + } + } ); + + return false; + + } // function wpsg_country_importEU() + function wpsg_country_save() { @@ -167,7 +144,7 @@ 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: 'wp-admin/admin.php?page=wpsg-Admin&subaction=laender&do=edit&noheader=1&land_id=' + land_id, success: function(data) { jQuery('#Modal_wpsg_country_edit .modal-body').html(data); } } ); @@ -177,221 +154,4 @@ /* ]]> */ - - - - -
- -

- - -

- - render(WPSG_PATH_VIEW.'/admin/laender_edit.phtml'); ?> - -

- - view['data'])) { ?> - - - - - - - - - - - - view['data'] as $l) { $i ++; ?> - - - - - - - - - - - -
- view['vz'][$l['vz']])) { ?> - view['vz'][$l['vz']]); ?> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -

- - -

- - - - - - -

- \ No newline at end of file -- cgit v1.2.3