From 07d2750b65a9e0ed21061d6e3acd2501083a48a3 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Thu, 15 Dec 2016 08:02:55 +0000 Subject: - Produktrguppen -> intern git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5990 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/mods/mod_productgroups/add.phtml | 79 ----------- .../mod_productgroups/admin_setcapabilities.phtml | 19 --- views/mods/mod_productgroups/index.phtml | 151 --------------------- views/mods/mod_productgroups/list.phtml | 45 ------ .../productgroups_addedit_sidebar.phtml | 14 -- .../produkt_addedit_sidebar.phtml | 28 ---- views/mods/mod_productgroups/settings_edit.phtml | 15 -- views/mods/mod_productgroups/show.phtml | 48 ------- 8 files changed, 399 deletions(-) delete mode 100644 views/mods/mod_productgroups/add.phtml delete mode 100644 views/mods/mod_productgroups/admin_setcapabilities.phtml delete mode 100644 views/mods/mod_productgroups/index.phtml delete mode 100644 views/mods/mod_productgroups/list.phtml delete mode 100644 views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml delete mode 100644 views/mods/mod_productgroups/produkt_addedit_sidebar.phtml delete mode 100644 views/mods/mod_productgroups/settings_edit.phtml delete mode 100644 views/mods/mod_productgroups/show.phtml diff --git a/views/mods/mod_productgroups/add.phtml b/views/mods/mod_productgroups/add.phtml deleted file mode 100644 index a220619..0000000 --- a/views/mods/mod_productgroups/add.phtml +++ /dev/null @@ -1,79 +0,0 @@ - - -
- - - -
- - 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/admin_setcapabilities.phtml b/views/mods/mod_productgroups/admin_setcapabilities.phtml deleted file mode 100644 index 6c245d5..0000000 --- a/views/mods/mod_productgroups/admin_setcapabilities.phtml +++ /dev/null @@ -1,19 +0,0 @@ -prefix."user_roles"); - -?> - - - $r) { ?> - - - name="wpsg_cap[][wpsg_productgroup]" value="1" /> - - - - \ No newline at end of file diff --git a/views/mods/mod_productgroups/index.phtml b/views/mods/mod_productgroups/index.phtml deleted file mode 100644 index c193caf..0000000 --- a/views/mods/mod_productgroups/index.phtml +++ /dev/null @@ -1,151 +0,0 @@ - - -
- - - - view['pages'] > 1) { ?> - - - -
- - writeBackendMessage(); ?> - -
- - view['arData']) && sizeof($this->view['arData']) > 0) { ?> - - - - - - - - - - - view['arData'] as $pg) { ?> - - - - - - - -
- " 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(); ?> -
- - view['pages'] > 1) { ?> - - - - - - - - - - - -
- - \ No newline at end of file diff --git a/views/mods/mod_productgroups/list.phtml b/views/mods/mod_productgroups/list.phtml deleted file mode 100644 index e52f3c1..0000000 --- a/views/mods/mod_productgroups/list.phtml +++ /dev/null @@ -1,45 +0,0 @@ -hasMod("wpsg_mod_produktbilder")) die(__("Dieses Template erfordert das Modul mod_produktbilder.", "wpsg")); - - // Dimension der Bilder - $picW = 150; - $picH = 100; - $picMode = 's'; - -?> -view['data']) ?> -view['data'] as $k => $g) { ?> - -
-
- - - -
-
- - - = 0 && is_int($image)) { ?> -
- callMod('wpsg_mod_produktbilder', 'makeTn', array($g['produkte'][$i]['id'], $g['produkte'][$i]['bilder'][$image], $picW, $picH, $picMode)) ?> - - <?php echo $g['produkte'][$i]['name']; ?> - -
- - -
-
-
- - \ No newline at end of file diff --git a/views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml b/views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml deleted file mode 100644 index 474c1b1..0000000 --- a/views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - 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_addedit_sidebar.phtml b/views/mods/mod_productgroups/produkt_addedit_sidebar.phtml deleted file mode 100644 index 3a790b8..0000000 --- a/views/mods/mod_productgroups/produkt_addedit_sidebar.phtml +++ /dev/null @@ -1,28 +0,0 @@ - -
-
-

- -

-
-
- - view['wpsg_mod_productgroups']['data'])) { ?> -

- - view['wpsg_mod_productgroups']['data'], @$this->view['wpsg_mod_productgroups']['produkt_data']['pgruppe']); ?> - view['wpsg_mod_productgroups']['sticky_von']); ?> - view['wpsg_mod_productgroups']['sticky_bis']); ?> - - -
- - -
-
\ No newline at end of file diff --git a/views/mods/mod_productgroups/settings_edit.phtml b/views/mods/mod_productgroups/settings_edit.phtml deleted file mode 100644 index 90aaba1..0000000 --- a/views/mods/mod_productgroups/settings_edit.phtml +++ /dev/null @@ -1,15 +0,0 @@ - -view['pages'], $this->get_option('wpsg_productgroups_page'), array('help' => 'wpsg_mod_productgroups_page')); ?> - __('Nach ID', 'wpsg'), - 'alphabetisch' => __('Alphabetisch', 'wpsg'), - 'buyed' => __('Anzahl Verkäufe', 'wpsg'), - 'erstellungsdatum' => __('Erstellungsdatum', 'wpsg'), - 'preis' => __('Preis', 'wpsg') -), $this->get_option('wpsg_productgroups_order'), array('help' => 'wpsg_mod_productgroups_order')); ?> \ No newline at end of file diff --git a/views/mods/mod_productgroups/show.phtml b/views/mods/mod_productgroups/show.phtml deleted file mode 100644 index 0591381..0000000 --- a/views/mods/mod_productgroups/show.phtml +++ /dev/null @@ -1,48 +0,0 @@ -hasMod("wpsg_mod_produktbilder")) die(__("Dieses Template erfordert das Modul mod_produktbilder.", "wpsg")); - - // Dimension der Bilder - $picW = 200; - $picH = 200; - $picMode = 'c'; - - //$p['produktattribute'][$index]['name']; Der Name des Attributs - //$p['produktattribute'][$index]['value']; Der Wert des Attributs - //$index ist die Nummer des Produktattributs - - //Ausgabemöglichkeit bei aktiviertem Debug Modus - //wpsg_debug($this->view['data']); - -?> -
-
-
- view['data']['produkte'] as $p) { ?> - - 0) { ?> - -
- callMod('wpsg_mod_produktbilder', 'makeTn', array($p['id'], $p['bilder'][$image], $picW, $picH, $picMode)) ?> - - <?php echo $p['name']; ?> - -
- - -
-
-
-
view['data']['name']; ?>
- view['data']['infopage'] > 0) { ?> - - -
\ No newline at end of file -- cgit v1.2.3