From 2d8f1b8de0310d2fe6db6a6e7448e099f9a8a901 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Mon, 20 Jun 2016 11:51:37 +0000 Subject: - Länderverwaltung MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5562 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/emailconf.phtml | 4 +- views/admin/form/emailconf.phtml | 50 +++++---- views/admin/laender.phtml | 213 +++++++++++++++++++++++++++++---------- views/admin/laender_edit.phtml | 34 ++----- 4 files changed, 204 insertions(+), 97 deletions(-) (limited to 'views/admin') diff --git a/views/admin/emailconf.phtml b/views/admin/emailconf.phtml index 918444f..4e2d9e7 100644 --- a/views/admin/emailconf.phtml +++ b/views/admin/emailconf.phtml @@ -18,7 +18,7 @@
-
+ get_option('wpsg_htmlmail')); ?> @@ -84,7 +84,7 @@ wpsg_mail_save_cookie(); - } ).disableSelection().next().hide(); + } ).css( { 'cursor': 'pointer' } ).disableSelection().next().hide(); if (jQuery.cookie('wpsg_mail') != null) { diff --git a/views/admin/form/emailconf.phtml b/views/admin/form/emailconf.phtml index 9ec6b63..6c13bfa 100644 --- a/views/admin/form/emailconf.phtml +++ b/views/admin/form/emailconf.phtml @@ -5,7 +5,7 @@ view['field_key'].'_absender', __('Absender', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_absender')); ?> view['field_to'] === true) { ?> - view['field_key'].'_empfaenger', __('Empfänger', 'wpsg'), $GLOBALS['wpsg_sc']->get_option('wpsg_'.$key.'_empfaenger')); ?> + view['field_key'].'_empfaenger', __('Empfänger', 'wpsg'), $GLOBALS['wpsg_sc']->get_option('wpsg_'.$this->view['field_key'].'_empfaenger')); ?> view['field_key'].'_cc', __('CC', 'wpsg'), $this->get_option('wpsg_'.$this->view['field_key'].'_cc')); ?> @@ -21,24 +21,40 @@

- - - get_option('wpsg_'.$this->view['field_key'].'_text'), 'wpsg_'.$this->view['field_key'].'_text'); - $rte_content = ob_get_contents(); - ob_end_clean(); + - ?> - -
-
-
-
+ - + + + diff --git a/views/admin/laender.phtml b/views/admin/laender.phtml index ee7fbb0..41c5fdd 100644 --- a/views/admin/laender.phtml +++ b/views/admin/laender.phtml @@ -16,68 +16,171 @@ + +
- - - view['data'])) { ?> - - - - - - - - - - - - - - view['data'] as $l) { ?> - - - - + + + + + + +
- view['vz'][$l['vz']])) { ?> - view['vz'][$l['vz']]); ?> - - - - - - - - + + + + +
+ + view['data'])) { ?> + + + + + + + + + + + + + + + view['data'] as $l) { ?> + + + + + + + + + + + - - - - - - - - - -
+ view['vz'][$l['vz']])) { ?> + view['vz'][$l['vz']]); ?> + + + + + + + + + + + + + + + + + + + + + + +
- - - - - - - -
- -

- - -

- + +

+ + + +
+ +

+ + +
+ +
+ + + +

+ + + + + +

diff --git a/views/admin/laender_edit.phtml b/views/admin/laender_edit.phtml index 421ed79..8886851 100644 --- a/views/admin/laender_edit.phtml +++ b/views/admin/laender_edit.phtml @@ -1,29 +1,17 @@ -
+ - view['land']['id'])) $prefix = 'land'; else $prefix = 'newland'; ?> - - view['land']['name']), array('help' => 'wpsg_land_name')); ?> - view['land']['kuerzel']), array('help' => 'wpsg_land_kuerzel')); ?> - view['vz'], wpsg_getStr($this->view['land']['vz']), array('help' => 'wpsg_land_vz')); ?> - view['land']['name']), array('help' => 'wpsg_land_name')); ?> + view['land']['kuerzel']), array('help' => 'wpsg_land_kuerzel')); ?> + view['vz'], wpsg_getStr($this->view['land']['vz']), array('help' => 'wpsg_land_vz')); ?> + __('mit MwSt.', 'wpsg'), '1' => __('keine MwSt.', 'wpsg'), '2' => __('keine MwSt. bei USt.IdNr.', 'wpsg') ), wpsg_getStr($this->view['land']['mwst']), array('help' => 'wpsg_land_mwst')); ?> - view['land']['mwst_a']), array('help' => 'wpsg_land_mwst_a')); ?> - view['land']['mwst_b']), array('help' => 'wpsg_land_mwst_b')); ?> - view['land']['mwst_c']), array('help' => 'wpsg_land_mwst_c')); ?> - view['land']['mwst_d']), array('help' => 'wpsg_land_mwst_d')); ?> - view['land']['standard']), array('disabled' => ((isset($this->view['land']['standard']) && $this->view['land']['standard'] == '1')?true:false), 'help' => 'wpsg_land_standard')); ?> - - view['land']['id'])) { ?> - - - -
- - - -


- + view['land']['mwst_a']), array('help' => 'wpsg_land_mwst_a')); ?> + view['land']['mwst_b']), array('help' => 'wpsg_land_mwst_b')); ?> + view['land']['mwst_c']), array('help' => 'wpsg_land_mwst_c')); ?> + view['land']['mwst_d']), array('help' => 'wpsg_land_mwst_d')); ?> + view['land']['standard']), array('disabled' => ((isset($this->view['land']['standard']) && $this->view['land']['standard'] == '1')?true:false), 'help' => 'wpsg_land_standard')); ?> +
\ No newline at end of file -- cgit v1.2.3