From f993b1595433f7032db52d3753bc3dec156bcbcf Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Sun, 11 Sep 2016 11:04:12 +0000 Subject: - Backend vereinheitlicht / Gutscheinoberfläche angefangen Filterfunktionen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5753 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_customergroup/addedit.phtml | 6 +- views/mods/mod_customergroup/index.phtml | 6 +- views/mods/mod_gutschein/add.phtml | 149 ++++--- views/mods/mod_gutschein/index.phtml | 494 +++++++-------------- views/mods/mod_gutschein/settings_edit.phtml | 2 +- views/mods/mod_kundenverwaltung/edit.phtml | 38 +- views/mods/mod_kundenverwaltung/index.phtml | 8 +- views/mods/mod_productgroups/add.phtml | 125 +++--- views/mods/mod_productgroups/index.phtml | 24 +- .../productgroups_addedit_sidebar.phtml | 19 +- .../mod_productgroups/produkt_index_filter.phtml | 11 - views/mods/mod_stock/produkt_edit_sidebar.phtml | 1 - 12 files changed, 361 insertions(+), 522 deletions(-) delete mode 100644 views/mods/mod_productgroups/produkt_index_filter.phtml (limited to 'views/mods') diff --git a/views/mods/mod_customergroup/addedit.phtml b/views/mods/mod_customergroup/addedit.phtml index dc6bc68..275b571 100644 --- a/views/mods/mod_customergroup/addedit.phtml +++ b/views/mods/mod_customergroup/addedit.phtml @@ -15,8 +15,8 @@ -
-
+ +
+
- - - - - - - - -
-
-
-
- - - writeBackendMessage(); ?> - -
- - - - - - - - view['arStatus'])) { ?> -
    - view['arStatus'] as $status_id => $status) { ?> -
  • - view['filter']['status']) && $this->view['filter']['status'] == $status_id) { ?> - () | - - () | - -
  • - -
  • - view['filter']['status']) || $this->view['filter']['status'] <= 0) { ?> - (view['countAll']; ?>) - - (view['countAll']; ?>) - -
  • -
- - - - - view['data'] > 0)) { ?> -
-
view['count']); ?> -
- - « - ‹ - view['pages']; ?> - › - » - -
- - - -
-
-
- - -
- -
- - view['data']) && sizeof($this->view['data']) > 0) { ?> - - - - - - - - - - - - - - view['data'] as $g) { ?> - - - - - - - - - - - - - - - - - - - - - - -
" type="checkbox" onclick="markAll(this);"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
. - - get_option('wpsg_currency')); ?> - - - - 0) { ?> -
get_option('wpsg_currency'))); ?>
- -
- - - <?php echo wpsg_hspc($g['comment']); ?> - - - - - 0) { ?> - - -  [M] - -
" type="checkbox" onclick="markAll(this);"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
view['count']); ?> -
- - « - ‹ - view['pages']; ?> - › - » - + + + + + + view['arFilter']['s'])); ?> + +
+ +
- - - -
-
- - " />  -

- -

- - - +
+ + + + view['pages'] > 1) { ?> + + + +
+ + writeBackendMessage(); ?> + +
+ + view['arData']) && sizeof($this->view['arData']) > 0) { ?> + +
+ + + + + + + + + + + + + view['arData'] as $oVoucher) { ?> + + + + + + + + + + +
+ + + + code; ?>start_date); ?>end_date); ?>calc_typ == 'w') echo wpsg_ff($oVoucher->value, $this->get_option('wpsg_currency')); + else if ($oVoucher->calc_typ == 'p') echo wpsg_ff($oVoucher->value, '%'); + + ?> + + comment; if (wpsg_isSizedString($comment)) { ?> + " onclick="return false;" class="glyphicon glyphicon-info-sign admincomment" href="#"> + + + getStatusLabel(); ?> + + getUsed(); if (wpsg_isSizedInt($used)) { ?> + + + + multi === '1') { ?> +  [M] + + +
+ +
+ + + +
+ +
+ + view['pages'] > 1) { ?> + + + + + + + + + + + +
+ \ No newline at end of file diff --git a/views/mods/mod_gutschein/settings_edit.phtml b/views/mods/mod_gutschein/settings_edit.phtml index db2c044..9ffdbd2 100644 --- a/views/mods/mod_gutschein/settings_edit.phtml +++ b/views/mods/mod_gutschein/settings_edit.phtml @@ -5,5 +5,5 @@ */ ?> -get_option('wpsg_mod_gutschein_size'), array ('help' => wpsg_mod_gutschein_size)); ?> +get_option('wpsg_mod_gutschein_size'), array ('help' => 'wpsg_mod_gutschein_size')); ?> get_option('wpsg_mod_gutschein_perPage'), array ('help' => 'wpsg_mod_gutschein_perPage')); ?> \ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/edit.phtml b/views/mods/mod_kundenverwaltung/edit.phtml index 965c401..e95f95e 100644 --- a/views/mods/mod_kundenverwaltung/edit.phtml +++ b/views/mods/mod_kundenverwaltung/edit.phtml @@ -16,7 +16,7 @@ - 0) { ?> + 0) { ?> diff --git a/views/mods/mod_kundenverwaltung/index.phtml b/views/mods/mod_kundenverwaltung/index.phtml index 9af170d..4090dc8 100644 --- a/views/mods/mod_kundenverwaltung/index.phtml +++ b/views/mods/mod_kundenverwaltung/index.phtml @@ -16,7 +16,7 @@ diff --git a/views/mods/mod_productgroups/add.phtml b/views/mods/mod_productgroups/add.phtml index c2cced8..a220619 100644 --- a/views/mods/mod_productgroups/add.phtml +++ b/views/mods/mod_productgroups/add.phtml @@ -3,70 +3,77 @@ /** * Template für das Anlegen/Bearbeiten einer Produktgruppe */ - //wpsg_debug($this->view['data']); + ?> -
-

-

- view['data']['name']); ?> -

-
- writeBackendMessage(); ?> - - - -
- -
-
- - callMods('wpsg_mod_productgroups_addedit_sidebar', array(&$this->view['data'])); ?> - -
-
+
+ + + +
+ + writeBackendMessage(); ?> + + +
+ +
+
+ + + + view['data']['name']); ?> + + view['languages'])) { ?> + view['languages'] as $l) { if ($l['locale'] != $this->getDefaultLanguage()) { ?> + + getFlagURL().$l['flag'].'" alt="'.$l['Name'].'" />)', + $this->view['data']['lang'][$l['locale']]['name'] + ); ?> + + + + + view['templates'], $this->view['data']['template_file']); ?> + view['pages'], $this->view['data']['infopage']); ?> + + + +
+
+ + callMods('wpsg_mod_productgroups_addedit_sidebar', array(&$this->view['data'])); ?> + +
+
+ + + + +
+ + view['data']['id']) && $this->view['data']['id'] > 0) { ?> - - - + + +
\ No newline at end of file diff --git a/views/mods/mod_productgroups/index.phtml b/views/mods/mod_productgroups/index.phtml index 881a56f..c193caf 100644 --- a/views/mods/mod_productgroups/index.phtml +++ b/views/mods/mod_productgroups/index.phtml @@ -18,7 +18,7 @@ @@ -79,25 +79,25 @@ - view['arData'] as $cg) { ?> + view['arData'] as $pg) { ?> - " href="wp-admin/admin.php?page=wpsg-Productgroups&wpsg_mod_action=edit&edit_id=id; ?>" class="row-title">name; ?> + " href="wp-admin/admin.php?page=wpsg-Productgroups&wpsg_mod_action=edit&edit_id=id; ?>" class="row-title">name; ?> - + template_file == "0")?'Individuelle Produkttemplates':$pg->template_file); ?> - + countProducts(); ?> @@ -121,7 +121,11 @@ -

+ + + + +
diff --git a/views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml b/views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml index 0329938..474c1b1 100644 --- a/views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml +++ b/views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml @@ -3,15 +3,12 @@ /** * Template für die Lagerverwaltung innerhalb der Einstellungen der Produktgruppe */ - //wpsg_debug($this->view['wpsg_mod_productgroups']['data']); + ?> -
-

-

- -

-
- view['wpsg_mod_productgroups']['data']['stock_aktiv'], array()); ?> - view['wpsg_mod_productgroups']['data']['stock_value']), array()); ?> -
-
\ No newline at end of file + + + + view['wpsg_mod_productgroups']['data']['stock_value']), array()); ?> + view['wpsg_mod_productgroups']['data']['stock_aktiv'], array()); ?> + + \ No newline at end of file diff --git a/views/mods/mod_productgroups/produkt_index_filter.phtml b/views/mods/mod_productgroups/produkt_index_filter.phtml deleted file mode 100644 index 1455de4..0000000 --- a/views/mods/mod_productgroups/produkt_index_filter.phtml +++ /dev/null @@ -1,11 +0,0 @@ - - -view['productgroups']) && sizeof($this->view['productgroups']) > 0) { ?> -view['arSelect'], wpsg_getStr($_REQUEST['search']['pgruppe'])); ?> - \ No newline at end of file diff --git a/views/mods/mod_stock/produkt_edit_sidebar.phtml b/views/mods/mod_stock/produkt_edit_sidebar.phtml index 9ca740a..3ed8618 100644 --- a/views/mods/mod_stock/produkt_edit_sidebar.phtml +++ b/views/mods/mod_stock/produkt_edit_sidebar.phtml @@ -5,7 +5,6 @@ */ ?> - view['data']['stock'], '0')); ?> view['data']['stock_count'], '0')); ?> \ No newline at end of file -- cgit v1.2.3