From ad405c7045c6e242080ec9d3ce4c9e586b517c4f Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Thu, 14 Jan 2016 14:55:36 +0000 Subject: - Testweise 4 git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5261 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/access.phtml | 95 + views/admin/blognetzwerk.phtml | 48 + views/admin/customerpreset.phtml | 43 + views/admin/debugInfo.phtml | 16 + views/admin/deinstall.phtml | 80 + views/admin/emailconf.phtml | 132 ++ views/admin/extended.phtml | 62 + views/admin/hilfe.phtml | 86 + views/admin/includes.phtml | 50 + views/admin/index.phtml | 43 + views/admin/kalkulation.phtml | 91 + views/admin/konfiguration.phtml | 167 ++ views/admin/kundendaten.phtml | 88 + views/admin/kundendaten_codeinfo.phtml | 26 + views/admin/kundendaten_renderfield.phtml | 25 + views/admin/kundendaten_tab1.phtml | 146 ++ views/admin/kundendaten_tab2.phtml | 117 ++ views/admin/laender.phtml | 244 +++ views/admin/laender_edit.phtml | 29 + views/admin/loadsavesettings.phtml | 48 + views/admin/migratemwst.phtml | 62 + views/admin/module.phtml | 137 ++ views/admin/musterwiderruf.pdf.phtml | 60 + views/admin/news.phtml | 42 + views/admin/path.phtml | 37 + views/admin/presentation.phtml | 50 + views/admin/seiten.phtml | 41 + views/admin/shopdata.phtml | 60 + views/admin/ueber.phtml | 72 + views/admin/versandzonen.phtml | 130 ++ views/admin/versandzonen_list.phtml | 89 + views/admin/widerrufsbelehrung.phtml | 73 + views/css/admin.css | 681 +++++++ views/css/frontend.css | 335 ++++ views/css/tooltip.css | 121 ++ views/css/validationEngine.jquery.css | 247 +++ views/gfx/action_save.gif | Bin 0 -> 279 bytes views/gfx/add.png | Bin 0 -> 733 bytes views/gfx/ajax-loader.gif | Bin 0 -> 723 bytes views/gfx/arrow_left.png | Bin 0 -> 345 bytes views/gfx/arrow_refresh_small.png | Bin 0 -> 506 bytes views/gfx/arrow_right.png | Bin 0 -> 3031 bytes views/gfx/banner_300x100.png | Bin 0 -> 16083 bytes views/gfx/basket.png | Bin 0 -> 3399 bytes views/gfx/basket_add.png | Bin 0 -> 797 bytes views/gfx/basket_go.png | Bin 0 -> 814 bytes views/gfx/basket_select.png | Bin 0 -> 766 bytes .../gfx/bg_wpsg_produkt_additional_information.gif | Bin 0 -> 1113 bytes views/gfx/billsafe.png | Bin 0 -> 4838 bytes views/gfx/bin.png | Bin 0 -> 476 bytes views/gfx/bin_x.png | Bin 0 -> 655 bytes views/gfx/cab.png | Bin 0 -> 9533 bytes views/gfx/checkmark.png | Bin 0 -> 3100 bytes views/gfx/comment.png | Bin 0 -> 413 bytes views/gfx/comment_admin.png | Bin 0 -> 743 bytes views/gfx/control_play.png | Bin 0 -> 677 bytes views/gfx/darrowleft.gif | Bin 0 -> 1126 bytes views/gfx/darrowright.gif | Bin 0 -> 1127 bytes views/gfx/delete.png | Bin 0 -> 715 bytes views/gfx/disk.png | Bin 0 -> 620 bytes views/gfx/edit.png | Bin 0 -> 450 bytes views/gfx/help.png | Bin 0 -> 786 bytes views/gfx/hide.png | Bin 0 -> 782 bytes views/gfx/html.png | Bin 0 -> 578 bytes views/gfx/lupe.png | Bin 0 -> 1247 bytes views/gfx/magnifier.gif | Bin 0 -> 553 bytes views/gfx/money.png | Bin 0 -> 3430 bytes views/gfx/paypal.png | Bin 0 -> 2952 bytes views/gfx/pp-logo-big.png | Bin 0 -> 3195 bytes views/gfx/show.png | Bin 0 -> 700 bytes views/gfx/skrill.png | Bin 0 -> 3376 bytes views/gfx/su.png | Bin 0 -> 11279 bytes views/gfx/tab_top.gif | Bin 0 -> 262 bytes views/gfx/tick.png | Bin 0 -> 537 bytes views/gfx/world_edit.png | Bin 0 -> 945 bytes views/js/admin.js | 193 ++ views/js/ajax.js | 0 views/js/ajaxupload.js | 672 +++++++ views/js/editable.js | 576 ++++++ views/js/frontend.js | 121 ++ views/js/jquery-cluetip-master/.gitignore | 2 + .../js/jquery-cluetip-master/images/darrowdown.gif | Bin 0 -> 69 bytes .../js/jquery-cluetip-master/images/darrowleft.gif | Bin 0 -> 76 bytes .../jquery-cluetip-master/images/darrowright.gif | Bin 0 -> 77 bytes views/js/jquery-cluetip-master/images/darrowup.gif | Bin 0 -> 69 bytes views/js/jquery-cluetip-master/jquery.cluetip.css | 241 +++ views/js/jquery-cluetip-master/jquery.cluetip.js | 880 +++++++++ .../js/jquery-cluetip-master/jquery.cluetip.min.js | 7 + .../dist/additional-methods.js | 617 ++++++ .../dist/additional-methods.min.js | 2 + .../dist/jquery.validate.js | 1235 ++++++++++++ .../dist/jquery.validate.min.js | 1237 ++++++++++++ views/js/jquery.cookie.js | 117 ++ views/js/jquery.validationEngine-de.js | 131 ++ views/js/jquery.validationEngine.js | 2077 ++++++++++++++++++++ views/js/mce_plugin.js | 45 + views/js/wpsg_staffel.js | 117 ++ views/mailtemplates/adminmail.phtml | 81 + views/mailtemplates/html/adminmail.phtml | 25 + views/mailtemplates/html/customer.phtml | 170 ++ views/mailtemplates/html/html_foot.phtml | 6 + views/mailtemplates/html/html_head.phtml | 47 + views/mailtemplates/html/kundenmail.phtml | 44 + views/mailtemplates/html/order.phtml | 185 ++ views/mailtemplates/html/status.phtml | 23 + views/mailtemplates/kundenmail.phtml | 107 + views/mailtemplates/order.phtml | 107 + views/mailtemplates/status.phtml | 19 + views/mods/mod_abo/basket_row.phtml | 16 + views/mods/mod_abo/mail_expiration.phtml | 25 + views/mods/mod_abo/mail_expiration_html.phtml | 25 + views/mods/mod_abo/mail_firstbuy.phtml | 23 + views/mods/mod_abo/mail_firstbuy_html.phtml | 23 + views/mods/mod_abo/mail_rebuy.phtml | 25 + views/mods/mod_abo/mail_rebuy_html.phtml | 25 + views/mods/mod_abo/mail_row.phtml | 8 + views/mods/mod_abo/mail_row_html.phtml | 13 + views/mods/mod_abo/order_view_base.phtml | 18 + views/mods/mod_abo/order_view_row.phtml | 13 + views/mods/mod_abo/overview_row.phtml | 13 + views/mods/mod_abo/produkt_edit_content.phtml | 58 + views/mods/mod_abo/settings_edit.phtml | 12 + .../auftragsbestaetigung.phtml | 149 ++ .../auftragsbestaetigung_html.phtml | 50 + .../mods/mod_auftragsbestaetigung/order_view.phtml | 51 + views/mods/mod_autodebit/mail.phtml | 21 + views/mods/mod_autodebit/mail_html.phtml | 41 + views/mods/mod_autodebit/order_done.phtml | 8 + .../mod_autodebit/order_view_afterpayment.phtml | 23 + views/mods/mod_autodebit/paymenthint.phtml | 67 + views/mods/mod_autodebit/settings_edit.phtml | 18 + views/mods/mod_bankalignment/order_ajax.phtml | 97 + .../produkt_index_aftersearch.phtml | 29 + .../mod_bankalignment/produkt_index_head.phtml | 11 + views/mods/mod_bankalignment/settings_edit.phtml | 9 + views/mods/mod_basketteaser/basket_row.phtml | 25 + .../mod_basketteaser/produkt_edit_sidebar.phtml | 18 + views/mods/mod_basketteaser/settings_edit.phtml | 29 + views/mods/mod_billsafe/gfx/logo_100x25.png | Bin 0 -> 3052 bytes views/mods/mod_billsafe/order_done.phtml | 24 + views/mods/mod_billsafe/order_view_sidebar.phtml | 30 + views/mods/mod_billsafe/settings_edit.phtml | 30 + views/mods/mod_billsafe/zahlung_ablehnung.phtml | 11 + views/mods/mod_billsafe/zahlung_erfolg.phtml | 11 + views/mods/mod_cab/mail_mms.phtml | 12 + views/mods/mod_cab/mail_mms_error.phtml | 12 + views/mods/mod_cab/mail_resend.phtml | 10 + views/mods/mod_cab/order_done.phtml | 24 + views/mods/mod_cab/order_view_content.phtml | 83 + views/mods/mod_cab/order_view_content_inner.phtml | 67 + views/mods/mod_cab/settings_edit.phtml | 49 + views/mods/mod_core/admin_licence.phtml | 7 + views/mods/mod_core/admin_register.phtml | 100 + views/mods/mod_core/module_index.phtml | 78 + views/mods/mod_crefopay/gfx/logo_100x25.png | Bin 0 -> 3247 bytes views/mods/mod_crefopay/gfx/logo_crefopay.gif | Bin 0 -> 4455 bytes views/mods/mod_crefopay/iframe.phtml | 21 + views/mods/mod_crefopay/order_done.phtml | 19 + .../mod_crefopay/order_view_afterpayment.phtml | 26 + views/mods/mod_crefopay/settings_edit.phtml | 69 + .../mods/mod_customerbudget/customer_sidebar.phtml | 16 + views/mods/mod_customerbudget/settings_edit.phtml | 9 + views/mods/mod_customergroup/addedit.phtml | 165 ++ views/mods/mod_customergroup/index.phtml | 217 ++ views/mods/mod_customergroup/settings_edit.phtml | 9 + views/mods/mod_debitpayment/settings_edit.phtml | 15 + views/mods/mod_deliverynote/deliverymail.phtml | 19 + .../mods/mod_deliverynote/deliverymail_html.phtml | 21 + views/mods/mod_deliverynote/deliverynote_pdf.phtml | 340 ++++ views/mods/mod_deliverynote/foottext_list.phtml | 61 + .../mods/mod_deliverynote/order_view_content.phtml | 150 ++ views/mods/mod_deliverynote/order_view_row.phtml | 15 + views/mods/mod_deliverynote/settings_edit.phtml | 209 ++ views/mods/mod_deliverytime/basket_row.phtml | 13 + views/mods/mod_deliverytime/mail_row.phtml | 7 + views/mods/mod_deliverytime/mail_row_html.phtml | 16 + views/mods/mod_deliverytime/overview_row.phtml | 13 + .../mod_deliverytime/produkt_edit_allgemein.phtml | 12 + views/mods/mod_deliverytime/settings_edit.phtml | 40 + views/mods/mod_discount/basket_top.phtml | 14 + views/mods/mod_discount/customergroup_edit.phtml | 16 + .../productgroups_addedit_sidebar.phtml | 19 + views/mods/mod_discount/produkt_edit_sidebar.phtml | 19 + views/mods/mod_discount/settings_edit.phtml | 175 ++ views/mods/mod_downloadplus/cronmail.phtml | 18 + views/mods/mod_downloadplus/cronmail_html.phtml | 22 + views/mods/mod_downloadplus/filelist.phtml | 20 + .../mods/mod_downloadplus/order_view_sidebar.phtml | 110 ++ .../order_view_sidebar_renderlist.phtml | 66 + views/mods/mod_downloadplus/pdfdownloadmail.phtml | 18 + .../mod_downloadplus/pdfdownloadmail_html.phtml | 20 + .../mod_downloadplus/produkt_edit_sidebar.phtml | 105 + views/mods/mod_downloadplus/settings_edit.phtml | 289 +++ .../mods/mod_downloadprodukte/order_view_row.phtml | 15 + .../mod_downloadprodukte/produkt_edit_list.phtml | 22 + .../produkt_edit_sidebar.phtml | 102 + .../mods/mod_downloadprodukte/settings_edit.phtml | 32 + .../zahlung_downloadprodukt.phtml | 16 + .../zahlung_downloadprodukt_html.phtml | 21 + .../mod_export/produkt_index_aftersearch.phtml | 65 + views/mods/mod_export/produkt_index_head.phtml | 13 + views/mods/mod_export/profil.phtml | 287 +++ views/mods/mod_export/profillist.phtml | 25 + views/mods/mod_export/settings_edit.phtml | 107 + views/mods/mod_flexipay/gfx/flexipay.gif | Bin 0 -> 6247 bytes views/mods/mod_flexipay/gfx/logo_100x25.png | Bin 0 -> 1578 bytes views/mods/mod_flexipay/order_done.phtml | 18 + views/mods/mod_flexipay/settings_edit.phtml | 77 + views/mods/mod_freeshipping/settings_edit.phtml | 10 + views/mods/mod_fuellmenge/priceinfo.phtml | 11 + .../mods/mod_fuellmenge/produkt_edit_sidebar.phtml | 17 + views/mods/mod_fuellmenge/settings_edit.phtml | 14 + views/mods/mod_funding/product_bottom.phtml | 20 + views/mods/mod_funding/product_edit_sidebar.phtml | 48 + .../mod_funding/product_top_afterheadline.phtml | 19 + views/mods/mod_funding/settings_edit.phtml | 7 + views/mods/mod_giropay/gfx/gc_creditcard.png | Bin 0 -> 8505 bytes views/mods/mod_giropay/gfx/gc_directdebit.png | Bin 0 -> 7898 bytes views/mods/mod_giropay/gfx/gc_giropay.png | Bin 0 -> 7262 bytes views/mods/mod_giropay/gfx/logo_100x25.png | Bin 0 -> 1838 bytes views/mods/mod_giropay/order_done.phtml | 21 + views/mods/mod_giropay/settings_edit.phtml | 81 + views/mods/mod_gutschein/add.phtml | 72 + .../mods/mod_gutschein/admin_setcapabilities.phtml | 19 + views/mods/mod_gutschein/basket_row_end.phtml | 17 + views/mods/mod_gutschein/import.phtml | 36 + views/mods/mod_gutschein/index.phtml | 332 ++++ views/mods/mod_gutschein/settings_edit.phtml | 9 + views/mods/mod_icp/gfx/icp.png | Bin 0 -> 2508 bytes views/mods/mod_icp/order_done.phtml | 18 + views/mods/mod_icp/settings_edit.phtml | 75 + views/mods/mod_invoice_type/settings_edit.phtml | 15 + views/mods/mod_keygen/settings_edit.phtml | 119 ++ views/mods/mod_klarna/gfx/klarna_rechnung.png | Bin 0 -> 11288 bytes views/mods/mod_klarna/gfx/logo_100x25.png | Bin 0 -> 2705 bytes views/mods/mod_klarna/settings_edit.phtml | 25 + views/mods/mod_kundenkontakt/order_view.phtml | 184 ++ .../templates/zahlungsaufforderung.phtml | 30 + .../templates/zahlungsaufforderung_html.phtml | 35 + .../templates/zahlungserinnerung.phtml | 30 + .../templates/zahlungserinnerung_html.phtml | 34 + .../admin_setcapabilities.phtml | 19 + .../checkout_customer_inner.phtml | 23 + .../mods/mod_kundenverwaltung/checkout_login.phtml | 32 + .../mod_kundenverwaltung/checkout_logout.phtml | 16 + views/mods/mod_kundenverwaltung/edit.phtml | 260 +++ views/mods/mod_kundenverwaltung/getpwd.phtml | 35 + views/mods/mod_kundenverwaltung/import.phtml | 30 + views/mods/mod_kundenverwaltung/index.phtml | 264 +++ views/mods/mod_kundenverwaltung/login.phtml | 42 + views/mods/mod_kundenverwaltung/logout.phtml | 10 + .../mods/mod_kundenverwaltung/mail_activate.phtml | 14 + .../mod_kundenverwaltung/mail_activate_html.phtml | 14 + .../mod_kundenverwaltung/mail_pwdrequest.phtml | 19 + .../mail_pwdrequest_html.phtml | 20 + views/mods/mod_kundenverwaltung/mail_pwdsend.phtml | 15 + .../mod_kundenverwaltung/mail_pwdsend_html.phtml | 15 + .../mods/mod_kundenverwaltung/mail_register.phtml | 26 + .../mod_kundenverwaltung/mail_register_html.phtml | 61 + views/mods/mod_kundenverwaltung/order.phtml | 94 + views/mods/mod_kundenverwaltung/profil.phtml | 193 ++ views/mods/mod_kundenverwaltung/register.phtml | 235 +++ .../mods/mod_kundenverwaltung/settings_edit.phtml | 85 + views/mods/mod_kundenverwaltung/widget.phtml | 50 + views/mods/mod_legaltexts/form_haendlerbund.phtml | 39 + views/mods/mod_legaltexts/form_itrecht.phtml | 37 + .../mods/mod_legaltexts/form_protectedshops.phtml | 27 + views/mods/mod_legaltexts/settings_edit.phtml | 43 + views/mods/mod_micropayment/debugInfo.phtml | 33 + views/mods/mod_micropayment/gfx/bank2pay.png | Bin 0 -> 7310 bytes views/mods/mod_micropayment/gfx/call2pay.png | Bin 0 -> 7265 bytes views/mods/mod_micropayment/gfx/chip.png | Bin 0 -> 5996 bytes views/mods/mod_micropayment/gfx/creditcard.png | Bin 0 -> 8798 bytes views/mods/mod_micropayment/gfx/directdebit.png | Bin 0 -> 7554 bytes views/mods/mod_micropayment/gfx/handypay.png | Bin 0 -> 7874 bytes views/mods/mod_micropayment/gfx/logo_100x25.png | Bin 0 -> 2888 bytes views/mods/mod_micropayment/gfx/prepayment.png | Bin 0 -> 8602 bytes views/mods/mod_micropayment/order_done.phtml | 122 ++ views/mods/mod_micropayment/settings_edit.phtml | 213 ++ .../mod_minquantity/produkt_edit_allgemein.phtml | 9 + views/mods/mod_minquantity/settings_edit.phtml | 7 + views/mods/mod_minrequest/settings_edit.phtml | 11 + .../mod_newsletter/checkout_customer_inner.phtml | 13 + views/mods/mod_newsletter/customer_sidebar.phtml | 18 + views/mods/mod_newsletter/settings_edit.phtml | 63 + .../mod_nlsatolo/checkout_customer_inner.phtml | 15 + views/mods/mod_onepagecheckout/onepage.phtml | 402 ++++ views/mods/mod_onepagecheckout/settings_edit.phtml | 8 + views/mods/mod_ordercondition/list.phtml | 121 ++ views/mods/mod_ordercondition/overview_top.phtml | 25 + .../mod_ordercondition/produkt_edit_sidebar.phtml | 18 + views/mods/mod_ordercondition/settings_edit.phtml | 168 ++ .../mod_orderupload/checkout_inner_prebutton.phtml | 26 + .../mods/mod_orderupload/order_view_sidebar.phtml | 22 + views/mods/mod_orderupload/settings_edit.phtml | 11 + .../mod_ordervars/checkout_inner_prebutton.phtml | 44 + views/mods/mod_ordervars/mail.phtml | 13 + views/mods/mod_ordervars/mail_html.phtml | 18 + views/mods/mod_ordervars/order_view_sidebar.phtml | 63 + views/mods/mod_ordervars/ov_list.phtml | 121 ++ views/mods/mod_ordervars/settings_edit.phtml | 49 + views/mods/mod_packagetracking/mail_status.phtml | 2 + .../mod_packagetracking/mail_status_html.phtml | 3 + .../order_view_switchStatus.phtml | 53 + views/mods/mod_packagetracking/settings_edit.phtml | 70 + .../mod_packagetracking/settings_edit_list.phtml | 87 + .../wpsg_mod_versandarten_listrow.phtml | 42 + views/mods/mod_pap/settings_edit.phtml | 14 + views/mods/mod_paypal/order_done.phtml | 25 + .../mods/mod_paypal/order_view_afterpayment.phtml | 27 + views/mods/mod_paypal/settings_edit.phtml | 95 + .../mod_paypalapi/basket_inner_prebutton.phtml | 16 + .../mod_paypalapi/checkout_handlePayment.phtml | 92 + .../gfx/checkout-logo-large-alt-de-2x.png | Bin 0 -> 6700 bytes .../gfx/checkout-logo-large-alt-de.png | Bin 0 -> 5591 bytes .../gfx/checkout-logo-large-de-2x.png | Bin 0 -> 7728 bytes .../mod_paypalapi/gfx/checkout-logo-large-de.png | Bin 0 -> 6425 bytes .../gfx/checkout-logo-medium-alt-de-2x.png | Bin 0 -> 5409 bytes .../gfx/checkout-logo-medium-alt-de.png | Bin 0 -> 4236 bytes .../gfx/checkout-logo-medium-de-2x.png | Bin 0 -> 6246 bytes .../mod_paypalapi/gfx/checkout-logo-medium-de.png | Bin 0 -> 4804 bytes .../gfx/checkout-logo-small-alt-de-2x.png | Bin 0 -> 4835 bytes .../gfx/checkout-logo-small-alt-de.png | Bin 0 -> 3824 bytes .../gfx/checkout-logo-small-de-2x.png | Bin 0 -> 5616 bytes .../mod_paypalapi/gfx/checkout-logo-small-de.png | Bin 0 -> 4314 bytes views/mods/mod_paypalapi/order_done.phtml | 31 + .../mod_paypalapi/order_view_afterpayment.phtml | 40 + views/mods/mod_paypalapi/paypalplus.phtml | 29 + views/mods/mod_paypalapi/settings_edit.phtml | 129 ++ views/mods/mod_prepayment/mail.phtml | 15 + views/mods/mod_prepayment/mail_html.phtml | 29 + views/mods/mod_prepayment/order_done.phtml | 17 + views/mods/mod_prepayment/settings_edit.phtml | 41 + views/mods/mod_productfilter/settings_edit.phtml | 75 + views/mods/mod_productfilter/widget.phtml | 7 + views/mods/mod_productgroups/add.phtml | 72 + .../mod_productgroups/admin_setcapabilities.phtml | 19 + views/mods/mod_productgroups/index.phtml | 61 + views/mods/mod_productgroups/list.phtml | 45 + .../productgroups_addedit_sidebar.phtml | 17 + .../mod_productgroups/produkt_edit_sidebar.phtml | 25 + .../mod_productgroups/produkt_index_filter.phtml | 45 + views/mods/mod_productgroups/settings_edit.phtml | 15 + views/mods/mod_productgroups/show.phtml | 48 + views/mods/mod_productindex/css/productindex.css | 37 + views/mods/mod_productindex/gfx/icon_grid.png | Bin 0 -> 1453 bytes views/mods/mod_productindex/gfx/icon_list.png | Bin 0 -> 1290 bytes views/mods/mod_productindex/layouts/grid.phtml | 279 +++ views/mods/mod_productindex/layouts/list.phtml | 264 +++ views/mods/mod_productindex/page_metabox.phtml | 83 + views/mods/mod_productpackage/productlist.phtml | 15 + .../mod_productpackage/produkt_edit_sidebar.phtml | 77 + views/mods/mod_productvars/basket_row.phtml | 27 + views/mods/mod_productvars/mail_row.phtml | 11 + views/mods/mod_productvars/mail_row_html.phtml | 14 + views/mods/mod_productvars/order_view_row.phtml | 65 + views/mods/mod_productvars/overview_row.phtml | 31 + .../mod_productvars/produkt_edit_sidebar.phtml | 24 + views/mods/mod_productvars/pv_list.phtml | 137 ++ views/mods/mod_productvars/renderTemplate.phtml | 32 + views/mods/mod_productvars/settings_edit.phtml | 61 + .../mods/mod_produktartikel/header_facebook.phtml | 22 + views/mods/mod_produktartikel/header_google.phtml | 19 + views/mods/mod_produktartikel/produkt.phtml | 41 + .../produkt_edit_allgemein.phtml | 19 + .../mod_produktartikel/produkt_edit_sidebar.phtml | 44 + views/mods/mod_produktartikel/schemaorg.phtml | 20 + views/mods/mod_produktartikel/settings_edit.phtml | 99 + views/mods/mod_produktattribute/basket_row.phtml | 17 + views/mods/mod_produktattribute/genPACode.phtml | 17 + views/mods/mod_produktattribute/list.phtml | 128 ++ views/mods/mod_produktattribute/mail_row.phtml | 10 + .../mods/mod_produktattribute/mail_row_html.phtml | 18 + views/mods/mod_produktattribute/overview_row.phtml | 17 + .../mods/mod_produktattribute/produkt_bottom.phtml | 22 + .../produkt_edit_content.phtml | 45 + .../mods/mod_produktattribute/settings_edit.phtml | 116 ++ .../mod_produktbilder/produkt_edit_content.phtml | 123 ++ .../mods/mod_produktbilder/produkt_edit_list.phtml | 23 + views/mods/mod_produktbilder/produktbild.phtml | 8 + views/mods/mod_produktbilder/settings_edit.phtml | 13 + views/mods/mod_rechnungen/copymail.phtml | 11 + views/mods/mod_rechnungen/copymail_html.phtml | 11 + views/mods/mod_rechnungen/foottext_list.phtml | 61 + views/mods/mod_rechnungen/gutschriftmail.phtml | 19 + .../mods/mod_rechnungen/gutschriftmail_html.phtml | 19 + views/mods/mod_rechnungen/order_view.phtml | 278 +++ views/mods/mod_rechnungen/rechnung_pdf.phtml | 919 +++++++++ views/mods/mod_rechnungen/rechnungsmail.phtml | 16 + views/mods/mod_rechnungen/rechnungsmail_html.phtml | 20 + views/mods/mod_rechnungen/settings_edit.phtml | 241 +++ views/mods/mod_relatedproducts/basket_after.phtml | 20 + views/mods/mod_relatedproducts/list.phtml | 52 + .../mod_relatedproducts/produkt_edit_sidebar.phtml | 52 + .../mods/mod_relatedproducts/relatedproducts.phtml | 14 + views/mods/mod_relatedproducts/settings_edit.phtml | 30 + views/mods/mod_request/adminmail.phtml | 22 + views/mods/mod_request/adminmail_html.phtml | 21 + views/mods/mod_request/customermail.phtml | 16 + views/mods/mod_request/customermail_html.phtml | 15 + views/mods/mod_request/product_bottom.phtml | 43 + .../mods/mod_request/produkt_edit_allgemein.phtml | 13 + views/mods/mod_request/requestmail.phtml | 116 ++ views/mods/mod_request/requestmail_html.phtml | 202 ++ views/mods/mod_request/requestpage.phtml | 412 ++++ views/mods/mod_request/settings_edit.phtml | 23 + views/mods/mod_scaleprice/product_bottom.phtml | 45 + .../mods/mod_scaleprice/produkt_edit_sidebar.phtml | 202 ++ views/mods/mod_scaleprice/scaleList.phtml | 84 + views/mods/mod_securepay/gfx/logo_100x25.png | Bin 0 -> 2679 bytes views/mods/mod_securepay/gfx/securepay.png | Bin 0 -> 9268 bytes views/mods/mod_securepay/order_done.phtml | 18 + views/mods/mod_securepay/settings_edit.phtml | 75 + .../checkout_inner_prebutton.phtml | 126 ++ .../wpsg_order_view_customerdata.phtml | 77 + views/mods/mod_shs/gfx/internetkasse-logo.png | Bin 0 -> 7697 bytes .../mod_shs/gfx/internetkasse-logo_creditcard.png | Bin 0 -> 6095 bytes .../mod_shs/gfx/internetkasse-logo_directdebit.png | Bin 0 -> 6026 bytes .../mod_shs/gfx/internetkasse-logo_maestro.png | Bin 0 -> 6017 bytes views/mods/mod_shs/gfx/logo_100x25.png | Bin 0 -> 2960 bytes views/mods/mod_shs/order_done.phtml | 24 + views/mods/mod_shs/settings_edit.phtml | 82 + views/mods/mod_skrill/gfx/logo_100x25.png | Bin 0 -> 1924 bytes views/mods/mod_skrill/order_done.phtml | 60 + views/mods/mod_skrill/settings_edit.phtml | 27 + ...skrill-moneybookers-payby-border_de_150x106.png | Bin 0 -> 5262 bytes views/mods/mod_spconditions/conditionList.phtml | 20 + views/mods/mod_spconditions/settings_edit.phtml | 42 + .../mod_statistics/admin_setcapabilities.phtml | 19 + .../chartsalestopaymentmethod/all.phtml | 91 + .../chartsalestopaymentmethod/data.phtml | 68 + .../mod_statistics/charttopsellertosales/all.phtml | 171 ++ .../charttopsellertosales/data.phtml | 82 + views/mods/mod_statistics/chartturnover/all.phtml | 123 ++ .../mod_statistics/chartturnover/customrange.phtml | 112 ++ views/mods/mod_statistics/chartturnover/data.phtml | 111 ++ views/mods/mod_statistics/chartturnover/day.phtml | 118 ++ .../mods/mod_statistics/chartturnover/month.phtml | 117 ++ .../mod_statistics/chartturnover/quarter.phtml | 120 ++ views/mods/mod_statistics/chartturnover/week.phtml | 118 ++ views/mods/mod_statistics/chartturnover/year.phtml | 127 ++ .../mod_statistics/chartturnoverperhour/all.phtml | 117 ++ .../mod_statistics/chartturnoverperhour/data.phtml | 103 + views/mods/mod_statistics/customermap/all.phtml | 48 + views/mods/mod_statistics/settings_edit.phtml | 133 ++ views/mods/mod_statistics/simplefilter.phtml | 104 + views/mods/mod_statistics/statistics.phtml | 128 ++ views/mods/mod_statistics/totals.phtml | 21 + views/mods/mod_stock/produkt_edit_sidebar.phtml | 33 + views/mods/mod_stock/settings_edit.phtml | 59 + views/mods/mod_su/gfx/logo_100x25.png | Bin 0 -> 5658 bytes views/mods/mod_su/order_done.phtml | 24 + views/mods/mod_su/settings_edit.phtml | 68 + views/mods/mod_test/settings_edit.phtml | 77 + views/mods/mod_test/showConfiguration.phtml | 11 + .../mod_topseller/produkt_edit_allgemein.phtml | 18 + views/mods/mod_topseller/settings_edit.phtml | 12 + views/mods/mod_topseller/topseller.phtml | 15 + views/mods/mod_topseller/widget_form.phtml | 23 + .../mod_trustedshops/checkout_customer_inner.phtml | 12 + .../mod_trustedshops/gfx/rate_now_button_de.png | Bin 0 -> 4036 bytes views/mods/mod_trustedshops/gfx/siegel.gif | Bin 0 -> 3150 bytes views/mods/mod_trustedshops/invoicemail.phtml | 10 + views/mods/mod_trustedshops/invoicemail_html.phtml | 11 + views/mods/mod_trustedshops/mail.phtml | 15 + .../mod_trustedshops/mail_aftercalculation.phtml | 10 + .../mail_aftercalculation_html.phtml | 11 + views/mods/mod_trustedshops/mail_html.phtml | 17 + views/mods/mod_trustedshops/order_done.phtml | 17 + .../mods/mod_trustedshops/order_view_sidebar.phtml | 28 + views/mods/mod_trustedshops/settings_edit.phtml | 199 ++ views/mods/mod_trustedshops/widget.phtml | 51 + views/mods/mod_trustedshops/widget_form.phtml | 30 + views/mods/mod_userpayment/list.phtml | 165 ++ views/mods/mod_userpayment/settings_edit.phtml | 82 + views/mods/mod_varianten/basket_row.phtml | 23 + views/mods/mod_varianten/drawVarianten.phtml | 535 +++++ views/mods/mod_varianten/mail_row.phtml | 18 + views/mods/mod_varianten/mail_row_html.phtml | 22 + views/mods/mod_varianten/order_view_row.phtml | 22 + views/mods/mod_varianten/overview_row.phtml | 22 + views/mods/mod_varianten/produkt.phtml | 148 ++ .../mods/mod_varianten/produkt_edit_content.phtml | 297 +++ views/mods/mod_varianten/settings_edit.phtml | 25 + views/mods/mod_varianten/varianten.js | 58 + views/mods/mod_versandarten/list.phtml | 248 +++ views/mods/mod_versandarten/settings_edit.phtml | 100 + views/mods/mod_videodownload/cronmail.phtml | 18 + views/mods/mod_videodownload/cronmail_html.phtml | 21 + views/mods/mod_videodownload/filelist.phtml | 20 + views/mods/mod_videodownload/fonts/Default.ttf | Bin 0 -> 69492 bytes .../mod_videodownload/order_view_sidebar.phtml | 110 ++ .../order_view_sidebar_renderlist.phtml | 59 + .../mod_videodownload/produkt_edit_sidebar.phtml | 96 + views/mods/mod_videodownload/settings_edit.phtml | 188 ++ .../mods/mod_videodownload/videodownloadmail.phtml | 18 + .../mod_videodownload/videodownloadmail_html.phtml | 20 + views/mods/mod_voucherproduct/gutschein_mail.phtml | 18 + .../mod_voucherproduct/gutschein_mail_html.phtml | 20 + .../mod_voucherproduct/order_view_sidebar.phtml | 195 ++ .../order_view_sidebar_content.phtml | 38 + .../mod_voucherproduct/produkt_edit_sidebar.phtml | 18 + views/mods/mod_voucherproduct/settings_edit.phtml | 173 ++ views/mods/mod_voucherproduct/voucher_pdf.phtml | 104 + views/mods/mod_weight/basket_row.phtml | 13 + views/mods/mod_weight/basket_row_end.phtml | 15 + views/mods/mod_weight/overview_row.phtml | 13 + views/mods/mod_weight/overview_row_end.phtml | 15 + views/mods/mod_weight/produkt_edit_allgemein.phtml | 8 + views/mods/mod_weight/settings_edit.phtml | 20 + views/mods/mod_willcollect/mail.phtml | 14 + views/mods/mod_willcollect/mail_html.phtml | 22 + views/mods/mod_willcollect/settings_edit.phtml | 24 + views/mods/mod_willcollect/shippinghint.phtml | 13 + views/mods/mod_wirecard/gfx/logo_100x25.png | Bin 0 -> 3792 bytes views/mods/mod_wirecard/gfx/wirecard.png | Bin 0 -> 4762 bytes views/mods/mod_wirecard/order_done.phtml | 35 + views/mods/mod_wirecard/paymenthint.phtml | 14 + views/mods/mod_wirecard/settings_edit.phtml | 125 ++ views/order/index.phtml | 564 ++++++ views/order/orderlog.phtml | 32 + views/order/view.phtml | 581 ++++++ views/produkt/addedit.phtml | 524 +++++ views/produkt/import.phtml | 30 + views/produkt/index.phtml | 353 ++++ views/produkt/mapimport.phtml | 43 + views/produkt/select.phtml | 160 ++ views/produkt/select_filter.phtml | 43 + views/produkt/select_filter_productlist.phtml | 12 + views/produkttemplates/ausverkauft.phtml | 130 ++ views/produkttemplates/bildertest.phtml | 42 + views/produkttemplates/produktseite.phtml | 135 ++ views/produkttemplates/standard.phtml | 225 +++ views/produkttemplates/standard2.phtml | 211 ++ views/produkttemplates/standard_1544.phtml | 435 ++++ views/produkttemplates/standard_ajax.phtml | 196 ++ views/produkttemplates/standard_login.phtml | 177 ++ views/warenkorb/ajaxDialog.phtml | 62 + views/warenkorb/basket.phtml | 331 ++++ views/warenkorb/checkout.phtml | 269 +++ views/warenkorb/checkout2.phtml | 148 ++ views/warenkorb/customerquestion.phtml | 91 + views/warenkorb/done.phtml | 48 + views/warenkorb/index.phtml | 118 ++ views/warenkorb/overview.phtml | 307 +++ views/warenkorb/progress.phtml | 60 + 546 files changed, 40383 insertions(+) create mode 100644 views/admin/access.phtml create mode 100644 views/admin/blognetzwerk.phtml create mode 100644 views/admin/customerpreset.phtml create mode 100644 views/admin/debugInfo.phtml create mode 100644 views/admin/deinstall.phtml create mode 100644 views/admin/emailconf.phtml create mode 100644 views/admin/extended.phtml create mode 100644 views/admin/hilfe.phtml create mode 100644 views/admin/includes.phtml create mode 100644 views/admin/index.phtml create mode 100644 views/admin/kalkulation.phtml create mode 100644 views/admin/konfiguration.phtml create mode 100644 views/admin/kundendaten.phtml create mode 100644 views/admin/kundendaten_codeinfo.phtml create mode 100644 views/admin/kundendaten_renderfield.phtml create mode 100644 views/admin/kundendaten_tab1.phtml create mode 100644 views/admin/kundendaten_tab2.phtml create mode 100644 views/admin/laender.phtml create mode 100644 views/admin/laender_edit.phtml create mode 100644 views/admin/loadsavesettings.phtml create mode 100644 views/admin/migratemwst.phtml create mode 100644 views/admin/module.phtml create mode 100644 views/admin/musterwiderruf.pdf.phtml create mode 100644 views/admin/news.phtml create mode 100644 views/admin/path.phtml create mode 100644 views/admin/presentation.phtml create mode 100644 views/admin/seiten.phtml create mode 100644 views/admin/shopdata.phtml create mode 100644 views/admin/ueber.phtml create mode 100644 views/admin/versandzonen.phtml create mode 100644 views/admin/versandzonen_list.phtml create mode 100644 views/admin/widerrufsbelehrung.phtml create mode 100644 views/css/admin.css create mode 100644 views/css/frontend.css create mode 100644 views/css/tooltip.css create mode 100644 views/css/validationEngine.jquery.css create mode 100644 views/gfx/action_save.gif create mode 100644 views/gfx/add.png create mode 100644 views/gfx/ajax-loader.gif create mode 100644 views/gfx/arrow_left.png create mode 100644 views/gfx/arrow_refresh_small.png create mode 100644 views/gfx/arrow_right.png create mode 100644 views/gfx/banner_300x100.png create mode 100644 views/gfx/basket.png create mode 100644 views/gfx/basket_add.png create mode 100644 views/gfx/basket_go.png create mode 100644 views/gfx/basket_select.png create mode 100644 views/gfx/bg_wpsg_produkt_additional_information.gif create mode 100644 views/gfx/billsafe.png create mode 100644 views/gfx/bin.png create mode 100644 views/gfx/bin_x.png create mode 100644 views/gfx/cab.png create mode 100644 views/gfx/checkmark.png create mode 100644 views/gfx/comment.png create mode 100644 views/gfx/comment_admin.png create mode 100644 views/gfx/control_play.png create mode 100644 views/gfx/darrowleft.gif create mode 100644 views/gfx/darrowright.gif create mode 100644 views/gfx/delete.png create mode 100644 views/gfx/disk.png create mode 100644 views/gfx/edit.png create mode 100644 views/gfx/help.png create mode 100644 views/gfx/hide.png create mode 100644 views/gfx/html.png create mode 100644 views/gfx/lupe.png create mode 100644 views/gfx/magnifier.gif create mode 100644 views/gfx/money.png create mode 100644 views/gfx/paypal.png create mode 100644 views/gfx/pp-logo-big.png create mode 100644 views/gfx/show.png create mode 100644 views/gfx/skrill.png create mode 100644 views/gfx/su.png create mode 100644 views/gfx/tab_top.gif create mode 100644 views/gfx/tick.png create mode 100644 views/gfx/world_edit.png create mode 100644 views/js/admin.js create mode 100644 views/js/ajax.js create mode 100644 views/js/ajaxupload.js create mode 100644 views/js/editable.js create mode 100644 views/js/frontend.js create mode 100644 views/js/jquery-cluetip-master/.gitignore create mode 100644 views/js/jquery-cluetip-master/images/darrowdown.gif create mode 100644 views/js/jquery-cluetip-master/images/darrowleft.gif create mode 100644 views/js/jquery-cluetip-master/images/darrowright.gif create mode 100644 views/js/jquery-cluetip-master/images/darrowup.gif create mode 100644 views/js/jquery-cluetip-master/jquery.cluetip.css create mode 100644 views/js/jquery-cluetip-master/jquery.cluetip.js create mode 100644 views/js/jquery-cluetip-master/jquery.cluetip.min.js create mode 100644 views/js/jquery-validation-1.11.1/dist/additional-methods.js create mode 100644 views/js/jquery-validation-1.11.1/dist/additional-methods.min.js create mode 100644 views/js/jquery-validation-1.11.1/dist/jquery.validate.js create mode 100644 views/js/jquery-validation-1.11.1/dist/jquery.validate.min.js create mode 100644 views/js/jquery.cookie.js create mode 100644 views/js/jquery.validationEngine-de.js create mode 100644 views/js/jquery.validationEngine.js create mode 100644 views/js/mce_plugin.js create mode 100644 views/js/wpsg_staffel.js create mode 100644 views/mailtemplates/adminmail.phtml create mode 100644 views/mailtemplates/html/adminmail.phtml create mode 100644 views/mailtemplates/html/customer.phtml create mode 100644 views/mailtemplates/html/html_foot.phtml create mode 100644 views/mailtemplates/html/html_head.phtml create mode 100644 views/mailtemplates/html/kundenmail.phtml create mode 100644 views/mailtemplates/html/order.phtml create mode 100644 views/mailtemplates/html/status.phtml create mode 100644 views/mailtemplates/kundenmail.phtml create mode 100644 views/mailtemplates/order.phtml create mode 100644 views/mailtemplates/status.phtml create mode 100644 views/mods/mod_abo/basket_row.phtml create mode 100644 views/mods/mod_abo/mail_expiration.phtml create mode 100644 views/mods/mod_abo/mail_expiration_html.phtml create mode 100644 views/mods/mod_abo/mail_firstbuy.phtml create mode 100644 views/mods/mod_abo/mail_firstbuy_html.phtml create mode 100644 views/mods/mod_abo/mail_rebuy.phtml create mode 100644 views/mods/mod_abo/mail_rebuy_html.phtml create mode 100644 views/mods/mod_abo/mail_row.phtml create mode 100644 views/mods/mod_abo/mail_row_html.phtml create mode 100644 views/mods/mod_abo/order_view_base.phtml create mode 100644 views/mods/mod_abo/order_view_row.phtml create mode 100644 views/mods/mod_abo/overview_row.phtml create mode 100644 views/mods/mod_abo/produkt_edit_content.phtml create mode 100644 views/mods/mod_abo/settings_edit.phtml create mode 100644 views/mods/mod_auftragsbestaetigung/auftragsbestaetigung.phtml create mode 100644 views/mods/mod_auftragsbestaetigung/auftragsbestaetigung_html.phtml create mode 100644 views/mods/mod_auftragsbestaetigung/order_view.phtml create mode 100644 views/mods/mod_autodebit/mail.phtml create mode 100644 views/mods/mod_autodebit/mail_html.phtml create mode 100644 views/mods/mod_autodebit/order_done.phtml create mode 100644 views/mods/mod_autodebit/order_view_afterpayment.phtml create mode 100644 views/mods/mod_autodebit/paymenthint.phtml create mode 100644 views/mods/mod_autodebit/settings_edit.phtml create mode 100644 views/mods/mod_bankalignment/order_ajax.phtml create mode 100644 views/mods/mod_bankalignment/produkt_index_aftersearch.phtml create mode 100644 views/mods/mod_bankalignment/produkt_index_head.phtml create mode 100644 views/mods/mod_bankalignment/settings_edit.phtml create mode 100644 views/mods/mod_basketteaser/basket_row.phtml create mode 100644 views/mods/mod_basketteaser/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_basketteaser/settings_edit.phtml create mode 100644 views/mods/mod_billsafe/gfx/logo_100x25.png create mode 100644 views/mods/mod_billsafe/order_done.phtml create mode 100644 views/mods/mod_billsafe/order_view_sidebar.phtml create mode 100644 views/mods/mod_billsafe/settings_edit.phtml create mode 100644 views/mods/mod_billsafe/zahlung_ablehnung.phtml create mode 100644 views/mods/mod_billsafe/zahlung_erfolg.phtml create mode 100644 views/mods/mod_cab/mail_mms.phtml create mode 100644 views/mods/mod_cab/mail_mms_error.phtml create mode 100644 views/mods/mod_cab/mail_resend.phtml create mode 100644 views/mods/mod_cab/order_done.phtml create mode 100644 views/mods/mod_cab/order_view_content.phtml create mode 100644 views/mods/mod_cab/order_view_content_inner.phtml create mode 100644 views/mods/mod_cab/settings_edit.phtml create mode 100644 views/mods/mod_core/admin_licence.phtml create mode 100644 views/mods/mod_core/admin_register.phtml create mode 100644 views/mods/mod_core/module_index.phtml create mode 100644 views/mods/mod_crefopay/gfx/logo_100x25.png create mode 100644 views/mods/mod_crefopay/gfx/logo_crefopay.gif create mode 100644 views/mods/mod_crefopay/iframe.phtml create mode 100644 views/mods/mod_crefopay/order_done.phtml create mode 100644 views/mods/mod_crefopay/order_view_afterpayment.phtml create mode 100644 views/mods/mod_crefopay/settings_edit.phtml create mode 100644 views/mods/mod_customerbudget/customer_sidebar.phtml create mode 100644 views/mods/mod_customerbudget/settings_edit.phtml create mode 100644 views/mods/mod_customergroup/addedit.phtml create mode 100644 views/mods/mod_customergroup/index.phtml create mode 100644 views/mods/mod_customergroup/settings_edit.phtml create mode 100644 views/mods/mod_debitpayment/settings_edit.phtml create mode 100644 views/mods/mod_deliverynote/deliverymail.phtml create mode 100644 views/mods/mod_deliverynote/deliverymail_html.phtml create mode 100644 views/mods/mod_deliverynote/deliverynote_pdf.phtml create mode 100644 views/mods/mod_deliverynote/foottext_list.phtml create mode 100644 views/mods/mod_deliverynote/order_view_content.phtml create mode 100644 views/mods/mod_deliverynote/order_view_row.phtml create mode 100644 views/mods/mod_deliverynote/settings_edit.phtml create mode 100644 views/mods/mod_deliverytime/basket_row.phtml create mode 100644 views/mods/mod_deliverytime/mail_row.phtml create mode 100644 views/mods/mod_deliverytime/mail_row_html.phtml create mode 100644 views/mods/mod_deliverytime/overview_row.phtml create mode 100644 views/mods/mod_deliverytime/produkt_edit_allgemein.phtml create mode 100644 views/mods/mod_deliverytime/settings_edit.phtml create mode 100644 views/mods/mod_discount/basket_top.phtml create mode 100644 views/mods/mod_discount/customergroup_edit.phtml create mode 100644 views/mods/mod_discount/productgroups_addedit_sidebar.phtml create mode 100644 views/mods/mod_discount/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_discount/settings_edit.phtml create mode 100644 views/mods/mod_downloadplus/cronmail.phtml create mode 100644 views/mods/mod_downloadplus/cronmail_html.phtml create mode 100644 views/mods/mod_downloadplus/filelist.phtml create mode 100644 views/mods/mod_downloadplus/order_view_sidebar.phtml create mode 100644 views/mods/mod_downloadplus/order_view_sidebar_renderlist.phtml create mode 100644 views/mods/mod_downloadplus/pdfdownloadmail.phtml create mode 100644 views/mods/mod_downloadplus/pdfdownloadmail_html.phtml create mode 100644 views/mods/mod_downloadplus/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_downloadplus/settings_edit.phtml create mode 100644 views/mods/mod_downloadprodukte/order_view_row.phtml create mode 100644 views/mods/mod_downloadprodukte/produkt_edit_list.phtml create mode 100644 views/mods/mod_downloadprodukte/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_downloadprodukte/settings_edit.phtml create mode 100644 views/mods/mod_downloadprodukte/zahlung_downloadprodukt.phtml create mode 100644 views/mods/mod_downloadprodukte/zahlung_downloadprodukt_html.phtml create mode 100644 views/mods/mod_export/produkt_index_aftersearch.phtml create mode 100644 views/mods/mod_export/produkt_index_head.phtml create mode 100644 views/mods/mod_export/profil.phtml create mode 100644 views/mods/mod_export/profillist.phtml create mode 100644 views/mods/mod_export/settings_edit.phtml create mode 100644 views/mods/mod_flexipay/gfx/flexipay.gif create mode 100644 views/mods/mod_flexipay/gfx/logo_100x25.png create mode 100644 views/mods/mod_flexipay/order_done.phtml create mode 100644 views/mods/mod_flexipay/settings_edit.phtml create mode 100644 views/mods/mod_freeshipping/settings_edit.phtml create mode 100644 views/mods/mod_fuellmenge/priceinfo.phtml create mode 100644 views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_fuellmenge/settings_edit.phtml create mode 100644 views/mods/mod_funding/product_bottom.phtml create mode 100644 views/mods/mod_funding/product_edit_sidebar.phtml create mode 100644 views/mods/mod_funding/product_top_afterheadline.phtml create mode 100644 views/mods/mod_funding/settings_edit.phtml create mode 100644 views/mods/mod_giropay/gfx/gc_creditcard.png create mode 100644 views/mods/mod_giropay/gfx/gc_directdebit.png create mode 100755 views/mods/mod_giropay/gfx/gc_giropay.png create mode 100644 views/mods/mod_giropay/gfx/logo_100x25.png create mode 100644 views/mods/mod_giropay/order_done.phtml create mode 100755 views/mods/mod_giropay/settings_edit.phtml create mode 100644 views/mods/mod_gutschein/add.phtml create mode 100644 views/mods/mod_gutschein/admin_setcapabilities.phtml create mode 100644 views/mods/mod_gutschein/basket_row_end.phtml create mode 100644 views/mods/mod_gutschein/import.phtml create mode 100644 views/mods/mod_gutschein/index.phtml create mode 100644 views/mods/mod_gutschein/settings_edit.phtml create mode 100644 views/mods/mod_icp/gfx/icp.png create mode 100644 views/mods/mod_icp/order_done.phtml create mode 100644 views/mods/mod_icp/settings_edit.phtml create mode 100644 views/mods/mod_invoice_type/settings_edit.phtml create mode 100644 views/mods/mod_keygen/settings_edit.phtml create mode 100644 views/mods/mod_klarna/gfx/klarna_rechnung.png create mode 100644 views/mods/mod_klarna/gfx/logo_100x25.png create mode 100644 views/mods/mod_klarna/settings_edit.phtml create mode 100644 views/mods/mod_kundenkontakt/order_view.phtml create mode 100644 views/mods/mod_kundenkontakt/templates/zahlungsaufforderung.phtml create mode 100644 views/mods/mod_kundenkontakt/templates/zahlungsaufforderung_html.phtml create mode 100644 views/mods/mod_kundenkontakt/templates/zahlungserinnerung.phtml create mode 100644 views/mods/mod_kundenkontakt/templates/zahlungserinnerung_html.phtml create mode 100644 views/mods/mod_kundenverwaltung/admin_setcapabilities.phtml create mode 100644 views/mods/mod_kundenverwaltung/checkout_customer_inner.phtml create mode 100644 views/mods/mod_kundenverwaltung/checkout_login.phtml create mode 100644 views/mods/mod_kundenverwaltung/checkout_logout.phtml create mode 100644 views/mods/mod_kundenverwaltung/edit.phtml create mode 100644 views/mods/mod_kundenverwaltung/getpwd.phtml create mode 100644 views/mods/mod_kundenverwaltung/import.phtml create mode 100644 views/mods/mod_kundenverwaltung/index.phtml create mode 100644 views/mods/mod_kundenverwaltung/login.phtml create mode 100644 views/mods/mod_kundenverwaltung/logout.phtml create mode 100644 views/mods/mod_kundenverwaltung/mail_activate.phtml create mode 100644 views/mods/mod_kundenverwaltung/mail_activate_html.phtml create mode 100644 views/mods/mod_kundenverwaltung/mail_pwdrequest.phtml create mode 100644 views/mods/mod_kundenverwaltung/mail_pwdrequest_html.phtml create mode 100644 views/mods/mod_kundenverwaltung/mail_pwdsend.phtml create mode 100644 views/mods/mod_kundenverwaltung/mail_pwdsend_html.phtml create mode 100644 views/mods/mod_kundenverwaltung/mail_register.phtml create mode 100644 views/mods/mod_kundenverwaltung/mail_register_html.phtml create mode 100644 views/mods/mod_kundenverwaltung/order.phtml create mode 100644 views/mods/mod_kundenverwaltung/profil.phtml create mode 100644 views/mods/mod_kundenverwaltung/register.phtml create mode 100644 views/mods/mod_kundenverwaltung/settings_edit.phtml create mode 100644 views/mods/mod_kundenverwaltung/widget.phtml create mode 100644 views/mods/mod_legaltexts/form_haendlerbund.phtml create mode 100644 views/mods/mod_legaltexts/form_itrecht.phtml create mode 100644 views/mods/mod_legaltexts/form_protectedshops.phtml create mode 100644 views/mods/mod_legaltexts/settings_edit.phtml create mode 100644 views/mods/mod_micropayment/debugInfo.phtml create mode 100644 views/mods/mod_micropayment/gfx/bank2pay.png create mode 100644 views/mods/mod_micropayment/gfx/call2pay.png create mode 100644 views/mods/mod_micropayment/gfx/chip.png create mode 100644 views/mods/mod_micropayment/gfx/creditcard.png create mode 100644 views/mods/mod_micropayment/gfx/directdebit.png create mode 100644 views/mods/mod_micropayment/gfx/handypay.png create mode 100644 views/mods/mod_micropayment/gfx/logo_100x25.png create mode 100644 views/mods/mod_micropayment/gfx/prepayment.png create mode 100644 views/mods/mod_micropayment/order_done.phtml create mode 100644 views/mods/mod_micropayment/settings_edit.phtml create mode 100644 views/mods/mod_minquantity/produkt_edit_allgemein.phtml create mode 100644 views/mods/mod_minquantity/settings_edit.phtml create mode 100644 views/mods/mod_minrequest/settings_edit.phtml create mode 100644 views/mods/mod_newsletter/checkout_customer_inner.phtml create mode 100644 views/mods/mod_newsletter/customer_sidebar.phtml create mode 100644 views/mods/mod_newsletter/settings_edit.phtml create mode 100644 views/mods/mod_nlsatolo/checkout_customer_inner.phtml create mode 100644 views/mods/mod_onepagecheckout/onepage.phtml create mode 100644 views/mods/mod_onepagecheckout/settings_edit.phtml create mode 100644 views/mods/mod_ordercondition/list.phtml create mode 100644 views/mods/mod_ordercondition/overview_top.phtml create mode 100644 views/mods/mod_ordercondition/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_ordercondition/settings_edit.phtml create mode 100644 views/mods/mod_orderupload/checkout_inner_prebutton.phtml create mode 100644 views/mods/mod_orderupload/order_view_sidebar.phtml create mode 100644 views/mods/mod_orderupload/settings_edit.phtml create mode 100644 views/mods/mod_ordervars/checkout_inner_prebutton.phtml create mode 100644 views/mods/mod_ordervars/mail.phtml create mode 100644 views/mods/mod_ordervars/mail_html.phtml create mode 100644 views/mods/mod_ordervars/order_view_sidebar.phtml create mode 100644 views/mods/mod_ordervars/ov_list.phtml create mode 100644 views/mods/mod_ordervars/settings_edit.phtml create mode 100644 views/mods/mod_packagetracking/mail_status.phtml create mode 100644 views/mods/mod_packagetracking/mail_status_html.phtml create mode 100644 views/mods/mod_packagetracking/order_view_switchStatus.phtml create mode 100644 views/mods/mod_packagetracking/settings_edit.phtml create mode 100644 views/mods/mod_packagetracking/settings_edit_list.phtml create mode 100644 views/mods/mod_packagetracking/wpsg_mod_versandarten_listrow.phtml create mode 100644 views/mods/mod_pap/settings_edit.phtml create mode 100644 views/mods/mod_paypal/order_done.phtml create mode 100644 views/mods/mod_paypal/order_view_afterpayment.phtml create mode 100644 views/mods/mod_paypal/settings_edit.phtml create mode 100644 views/mods/mod_paypalapi/basket_inner_prebutton.phtml create mode 100644 views/mods/mod_paypalapi/checkout_handlePayment.phtml create mode 100644 views/mods/mod_paypalapi/gfx/checkout-logo-large-alt-de-2x.png create mode 100644 views/mods/mod_paypalapi/gfx/checkout-logo-large-alt-de.png create mode 100644 views/mods/mod_paypalapi/gfx/checkout-logo-large-de-2x.png create mode 100644 views/mods/mod_paypalapi/gfx/checkout-logo-large-de.png create mode 100644 views/mods/mod_paypalapi/gfx/checkout-logo-medium-alt-de-2x.png create mode 100644 views/mods/mod_paypalapi/gfx/checkout-logo-medium-alt-de.png create mode 100644 views/mods/mod_paypalapi/gfx/checkout-logo-medium-de-2x.png create mode 100644 views/mods/mod_paypalapi/gfx/checkout-logo-medium-de.png create mode 100644 views/mods/mod_paypalapi/gfx/checkout-logo-small-alt-de-2x.png create mode 100644 views/mods/mod_paypalapi/gfx/checkout-logo-small-alt-de.png create mode 100644 views/mods/mod_paypalapi/gfx/checkout-logo-small-de-2x.png create mode 100644 views/mods/mod_paypalapi/gfx/checkout-logo-small-de.png create mode 100644 views/mods/mod_paypalapi/order_done.phtml create mode 100644 views/mods/mod_paypalapi/order_view_afterpayment.phtml create mode 100644 views/mods/mod_paypalapi/paypalplus.phtml create mode 100644 views/mods/mod_paypalapi/settings_edit.phtml create mode 100644 views/mods/mod_prepayment/mail.phtml create mode 100644 views/mods/mod_prepayment/mail_html.phtml create mode 100644 views/mods/mod_prepayment/order_done.phtml create mode 100644 views/mods/mod_prepayment/settings_edit.phtml create mode 100644 views/mods/mod_productfilter/settings_edit.phtml create mode 100644 views/mods/mod_productfilter/widget.phtml create mode 100644 views/mods/mod_productgroups/add.phtml create mode 100644 views/mods/mod_productgroups/admin_setcapabilities.phtml create mode 100644 views/mods/mod_productgroups/index.phtml create mode 100644 views/mods/mod_productgroups/list.phtml create mode 100644 views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml create mode 100644 views/mods/mod_productgroups/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_productgroups/produkt_index_filter.phtml create mode 100644 views/mods/mod_productgroups/settings_edit.phtml create mode 100644 views/mods/mod_productgroups/show.phtml create mode 100644 views/mods/mod_productindex/css/productindex.css create mode 100644 views/mods/mod_productindex/gfx/icon_grid.png create mode 100644 views/mods/mod_productindex/gfx/icon_list.png create mode 100644 views/mods/mod_productindex/layouts/grid.phtml create mode 100644 views/mods/mod_productindex/layouts/list.phtml create mode 100644 views/mods/mod_productindex/page_metabox.phtml create mode 100644 views/mods/mod_productpackage/productlist.phtml create mode 100644 views/mods/mod_productpackage/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_productvars/basket_row.phtml create mode 100644 views/mods/mod_productvars/mail_row.phtml create mode 100644 views/mods/mod_productvars/mail_row_html.phtml create mode 100644 views/mods/mod_productvars/order_view_row.phtml create mode 100644 views/mods/mod_productvars/overview_row.phtml create mode 100644 views/mods/mod_productvars/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_productvars/pv_list.phtml create mode 100644 views/mods/mod_productvars/renderTemplate.phtml create mode 100644 views/mods/mod_productvars/settings_edit.phtml create mode 100644 views/mods/mod_produktartikel/header_facebook.phtml create mode 100644 views/mods/mod_produktartikel/header_google.phtml create mode 100644 views/mods/mod_produktartikel/produkt.phtml create mode 100644 views/mods/mod_produktartikel/produkt_edit_allgemein.phtml create mode 100644 views/mods/mod_produktartikel/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_produktartikel/schemaorg.phtml create mode 100644 views/mods/mod_produktartikel/settings_edit.phtml create mode 100644 views/mods/mod_produktattribute/basket_row.phtml create mode 100644 views/mods/mod_produktattribute/genPACode.phtml create mode 100644 views/mods/mod_produktattribute/list.phtml create mode 100644 views/mods/mod_produktattribute/mail_row.phtml create mode 100644 views/mods/mod_produktattribute/mail_row_html.phtml create mode 100644 views/mods/mod_produktattribute/overview_row.phtml create mode 100644 views/mods/mod_produktattribute/produkt_bottom.phtml create mode 100644 views/mods/mod_produktattribute/produkt_edit_content.phtml create mode 100644 views/mods/mod_produktattribute/settings_edit.phtml create mode 100644 views/mods/mod_produktbilder/produkt_edit_content.phtml create mode 100644 views/mods/mod_produktbilder/produkt_edit_list.phtml create mode 100644 views/mods/mod_produktbilder/produktbild.phtml create mode 100644 views/mods/mod_produktbilder/settings_edit.phtml create mode 100644 views/mods/mod_rechnungen/copymail.phtml create mode 100644 views/mods/mod_rechnungen/copymail_html.phtml create mode 100644 views/mods/mod_rechnungen/foottext_list.phtml create mode 100644 views/mods/mod_rechnungen/gutschriftmail.phtml create mode 100644 views/mods/mod_rechnungen/gutschriftmail_html.phtml create mode 100644 views/mods/mod_rechnungen/order_view.phtml create mode 100644 views/mods/mod_rechnungen/rechnung_pdf.phtml create mode 100644 views/mods/mod_rechnungen/rechnungsmail.phtml create mode 100644 views/mods/mod_rechnungen/rechnungsmail_html.phtml create mode 100644 views/mods/mod_rechnungen/settings_edit.phtml create mode 100644 views/mods/mod_relatedproducts/basket_after.phtml create mode 100644 views/mods/mod_relatedproducts/list.phtml create mode 100644 views/mods/mod_relatedproducts/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_relatedproducts/relatedproducts.phtml create mode 100644 views/mods/mod_relatedproducts/settings_edit.phtml create mode 100644 views/mods/mod_request/adminmail.phtml create mode 100644 views/mods/mod_request/adminmail_html.phtml create mode 100644 views/mods/mod_request/customermail.phtml create mode 100644 views/mods/mod_request/customermail_html.phtml create mode 100644 views/mods/mod_request/product_bottom.phtml create mode 100644 views/mods/mod_request/produkt_edit_allgemein.phtml create mode 100644 views/mods/mod_request/requestmail.phtml create mode 100644 views/mods/mod_request/requestmail_html.phtml create mode 100644 views/mods/mod_request/requestpage.phtml create mode 100644 views/mods/mod_request/settings_edit.phtml create mode 100644 views/mods/mod_scaleprice/product_bottom.phtml create mode 100644 views/mods/mod_scaleprice/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_scaleprice/scaleList.phtml create mode 100644 views/mods/mod_securepay/gfx/logo_100x25.png create mode 100644 views/mods/mod_securepay/gfx/securepay.png create mode 100644 views/mods/mod_securepay/order_done.phtml create mode 100644 views/mods/mod_securepay/settings_edit.phtml create mode 100644 views/mods/mod_shippingadress/checkout_inner_prebutton.phtml create mode 100644 views/mods/mod_shippingadress/wpsg_order_view_customerdata.phtml create mode 100644 views/mods/mod_shs/gfx/internetkasse-logo.png create mode 100644 views/mods/mod_shs/gfx/internetkasse-logo_creditcard.png create mode 100644 views/mods/mod_shs/gfx/internetkasse-logo_directdebit.png create mode 100644 views/mods/mod_shs/gfx/internetkasse-logo_maestro.png create mode 100644 views/mods/mod_shs/gfx/logo_100x25.png create mode 100644 views/mods/mod_shs/order_done.phtml create mode 100644 views/mods/mod_shs/settings_edit.phtml create mode 100644 views/mods/mod_skrill/gfx/logo_100x25.png create mode 100644 views/mods/mod_skrill/order_done.phtml create mode 100644 views/mods/mod_skrill/settings_edit.phtml create mode 100644 views/mods/mod_skrill/skrill-moneybookers-payby-border_de_150x106.png create mode 100644 views/mods/mod_spconditions/conditionList.phtml create mode 100644 views/mods/mod_spconditions/settings_edit.phtml create mode 100644 views/mods/mod_statistics/admin_setcapabilities.phtml create mode 100644 views/mods/mod_statistics/chartsalestopaymentmethod/all.phtml create mode 100644 views/mods/mod_statistics/chartsalestopaymentmethod/data.phtml create mode 100644 views/mods/mod_statistics/charttopsellertosales/all.phtml create mode 100644 views/mods/mod_statistics/charttopsellertosales/data.phtml create mode 100644 views/mods/mod_statistics/chartturnover/all.phtml create mode 100644 views/mods/mod_statistics/chartturnover/customrange.phtml create mode 100644 views/mods/mod_statistics/chartturnover/data.phtml create mode 100644 views/mods/mod_statistics/chartturnover/day.phtml create mode 100644 views/mods/mod_statistics/chartturnover/month.phtml create mode 100644 views/mods/mod_statistics/chartturnover/quarter.phtml create mode 100644 views/mods/mod_statistics/chartturnover/week.phtml create mode 100644 views/mods/mod_statistics/chartturnover/year.phtml create mode 100644 views/mods/mod_statistics/chartturnoverperhour/all.phtml create mode 100644 views/mods/mod_statistics/chartturnoverperhour/data.phtml create mode 100644 views/mods/mod_statistics/customermap/all.phtml create mode 100644 views/mods/mod_statistics/settings_edit.phtml create mode 100644 views/mods/mod_statistics/simplefilter.phtml create mode 100644 views/mods/mod_statistics/statistics.phtml create mode 100644 views/mods/mod_statistics/totals.phtml create mode 100644 views/mods/mod_stock/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_stock/settings_edit.phtml create mode 100644 views/mods/mod_su/gfx/logo_100x25.png create mode 100644 views/mods/mod_su/order_done.phtml create mode 100644 views/mods/mod_su/settings_edit.phtml create mode 100644 views/mods/mod_test/settings_edit.phtml create mode 100644 views/mods/mod_test/showConfiguration.phtml create mode 100644 views/mods/mod_topseller/produkt_edit_allgemein.phtml create mode 100644 views/mods/mod_topseller/settings_edit.phtml create mode 100644 views/mods/mod_topseller/topseller.phtml create mode 100644 views/mods/mod_topseller/widget_form.phtml create mode 100644 views/mods/mod_trustedshops/checkout_customer_inner.phtml create mode 100644 views/mods/mod_trustedshops/gfx/rate_now_button_de.png create mode 100644 views/mods/mod_trustedshops/gfx/siegel.gif create mode 100644 views/mods/mod_trustedshops/invoicemail.phtml create mode 100644 views/mods/mod_trustedshops/invoicemail_html.phtml create mode 100644 views/mods/mod_trustedshops/mail.phtml create mode 100644 views/mods/mod_trustedshops/mail_aftercalculation.phtml create mode 100644 views/mods/mod_trustedshops/mail_aftercalculation_html.phtml create mode 100644 views/mods/mod_trustedshops/mail_html.phtml create mode 100644 views/mods/mod_trustedshops/order_done.phtml create mode 100644 views/mods/mod_trustedshops/order_view_sidebar.phtml create mode 100644 views/mods/mod_trustedshops/settings_edit.phtml create mode 100644 views/mods/mod_trustedshops/widget.phtml create mode 100644 views/mods/mod_trustedshops/widget_form.phtml create mode 100644 views/mods/mod_userpayment/list.phtml create mode 100644 views/mods/mod_userpayment/settings_edit.phtml create mode 100644 views/mods/mod_varianten/basket_row.phtml create mode 100644 views/mods/mod_varianten/drawVarianten.phtml create mode 100644 views/mods/mod_varianten/mail_row.phtml create mode 100644 views/mods/mod_varianten/mail_row_html.phtml create mode 100644 views/mods/mod_varianten/order_view_row.phtml create mode 100644 views/mods/mod_varianten/overview_row.phtml create mode 100644 views/mods/mod_varianten/produkt.phtml create mode 100644 views/mods/mod_varianten/produkt_edit_content.phtml create mode 100644 views/mods/mod_varianten/settings_edit.phtml create mode 100644 views/mods/mod_varianten/varianten.js create mode 100644 views/mods/mod_versandarten/list.phtml create mode 100644 views/mods/mod_versandarten/settings_edit.phtml create mode 100644 views/mods/mod_videodownload/cronmail.phtml create mode 100644 views/mods/mod_videodownload/cronmail_html.phtml create mode 100644 views/mods/mod_videodownload/filelist.phtml create mode 100644 views/mods/mod_videodownload/fonts/Default.ttf create mode 100644 views/mods/mod_videodownload/order_view_sidebar.phtml create mode 100644 views/mods/mod_videodownload/order_view_sidebar_renderlist.phtml create mode 100644 views/mods/mod_videodownload/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_videodownload/settings_edit.phtml create mode 100644 views/mods/mod_videodownload/videodownloadmail.phtml create mode 100644 views/mods/mod_videodownload/videodownloadmail_html.phtml create mode 100644 views/mods/mod_voucherproduct/gutschein_mail.phtml create mode 100644 views/mods/mod_voucherproduct/gutschein_mail_html.phtml create mode 100644 views/mods/mod_voucherproduct/order_view_sidebar.phtml create mode 100644 views/mods/mod_voucherproduct/order_view_sidebar_content.phtml create mode 100644 views/mods/mod_voucherproduct/produkt_edit_sidebar.phtml create mode 100644 views/mods/mod_voucherproduct/settings_edit.phtml create mode 100644 views/mods/mod_voucherproduct/voucher_pdf.phtml create mode 100644 views/mods/mod_weight/basket_row.phtml create mode 100644 views/mods/mod_weight/basket_row_end.phtml create mode 100644 views/mods/mod_weight/overview_row.phtml create mode 100644 views/mods/mod_weight/overview_row_end.phtml create mode 100644 views/mods/mod_weight/produkt_edit_allgemein.phtml create mode 100644 views/mods/mod_weight/settings_edit.phtml create mode 100644 views/mods/mod_willcollect/mail.phtml create mode 100644 views/mods/mod_willcollect/mail_html.phtml create mode 100644 views/mods/mod_willcollect/settings_edit.phtml create mode 100644 views/mods/mod_willcollect/shippinghint.phtml create mode 100644 views/mods/mod_wirecard/gfx/logo_100x25.png create mode 100644 views/mods/mod_wirecard/gfx/wirecard.png create mode 100644 views/mods/mod_wirecard/order_done.phtml create mode 100644 views/mods/mod_wirecard/paymenthint.phtml create mode 100644 views/mods/mod_wirecard/settings_edit.phtml create mode 100644 views/order/index.phtml create mode 100644 views/order/orderlog.phtml create mode 100644 views/order/view.phtml create mode 100644 views/produkt/addedit.phtml create mode 100644 views/produkt/import.phtml create mode 100644 views/produkt/index.phtml create mode 100644 views/produkt/mapimport.phtml create mode 100644 views/produkt/select.phtml create mode 100644 views/produkt/select_filter.phtml create mode 100644 views/produkt/select_filter_productlist.phtml create mode 100644 views/produkttemplates/ausverkauft.phtml create mode 100644 views/produkttemplates/bildertest.phtml create mode 100644 views/produkttemplates/produktseite.phtml create mode 100644 views/produkttemplates/standard.phtml create mode 100644 views/produkttemplates/standard2.phtml create mode 100644 views/produkttemplates/standard_1544.phtml create mode 100644 views/produkttemplates/standard_ajax.phtml create mode 100644 views/produkttemplates/standard_login.phtml create mode 100644 views/warenkorb/ajaxDialog.phtml create mode 100644 views/warenkorb/basket.phtml create mode 100644 views/warenkorb/checkout.phtml create mode 100644 views/warenkorb/checkout2.phtml create mode 100644 views/warenkorb/customerquestion.phtml create mode 100644 views/warenkorb/done.phtml create mode 100644 views/warenkorb/index.phtml create mode 100644 views/warenkorb/overview.phtml create mode 100644 views/warenkorb/progress.phtml diff --git a/views/admin/access.phtml b/views/admin/access.phtml new file mode 100644 index 0000000..89af85d --- /dev/null +++ b/views/admin/access.phtml @@ -0,0 +1,95 @@ + +
+ +
+
+
+
+ + + +
+ +
+
+ + prefix."user_roles"); ?> + + + + + $r) { ?> + + + + + + + $r) { ?> + + + + + + + $r) { ?> + + + + + hasMod('wpsg_mod_core')) { ?> + + + $r) { ?> + + + + + + + + $r) { ?> + + + + + + + $r) { ?> + + + + + callMods('admin_setcapabilities'); ?> +
+ + name="wpsg_cap[][wpsg_menu]" value="1" /> +
+ + name="wpsg_cap[][wpsg_conf]" value="1" /> +
+ + name="wpsg_cap[][wpsg_lizence]" value="1" /> +
+ + name="wpsg_cap[][wpsg_order]" value="1" /> +
+ + name="wpsg_cap[][wpsg_produkt]" value="1" /> +
+ +
+ + +
+
\ No newline at end of file diff --git a/views/admin/blognetzwerk.phtml b/views/admin/blognetzwerk.phtml new file mode 100644 index 0000000..78b1830 --- /dev/null +++ b/views/admin/blognetzwerk.phtml @@ -0,0 +1,48 @@ + + +
+ +
+
+
+
+ + + +
+ +
+
+
+ +
+ +
+
+ + get_option('wpsg_multiblog_standalone', true)); ?> + get_option('wpsg_multiblog_sessionPath', true), array('help' => 'wpsg_multiblog_sessionPath')); ?> + + + +
+ +
+ Allgemein)', 'wpsg'); ?> +
+ +

+ +
+
+
\ No newline at end of file diff --git a/views/admin/customerpreset.phtml b/views/admin/customerpreset.phtml new file mode 100644 index 0000000..4f8fab1 --- /dev/null +++ b/views/admin/customerpreset.phtml @@ -0,0 +1,43 @@ + +
+ +
+
+
+
+ + + +
+ +
+ +
+ + view['arShipping'], $this->get_option('wpsg_customerpreset_shipping')); ?> + view['arPayment'], $this->get_option('wpsg_customerpreset_payment')); ?> + view['arLander'], $this->get_option('wpsg_defaultland'), array('hint' => + 'nohspc_'.wpsg_translate(__('Die Länder können in der Länderverwaltung definiert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=laender') + )); ?> + view['arTitle'], $this->get_option('wpsg_customerpreset_title'), array( + 'hint' => 'nohspc_'.wpsg_translate(__('Die Auswahl kann in den Kundendaten definiert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=kundendaten'), + 'noIndex' => true + )); ?> + +
+ + + +
+ +
\ No newline at end of file diff --git a/views/admin/debugInfo.phtml b/views/admin/debugInfo.phtml new file mode 100644 index 0000000..82bf55a --- /dev/null +++ b/views/admin/debugInfo.phtml @@ -0,0 +1,16 @@ + +callMods('admin_debugInfo'); ?> + +get_option('active_plugins'); + +?> \ No newline at end of file diff --git a/views/admin/deinstall.phtml b/views/admin/deinstall.phtml new file mode 100644 index 0000000..fae4d98 --- /dev/null +++ b/views/admin/deinstall.phtml @@ -0,0 +1,80 @@ + +
+ +
+
+
+
+ + + +
+ +
+ +
+ +

+ +
+
+
+
+ +
+ + +

+ +
+

+ +
+ +
+
+ + \ No newline at end of file diff --git a/views/admin/emailconf.phtml b/views/admin/emailconf.phtml new file mode 100644 index 0000000..315e7ac --- /dev/null +++ b/views/admin/emailconf.phtml @@ -0,0 +1,132 @@ + +
+ +
+
+
+
+ + + +
+ +
+ +

+ + +

+ +

+ +
+ + get_option('wpsg_htmlmail')); ?> + +
+ +
+ + + + + + + + + + callMods('admin_emailconf'); ?> + +
+ +
+ +

+ +
+
+ + \ No newline at end of file diff --git a/views/admin/extended.phtml b/views/admin/extended.phtml new file mode 100644 index 0000000..235143a --- /dev/null +++ b/views/admin/extended.phtml @@ -0,0 +1,62 @@ + +
+ +
+
+
+
+ + + +
+ +
+
+ + get_option('wpsg_salt')); ?> + get_option('wpsg_options_nl2br')); ?> + get_option('wpsg_debugModus')); ?> + + hasMod('wpsg_mod_core')) { ?> + get_option('wpsg_debugURL')); ?> + + + get_option('wpsg_referer_requesturi')); ?> + get_option('wpsg_ignoreuserview')); ?> + get_option('wpsg_classicupload')); ?> + get_option('wpsg_content_filter_direct')); ?> + get_option('wpsg_options_no_rte_apply_filter')); ?> + get_option('wpsg_options_nl2br_out')); ?> + get_option('wpsg_impexp_clearlinebreak')); ?> + get_option('wpsg_removeWpAutoOp'), array('help' => 'wpsg_removeWpAutoOp')); ?> + get_option('wpsg_removeWpTrimExcerpt'), array('help' => 'wpsg_removeWpTrimExcerpt')); ?> + get_option('wpsg_autoraw')); ?> + get_option('wpsg_nocache')); ?> + get_option('wpsg_autolineending')); ?> + view['arGeoMode'], $this->get_option('wpsg_geo_determination'), array('help' => 'wpsg_geo_determination')); ?> + + + +

+ +
+
+ \ No newline at end of file diff --git a/views/admin/hilfe.phtml b/views/admin/hilfe.phtml new file mode 100644 index 0000000..2f24636 --- /dev/null +++ b/views/admin/hilfe.phtml @@ -0,0 +1,86 @@ + +
+ +

+ +

+ +

+

+ http://wpshopgermany.maennchen1.de/category/tutorials/ + +

+

+

nicht unser Kontaktformular oder Telefon.", "wpsg"); ?>

+ http://forum.maennchen1.de/ + +

+

+ https://wpshopgermany.uservoice.com/ + +

+

+ + +
+ +

Upgrade Anleitung.', 'wpsg'), 'http://wpshopgermany.de/?p=2508'); ?>:

+ +
    +
  1. + :
    + get_option('wpshopgermany_version_installed') == '2.5.8') { ?> + +
    +

    + + +
    + + get_option('wpshopgermany_version_installed') !== false) { ?> + +

    + + + +

    + + +
  2. +
  3. +
    +
    + +
  4. +
  5. + :
    +
    +
    uploads/wpsg_upgrade.zip
    + +

    + + + + +
  6. +
+ +
+ +

+

hier umgewandelt werden.', 'wpsg'), + WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=migratemwst' + ); ?> + +

+ \ No newline at end of file diff --git a/views/admin/includes.phtml b/views/admin/includes.phtml new file mode 100644 index 0000000..b5b8201 --- /dev/null +++ b/views/admin/includes.phtml @@ -0,0 +1,50 @@ + +
+ +
+
+
+
+ + + +
+ +
+
+ + get_option('wpsg_load_css')); ?> + get_option('wpsg_load_jquery'), array('help' => 'wpsg_load_jquery')); ?> + get_option('wpsg_load_thickbox_js'), array('help' => 'wpsg_load_thickbox')); ?> + get_option('wpsg_load_thickbox_css'), array('help' => 'wpsg_load_thickbox')); ?> + get_option('wpsg_load_validierung_js')); ?> + get_option('wpsg_load_validierung_css')); ?> + + callMods('admin_includes'); ?> + + + +

+ +
+
+ + \ No newline at end of file diff --git a/views/admin/index.phtml b/views/admin/index.phtml new file mode 100644 index 0000000..b6594ec --- /dev/null +++ b/views/admin/index.phtml @@ -0,0 +1,43 @@ + + +
+ +
+

+
+ + writeBackendMessage(); ?> + +
+
    +
  • ">
  • +
  • ">
  • + hasMod('wpsg_mod_core')) { ?> +
  • ">
  • + +
  • + + + + +
  • +
  • ">
  • +
  • ">
  • +
+
+
+ +
+ view['subTemplate'])) { ?> + render($this->view['subTemplate']); ?> + +
+ +
\ No newline at end of file diff --git a/views/admin/kalkulation.phtml b/views/admin/kalkulation.phtml new file mode 100644 index 0000000..e41888a --- /dev/null +++ b/views/admin/kalkulation.phtml @@ -0,0 +1,91 @@ + +
+ +
+
+
+
+ + + +
+ +
+
+ get_option('wpsg_kleinunternehmer'), array('help' => 'Preiskalkulation_wpsg_kleinunternehmer')); ?> + get_option('wpsg_kleinunternehmer_text'), array()) ?> +
+
+
+ : +
+
+ +
+
+
+ __('Brutto (inkl. Steuer)', 'wpsg'), WPSG_NETTO => __('Netto (zzgl. Steuer)', 'wpsg')), $this->get_option('wpsg_preisangaben_frontend')); ?> +
+ + get_option('wpsg_hideemptyshipping'), array('help' => 'Preiskalkulation_wpsg_hideemptyshipping')); ?> + get_option('wpsg_hideemptypayment'), array('help' => 'Preiskalkulation_wpsg_hideemptypayment')); ?> + + + +

+ + + +
+
\ No newline at end of file diff --git a/views/admin/konfiguration.phtml b/views/admin/konfiguration.phtml new file mode 100644 index 0000000..a93cd79 --- /dev/null +++ b/views/admin/konfiguration.phtml @@ -0,0 +1,167 @@ + +
+ +
+
+
+
+ + + +
+ +
+
+ + hasMod('wpsg_mod_core')) { ?> + arLizenz['l'] == 0) { ?> +
+
+ : +
+
+ getDemoDays() < 0) { ?> +

getDemoDays())); ?>

+ +

getDemoDays()); ?>

+ + +
+
+
+ +
+
+ : +
+
+

+ arLizenz['l']) + { + + case '1': echo __('Light Version', 'wpsg'); break; + case '2': echo __('Pro Version', 'wpsg'); break; + case '3': echo __('Enterprise Version', 'wpsg'); break; + default: die(); + + } + + ?> +

+
+
+
+ + +
+
 
+
+ Weitere Funktionen in der Vollversion.
[ Vollversion kaufen ] [ Weitere Infos ]', 'wpsg'), + 'http://shop.maennchen1.de/produkte/wpshopgermany-lizenzkey/', + 'http://wpshopgermany.de/' + ); ?> +
+
+
+ + + get_option("wpsg_version_installed", true) != WPSG_VERSION) { ?> +
+
+ : +
+
+

Bitte klicken Sie auf ", "wpsg").''.__("Aktualisieren", "wpsg").' ('.__("Produkte etc. werden dabei nicht gelöscht.", "wpsg"); ?>)

+ +
+
+
+ +
+
+ : +
+
+

 

+ +
+
+
+ +
+ +
+
+ : +
+
+ + +
+
+
+ + view['arLanguages'])) { ?> + view['arLanguages'], $this->get_option('wpsg_backend_language'), array('help' => 'Einstellungen_Allgemein_Standardsprachebackend')); ?> + + +
+
+ : +
+
+ + +
+
+
+ + get_option('wpsg_order_perpage')); ?> + get_option('wpsg_showincompleteorder')); ?> + get_option('wpsg_currency')), $this->get_option('wpsg_emptyorder_clear')); ?> + __('Auf Seite bleiben', 'wpsg'), + '1' => __('Zum Warenkorb leiten', 'wpsg'), + '2' => __('Warenkorb im Fenster anzeigen', 'wpsg'), + '3' => __('Lightbox Meldung', 'wpsg') + ), $this->get_option('wpsg_afterinsert')); ?> + get_option('wpsg_skip_checkout2')); ?> + __('In Session belassen', 'wpsg'), + '1' => __('Löschen', 'wpsg') + ), $this->get_option('wpsg_afterorder')); ?> + get_option('wpsg_format_knr'), array('help' => 'Formatierung_Kundennummer')); ?> + __('Numerisch', 'wpsg'), '1' => __('Alphabetisch', 'wpsg')), $this->get_option('wpsg_order_knr')); ?> + get_option('wpsg_customer_start')); ?> + get_option('wpsg_format_onr'), array('help' => 'Formatierung_Bestellnummer')); ?> + get_option('wpsg_order_start')); ?> + + + + + +

+ +
+
\ No newline at end of file diff --git a/views/admin/kundendaten.phtml b/views/admin/kundendaten.phtml new file mode 100644 index 0000000..6896577 --- /dev/null +++ b/views/admin/kundendaten.phtml @@ -0,0 +1,88 @@ + +
+ +
+
+
+
+ + + +
+ +
+
+ +
+ +
+
+
+
+ +
+
+
+
+ +
+ render(WPSG_PATH_VIEW.'/admin/kundendaten_tab1.phtml'); ?> +
+
+ + render(WPSG_PATH_VIEW.'/admin/kundendaten_tab2.phtml'); ?> + +
+ +
+ +

+ +
+ + + +
+
\ No newline at end of file diff --git a/views/admin/kundendaten_codeinfo.phtml b/views/admin/kundendaten_codeinfo.phtml new file mode 100644 index 0000000..322f36a --- /dev/null +++ b/views/admin/kundendaten_codeinfo.phtml @@ -0,0 +1,26 @@ + +view['id']); ?> +
+ + <?php echo $this->renderKundenField($this->view, view['id'] ?>); ?> + +

+view['id']); ?> +
+ + <?php echo $this->getCustomerFieldFromSession(view['id'] ?>); ?> + +

+view['id']); ?> +
+ + <?php echo $this->getCustomFieldFromDB(%kunde_id%, view['id'] ?>); ?> + +
+
\ No newline at end of file diff --git a/views/admin/kundendaten_renderfield.phtml b/views/admin/kundendaten_renderfield.phtml new file mode 100644 index 0000000..d3cddf3 --- /dev/null +++ b/views/admin/kundendaten_renderfield.phtml @@ -0,0 +1,25 @@ + +
+ +
\ No newline at end of file diff --git a/views/admin/kundendaten_tab1.phtml b/views/admin/kundendaten_tab1.phtml new file mode 100644 index 0000000..6fe5425 --- /dev/null +++ b/views/admin/kundendaten_tab1.phtml @@ -0,0 +1,146 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
: + +
: + +
: + +
: + +
: + +
+ +
: + +
+ +
: + +
: + +
: + +
: + +
: + +
: + +
: + +
diff --git a/views/admin/kundendaten_tab2.phtml b/views/admin/kundendaten_tab2.phtml new file mode 100644 index 0000000..e506f2e --- /dev/null +++ b/views/admin/kundendaten_tab2.phtml @@ -0,0 +1,117 @@ + +view['pflicht']['custom'])) { ?> + + + + + + + + + + + + + + + view['pflicht']['custom'] as $c_id => $c) { ?> + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + +
+ +
+
+get_option('wpsg_kundenvariablen_show')); ?> + +

+ \ No newline at end of file diff --git a/views/admin/laender.phtml b/views/admin/laender.phtml new file mode 100644 index 0000000..e3fef52 --- /dev/null +++ b/views/admin/laender.phtml @@ -0,0 +1,244 @@ + +

+ +
+
+
+
+ + + +
+ +
+ +
+ +

+ + +

+ + 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 diff --git a/views/admin/laender_edit.phtml b/views/admin/laender_edit.phtml new file mode 100644 index 0000000..421ed79 --- /dev/null +++ b/views/admin/laender_edit.phtml @@ -0,0 +1,29 @@ +
+ + 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')); ?> + __('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'])) { ?> + + + +
+ + + +


+ +
\ No newline at end of file diff --git a/views/admin/loadsavesettings.phtml b/views/admin/loadsavesettings.phtml new file mode 100644 index 0000000..4ff2599 --- /dev/null +++ b/views/admin/loadsavesettings.phtml @@ -0,0 +1,48 @@ + +
+ +
+
+
+
+ + + +
+ +
+
+
+
+ +
+
+ +
+
+
+
+
+ +
+
+ +
+
+
+

+

+ +

+
+
\ No newline at end of file diff --git a/views/admin/migratemwst.phtml b/views/admin/migratemwst.phtml new file mode 100644 index 0000000..8267059 --- /dev/null +++ b/views/admin/migratemwst.phtml @@ -0,0 +1,62 @@ + +
+ +

+ + view['defaultCountry']->name, array('text' => true)); ?> + +
+ +

+ view['distinctProductTax'])) { ?> + view['distinctProductTax'] as $dp) { ?> + + + + + + + + + +

+ + + view['arConf'])) { ?> +

+ + view['arConf'] as $key => $label) { ?> + + + + + + hasMod('wpsg_mod_userpayment')) { ?> + view['arPaymentMethods'])) { ?> +

+ view['arPaymentMethods'] as $pm) { ?> + + + + + + hasMod('wpsg_mod_versandarten')) { ?> + view['arShippingMethods'])) { ?> +

+ view['arShippingMethods'] as $sm) { ?> + + + + + +
+ + + +
\ No newline at end of file diff --git a/views/admin/module.phtml b/views/admin/module.phtml new file mode 100644 index 0000000..faa84d2 --- /dev/null +++ b/views/admin/module.phtml @@ -0,0 +1,137 @@ + +
+ + view['groups'] as $group_name => $g) { ?> +
+
+
+
+ + +
+ + +
+ + +
+
+ +

+ arAllModule[$_REQUEST['modul']]->name; ?> + arAllModule[$_REQUEST['modul']]->hilfeURL) && $this->arAllModule[$_REQUEST['modul']]->hilfeURL != '') { ?> + + +

+ +

arAllModule[$_REQUEST['modul']]->desc; ?>

+ +
+
+ : +
+
+ +
+
+
+ + arAllModule[$_REQUEST['modul']]->version)) { ?> + arAllModule[$_REQUEST['modul']]->version, array('text' => true)); ?> +
+
+ : +
+
+

+ arAllModule[$_REQUEST['modul']]->free) && $this->arAllModule[$_REQUEST['modul']]->free === true) { ?> + + + arLizenz) && in_array($_REQUEST['modul'], (array)$this->arLizenz['mods'])) { ?> + + + arAllModule[$_REQUEST['modul']]->getDemoDays() > 0) { ?> + arAllModule[$_REQUEST['modul']]->getDemoDays()); ?> + + + + + +

+
+
+
+ + + arAllModule[$_REQUEST['modul']]->version) || (($this->arAllModule[$_REQUEST['modul']]->free === true || (is_array($this->arLizenz) && in_array($_REQUEST['modul'], (array)$this->arLizenz['mods'])) || $this->arAllModule[$_REQUEST['modul']]->getDemoDays() > 0))) { ?> + arAllModule[$_REQUEST['modul']]->inline === true) { ?> +

+ + + + + arAllModule[$_REQUEST['modul']]->inline == true) { ?> +
+ + + get_option($_REQUEST['modul'], $this->view['global']) > 0) { ?> + arModule[$_REQUEST['modul']]->settings_edit(); ?> + + + arAllModule[$_REQUEST['modul']]->inline !== true) { ?> +

+ + +

+ + + arAllModule[$_REQUEST['modul']]->inline !== true) { ?> + + +
+ + + hasMod('wpsg_mod_core')) { ?> + callMod('wpsg_mod_core', 'module_index'); ?> + + +
+ +

+

+ +

wpShopGermany Vollversion erwerben und weitere Funktionen freischalten. [ Vollversion kaufen ] [ Weitere Infos ]', 'wpsg'), + 'http://shop.maennchen1.de/produkte/wpshopgermany-lizenzkey/', + 'http://wpshopgermany.de/' + ); ?>

+ +
+ + + + + + \ No newline at end of file diff --git a/views/admin/musterwiderruf.pdf.phtml b/views/admin/musterwiderruf.pdf.phtml new file mode 100644 index 0000000..a5815e2 --- /dev/null +++ b/views/admin/musterwiderruf.pdf.phtml @@ -0,0 +1,60 @@ +SetAutoPageBreak(true, 5); + $pdf->AddPage(); + + // Adresse des Kunden + $pdf->SetFont('Arial', '', 12); + $pdf->Text($adress_left, $adress_top, $this->get_option('wpsg_shopdata_name')); + $pdf->Text($adress_left, $adress_top + 5, $this->get_option('wpsg_shopdata_owner')); + $pdf->Text($adress_left, $adress_top + 10, $this->get_option('wpsg_shopdata_street')); + $pdf->Text($adress_left, $adress_top + 15, $this->get_option('wpsg_shopdata_zip').' '.$this->get_option('wpsg_shopdata_city')); + + // Rechnungsdaten + $pdf->SetFont('Arial', 'B', 16); + $pdf->Text($tdata_left, $tdata_top, 'Widerruf'); + + // Text + $pdf->SetFont('Arial', '', 12); + $pdf->Text($tdata_left, $tdata_top + 10, __('Hiermit widerrufe(n) ich/wir (*) den von mir/uns (*) abgeschlossenen Vertrag über den Kauf', 'wpsg')); + $pdf->Text($tdata_left, $tdata_top + 15, __('der folgenden Waren (*)/die Erbringung der folgenden Dienstleistung.', 'wpsg')); + + $pdf->Text($tdata_left, $tdata_top + 25, __('Artikelname', 'wpsg')); + $pdf->Text($tdata_left + 115, $tdata_top + 25, __('Bestellt am (*)/erhalten am (*)', 'wpsg')); + + $pdf->Line($tdata_left, $tdata_top + 40, $tdata_left + 170, $tdata_top + 40); + $pdf->Line($tdata_left, $tdata_top + 50, $tdata_left + 170, $tdata_top + 50); + $pdf->Line($tdata_left, $tdata_top + 60, $tdata_left + 170, $tdata_top + 60); + $pdf->Line($tdata_left, $tdata_top + 70, $tdata_left + 170, $tdata_top + 70); + $pdf->Line($tdata_left, $tdata_top + 80, $tdata_left + 170, $tdata_top + 80); + + $pdf->Text($tdata_left, $tdata_top + 100, __('Meine Anschrift', 'wpsg')); + $pdf->Text($tdata_left, $tdata_top + 110, __('Name', 'wpsg').':'); $pdf->Line($tdata_left + 30, $tdata_top + 110, $tdata_left + 100, $tdata_top + 110); + $pdf->Text($tdata_left, $tdata_top + 118, __('Straße', 'wpsg').':'); $pdf->Line($tdata_left + 30, $tdata_top + 118, $tdata_left + 100, $tdata_top + 118); + $pdf->Text($tdata_left, $tdata_top + 126, __('PLZ/Ort', 'wpsg').':'); $pdf->Line($tdata_left + 30, $tdata_top + 126, $tdata_left + 100, $tdata_top + 126); + + $pdf->Line($tdata_left, $tdata_top + 152, $tdata_left + 100, $tdata_top + 152); + $pdf->SetFont('Arial', '', 6); + $pdf->Text($tdata_left, $tdata_top + 155, __('Datum, Unterschrift', 'wpsg').':'); + + $pdf->Output($this->view['filename'], 'F'); + +?> \ No newline at end of file diff --git a/views/admin/news.phtml b/views/admin/news.phtml new file mode 100644 index 0000000..aceb183 --- /dev/null +++ b/views/admin/news.phtml @@ -0,0 +1,42 @@ + + +view['news'])) { ?> + +
+ +
+ + view['news'] as $news) { ?> +
+ +

+ +
+ <?php echo __('gelesen', 'wpsg'); ?> +
+
+ +
+ + + +
+ + + +

+ + + +


+ +Aktualisieren]', 'wpsg'), + ((wpsg_isSizedInt($this->get_option('wpsg_news_cache_refresh')))?wpsg_formatTimestamp(wpsg_timestamp($this->get_option('wpsg_news_cache_refresh'))):'n.A.'), + WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=news&reload=1&noheader=1' +); ?> \ No newline at end of file diff --git a/views/admin/path.phtml b/views/admin/path.phtml new file mode 100644 index 0000000..315e7a2 --- /dev/null +++ b/views/admin/path.phtml @@ -0,0 +1,37 @@ + +
+ +
+
+
+
+ + + +
+ +
+
+ +

+ +

+ + get_option('wpsg_path_upload_multiblog', true), array('hint' => __('Sollte den Platzhalter %blog_id% enthalten, dieser zeigt auf die ID des jeweiligen Blockes sonst kann es bei dem Betrieb von mehreren Shops zu Überschreibungen kommen.', 'wpsg'))); ?> + + + +

+ +
+
\ No newline at end of file diff --git a/views/admin/presentation.phtml b/views/admin/presentation.phtml new file mode 100644 index 0000000..10958eb --- /dev/null +++ b/views/admin/presentation.phtml @@ -0,0 +1,50 @@ + +
+ +
+
+
+
+ + + +
+ +
+
+ + get_option('wpsg_showMwstAlways')); ?> + get_option('wpsg_showArticelnumber')); ?> + __('Serverseitig', 'wpsg'), + '1' => __('Serverseitig + Javascript V1', 'wpsg'), + '2' => __('Serverseitig + Javascript V2', 'wpsg') + ), $this->get_option('wpsg_form_validation')); ?> + get_option('wpsg_hideBasketCountrySelect')); ?> + + callMods('admin_presentation'); ?> + + + +

+ +
+
\ No newline at end of file diff --git a/views/admin/seiten.phtml b/views/admin/seiten.phtml new file mode 100644 index 0000000..39e16ca --- /dev/null +++ b/views/admin/seiten.phtml @@ -0,0 +1,41 @@ + +
+ +
+
+
+
+ + + +
+ +
+
+ +
+ + view['pages'], $this->get_option('wpsg_page_basket')); ?> + view['pages'], $this->get_option('wpsg_page_versand')); ?> + view['pages'], $this->get_option('wpsg_page_agb')); ?> + view['pages'], $this->get_option('wpsg_page_datenschutz')); ?> + view['pages'], $this->get_option('wpsg_page_widerrufsbelehrung')); ?> + get_option('wpsg_page_onlinedisputeresolution')); ?> + view['pages'], $this->get_option('wpsg_page_impressum')); ?> + +

+ +
+ +
+
\ No newline at end of file diff --git a/views/admin/shopdata.phtml b/views/admin/shopdata.phtml new file mode 100644 index 0000000..e2340c6 --- /dev/null +++ b/views/admin/shopdata.phtml @@ -0,0 +1,60 @@ + +
+ +
+
+
+
+ + + +
+ +
+
+ + get_option('wpsg_shopdata_name'), array('help' => 'wpsg_shopdata_name')); ?> + get_option('wpsg_shopdata_owner'), array('help' => 'wpsg_shopdata_owner')); ?> + get_option('wpsg_shopdata_tel'), array('help' => 'wpsg_shopdata_tel')); ?> + get_option('wpsg_shopdata_fax'), array('help' => 'wpsg_shopdata_fax')); ?> + get_option('wpsg_shopdata_email'), array('help' => 'wpsg_shopdata_email')); ?> + get_option('wpsg_shopdata_taxnr'), array('help' => 'wpsg_shopdata_taxnr')); ?> + get_option('wpsg_shopdata_ustidnr'), array('help' => 'wpsg_shopdata_ustidnr')); ?> + +

+ + get_option('wpsg_shopdata_street'), array('help' => 'wpsg_shopdata_street')); ?> + get_option('wpsg_shopdata_zip'), array('help' => 'wpsg_shopdata_zip')); ?> + get_option('wpsg_shopdata_city'), array('help' => 'wpsg_shopdata_city')); ?> + +

+ + get_option('wpsg_shopdata_bank_name'), array('help' => 'wpsg_shopdata_bank_name')); ?> + get_option('wpsg_shopdata_bank_owner'), array('help' => 'wpsg_shopdata_bank_owner')); ?> + get_option('wpsg_shopdata_bank_iban'), array('help' => 'wpsg_shopdata_bank_iban')); ?> + get_option('wpsg_shopdata_bank_bic'), array('help' => 'wpsg_shopdata_bank_bic')); ?> + +

+ +
+
+ + \ No newline at end of file diff --git a/views/admin/ueber.phtml b/views/admin/ueber.phtml new file mode 100644 index 0000000..f5cfc01 --- /dev/null +++ b/views/admin/ueber.phtml @@ -0,0 +1,72 @@ + +

+ +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+ +

+ +arModule as $m_key => $m) +{ + + $arModule[] = $m_key.((isset($m->version))?' '.$m->version:''); + +} + +?> + + true)); ?> + true)); ?> + true)); ?> + true)); ?> +". "max_input_time: ". ini_get('max_input_time') . "
". "max_execution_time: ". ini_get('max_execution_time') . "
". "max_input_vars: ". ini_get('max_input_vars') . "
". "upload_max_filesize: ". ini_get('upload_max_filesize') . "
". "register_globals: ". ini_get('register_globals') . "
". "memory_limit: ". ini_get('memory_limit') . "
". "safe_mode: ". ini_get('safe_mode') . "
". "include_path: ". ini_get('include_path') . "
". "soap.wsdl_cache: ". ini_get('soap.wsdl_cache') . "
", array('text' => true, 'nohspc' => true)); ?> + true)); ?> + +
+
+ +
+
+ get_option('active_plugins'); ?> +

+ + /
+ +

+
+

+ get_option('wpsg_plugintest_active_plugins'))) { ?> + + + + +

+
+
+
diff --git a/views/admin/versandzonen.phtml b/views/admin/versandzonen.phtml new file mode 100644 index 0000000..46dbc28 --- /dev/null +++ b/views/admin/versandzonen.phtml @@ -0,0 +1,130 @@ + + + +
+ +
+
+
+
+ + + +
+ +
+ +
+ +
+
+
+ + +
+
+
+
+ view['adminController']->vz_listAction(); ?> +
+ +
+
\ No newline at end of file diff --git a/views/admin/versandzonen_list.phtml b/views/admin/versandzonen_list.phtml new file mode 100644 index 0000000..5e15862 --- /dev/null +++ b/views/admin/versandzonen_list.phtml @@ -0,0 +1,89 @@ + +view['data']) || sizeof($this->view['data']) <= 0) { ?> + + + + + + + + + view['data'] as $vz) { ?> + + + + + + +
+ +
+ + +
+ type="checkbox" value="1" name="innereu_" id="innereu_" /> + + + + + + +
+ + + + \ No newline at end of file diff --git a/views/admin/widerrufsbelehrung.phtml b/views/admin/widerrufsbelehrung.phtml new file mode 100644 index 0000000..8a184d6 --- /dev/null +++ b/views/admin/widerrufsbelehrung.phtml @@ -0,0 +1,73 @@ + +
+ +
+
+
+
+ + + +
+ +
+
+ +
+ + get_option('wpsg_ps_mailwiderruf'), array( + 'hint' => 'nohspc_'.__('Dieser Text wird in die Mail eingebunden, die der Kunde als Bestellbestätigung erhält.', 'wpsg').'
'.__('Das Template für die Mail finden Sie unter: views/mailtemplates/kundenmail.phtml bzw. views/mailtemplates/html/kundenmail.phtml.', 'wpsg') + )); ?> + + + +
+
 
+
+ + view['revocationform'])) { ?> + + view['revocationform']; ?> + + + + +

+ + + +

+ + +

+ +
+
+
+ + get_option('wpsg_widerrufsformular_kundenmail')); ?> + + hasMod('wpsg_mod_rechnungen')) { ?> + get_option('wpsg_widerrufsformular_invoice')); ?> + + + hasMod('wpsg_mod_auftragsbestaetigung')) { ?> + get_option('wpsg_widerrufsformular_orderconfirm')); ?> + + +
+ +

+ + +
\ No newline at end of file diff --git a/views/css/admin.css b/views/css/admin.css new file mode 100644 index 0000000..1049541 --- /dev/null +++ b/views/css/admin.css @@ -0,0 +1,681 @@ +/* + * Diese Datei wird immer im Backend geladen. Hier sollten die Admin CSS Einstellungen rein, die nichts mit den Themes zu tun haben + */ + +/* + * Allgemein + */ +.msg_wrap img { margin-bottom:1rem; margin-top:1rem; max-width:100%; height:auto; } +.wpsg_error { color:#FF0000; font-weight:bold; } +.wpsg_developer { color:#FF0000; } +.wpsg_change_error { background-color:#EE3B3B !important; } +.wpsg_erfolg { color:green; } +.wpsg_hinweis { font-style:italic; } +.wpsg_table .odd td { background-color:#DEDEDE; } +.wpsg_table .even td { } +.wpsg_message img { float:right; } +#wikipage h1 { line-height:100%; font-size:13px; } +.wpsg_placeholder { border-style: dashed; border-width: 1px; height: 26px; margin: 0 auto 20px; } +#icon-wpsg-Admin { background-image:url("../../../../../wp-admin/images/icons32.png"); background-position: -370px -5px; } +/*.tablenav-pages-wrap { width:300px !important; }*/ +.tooltip { text-decoration:none; color:inherit; cursor:inherit; } +.tooltip:hover { color:inherit; } +.sortable_handler { cursor:move; } + +/* + * Datepicker + */ +.ui-datepicker { width: 17em; padding:0; display: none; border:1px solid #444444; background-color:#F1F1F1; } +.ui-datepicker-header { color:#FFFFFF; background-color:#444444; } +.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } +.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } +.ui-datepicker .ui-icon { width: 16px; height: 16px; background-image: url('../../lib/ui/smoothness/images/ui-icons_888888_256x240.png'); } +.ui-datepicker .ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-datepicker .ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } +.ui-datepicker .ui-datepicker-prev { left:2px; } +.ui-datepicker .ui-datepicker-next { right:2px; } +.ui-datepicker .ui-datepicker-prev-hover { left:1px; } +.ui-datepicker .ui-datepicker-next-hover { right:1px; } +.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } +.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } +.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } +.ui-datepicker select.ui-datepicker-month-year {width: 100%;} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { width: 49%;} +.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } +.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } +.ui-datepicker td { border: 0; padding: 1px; } +.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } +.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } +.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { width:auto; } +.ui-datepicker-multi .ui-datepicker-group { float:left; } +.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } +.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } +.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } +.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } +.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } + +/* RTL support */ +.ui-datepicker-rtl { direction: rtl; } +.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } +.ui-datepicker-rtl .ui-datepicker-group { float:right; } +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } + +/* + * Allgemein Icons ... + */ + .branch-3-8 #adminmenu .toplevel_page_wpsg-Admin .wp-menu-image:before { content: "\f174"; } + .branch-3-8 #adminmenu .toplevel_page_wpsg-Admin .wp-menu-image img { position:absolute; left:-100px; top:-100px; height:1px; width:1px; } + +.wpsg_icon { display:block; width:16px; height:16px; float:left; margin-right:4px; background-repeat:no-repeat; background-position:50% 50%; } +.wpsg_icon_center { margin:auto; } +.wpsg_icon_right { float:right; } +.wpsg_icon_add { background-image:url('../gfx/add.png'); } +.wpsg_icon_edit { background-image:url('../gfx/edit.png'); } +.wpsg_icon_html { background-image:url('../gfx/html.png'); } +.wpsg_icon_remove { background-image:url('../gfx/delete.png'); } +.wpsg_icon_plzedit { background-image:url('../gfx/edit.png'); width:32px; margin-right:5px; } +.wpsg_form_language img { margin-left:2px; margin-top:5px; margin-right:5px; } +.wpsg_form_language a { text-decoration:none; } +.cluetip-inner img { max-width:100%; } + +/* Link Klassen */ +.wpsg_link_add { background-image:url('../gfx/add.png'); padding-left:20px; background-repeat:no-repeat; line-height:20px; background-position:left 50%; height:20px; display:block; } + +/* + * Admin + */ +.wpsg_admin_theme { width:600px; border: 1px solid #AAAAAA; border-bottom-left-radius:6px; border-bottom-right-radius:6px; border-top-left-radius: 6px; border-top-right-radius: 6px; padding:10px; margin-bottom:10px; } +.wpsg_admin_theme_akt { background-color:#FFFFFF !important; } +.wpsg_admin_theme_image { width:75px; height:75px; border:1px solid #AAAAAA; float:left; } +.wpsg_admin_theme_content { float:left; margin-left:10px; } +.wpsg_admin_theme_name { font-weight:bold; font-size:14px; } +.wpsg_admin_theme_info { color:#555555; } +.wpsg_admin_theme_new { width:600px; border: 1px solid #AAAAAA; border-bottom-left-radius:6px; border-bottom-right-radius:6px; border-top-left-radius: 6px; border-top-right-radius: 6px; padding:10px; margin-bottom:10px; } +.wpsg_admin_theme_new .button { float:right; } +.wpsg_admin, .wpsg_admin_wrap { width:970px; } +.wpsg_admin_topmenu { border-top: 1px solid #AAAAAA; } +.wpsg_admin_topmenu ul { margin-top: -1px; list-style: none; width: 100%; margin-bottom: 10px; } +.wpsg_admin_topmenu li { padding: 0px; margin: 0px; display: inline; } +.wpsg_admin_topmenu li a { display: block; float: left; padding-left: 12px; padding-right: 12px; font: 11px/ 18px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; color: #21759B; line-height: 30px; text-decoration: none !important; } +.wpsg_admin_topmenu li.current a { background-image: url("../gfx/tab_top.gif"); background-repeat: no-repeat; background-position: top center; } +.wpsg_admin_topmenu li a:hover { } +.wpsg_admin_submenu { float:left; width:200px; } +.wpsg_admin_submenu .head { cursor:pointer; margin-left:0px; width:180px; line-height:18px; border-style: solid solid none; border-top-left-radius: 6px; border-top-right-radius: 6px; border-width: 1px 1px 0; border-color:#AAAAAA; color: #21759B; cursor:pointer !important; background-color:#F1F1F1; } +.wpsg_admin_submenu .title { float:left; padding:5px; padding-left:12px; } +.wpsg_admin_submenu .toggle { clear: right; cursor: default; float: right; height:26px; margin: 1px 0 0; padding: 1px 2px 0 0; width: 22px; cursor:pointer !important; } +.wpsg_admin_submenu ul { border-bottom:1px solid #AAAAAA; border-right: 1px solid #AAAAAA; width: 181px; float: left; padding: 0px; margin: 0px; margin-left:0px; } +.wpsg_admin_submenu ul li { border-left: 1px solid #AAAAAA; margin: 0px; } +.wpsg_admin_submenu ul li.current { background-color: #F5F5F5; border-left: 0px; border-left:1px solid #AAAAAA; } +.wpsg_admin_submenu ul li a { display: block; padding-left: 12px; font: 11px/ 18px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; color: #21759B; line-height: 20px; text-decoration: none !important; } +.wpsg_admin_submenu ul li a:hover { background-color: #EAF2FA; } +.wpsg_admin_submenu ul li.modul_akt a { background-image: url("../gfx/tick.png"); background-position: right center; background-repeat: no-repeat; font-weight: bold !important; width: 165px; } +.wpsg_admin_content { float:left; } +.wpsg_admin_box { width:770px; } +.wpsg_admin_box .title { line-height:18px; padding:0px; border-style: solid solid none; border-top-left-radius: 6px; border-top-right-radius: 6px; border-width: 1px 1px 0; border-color:#AAAAAA; color: #21759B; cursor:pointer !important; background-color:#F1F1F1; } +.wpsg_admin_box .content { border-bottom:1px solid #AAAAAA; border-right:1px solid #AAAAAA; border-left:1px solid #AAAAAA; min-height:18px; padding:5px; padding-left:12px; } +.wpsg_admin_box .head .title { cursor:default !important; } +.wpsg_admin_box .head .title .tab { cursor:pointer; float:left; padding-left:12px; padding-right:15px; border-right:1px solid #AAAAAA; padding-top:5px; padding-bottom:5px; } +.wpsg_admin_box .head .title .tabright { float:right; border-left:1px solid #AAAAAA; border-right:0px; } +.wpsg_admin_box .head .title .tab:first-child { border-top-left-radius:6px; } +.wpsg_admin_box .head .title .tabright-last { border-top-right-radius:6px !important; } +.wpsg_admin_box .head .title .tab:hover, .wpsg_admin_box .head .title .akttab { background-color:#FFFFFF; } +.wpsg_admin_box .head .title .fulltab { cursor:pointer; padding:5px 5px 5px 12px; } +.wpsg_admin_box .head .title .tablink { padding:5px; float:right; } +.wpsg_admin_date_from { margin-right:4px;} +.wpsg_admin_date_to { margin-right:4px; margin-left:25px; } +.wpsg_clear { clear:both; } +.wpsg_form_field { width:770px; margin-bottom:5px; } +.wpsg_form_field_fullrow { position:relative; } +.wpsg_form_field_fullrow label { font-weight:bold; line-height:25px; } +.wpsg_form_field .wpsg_form_left { line-height:24px; font-weight:bold; width:350px; float:left; } +.wpsg_form_field .wpsg_form_right { width:420px; float:left; position:relative; } +.wpsg_form_field .wpsg_form_right select, .wpsg_form_field .wpsg_form_right input, .wpsg_form_field .wpsg_form_right textarea { width:95%; } +.wpsg_form_field .wpsg_form_right input.button { width:auto; } +.wpsg_form_field .wpsg_form_right label { line-height:25px; } +.wpsg_form_field_max select { width:100%; } +.postbox .wpsg_form_field .wpsg_form_left { width:330px; } /* z.B. Bestellverwaltung Bankalignment Modul */ +.wpsg_order_top { } +.wpsg_order_top .wpsg_form_field { width:100%; } +.wpsg_order_top .wpsg_form_field .wpsg_form_left { max-width:200px; width:50% !important; } +.wpsg_order_top .wpsg_form_field .wpsg_form_right { width:50% !important; } +.wpsg_order_top .wpsg_form_field .wpsg_form_right select { width:50%; float:left; } +.wpsg_admin_box .wpsg_form_field { margin-bottom:0px; } +.wpsg_admin_box .wpsg_form_field .wpsg_form_right { width:401px ; } +.wpsg_form_field .wpsg_form_right_unit select, .wpsg_form_field .wpsg_form_right_unit input, .wpsg_form_field .wpsg_form_right_unit textarea { width:80%; float:left; } +.wpsg_form_field .wpsg_form_right_unit p.wpsg_unit { width:15%; float:left; } +.wpsg_form_field .wpsg_form_right textarea { height:100px; } +.wpsg_form_field .wpsg_form_right input.checkbox { width:auto !important; float:left; margin-left:2px; margin-top:5px; } +.wpsg_form_field .wpsg_form_right p { padding:4px 0px 4px 6px; margin:0px; } +.wpsg_formfield_small .wpsg_form_left { line-height:12px; } +.wpsg_formfield_small .wpsg_form_right p { line-height:12px; padding-top:0px; padding-bottom:0px; } +.widget-inside .wpsg_form_field { width:100%; } +.widget-inside .wpsg_form_left { width:100%; } +.widget-inside .wpsg_form_right { width:100%; } +.widget-inside .wpsg_form_field .wpsg_form_right select, +.widget-inside .wpsg_form_field .wpsg_form_right input, +.widget-inside .wpsg_form_field .wpsg_form_right textarea { width:100%; } +.timestamp-wrap input, .timestamp-wrap select { width:auto !important; } +.produktwrap .wpsg_form_field { width:780px; } +.produktwrap .wpsg_form_left { width:380px; } +.produktwrap .wpsg_form_right { width:400px; } +.wpsg_form_help { right:0px; top:4px; position:absolute; display:block; width:16px; height:16px; background-image:url('../gfx/help.png'); } +.widget-content .wpsg_form_help { position:relative; float:right; margin-top:-2px; } +.wpsg_form_help_notip { right:0px; top:4px; position:absolute; display:block; width:16px; height:16px; background-image:url('../gfx/help.png'); } +.wpsg_admin_content { padding:0px; margin:0px; float:left; width:750px; } +.wpsg_admin_content h3 { position:relative; } +.wpsg_admin_table { width:100%; } +.wpsg_admin_box .wpsg_admin_table { margin-left:-3px; } +.wpsg_admin_table th { font-weight:bold; text-align:left; padding:3px; } +.wpsg_admin_table td { padding:3px; } +.wpsg_admin_wpsg_list .col_name { } +.wpsg_admin_wpsg_list .col_value { width:100px; } +.wpsg_admin_wpsg_list .col_aktion { width:50px; } +.wpsg_editable { border-bottom:1px dotted #666666; cursor:pointer; } +.wpsg_editable input, .wpsg_editable select { height:24px !important; font-size:12px; } +.wpsg_editable input { width:100%; } +.wpsg_pflichtfelder { border-spacing:0px; width:100%; } +.wpsg_pflichtfelder td { padding:0px; } +.wpsg_pflichtfelder tr th { text-align:left; } +.wpsg_pflichtfelder td.col1 select, +.wpsg_pflichtfelder td.col1 input { width:100%; } +.wpsg_customfields { border-spacing:0px; width:100%; } +.wpsg_customfields td { padding:0px; } +.wpsg_customfields tr th { text-align:left; } +.wpsg_customfields td select { width:100%; } +.wpsg_customfields .col0 { width:45px; } +.wpsg_customfields .col1 { width:305px; } +.wpsg_customfields .col4 { width:25px; } +.wpsg_customfields .col5 { text-align:center; } +.wpsg_customfields .col2345 input { width:100%; } +table.wpsg_admin_laender_list { font-size:12px; } +table.wpsg_admin_laender_list tr.odd td { background-color:#DEDEDE; } +table.wpsg_admin_laender_list tr.even td {} +.wpsg_admin_laender_list .col_vz { width:100px; } +.wpsg_admin_laender_list .col_default { width:75px; text-align:center; } +.wpsg_admin_laender_list .col_mwst { width:55px; } +.wpsg_admin_laender_list .col_mwstsetting { width:100px; } +.wpsg_admin_laender_list .col_action { width:40px; } +.wpsg_mod_produktattribute_table { width:100%; table-layout:fixed; } +.wpsg_mod_produktattribute_table .col_id { width:25px; text-align:left; } +.wpsg_mod_produktattribute_table .col_name { text-align:left; } +.wpsg_mod_produktattribute_table .col_typ { width:100px; text-align:left; } +.wpsg_mod_produktattribute_table .col_typ select { width:100%; } +.wpsg_mod_produktattribute_table .col_html { width:35px; } +.wpsg_mod_produktattribute_table .col_aktion { width:50px; text-align:center; } +.wpsg_dialog { padding:10px; } +.wpsg_code { background-color:#EFEFEF; border:1px solid #000000; padding:3px; margin-top:5px; margin-bottom:5px; font-family:monospace; font-size:12px; } +.wpsg_tablerow td { padding:2px 0px 2px 0px; } +.wpsg_odd:hover, .wpsg_even:hover, .wpsg_tablerow:hover, .wpsg_tablerow:hover td, .wpsg_tablerow_hover, .wpsg_tablerow_hover td { background-color:#EFEFEF !important; } +.wpsg_odd td { } +.wpsg_even td { } +.wpsg_widerrufstext .wpsg_form_field .wpsg_form_left { width:270px; } +.wpsg_widerrufstext .wpsg_form_field .wpsg_form_right { width:500px; } +.wpsg_widerrufstext .wpsg_form_field .wpsg_form_right textarea { height:200px; } +.tabcontent .wpsg_form_right { width:400px; } +.tabcontent .wpsg_form_right input, .tabcontent .wpsg_form_right select { width:94%; } +.wpsg_mail_head { border-bottom:1px solid #AAAAAA; } +.wpsg_mail_content, wpsg_admin_box_content { display:none; } +.wpsg_handlediv .handlediv { position:absolute; right:0px; top:0px; } +.wpsg_handlediv span a.wpsg_form_help { float:left; display:block; position:relative; top:0px; margin-right:5px; } +.wpsg_register_modullist { width:100%; } +.wpsg_register_modullist th { text-align:left; } +.wpsg_register_modullist .wpsg_col_aktion { text-align:right; } +.wpsg_modultable { width:100%; } +.wpsg_modultable tr th { text-align:left; } +.wpsg_modultable tr .wpsg_col_name { padding-right:25px; } +.wpsg_modultable tr .wpsg_col_instversion { padding-right:25px; } +.wpsg_modultable tr .wpsg_col_licence { padding-right:25px; } +.wpsg_modultable tr .wpsg_col_availableversion { padding-right:25px; } +.wpsg_admin_vz_list .col_aktion .wpsg_icon_remove { float:right; } +.wpsg_admin_vz_list .col_aktion { width:75px; } +.wpsg_admin_vz_list .col_innereu { text-align:center; width:75px; } + +/* + * Dialog im Backend + * z.B. Änderung der Adresse in Bestellverwaltung + */ +.wpsg_dialog { } +.wpsg_dialog_content { margin:10px; } +.wpsg_dialog .wpsg_form_field { box-sizing:border-box; padding-left:5px; padding-right:5px; width:100%; } +.wpsg_dialog .wpsg_form_field input, .wpsg_dialog .wpsg_form_field select { width:100%; box-sizing:border-box; } +.wpsg_dialog .wpsg_form_field .wpsg_form_left { width:50%; } +.wpsg_dialog .wpsg_form_field .wpsg_form_right { width:50%; } + +/* + * Seitenrefresh im Backend + * z.B. in der Bestellverwaltung + */ +#wpsg_backend_loading { position:fixed; z-index:100000; width:100%; height:100%; left:0px; top:0px; background-color:rgba(0, 0, 0, 0.75); } +#wpsg_backend_loading .wpsg_inner { color:#FFFFFF; font-size:2rem; margin:auto; text-align:center; margin-top:20%; } + +/* + * Produktverwaltung + */ +.wpsg_produktindex .wpsg_pic_col { width:50px; } +.wpsg_produktindex #wpsg_product_search_button { background-position:50% 50%; background-repeat:no-repeat; background-image:url('../gfx/lupe.png'); } +.wpsg_produkt_addedit .wpsg_form_field { width:100%; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_left { width:20%; font-weight:bold; line-height:24px; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_right { width:80%; float:left; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_right input { width:100%; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_right textarea { width:100%; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_right_unit input { width:95%; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_right .wp-editor-wrap input { width:auto !important; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_right_unit p.wpsg_unit { width:4%; float:right; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_right input.wpsg-datepicker { width:85%; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_right .ui-datepicker-trigger { margin-left:3px; margin-top:5px; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_right select { width:100%; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_right_help select { width:95%; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_right input.wpsg_preis { width:60%; } +.wpsg_produkt_addedit .wpsg_form_field .wpsg_form_right .waehrung { float:right; } +.wpsg_produkt_addedit #side-info-column .wpsg_form_field .wpsg_form_left { width:50%; } +.wpsg_produkt_addedit #side-info-column .wpsg_form_field .wpsg_form_right { width:50%; } +.wpsg_posturl { margin-bottom:5px; } + +/* + * Bestellverwaltung + */ +.wpsg_order_datum { color:#999999; } +.wpsg_order_adress { color:#999999; } +.wpsg_order_view .inner-sidebar .wpsg_form_field { width:100%; } +.wpsg_order_view .inner-sidebar .wpsg_form_field .wpsg_form_left { width:100%; } +.wpsg_order_view .inner-sidebar .wpsg_form_field .wpsg_form_right { width:100%; margin-top:-5px; } +.wpsg_order_view #post-body-content .wpsg_form_field { width:100%; } +.wpsg_order_view #post-body-content .wpsg_form_field .wpsg_form_left { width:20%; min-width:200px; } +.wpsg_order_view #post-body-content .wpsg_form_field .wpsg_form_right { width:auto; } +.wpsg_order_view .wpsg_produkte { width:100%; } +.wpsg_order_view tr.wpsg_kopf th { text-align:left; } +.wpsg_order_view .wpsg_cell_preis { width:100px; text-align:right !important; padding-right:10px; } +.wpsg_order_view .wpsg_cell_mwst { width:100px; text-align:right !important; padding-right:10px; } +.wpsg_order_view .wpsg_cell_menge { width:100px; text-align:center !important; padding-right:10px; } +.wpsg_order_view .wpsg_cell_gesamtpreis { width:100px; text-align:right !important; } +.wpsg_order_view .wpsg_cell_summe_value { text-align:right !important; text-decoration:underline; } +.wpsg_order_view .wpsg_cell_shipping_value { text-align:right !important; } +.wpsg_order_view .wpsg_cell_payment_value { text-align:right !important; } +.wpsg_order_view .wpsg_cell_payment_value { text-align:right !important; } +.wpsg_order_view .wpsg_cell_rabatt_value { text-align:right !important; } +.wpsg_order_view .wpsg_cell_mwst_value { text-align:right !important; } +.wpsg_order_view .wpsg_cell_mwst_value, .wpsg_order_view .wpsg_cell_mwst_label { font-size: 10px; line-height: 18px; } +.wpsg_order_view .wpsg_cell_gesamt_value { text-align:right !important; font-weight:bold; text-decoration:underline; } +.wpsg_order_view .wpsg_order_admincomment { width:100%; height:100px; } +.wpsg_order_view .wpsg_order_admincomment_submit { margin-top:5px; margin-bottom:5px; } +.wpsg_order_view #wpsg_generally .wpsg_form_left { width:200px; } +.wpsg_orderlog { width:100%; } +.wpsg_orderlog .col_date { width:135px; text-align:left; } +.wpsg_orderlog .col_aktion { width:100px; text-align:right; } +.wpsg_orderlog .col_title { text-align:left; } +.wpsg_orderlog .col_mailtext { background-color:#FFFFFF; font-family:monospace; } +.wpsg_orderlog .col_mailtext textarea { width:100%; height:250px; overflow:scroll; border:0px; background-color:#DSDSDS; border:1px solid #C4C4C4; overflow:auto; max-width:100%; } +.wpsg_order_index_status { float:none !important; margin:0px 300px 0px 0px; } +.wpsg_order_index_status .akt { font-weight:bold; color:#000000; } +.wpsg_order_index_status li { float:left !important; } +.wpsg_order_index_status li span { line-height:2; padding:0.2em; } +.wpsg_tablenav { clear:right; float:right; } +.wpsg-search-box { margin-top:-6px !important; } + +/* + * Produktbilder + */ +.wpsg_mod_produktbilder_admin_bild { float:left; margin-right:5px; } + +/* + * Downloadprodukte + */ +.wpsg_mod_downloadprodukte_admin_delete { height:16px; width:16px; float:right; background-image:url('../gfx/delete.png'); cursor:pointer; } + +/* + * Kundenverwaltung + */ +#wpsg_customercomment textarea, #postbox_kunde_kommentar textarea { width:100%; height:150px; } +.wpsg_mod_kundenverwaltung_customeramount .wpsg_storno { color:#000000; } +.wpsg_mod_kundenverwaltung_customeramount .wpsg_open { color:#FF0000; } +.wpsg_mod_kundenverwaltung_customeramount .wpsg_payed { color:#008000; } +.wpsg_customer_index .wpsg-row-actions > div { visibility:hidden; } +.wpsg_customer_index .wpsg-row-actions:hover > div { visibility:visible; } /* Bug:? Chrome */ + +/* Kundengruppenverwaltung */ +.wpsg_mod_kundenverwaltung_customergroup_index .col-id { width:55px; } +.wpsg_mod_kundenverwaltung_customergroup_index .col-name { } +.wpsg_mod_kundenverwaltung_customergroup_index .col-customercount { width:150px; } +.wpsg_mod_kundenverwaltung_customergroup_index .col-calculation { width:150px; } +.wpsg_mod_kundenverwaltung_customergroup_addedit .wpsg_form_field .wpsg_form_left { width:100%; } +.wpsg_mod_kundenverwaltung_customergroup_addedit .wpsg_form_field .wpsg_form_right { width:100%; } + +/* + * Versandarten + */ +.va_table { width:100%; table-layout:fixed; border-collapse: collapse; } +.va_table .wpsg_label { font-weight:bold; width:250px; padding:2px; } +.va_table .wpsg_value { padding:2px; } +.va_table .wpsg_delcol { position:relative; width:25px; text-align:right; padding:2px 0px 2px 2px; } +.va_table .wpsg_delcol .wpsg_form_help { position:relative; } +.va_table .wpsg_delcol a { float:right; } +.va_table .wpsg_mwst_checkbox { width:20px; } + +/* + * Rechnungsmoudl + */ +.wpsg_mod_rechnungen_fieldtable { width:100%; } +.wpsg_mod_rechnungen_fieldtable th { text-align:left; } +.wpsg_mod_rechnungen_fieldtable th.col_x, .wpsg_mod_rechnungen_fieldtable th.col_y { text-align:center; } +.wpsg_mod_rechnungen_fieldtable .col_bezeichnung { width:100px; } +.wpsg_mod_rechnungen_fieldtable .col_freitext { } +.wpsg_mod_rechnungen_fieldtable .col_x { width:50px; } +.wpsg_mod_rechnungen_fieldtable .col_y { width:50px; } +.wpsg_mod_rechnungen_fieldtable .col_color { width:50px; } +.wpsg_mod_rechnungen_fieldtable .col_groesse { width:50px; } +.wpsg_mod_rechnungen_fieldtable .col_action { width:50px; } +.wpsg_foottextlist { width:100%; } +.wpsg_foottextlist th { text-align:left; } +.col_standard { text-align:center; width:50px; } + +/* Lieferscheinmodul (wpsg_mod_deliverynote) */ +.wpsg_mod_deliverynote_fieldtable { width:100%; } +.wpsg_mod_deliverynote_fieldtable th { text-align:left; } +.wpsg_mod_deliverynote_fieldtable th.col_x, .wpsg_mod_rechnungen_fieldtable th.col_y { text-align:center; } +.wpsg_mod_deliverynote_fieldtable .col_bezeichnung { width:100px; } +.wpsg_mod_deliverynote_fieldtable .col_freitext { } +.wpsg_mod_deliverynote_fieldtable .col_x { width:50px; } +.wpsg_mod_deliverynote_fieldtable .col_y { width:50px; } +.wpsg_mod_deliverynote_fieldtable .col_color { width:50px; } +.wpsg_mod_deliverynote_fieldtable .col_groesse { width:50px; } +.wpsg_mod_deliverynote_fieldtable .col_action { width:50px; } + +/* + * Videodownload Modul + */ +.wpsg_mod_videodownload_fieldtable { width:100%; } +.wpsg_mod_videodownload_fieldtable th { text-align:left; } +.wpsg_mod_videodownload_fieldtable .col_bezeichnung { width:25px; } +.wpsg_mod_videodownload_fieldtable .col_freitext_label { font-weight:bold; } +.wpsg_mod_videodownload_fieldtable .col_freitext { } +.wpsg_mod_videodownload_fieldtable .col_x { width:35px; } +.wpsg_mod_videodownload_fieldtable .col_y { width:35px; } +.wpsg_mod_videodownload_fieldtable .col_color { width:50px; } +.wpsg_mod_videodownload_fieldtable .col_alpha { width:35px; } +.wpsg_mod_videodownload_fieldtable .col_align { width:35px; text-align:center; } +.wpsg_mod_videodownload_fieldtable .col_angle { width:50px; } +.wpsg_mod_videodownload_fieldtable .col_groesse { width:50px; } +.wpsg_mod_videodownload_fieldtable .col_font { width:150px; } +.wpsg_mod_videodownload_fieldtable .col_font select { width:100%; } +.wpsg_mod_videodownload_fieldtable .col_action { width:75px; } +.wpsg_mod_videodownload_admin_delete { height:16px; width:16px; float:right; background-image:url('../gfx/delete.png'); cursor:pointer; } +.wpsg_mod_videodownload_order_view_filelist { width:100%; } +.wpsg_mod_videodownload_order_view_filelist .col_file { text-align:left; } +.wpsg_mod_videodownload_order_view_filelist .col_status { text-align:left; } +.wpsg_mod_videodownload_order_view_filelist .col_action { text-align:left; } +.wpsg_mod_videodownload_order_view_filelist .row_raid td { color:red; } + +/* + * PDFdownload Modul + */ +.wpsg_mod_downloadplus_fieldtable { width:100%; } +.wpsg_mod_downloadplus_fieldtable th { text-align:left; } +.wpsg_mod_downloadplus_fieldtable .col_bezeichnung { width:25px; } +.wpsg_mod_downloadplus_fieldtable .col_freitext_label { font-weight:bold; } +.wpsg_mod_downloadplus_fieldtable .col_freitext { } +.wpsg_mod_downloadplus_fieldtable .col_x { width:35px; } +.wpsg_mod_downloadplus_fieldtable .col_y { width:35px; } +.wpsg_mod_downloadplus_fieldtable .col_color { width:50px; } +.wpsg_mod_downloadplus_fieldtable .col_alpha { width:35px; } +.wpsg_mod_downloadplus_fieldtable .col_align { width:35px; text-align:center; } +.wpsg_mod_downloadplus_fieldtable .col_bg { width:35px; text-align:center; } +.wpsg_mod_downloadplus_fieldtable .col_angle { width:50px; } +.wpsg_mod_downloadplus_fieldtable .col_groesse { width:50px; } +.wpsg_mod_downloadplus_fieldtable .col_font { width:150px; } +.wpsg_mod_downloadplus_fieldtable .col_font select { width:100%; } +.wpsg_mod_downloadplus_fieldtable .col_action { width:75px; } +.wpsg_mod_downloadplus_admin_delete { height:16px; width:16px; float:right; background-image:url('../gfx/delete.png'); cursor:pointer; } +.wpsg_mod_downloadplus_order_view_filelist { width:100%; } +.wpsg_mod_downloadplus_order_view_filelist .col_file { text-align:left; } +.wpsg_mod_downloadplus_order_view_filelist .col_status { text-align:left; } +.wpsg_mod_downloadplus_order_view_filelist .col_action { text-align:left; } +.wpsg_mod_downloadplus_order_view_filelist .row_raid td { color:red; } +.wpsg_mod_downloadplus_security input { float:left; width:auto !important; } +.wpsg_mod_downloadplus .wpsg_border_bottom td { border-top:1px solid #DEDEDE; height:1 px; } + +/* + * Variantenverwaltung + */ +#wpsg_vp_drawVarianten div.wpsg_editable { width:auto; display:inline-block; } +#wpsg_vp_drawVarianten .col_preis { width:150px; text-align:left; } +#wpsg_vp_drawVarianten .col_fmenge { width:100px; text-align:left; } +#wpsg_vp_drawVarianten .col_variname { width:350px; } +#wpsg_vp_drawVarianten .col_variartnr { width:200px; text-align:left; } +#wpsg_vp_drawVarianten .col_stock { width:100px; text-align:left; } +#wpsg_vp_drawVarianten .wpsg_mod_varianten_productimage_row .pic { display:block; float:left; margin-right:5px; padding:5px; height:25px; width:25px; } +#wpsg_vp_drawVarianten .wpsg_mod_varianten_productimage_row .mark { background-color:rgb(174, 174, 174); } +#wpsg_vp_drawVarianten .wpsg_mod_varianten_orderwrap_image .wpsg_mod_varianten_productimage_row .mark:first-of-type { background-color:black; } +#wpsg_vp_drawVarianten .wpsg_mod_varianten_ajaxloading { width:100%; height:100%; position:absolute; left:0px; top:0px; background-color:rgba(125, 125, 125, 0.5); margin-top:-10px; padding-bottom:21px; } +#wpsg_vp_drawVarianten .wpsg_mod_varianten_ajaxloading img { position:absolute; left:50%; top:50%; margin-left:-8px; margin-top:-5.5px; } + +/* + * Gutscheinmodul + */ +.wpsg_mod_gutschein .vouchertable { width:100%; } +.wpsg_mod_gutschein .column-checkbox { width:25px; text-align:center; } +.wpsg_mod_gutschein .column-nr { width:50px; text-align:left; } + +/* + * Related Products + */ +.wpsg_productselect { padding:15px; } +.wpsg_productselect .wpsg_form_field { width:100%; } +.wpsg_productselect .wpsg_form_left { width:50%; } +.wpsg_productselect .wpsg_form_right { width:50%; } +.wpsg_productselect .wpsg_form_right select { float:right; } +#relatedproducts_list select { width:105px !important; } +#relatedproducts_list .wpsg_icon { margin-top:5px; } + +/* Export Profile */ +#profil_content .wpsg_form_field { width:745px; } +#profil_content .wpsg_form_field .wpsg_form_right { width:395px; min-height:24px; line-height:24px; } +#profil_content #message { margin-left:0px; } +#profil_content .wpsg_mod_export_fieldlist { width:100%; } +#profil_content .wpsg_mod_export_fieldlist th { text-align:left; padding:2px 5px 2px 0px; } +#profil_content .wpsg_mod_export_fieldlist td { text-align:left; padding:2px 5px 2px 0px; } +#profil_content .wpsg_mod_export_fieldlist .odd td { background-color:#DEDEDE; } +#profil_content .wpsg_mod_export_fieldlist .even { } +#profil_content .wpsg_mod_export_col_field_user { font-weight:bold; } +#wpsg_modexport .wpsg_mod_export_profillabel { margin-right:15px; display:block; float:left; } + +/* Produktvariablen */ +.wpsg_pv_table { width:100%; } +.wpsg_pv_table tr td { vertical-align:top; } +.wpsg_pv_table .wpsg_id { width:20px; text-align:left; cursor:move; } +.wpsg_pv_table .wpsg_delcol { width:24px; text-align:center; } +.wpsg_pv_table .wpsg_typ { width:100px; text-align:left; } +.wpsg_pv_table .wpsg_pflicht { width:100px; text-align:center; } +.wpsg_pv_table .wpsg_label { text-align:left; } + +/* Bestellvariablen */ +.wpsg_ov_table { width:100%; } +.wpsg_ov_table .wpsg_id { width:20px; text-align:left; } +.wpsg_ov_table .wpsg_delcol { width:24px; text-align:center; } +.wpsg_ov_table .wpsg_typ { width:100px; text-align:left; } +.wpsg_ov_table .wpsg_pflicht { width:100px; text-align:center; } +.wpsg_ov_table .wpsg_label { text-align:left; } + +/* Statistikmodul */ +.wpsg_mod_statistics_totals_row { width:100%; } +.wpsg_mod_statistics_totals_block { float:left; width:auto; text-align:center; font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif; } +.wpsg_mod_statistics_totals_block .number { font-size:18px; color:#21759B; display:block; padding-bottom:10px; padding-top:5px; } +.wpsg_mod_statistics_totals_block .label { font-size:16px; color:#8F8F8F; display:block; padding-bottom:5px; } +.wpsg_mod_statistics_totals_block .label a { color:#8F8F8F; border-bottom:1px solid #ECECEC; padding-left:10px; padding-right:15px; padding-bottom:5px; } +.subsubsub #table-data .th-right span { float:right; } +.subsubsub #table-data .td-right { text-align:right; } + +/* Zahlvarianten */ +.zv_table { width:100%; table-layout:fixed; border-collapse: collapse; } +.zv_table .wpsg_label { font-weight:bold; width:250px; padding:2px; } +.zv_table .wpsg_value { padding:2px; } +.zv_table .wpsg_delcol { width:25px; position:relative; text-align:right; padding:2px 0px 2px 2px; } +.zv_table .wpsg_delcol .wpsg_form_help { position:relative; top:0px; } +.zv_table .wpsg_delcol a { float:right; } +.zv_table .wpsg_mwst_checkbox { width:20px; } + +/* Auftragsbest�tigung */ +.wpsg_order_view_auftragsbestaetigung { width:100%; } +.wpsg_order_view_auftragsbestaetigung_submit { margin-top:5px; margin-bottom:5px; } + +/* Rabattmodul */ +.wpsg_mod_discount_generalcol { float:left; width:33%; } +.wpsg_mod_discount_seriescol { float:left; width:50%; line-height:25px; vertical-align:middle; } +.wpsg_mod_discount_seriescol_sub { width:25%; } +.wpsg_mod_discount_seriescol input[type=text] { width:70% !important; } +.wpsg_mod_discount_seriescol input[type=checkbox] { width:auto !important; margin-right:5px; } +.wpsg_mod_discount_settings #wpsg_mod_discount_hierarchie ul { margin-top:0px; } +.wpsg_mod_discount_settings #wpsg_mod_discount_hierarchie input[type="checkbox"] { width:auto; } +.wpsg_mod_discount_settings #wpsg_mod_discount_hierarchie ul li { padding-left:5px; width:96%; line-height:25px; height:25px; background-color:#DDDDDD; cursor:move; } +.wpsg_mod_discount_settings #wpsg_mod_discount_hierarchie ul li input { display:none; } + +/* Registrierung */ +.wpsg_registerform { padding:10px; } +.wpsg_registersuccess { color:green; } +.wpsg_registerfailure { color:red; } + +/* Berechtigungsverwaltung */ +.wpsg_access_table { width:100%; table-layout:fixed; margin-top:50px; } +.wpsg_access_table .wpsg_col_capname { width:150px; padding-right:25px; } +.wpsg_access_table th.wpsg_col_cap { -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); height:40px; text-align:center; width:25px; } +.wpsg_access_table td.wpsg_col_cap { text-align:center; } + +/* Gutscheinproduktmodul */ +.wpsg_mod_voucherproduct_list .wpsg_mod_voucherproduct_code { float:left; } +.wpsg_mod_voucherproduct_list .wpsg_mod_voucherproduct_status { width:auto; float:right; text-align:right; } +#wpsg_voucherproduct_target .wpsg_button { float:left; } + +/* Statistimodul */ +#wpsg_statistics_form .wpsg_form_field .wpsg_form_left { width:70px; } +.wpsg-table-data-wrapper { float:left; margin-right:15px; } +td.jqplot-table-legend { vertical-align:middle !important; white-space:no-wrap !important; } +.orderdown .sorting-indicator { background-image: url("../../../../../wp-admin/images/sort.gif"); background-position:0% 50%; display:inline-block; height:10px; width:7px; } +.orderup .sorting-indicator { background-image: url("../../../../../wp-admin/images/sort.gif"); background-position:100% 50%; display:inline-block; height:10px; width:7px; } +.orderdown span, .orderup span { cursor: pointer; float:none !important; } + +/* Bankabgleichsmodul (mod_bankalignment) */ +.wpsg_mod_bankalignment_order_ajax .row-details { font-family:monospace; display:none; } + +/* E-Bay Schnittstelle (mod_ebay) */ +#wpsg_mod_ebay_categorieselect_dialog { padding:10px; } +#wpsg_mod_ebay_categorieselect_dialog select { width:100%; } +#wpsg_mod_ebay_categorietext { float:left; } +.wpsg_mod_ebay_cattarget img { margin-top:5px; } + +/* Staffelpreismodul (mod_scaleprice) */ +.wpsg_mod_scaleprice_label_scale { float:left; width:25%; font-weight:normal; } +.wpsg_mod_scaleprice_label_value { float:right; width:25%; text-align:center; font-weight:normal; } +.wpsg_mod_scaleprice_value { width:48% !important; float:left !important; } +.wpsg_mod_scaleprice_scale { width:48%; float:left; } +.wpsg_mod_scaleprice_row .wpsg_form_left .wpsg_editable { width:48%; float:left; text-align:right; font-weight:normal; } +.wpsg_mod_scaleprice_row .wpsg_form_right .wpsg_editable { line-height: 24px; text-align:right; width:48%; float:left; font-weight:normal; } +#wpsg_mod_scaleprice_target p.waehrung { width:25%; float:left; padding-top:3px; } +#wpsg_mod_scaleprice_target .wpsg_icon_add { margin-top:3px; } +#wpsg_mod_scaleprice_target .wpsg_icon_remove { margin-top:3px; } + +/* H�ndlerbund (mod_haendlerbund) */ +.wpsg_mod_haendlerbund_settings .wpsg_mod_haendlerbund_date { float:right; line-height:25px; margin-right:25px; } + +/* Rechtstexte */ +.wpsg_ps_update input[type="checkbox"] { width:auto !important; margin-top:5px; margin-right:5px; float:left; } + +/* Micropayment (mod_micropayment) */ +#wpsg_mod_micropayment_handypay_infolayer, #wpsg_mod_micropayment_call2pay_infolayer { line-height:0.65rem; padding-top:0.5rem; padding-bottom:0.5rem; } +#wpsg_mod_micropayment_handypay_infolayer ul, #wpsg_mod_micropayment_call2pay_infolayer ul { list-style:circle; margin-left:15px; } + +.wpsg_mod_test_table table { width:100%; } +.wpsg_mod_test_table table th { text-align:left; font-size:12px; line-height:16px; } +.wpsg_mod_test_table table td { test-align:left; font-size:12px; line-height:16px; } + +/* Hilfetooltip */ +.cluetip-title { background-color:#767676 !important; color:#FFFFFF !important; } +.cluetip-title a { color:#FFFFFF !important; } +.cluetip-inner { background-color: #F7F7F7; } +.clue-left-default .cluetip-arrows { background-image:url('../gfx/darrowright.gif') !important; margin-top:5px !important; } +.clue-right-default .cluetip-arrows { background-image:url('../gfx/darrowleft.gif') !important; margin-top:5px !important; } + +/* Bankeinzug (wpsg_mod_autodebit) */ +input.wpsg_mod_autodebit_button { width:100% !important; } + +/* 3.8 Kompatibilit�t */ +.version-3-8 .wpsg_order_view .inner-sidebar .wpsg_form_field .wpsg_form_left { width:40%; } +.version-3-8 .wpsg_order_view .inner-sidebar .wpsg_form_field .wpsg_form_right { width:60%; } + +/* Modul "Wirecard" */ +.wpsg_mod_wirecard_paymenttypeselect input[type="checkbox"] { width:auto; margin-left:5px; margin-top:-3px; } +.wpsg_mod_wirecard_paymenttypeselect li { padding-left:5px; width:100%; line-height:25px; height:25px; background-color:#DDDDDD; cursor:move; } + +/* Modul "Bestellbedingungen" */ +.wpsg_mod_ordercondition_text { width:100%; height:300px; } + +/* Modul "Kundenkontakt" */ +#kk_text { font-family:"Courier New"; } + +/* Rechtstexte */ +.wpsg_mod_legaltexts_protectedshops_table { width:100%; } +.wpsg_mod_legaltexts_protectedshops_table th { text-align:left; width:343px; } +.wpsg_ps_update { float:right; } +.wpsg_ps_status { float:left; } +select.wpsg_ps_page { width:73%; } +select.wpsg_ps_format { float:right; width:23%; } +#wpshopgermany_ts_shopid { width:100%; } +#wpsgitrecht_message { margin-left:5px; } +.wpsgitrecht_clear { clear:both; } +.wpsgitrecht_form_field { width:770px; margin-bottom:5px; } +.wpsgitrecht_form_field .wpsgitrecht_form_left { line-height:24px; font-weight:bold; width:350px; float:left; } +.wpsgitrecht_form_field .wpsgitrecht_form_right { width:420px; float:left; position:relative; line-height:28px; } +.wpsgitrecht_form_field .wpsgitrecht_form_right select, .wpsgitrecht_form_field .wpsgitrecht_form_right input { width:95%; } +.wpsgitrecht_form_field .wpsgitrecht_form_right input.checkbox { width:auto !important; float:left; margin-left:2px; margin-top:5px; } +.wpsgitrecht_form_field .wpsgitrecht_form_right p { padding:4px 0px 4px 6px; margin:0px; } +.wpsgitrecht_form { padding:10px; } +.wpsgitrecht_date { float:right; padding-right:5%; } +.wpsgitrecht_hinweis { font-style:italic; } +.wpsgitrecht_table { border-spacing:0px; border-collapse:collapse; } +.wpsgitrecht_table .col0 { width:347px; } +.wpsgitrecht_table .col1 { width:400px; } +.wpsgitrecht_table .col1 p { padding:2px 0px 2px 10px; display:inline-block; margin:0px; } +.wpsgitrecht_table .col1 select { width:100%; } +.wpsg_itrecht_generatebutton { width:16px; height:16px; background-image:url('../gfx/arrow_refresh_small.png'); ?>); display:inline-block; float:right; margin-top:6px; } + +/* Modul "Paketverfolgung" */ +.wpsg_mod_packagetracking_settings_edit_list .trackingprovider_table { width:100%; table-layout:fixed; border-collapse: collapse; } +.wpsg_mod_packagetracking_settings_edit_list .trackingprovider_table .wpsg_label { font-weight:bold; width:150px; padding:2px; } +.wpsg_mod_packagetracking_settings_edit_list .trackingprovider_table .wpsg_value { padding:2px; } +.wpsg_mod_packagetracking_settings_edit_list .trackingprovider_table .wpsg_delcol { position:relative; width:25px; text-align:right; padding:2px 0px 2px 2px; } +.wpsg_mod_packagetracking_settings_edit_list .trackingprovider_table .wpsg_delcol .wpsg_form_help { position:relative; } +.wpsg_mod_packagetracking_settings_edit_list .trackingprovider_table .wpsg_delcol a { float:right; } +.wpsg_mod_versandarten_packagetracking .wpsg_mod_packagetracking_provider { width:100%; } + +/* Modul CrefoPay */ +.wpsg_mod_crefopay_order_sidebar .button { margin-right:5px; margin-top:5px; float:left; } +.wpsg_mod_crefopay_mnsstatemapping { display:none; } +.wpsg_mod_crefopay_mnsstatemapping .wpsg_form_field { margin-bottom:0px; } + +/* Modul TrustedShops */ +.wpsg_mod_protectedshops #wpsg_mod_trustedshops_reminderDays { width:50px; float:left; margin-right:5px; } +.wpsg_mod_protectedshops .wpsg_form_field .wpsg_form_trustedshops_reminderDays p { float:left; padding-right:5px; padding-left:2px; } + +/* News Bereich */ +.wpsg_news_wrap {} +.wpsg_news_wrap .wpsg_news .markRead { text-align:right; width:100px; display:none; position:absolute; right:15px; top:15px; } +.wpsg_news_wrap .wpsg_news_read .markRead img { float:right; margin-left:5px; } +.wpsg_news_wrap .wpsg_news { width:100%; box-sizing:border-box; position:relative; padding:5px 10px 10px 10px; margin-bottom:15px; background-color:#FFFFFF; } +.wpsg_news_wrap .wpsg_news h2 a { text-decoration:none; color:inherit !important; } +.wpsg_news_wrap .wpsg_news_read { } +.wpsg_news_wrap .wpsg_news_read .markRead { display:block; } +.wpsg_news_unreadhint { color:#FFFFFF; background-color:#FF0000; padding:0px 4px; line-height:16px; font-size:8px; display:inline-block; font-weight:bold; border-radius:15px; width:8px; text-align:center; vertical-align:top; margin-top:4px; margin-left:0px; } \ No newline at end of file diff --git a/views/css/frontend.css b/views/css/frontend.css new file mode 100644 index 0000000..b6aeffd --- /dev/null +++ b/views/css/frontend.css @@ -0,0 +1,335 @@ +@CHARSET "UTF-8"; + +/* Allgemein */ +.wpsg_clear { clear:both; } +#wpsg_error, #wpsg_message { margin-bottom:1rem; } +#wpsg_message p, #wpsg_error p, #wpsg_notice p { background-color:#FAFAFA; margin-bottom:4px; padding:3px 0px 3px 8px; } +#wpsg_message p { border-left:4px solid #7AD03A; } +#wpsg_notice p { border-left:4px solid #FDF60A; } +#wpsg_error p { border-left:4px solid #DD3D36; } +.wpsg_error { border-color:#DD3D36; } +.wpsg { } +.wpsg h2 { } +.wpsg_checkout label.wpsg_error { background-color:white; } +label.wpsg_error { position:absolute; right:2px; top:-2px; color:#DD3D36; } +input.wpsg_error { border-color:red !important; } +.wpsg_spacer { width:100%; height:1px; background-color:#EAEAEA; margin-bottom:1rem; } +.wpsg_noscroll { overflow:hidden; } +#TB_ajaxContent { width:100% !important; } +.wpsg_upper { vertical-align:top; font-size:60%; } + +/* Basket Widget */ +.wpsg_basket_widget .wpshopgermany_linktokasse { float:right; margin-top:1rem; } + +/* Basket */ +.wpsg_basket { margin-bottom:1rem; } +.wpsg_basket h2 { } +.wpsg_basket table { margin-top:1rem; width:100%; } +.wpsg_basket table th { } +.wpsg_basket .wpsg_basket_removelink { text-decoration:none; border:0px !important; } +.wpsg_basket .wpsg_cell_number { padding-left:0.3rem; padding-right:0.3rem; text-align:center; min-width:20px; } +.wpsg_basket .wpsg_cell_number img { max-width:auto !important; display:inline-block; } +.wpsg_basket .wpsg_cell_menge { text-align:center; } +.wpsg_basket .wpsg_cell_menge input { text-align:center; } +.wpsg_basket .wpsg_cell_preis { text-align:right; } +.wpsg_basket .wpsg_cell_gesamtpreis { text-align:right; } +.wpsg_basket .wpsg_cell_summe_value { text-align:right; } +.wpsg_basket .wpsg_cell_shipping_value { text-align:right; } +.wpsg_basket .wpsg_cell_shipping_label select, +.wpsg_basket .wpsg_cell_shipping_label span { float:right; width:150px;clear:right; } +.wpsg_basket .wpsg_cell_shipping_label select.set_shipping { margin-bottom:5px; } +.wpsg_basket .wpsg_cell_payment_label select, +.wpsg_basket .wpsg_cell_payment_label span { float:right; width:150px; } +.wpsg_basket .wpsg_cell_payment_value { text-align:right; } +.wpsg_basket .wpsg_cell_gesamtsumme_value { text-align:right; } +.wpsg_basket .wpsg_cell_deliverytime_value { text-align:right; } +.wpsg_basket .wpsg_cell_name { vertical-align:middle; } +.wpsg_basket .wpsg_cell_name .wpsg_basket_productimage { display:inline; padding-right:0.2rem; vertical-align:baseline; } +.wpsg_basket .wpsg_cell_mwst { text-align:center; min-width:60px; } +.wpsg_basket .wpsg_cell_mwst_value { text-align:right; } +.wpsg_basket .wpsg_cell_weight_value { text-align:right; } +.wpsg_basket .wpsg_checkoutbutton { float:right; } +.wpsg_basket .wpsg_cell_gesamtsumme_value { font-weight:bold; } +.wpsg_basket .wpsg_refreshbutton, .wpsg_basketbutton { float:left; } + +/* Checkout + Request*/ +.wpsg_checkout .wpsg_checkoutblock { width:100%; clear:both; margin-bottom:2px; position:relative; width:100%; } +.wpsg_checkout .wpsg_checkoutblock label { vertical-align:middle; } +.wpsg_checkout .wpsg_checkoutblock input.wpsg_input_text, +.wpsg_checkout .wpsg_checkoutblock input[type="text"], +.wpsg_checkout .wpsg_checkoutblock input[type="number"], +.wpsg_checkout .wpsg_checkoutblock input[type="password"] { margin-bottom:5px; box-sizing:border-box; width:100%; } +.wpsg_checkout .wpsg_checkoutblock input[type="checkbox"] { width:auto; margin-right:5px; } +.wpsg_checkout .wpsg_checkoutblock select { box-sizing:border-box; width:100%; margin-bottom:5px; } +.wpsg_checkout .wpsg_mandatoryfield_hint { margin-top:1rem; } +.wpsg_checkout .wpsg_required { font-weight:bold; color:#FF0000; } +.wpsg_checkout .wpsg_checkout2button { float:right; } +.wpsg_checkout .wpsg_mod_ordervars { margin-bottom:1rem; } +.wpsg_checkout .wpsg_commentblock textarea { box-sizing:border-box; padding:2px; width:100%; height:150px; } +.wpsg_checkout .wpsg_logout_box a { float:right; border-bottom:0px; padding:15px; font-weight:bold; color:#FF0000; font-weight:bold; color:#fff; background-color:#333; } + +/* Checkout2 */ +.shippay_wrap { margin-top:40px; width:100%; font-family:Arial; padding-right:10px; } +.wpsg_payment .wpsg_payment_textwrap { margin-top:40px; } +.shippay_wrap .shippay_item_wrap { position:relative; border-top:1px solid #DFDFDF; cursor:pointer; padding-left:8px; } +.shippay_wrap .shippay_item_wrap .shippay_hint { display:none; margin-top:-5px; padding-bottom:20px; font-family:Arial; font-size:11px; color:#3F3F3F; } +.shippay_wrap .shippay_active, .shippay_wrap .shippay_item_wrap:hover { background-color:#F9F9F9; } +.shippay_wrap .shippay_active .shippay_hint { display:block; padding-right:8px; } +.shippay_wrap .shippay_item_wrap .wpsg_payship_name { display:table-cell; vertical-align:middle; font-size:12px; height:64px; } +.shippay_wrap .shippay_active .wpsg_payship_name { font-weight:bold; } +.shippay_wrap .shippay_item_wrap:last-child { border-bottom:1px solid #DFDFDF; } +.shippay_wrap .shippay_item_wrap input { display:none; } +.shippay_wrap .shippay_item_wrap .shippay_checkmark { display:none; width:23px; height:18px; background-image:url('../gfx/checkmark.png'); background-repeat:no-repeat; position:absolute; right:10px; top:16px; } +.shippay_wrap .shippay_active .shippay_checkmark { display:block; } +.shippay_wrap .wpsg_payship_logo { margin-top:-5px; padding-bottom:10px; } +.wpsg_checkout2 .wpsg_mandatoryfield_hint { margin-top:1rem; } +.wpsg_checkout2 .wpsg_overviewbutton { float:right; } +.wpsg_checkout2 .wpsg_checkoutbutton { float:left; } + +/* Overview */ +.wpsg_overview .wpsg_agb { width:100%; clear:both; margin-bottom:2px; } +.wpsg_overview .wpsg_agb label { line-height:18px; } +.wpsg_overview .wpsg_agb input[type="checkbox"] { width:auto; /*margin-top:10px; margin-right:10px;*/ } +.wpsg_overview .shippayment { margin-top:1rem; float:right; width:45%; } +.wpsg_overview .anschrift { margin-top:1rem; float:left; width:55%; } +.wpsg_overview .subtitle { font-weight:bold; margin-bottom:0.5rem; } +.wpsg_overview .wpsg_orderbutton { float:right; } +.wpsg_overview .wpsg_table_wrap { background-color:#EAEAEA; margin:10px -10px 10px -10px; padding:10px; } +.wpsg_overview .wpsg_table_wrap table { width:100%; } +.wpsg_overview .wpsg_table_wrap td, .wpsg_overview .wpsg_table_wrap th { } +.wpsg_overview .wpsg_table_wrap .wpsg_cell_menge { width:100px; text-align:center; } +.wpsg_overview .wpsg_table_wrap .wpsg_cell_mwst { width:100px; text-align:center; } +.wpsg_overview .wpsg_table_wrap .wpsg_cell_preis { text-align:right; } +.wpsg_overview .wpsg_table_wrap .wpsg_cell_gesamtpreis { text-align:right; } +.wpsg_overview .wpsg_table_wrap .wpsg_cell_summe_value { text-align:right; } +.wpsg_overview .wpsg_table_wrap .wpsg_cell_shipping_value { text-align:right; } +.wpsg_overview .wpsg_table_wrap .wpsg_cell_payment_value { text-align:right; } +.wpsg_overview .wpsg_table_wrap .wpsg_cell_gesamt_value { text-align:right; font-weight:bold; } +.wpsg_overview .wpsg_table_wrap .wpsg_cell_mwst_value { text-align:right; } +.wpsg_overview .wpsg_overview_productimage { display:inline; padding-right:0.2rem; vertical-align:baseline; } +.wpsg_overview .wpsg_cell_weight_value { text-align:right; } +.wpsg_overview .wpsg_cell_deliverytime_value { text-align:right; } + +/* Bestellvariablen */ +.wpsg_checkout .wpsg_mod_ordervars_field { display:inline; } + +/* Produktvariablen */ +.wpsg_basket .wpsg_basket_productvars input[type="text"], .wpsg_basket .wpsg_basket_productvars select { width:100%; } + +/* Profilseite */ +.wpsg_profil .wpsg_pwdvergessen_link { line-height:30px; } +.wpsg_profil .wpsg_mod_kundenverwaltung_login, .wpsg_checkout .wpsg_mod_kundenverwaltung_login { float:right; } +.wpsg_profil .wpsg_saveButton { float:right; } + +/* Produktattribute */ +.wpsg_cell_produktattribute_value { text-align:right; } + +/* Bestellansicht */ +.wpsg_mod_kundenverwaltung_order .wpsg_mod_kundenverwaltung_producttable { margin-top:1rem; margin-bottom:2rem; } + +/* Trusted Shops Integration */ +.wpsg_checkout label[for="wpsg_mod_trustedshops_set"] { margin:1rem 0 1rem 0; display:block; } + +/* Bankeinzug */ +.wpsg_mod_autodebit .wpsg_mod_autodebit_field { clear:both; } +.wpsg_mod_autodebit label { width:100%; line-height:36px; } +.wpsg_mod_autodebit input { float:right; margin-bottom:3px; } + +/* Versandadresse */ +.wpsg_checkout .wpsg_mod_shippingadress { margin-bottom:1rem; } + +/* Produkttemplate */ +.wpsg_produkt_wrapper { margin:5px -10px 5px -10px; padding:10px; width:100%; line-height:1.5em; box-sizing:content-box; } +.wpsg_produkt_wrapper .wpsg_produkt_produktbilder { float:left; margin-right:1rem; margin-bottom:1rem; } +.wpsg_produkt_wrapper .wpsg_product_afterimage { } +.wpsg_produkt_wrapper .wpsg_product_afterimage .wpsg_producttitle { clear:none; } +.wpsg_produkt_wrapper .wpsg_add_basket { margin:1rem 0; float:right; } +.wpsg_produkt_wrapper .wpsg_produkt_add_basket_wrapper { clear:both; float:left; margin:1rem 0 0 0; } +.wpsg_produkt_wrapper .wpsg_label { display:inline; } +.wpsg_produkt_wrapper .wpsg_value { display:inline; } +.wpsg_produkt_wrapper .wpsg_preis_prediscount { text-decoration: line-through; } +.wpsg_produkt_wrapper .wpsg_menge { width:auto; } +.wpsg_productform { position:relative; } +.wpsg_productform .wpsg_product_layer { z-index:1000; background-color:rgba(125, 125, 125, 0.5); position:absolute; left:-10px; top:-10px; width:100%; height:100%; padding:20px; } +.wpsg_productform .wpsg_product_layer img { position:absolute; left:50%; top:50%; margin-left:-8px; margin-top:-5.5px; } + +/* Ajax Meldung über das Produkttemplate */ +#wpsg_basket_ajax_message { z-index:2000; position:absolute; top:55px; width:100%; position:fixed; } +#wpsg_basket_ajax_message .wpsg_basket_ajax_message_content { + width:800px; margin:auto; background-color:white; padding:25px; text-align:center; + -webkit-border-radius:15px; + -moz-border-radius:15px; + border-radius:15px; +} +#wpsg_basket_ajax_layer { z-index:199; position:absolute; left:0px; top:0px; width:100%; height:100%; background-color:rgba(0, 0, 0, 0.75); position:fixed; } +#wpsg_basket_ajax_message .wpsg_basket_ajax_message_content_success { color:green; } +#wpsg_basket_ajax_message .wpsg_button_continue_shopping { float:left; } +#wpsg_basket_ajax_message .wpsg_button_basket { float:right; } +#wpsg_basket_ajax_message .wpsg_button_wrap { margin-top:4rem; } + +/* Varianten */ +.wpsg_produkt_wrapper .wpsg_vp_field { clear:both; margin-bottom:1rem; } +.wpsg_produkt_wrapper .wpsg_vp_field_image { clear:both; display:block; } +.wpsg_produkt_wrapper .wpsg_vp_field_typ_radio label { clear: both; float: left; } +.wpsg_overview .wpsg_mod_varianten_value { text-align:right; } +.wpsg_mod_varianten_imageselect {} +.wpsg_mod_varianten_imageselect .image { padding:10px; display:inline-block; } +.wpsg_mod_varianten_imageselect .akt { padding:5px; border:5px solid #C5C5C5; } +.wpsg_mod_varianten_imageselect a { text-decoration:none; } + +/* Warenkorbwidget */ +.wpsg_basket_widget { } +.wpsg_basket_widget table { width:100%; } +.wpsg_basket_widget table td { line-height:1.25rem; } +.wpsg_basket_widget table .wpsg_cell_name { padding-left:0.2rem; } +.wpsg_basket_widget table .wpsg_cell_amount { text-align:right; padding-right:0.2rem; } +.wpsg_basket_widget table .wpsg_row_summary .wpsg_cell_amount { font-weight:bold; } + +/* Modul Gutscheine */ +.wpsg_basket .wpsg_cell_gutschein { vertical-align:middle; } +.wpsg_basket .wpsg_cell_gutschein input[type="submit"] { float:right; } +.wpsg_basket .wpsg_cell_gutschein input[type="text"] { float:right; margin-top:2px; margin-right:10px; vertical-align:baseline; } +.wpsg_basket .wpsg_cell_gutschein label { line-height:35px; } + +/* Modul Kundenverwaltung */ +.wpsg_mod_kundenverwaltung_widget input[type="text"], .wpsg_mod_kundenverwaltung_widget input[type="password"] { width:100%; margin-bottom:0.5rem; } +.wpsg_mod_kundenverwaltung_widget input[type="submit"] { float:right; } + +/* Modul wirecard */ +.wpsg_mod_wirecard_paymentType { width:50%; float:right; } +#wpsg_mod_wirecard_iframe { width:100%; height:700px; } + +/* Modul Bestellbedingungen */ +.wpsg_mod_ordercondition_hint { padding-left:18px; max-height:60px; overflow-y:scroll; } + +/* Modul Micropayment */ +.micropayment_card .card { border-radius:5px; background-color:#999999; margin-bottom:1rem; height:200px; width:400px; position:relative; } +.micropayment_card .front .number input { width:370px; position:absolute; bottom:50px; left:15px; box-sizing:border-box; } +.micropayment_card .front .name { position:absolute; left:25px; bottom:20px; color:#FFFFFF; text-shadow: 1px 1px 0px #202020, -1px -1px 0px #606060; letter-spacing:2px; } +.micropayment_card .front .validthrough { position:absolute; right:135px; bottom:20px; color:#FFFFFF; text-shadow: 1px 1px 0px #202020, -1px -1px 0px #606060; letter-spacing:2px; } +.micropayment_card .front .valid { position:absolute; right:15px; bottom:20px; } +.micropayment_card .front .chip { left:25px; top:50px; position:absolute; width:50px; height:44px; background-image:url('../mods/mod_micropayment/gfx/chip.png'); background-repeat:no-repeat; } +.micropayment_card .card .bankname { position:absolute; left:15px; top:10px; } +.micropayment_card .back .blackmagnetic { width:100%; height:40px; background-color:#000000; position:absolute; left:0px; top:55px; } +.micropayment_card .back .number { position:absolute; text-align:right; right:5px; top:5px; } +.micropayment_card .back .signature { position:absolute; left:15px; top:130px; width:250px; height:30px; background-color:#FFFFFF; text-align:center; line-height:30px; color:#333333; } +.micropayment_card .back .sign input { position:absolute; left:300px; width:75px; text-align:center; line-height:25px; top:135px; border:0px; border-radius:0px; height:25px; padding:0px; } + +/* Customerquestion (Dialog Firmenkunde/Endkunde und Land) */ +#wpsg_calc_layer { overflow:auto; text-align:center; position:fixed; left:0px; top:0px; z-index:1000; width:100%; height:100%; background-color:rgba(125, 125, 125, 0.95); } +#wpsg_calc_layer .content { padding:50px; position:absolute; left:50%; top:50%; width:640px; min-height:210px; margin-left:-320px; margin-top:-125px; } +#wpsg_calc_layer .content img.loading { position:absolute; left:50%; top:50%; margin-left:-8px; margin-top:-5px; } +#wpsg_calc_layer h2 { color:#000000; font-size:22px; font-weight:bold; line-height:28px; text-align:left; margin-bottom:25px; } +#wpsg_calc_layer .customertype h2 { font-size:22px; font-weight:normal; width:150px; float:left; line-height:28px; } +#wpsg_calc_layer #customerquestion_fk { width:175px; float:left; line-height:28px; } +#wpsg_calc_layer #customerquestion_fk label { font-size:22px; font-weight:normal; line-height:28px; color:#000000; } +#wpsg_calc_layer #customerquestion_ek { width:175px; float:left; line-height:28px; } +#wpsg_calc_layer #customerquestion_ek label { font-size:22px; font-weight:normal; line-height:28px; color:#000000; } +#wpsg_calc_layer .country { clear:both; margin-top:20px; } +#wpsg_calc_layer .country h2 { font-size:22px; font-weight:normal; width:150px; float:left; line-height:28px; } +#wpsg_calc_layer .country select { width:350px; font-size:22px; height:auto; float:left; } +#wpsg_calc_layer input[type="radio"] { height:auto; margin-right:10px; } +#wpsg_calc_layer .button_wrap { width:100%; clear:both; padding-top:20px; } +#wpsg_calc_layer input[type="submit"] { float:right; padding-left:50px; padding-right:50px; } + +/* Modul CrefoPay */ +#wpsg_mod_crefopay_iframe { width:100%; border:0px; overflow-y:hidden; } + +/* Modul PayPal PLUS */ +.wrap_paypalapi_expressbutton { width:100%; padding-bottom:2rem; } +.wrap_paypalapi_expressbutton img { float:right; } +.wpsg_mod_paypalapi_button:hover, .wpsg_mod_paypalapi_button { display:inline; background:transparent; padding:0px; } +.wpsg_mod_paypalapi_orderdone .wpsg_mod_paypalapi_field { clear:both; } +.wpsg_mod_paypalapi_orderdone label { width:100%; line-height:36px; } +.wpsg_mod_paypalapi_orderdone input[type="text"], +.wpsg_mod_paypalapi_orderdone select { width:65%; line-height:36px; height:36px; float:right; margin-bottom:3px; box-sizing:border-box; padding:0px; text-indent:10px; } +.wpsg_mod_paypalapi_orderdone input.wpsg_mod_paypalapi_vname { width:30%; margin-right:5%; } +.wpsg_mod_paypalapi_orderdone input.wpsg_mod_paypalapi_name { width:30%; } +.wpsg_mod_paypalapi_orderdone input[type="image"], +.wpsg_mod_paypalapi_orderdone input[type="submit"] { float:right; } +.wpsg_mod_paypalapi_orderdone select.wpsg_mod_paypalapi_month { width:30%; } +.wpsg_mod_paypalapi_orderdone select.wpsg_mod_paypalapi_year { width:30%; } +.wpsg_mod_paypalapi_orderdone .wpsg_mod_paypalapi_spacer { width:5%; float:right; text-align:center; } +#wpsg_ppplus { width:100%; padding-right:10px; } +.wpsg_done #wpsg_ppplus { width:100%; } +.wpsg_mod_paypalapi_button { float:right; border:0px; cursor:pointer; } + +/* Modul Anfrageprodukte */ +.wpsg_mod_request_requestpage .wpsg_cell_action { width:30px; text-align:center; } +.wpsg_mod_request_requestpage .wpsg_cell_amount { width:125px; } +.wpsg_mod_request_requestpage .wpsg_cell_sumprice { text-align:right; width:200px; } +.wpsg_mod_request_requestpage .wpsg_basket_productimage { float:left; margin-right:5px; } +.wpsg_mod_request_requestpage .wpsg_cell_total_brutto, +.wpsg_mod_request_requestpage .wpsg_cell_total_netto { text-align:right; } +.wpsg_mod_request_requestpage .wpsg_checkout_typ_3 input { margin-right: 5px; width: auto; } +.wpsg_mod_request_requestpage input[type="text"], +.wpsg_mod_request_requestpage select { width:100%; height:30px; margin-top:5px; margin-bottom:5px;} +.wpsg_mod_request_requestpage h2 { margin-top:2rem; margin-bottom:1rem; } +.requestlist_ajax_wrap { padding-bottom:2rem; } + +/* Modul Zubehörprodukte */ +.wpsg_mod_relatedproducts_basket { margin-top:2rem; } + +/* Progress bar +.steps { list-style:none; margin:0; padding:10px 0; overflow:hidden; font-family:'inherit',sans-serif; font-size:1.5rem; width:100%; height:auto; line-height:20px; font-weight:bold; counter-reset:li; } +.steps > a, .steps > p { float:left; margin:5px 0;} +.steps a, .steps p { list-style-image:none; list-style-type:none; margin-left:0; text-align:center; color:#bbb; background:#f2f2f2; position:relative; margin-left:43px; border-bottom:medium none !important; } + +.steps a:after, .steps p:after { position:absolute; top:50%; left:100%; content:" "; height:0; width:0; border:solid transparent; border-left-color:#f2f2f2; border-width:19px; margin-top:-19px; } +.steps a span:after, .steps p span:after { position:absolute; top:50%; right:100%; content:" "; height:0; width:0; border:solid #f2f2f2; border-left-color:transparent; border-width:19px; margin-top:-19px; } + +.steps a span, .steps p span { display:block; padding:9px 28px 9px 9px; } +.steps a span:before, .steps p span:before { counter-increment:li; } + +.steps a.current, .steps p.current { color:#3a3a3a; background:#c9c9c9; } +.steps a.current:after, .steps p.current:after { border-left-color:#c9c9c9; } +.steps a.current span:after, .steps p.current span:after { border-color:#c9c9c9; border-left-color:transparent; } + +.steps a.step1, .steps p.step1 { z-index:9; } +.steps a.step2, .steps p.step2 { z-index:8; } +.steps a.step3, .steps p.step3 { z-index:7; } +.steps a.step4, .steps p.step4 { z-index:6; } +*/ + +.wpsg_progress { padding:0px; margin:0px; width:100%; margin-bottom:100px; margin-top:30px; } +.wpsg_progress:after { border:1px solid #C5C5C5; height:10px; background-color:#F2F2F2; box-sizing:border-box; display:block; width:100%; content:" "; } +.wpsg_progress span.step { width:25%; display:block; float:left; list-style:none; position:relative; } +.wpsg_progress span.step > .text { margin-top:30px; text-align:center; width:100%; display:block; } +.wpsg_progress span.step > .dot { position:absolute; z-index:2; background-color:#C5C5C5; width:20px; height:20px; left:50%; top:0%; margin-left:-15px; margin-top:-5px; border-radius:10px; } +.wpsg_progress span.step:before { border:1px solid #C5C5C5; position:absolute; z-index:2; left:50%; margin-left:-20px; text-align:center; line-height:40px; background-color:#F2F2F2; content:" "; display:block; width:30px; height:30px; border-radius:25px; margin-top:-10px; } +.wpsg_progress span.step1:before { content:""; } +.wpsg_progress span.step2:before { content:""; } +.wpsg_progress span.step3:before { content:""; } +.wpsg_progress span.step4:before { content:""; } +.wpsg_progress span.current:before, +.wpsg_progress span.done:before { background-color:#C9C9C9; } +.wpsg_progress span.current > .dot, +.wpsg_progress span.done > .dot {background-color:#F2F2F2; } +.wpsg_progress span.current:after, +.wpsg_progress span.done:after { content:" "; background-color:#C5C5C5; width:100%; height:10px; display:block; top:0px; position:absolute; } +.wpsg_progress span.current:after { width:50%; } + +/* Modul "CrowdFunding" */ +.wpsg_mod_funding_progress .wpsg_mod_funding_state { border:1px solid #C5C5C5; margin-bottom:1rem; box-sizing:border-box; width:100%; height:25px; line-height:25px; } +.wpsg_mod_funding_progress .wpsg_mod_funding_state > .bar { width:90%; float:left; height:100%; display:table; } +.wpsg_mod_funding_progress .wpsg_mod_funding_state > .bar > .value { background-color:#484C51; height:100%; width:0%; } +.wpsg_mod_funding_progress .wpsg_mod_funding_state > .value { width:10%; height:100%; border-left:1px solid #C5C5C5; float:right; text-align:center; } + +@media screen and (max-width: 600px) { + + #wpsg_basket_ajax_message .wpsg_basket_ajax_message_content { width:80%; } + #wpsg_basket_ajax_message .wpsg_button_basket, + #wpsg_basket_ajax_message .wpsg_button_continue_shopping { width:100%; margin-top:2rem; } + .wpsg_progress span.step > .text { visibility:hidden; } + +} + +@media screen and (max-width: 400px) { + + .wpsg .wpsg_button { padding-left:10px; padding-right:10px; } + + .wpsg_basket .wpsg_cell_gutschein label { width:100%; display:block; } + .wpsg_basket #wpsg_gutschein_input { float:left; } + +} + diff --git a/views/css/tooltip.css b/views/css/tooltip.css new file mode 100644 index 0000000..b379318 --- /dev/null +++ b/views/css/tooltip.css @@ -0,0 +1,121 @@ +/* TipTip CSS - Version 1.2 */ + + + +#tiptip_holder { + display: none; + position: absolute; + top: 0; + left: 0; + z-index: 9999999999; + max-height:400px; + width:400px; + overflow-y:auto; + overflow-x:hidden; +} + +#tiptip_holder.tip_top { + padding-bottom: 5px; +} + +#tiptip_holder.tip_bottom { + padding-top: 5px; +} + +#tiptip_holder.tip_right { + padding-left: 5px; +} + +#tiptip_holder.tip_left { + padding-right: 5px; +} + +#tiptip_content { + font-size: 11px; + color: #fff; + text-shadow: 0 0 2px #000; + padding: 4px 8px; + border: 1px solid rgba(255,255,255,0.25); + background-color: rgb(25,25,25); + background-color: rgba(25,25,25,0.92); + background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000)); + border-radius: 3px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + box-shadow: 0 0 3px #555; + -webkit-box-shadow: 0 0 3px #555; + -moz-box-shadow: 0 0 3px #555; +} + +#tiptip_arrow, #tiptip_arrow_inner { + position: absolute; + border-color: transparent; + border-style: solid; + border-width: 6px; + height: 0; + width: 0; +} + +#tiptip_holder.tip_top #tiptip_arrow { + border-top-color: #fff; + border-top-color: rgba(255,255,255,0.35); +} + +#tiptip_holder.tip_bottom #tiptip_arrow { + border-bottom-color: #fff; + border-bottom-color: rgba(255,255,255,0.35); +} + +#tiptip_holder.tip_right #tiptip_arrow { + border-right-color: #fff; + border-right-color: rgba(255,255,255,0.35); +} + +#tiptip_holder.tip_left #tiptip_arrow { + border-left-color: #fff; + border-left-color: rgba(255,255,255,0.35); +} + +#tiptip_holder.tip_top #tiptip_arrow_inner { + margin-top: -7px; + margin-left: -6px; + border-top-color: rgb(25,25,25); + border-top-color: rgba(25,25,25,0.92); +} + +#tiptip_holder.tip_bottom #tiptip_arrow_inner { + margin-top: -5px; + margin-left: -6px; + border-bottom-color: rgb(25,25,25); + border-bottom-color: rgba(25,25,25,0.92); +} + +#tiptip_holder.tip_right #tiptip_arrow_inner { + margin-top: -6px; + margin-left: -5px; + border-right-color: rgb(25,25,25); + border-right-color: rgba(25,25,25,0.92); +} + +#tiptip_holder.tip_left #tiptip_arrow_inner { + margin-top: -6px; + margin-left: -7px; + border-left-color: rgb(25,25,25); + border-left-color: rgba(25,25,25,0.92); +} + +/* Webkit Hacks */ +@media screen and (-webkit-min-device-pixel-ratio:0) { + #tiptip_content { + padding: 4px 8px 5px 8px; + background-color: rgba(45,45,45,0.88); + } + #tiptip_holder.tip_bottom #tiptip_arrow_inner { + border-bottom-color: rgba(45,45,45,0.88); + } + #tiptip_holder.tip_top #tiptip_arrow_inner { + border-top-color: rgba(20,20,20,0.92); + } +} + +.info_icon { cursor:pointer; } \ No newline at end of file diff --git a/views/css/validationEngine.jquery.css b/views/css/validationEngine.jquery.css new file mode 100644 index 0000000..63e2277 --- /dev/null +++ b/views/css/validationEngine.jquery.css @@ -0,0 +1,247 @@ + +/* Z-INDEX */ +.formError { z-index: 990; } +.formError .formErrorContent { z-index: 991; } +.formError .formErrorArrow { z-index: 996; } + +.formErrorInsideDialog.formError { z-index: 5000; } +.formErrorInsideDialog.formError .formErrorContent { z-index: 5001; } +.formErrorInsideDialog.formError .formErrorArrow { z-index: 5006; } + +.inputContainer { + position: relative; + float: left; +} + +.formError { + position: absolute; + top: 300px; + left: 300px; + display: block; + cursor: pointer; +} + +.ajaxSubmit { + padding: 20px; + background: #55ea55; + border: 1px solid #999; + display: none +} + +.formError .formErrorContent { + width: 100%; + background: #FF0000; + color: #000000; + position:relative; + width: 250px; + font-size: 11px; + border: 1px solid #EEEEEE; + box-shadow: 0 0 2px #666666; + -moz-box-shadow: 0 0 2px #666666; + -webkit-box-shadow: 0 0 2px #666666; + padding: 4px 10px 3px 10px; + border-radius: 6px; + -moz-border-radius: 6px; + -webkit-border-radius: 6px; + font-family:arial, verdana, sans-serif !important; +} + +.greenPopup .formErrorContent { + background: #33be40; +} + +.blackPopup .formErrorContent { + background: #393939; + color: #FFFFFF; +} + +.formError .formErrorArrow { + width: 15px; + margin: -2px 0 0 13px; + position:relative; +} + +.formError .formErrorArrowLeft { + width: 15px; + margin: -25px 0 0 -13px; + position:relative; + z-index:1000; +} + +body[dir='rtl'] .formError .formErrorArrow, +body.rtl .formError .formErrorArrow { + margin: -2px 13px 0 0; +} + +body[dir='rtl'] .formError .formErrorArrowLeft, +body.rtl .formError .formErrorArrow { + margin: -2px 13px 0 0; +} + +.formError .formErrorArrowBottom { + box-shadow: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; + margin: 0px 0 0 12px; + top:2px; +} + +.formError .formErrorArrow div { + border-left: 2px solid #CCCCCC; + border-right: 2px solid #CCCCCC; + /*box-shadow: 0 2px 3px #444; + -moz-box-shadow: 2px 0px 3px #444; + -webkit-box-shadow: 2px 0px 3px #444;*/ + font-size: 0px; + height: 1px; + background: #EEEEEE; + margin: 0 auto; + line-height: 0; + font-size: 0; + display: block; +} + +.formError .formErrorArrowLeft div { + border-top: 1px solid #CCCCCC; + border-bottom: 1px solid #CCCCCC; + /*box-shadow: 0 2px 3px #CCCCCC; + -moz-box-shadow: 0 2px 3px #CCCCCC; + -webkit-box-shadow: 0 2px 3px #CCCCCC;*/ + font-size: 0px; + float:right; + width: 1px; + background: #FF0000; + margin: 0 auto; + line-height: 0; + font-size: 0; + display: block; +} + +.formError .formErrorArrowBottom div { + box-shadow: none; + -moz-box-shadow: none; + -webkit-box-shadow: none; +} + +.greenPopup .formErrorArrow div { + background: #33be40; +} + +.blackPopup .formErrorArrow div { + background: #393939; + color: #FFF; +} + +.formError .formErrorArrow .line10 { + width: 15px; + border: none; +} + +.formError .formErrorArrow .line9 { + width: 13px; + border: none; +} + +.formError .formErrorArrow .line8 { + width: 11px; +} + +.formError .formErrorArrow .line7 { + width: 9px; +} + +.formError .formErrorArrow .line6 { + width: 7px; +} + +.formError .formErrorArrow .line5 { + width: 5px; +} + +.formError .formErrorArrow .line4 { + width: 3px; +} + +.formError .formErrorArrow .line3 { + width: 1px; + border-left: 2px solid #CCCCCC; + border-right: 2px solid #CCCCCC; + border-bottom: 0 solid #CCCCCC; +} + +.formError .formErrorArrow .line2 { + width: 3px; + border: none; + background: #FFFFFF; + z-index:2; + position:relative; +} + +.formError .formErrorArrow .line1 { + width: 1px; + border: none; + background: #FFFFFF; + z-index:3; + position:relative; +} + +.formError .formErrorArrowLeft .line10 { + height: 19px; + border: none; + margin-top:1px; +} + +.formError .formErrorArrowLeft .line9 { + height: 17px; + border: none; + margin-top:2px; +} + +.formError .formErrorArrowLeft .line8 { + height: 15px; + margin-top:2px; +} + +.formError .formErrorArrowLeft .line7 { + height: 13px; + margin-top:3px; +} + +.formError .formErrorArrowLeft .line6 { + height: 11px; + margin-top:4px; +} + +.formError .formErrorArrowLeft .line5 { + height: 9px; + margin-top:5px; +} + +.formError .formErrorArrowLeft .line4 { + height: 7px; + margin-top:6px; +} + +.formError .formErrorArrowLeft .line3 { + height: 5px; + + margin-top:7px; +} + +.formError .formErrorArrowLeft .line2 { + height: 3px; + margin-top:8px; +} + +.formError .formErrorArrowLeft .line1 { + height: 1px; + background: #CCCCCC; + margin-top:9px; +} + +.formError .formErrorArrowLeft .line0 { + height: 1px; + border:0 none; + background: #CCCCCC; + margin-top:10px; +} \ No newline at end of file diff --git a/views/gfx/action_save.gif b/views/gfx/action_save.gif new file mode 100644 index 0000000..6e6f7de Binary files /dev/null and b/views/gfx/action_save.gif differ diff --git a/views/gfx/add.png b/views/gfx/add.png new file mode 100644 index 0000000..6332fef Binary files /dev/null and b/views/gfx/add.png differ diff --git a/views/gfx/ajax-loader.gif b/views/gfx/ajax-loader.gif new file mode 100644 index 0000000..09d621e Binary files /dev/null and b/views/gfx/ajax-loader.gif differ diff --git a/views/gfx/arrow_left.png b/views/gfx/arrow_left.png new file mode 100644 index 0000000..5dc6967 Binary files /dev/null and b/views/gfx/arrow_left.png differ diff --git a/views/gfx/arrow_refresh_small.png b/views/gfx/arrow_refresh_small.png new file mode 100644 index 0000000..d3087df Binary files /dev/null and b/views/gfx/arrow_refresh_small.png differ diff --git a/views/gfx/arrow_right.png b/views/gfx/arrow_right.png new file mode 100644 index 0000000..21221f8 Binary files /dev/null and b/views/gfx/arrow_right.png differ diff --git a/views/gfx/banner_300x100.png b/views/gfx/banner_300x100.png new file mode 100644 index 0000000..4cdd6b9 Binary files /dev/null and b/views/gfx/banner_300x100.png differ diff --git a/views/gfx/basket.png b/views/gfx/basket.png new file mode 100644 index 0000000..a39079e Binary files /dev/null and b/views/gfx/basket.png differ diff --git a/views/gfx/basket_add.png b/views/gfx/basket_add.png new file mode 100644 index 0000000..e7ef60f Binary files /dev/null and b/views/gfx/basket_add.png differ diff --git a/views/gfx/basket_go.png b/views/gfx/basket_go.png new file mode 100644 index 0000000..c31ba12 Binary files /dev/null and b/views/gfx/basket_go.png differ diff --git a/views/gfx/basket_select.png b/views/gfx/basket_select.png new file mode 100644 index 0000000..c1a3fcc Binary files /dev/null and b/views/gfx/basket_select.png differ diff --git a/views/gfx/bg_wpsg_produkt_additional_information.gif b/views/gfx/bg_wpsg_produkt_additional_information.gif new file mode 100644 index 0000000..9673d87 Binary files /dev/null and b/views/gfx/bg_wpsg_produkt_additional_information.gif differ diff --git a/views/gfx/billsafe.png b/views/gfx/billsafe.png new file mode 100644 index 0000000..0ff9cc8 Binary files /dev/null and b/views/gfx/billsafe.png differ diff --git a/views/gfx/bin.png b/views/gfx/bin.png new file mode 100644 index 0000000..ebad933 Binary files /dev/null and b/views/gfx/bin.png differ diff --git a/views/gfx/bin_x.png b/views/gfx/bin_x.png new file mode 100644 index 0000000..1514d51 Binary files /dev/null and b/views/gfx/bin_x.png differ diff --git a/views/gfx/cab.png b/views/gfx/cab.png new file mode 100644 index 0000000..d5dcaba Binary files /dev/null and b/views/gfx/cab.png differ diff --git a/views/gfx/checkmark.png b/views/gfx/checkmark.png new file mode 100644 index 0000000..57f74b1 Binary files /dev/null and b/views/gfx/checkmark.png differ diff --git a/views/gfx/comment.png b/views/gfx/comment.png new file mode 100644 index 0000000..7bc9233 Binary files /dev/null and b/views/gfx/comment.png differ diff --git a/views/gfx/comment_admin.png b/views/gfx/comment_admin.png new file mode 100644 index 0000000..bab7cc9 Binary files /dev/null and b/views/gfx/comment_admin.png differ diff --git a/views/gfx/control_play.png b/views/gfx/control_play.png new file mode 100644 index 0000000..ee4e7f6 Binary files /dev/null and b/views/gfx/control_play.png differ diff --git a/views/gfx/darrowleft.gif b/views/gfx/darrowleft.gif new file mode 100644 index 0000000..f6b24d6 Binary files /dev/null and b/views/gfx/darrowleft.gif differ diff --git a/views/gfx/darrowright.gif b/views/gfx/darrowright.gif new file mode 100644 index 0000000..b9a9e98 Binary files /dev/null and b/views/gfx/darrowright.gif differ diff --git a/views/gfx/delete.png b/views/gfx/delete.png new file mode 100644 index 0000000..08f2493 Binary files /dev/null and b/views/gfx/delete.png differ diff --git a/views/gfx/disk.png b/views/gfx/disk.png new file mode 100644 index 0000000..99d532e Binary files /dev/null and b/views/gfx/disk.png differ diff --git a/views/gfx/edit.png b/views/gfx/edit.png new file mode 100644 index 0000000..0bfecd5 Binary files /dev/null and b/views/gfx/edit.png differ diff --git a/views/gfx/help.png b/views/gfx/help.png new file mode 100644 index 0000000..5c87017 Binary files /dev/null and b/views/gfx/help.png differ diff --git a/views/gfx/hide.png b/views/gfx/hide.png new file mode 100644 index 0000000..d22fde8 Binary files /dev/null and b/views/gfx/hide.png differ diff --git a/views/gfx/html.png b/views/gfx/html.png new file mode 100644 index 0000000..55d1072 Binary files /dev/null and b/views/gfx/html.png differ diff --git a/views/gfx/lupe.png b/views/gfx/lupe.png new file mode 100644 index 0000000..3a7e032 Binary files /dev/null and b/views/gfx/lupe.png differ diff --git a/views/gfx/magnifier.gif b/views/gfx/magnifier.gif new file mode 100644 index 0000000..5f91485 Binary files /dev/null and b/views/gfx/magnifier.gif differ diff --git a/views/gfx/money.png b/views/gfx/money.png new file mode 100644 index 0000000..4d5d659 Binary files /dev/null and b/views/gfx/money.png differ diff --git a/views/gfx/paypal.png b/views/gfx/paypal.png new file mode 100644 index 0000000..073152f Binary files /dev/null and b/views/gfx/paypal.png differ diff --git a/views/gfx/pp-logo-big.png b/views/gfx/pp-logo-big.png new file mode 100644 index 0000000..cc755c0 Binary files /dev/null and b/views/gfx/pp-logo-big.png differ diff --git a/views/gfx/show.png b/views/gfx/show.png new file mode 100644 index 0000000..e95b8c5 Binary files /dev/null and b/views/gfx/show.png differ diff --git a/views/gfx/skrill.png b/views/gfx/skrill.png new file mode 100644 index 0000000..6629ec1 Binary files /dev/null and b/views/gfx/skrill.png differ diff --git a/views/gfx/su.png b/views/gfx/su.png new file mode 100644 index 0000000..4f110a1 Binary files /dev/null and b/views/gfx/su.png differ diff --git a/views/gfx/tab_top.gif b/views/gfx/tab_top.gif new file mode 100644 index 0000000..dbb9d1f Binary files /dev/null and b/views/gfx/tab_top.gif differ diff --git a/views/gfx/tick.png b/views/gfx/tick.png new file mode 100644 index 0000000..a9925a0 Binary files /dev/null and b/views/gfx/tick.png differ diff --git a/views/gfx/world_edit.png b/views/gfx/world_edit.png new file mode 100644 index 0000000..00794d4 Binary files /dev/null and b/views/gfx/world_edit.png differ diff --git a/views/js/admin.js b/views/js/admin.js new file mode 100644 index 0000000..4c0f7b6 --- /dev/null +++ b/views/js/admin.js @@ -0,0 +1,193 @@ +wpsg_number_format = function (number, decimals, dec_point, thousands_sep) { + + var n = !isFinite(+number) ? 0 : + number, prec = !isFinite(+decimals) ? 0 : Math.abs(decimals), + sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep, dec = (typeof dec_point === 'undefined') ? '.' : dec_point, + s = '', + toFixedFix = function (n, prec) { + var k = Math.pow(10, prec); + return '' + Math.round(n * k) / k; }; + s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)).split('.'); + if (s[0].length > 3) { + s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep); } + if ((s[1] || '').length < prec) { + s[1] = s[1] || ''; + s[1] += new Array(prec - s[1].length + 1).join('0'); + } return s.join(dec); + }; + + var wpsg_Tablefix = function(e, ui) { + + ui.children().each(function() { + + jQuery(this).width(jQuery(this).width()); + + } ); + + return ui; + + }; + +jQuery.fn.tipTip = function() { + + if (jQuery(this).hasClass('tipTip')) return; + jQuery(this).addClass('tipTip'); + + jQuery(this).cluetip( { + width: '400px', + height: '400px', + activation: 'click', + sticky: true, + /*mouseOutClose: 'both',*/ + closePosition: 'title', + arrows: true, + closeText: 'Schließen', + onActivate: function() { + + jQuery('#cluetip').hide(); + + }, + onShow: function() { + + jQuery('.cluetip-title').prepend(jQuery('.cluetip-inner h1').first().text()); + jQuery('.cluetip-inner h1').first().remove(); + + jQuery('.cluetip-inner').css('overflow-y', 'show'); + jQuery('.cluetip-inner').css('height', 'auto'); + + var height_content = jQuery('.cluetip-inner').outerHeight(); + var height_title = jQuery('.cluetip-title').outerHeight(); + + if (height_content < 400) + { + + jQuery('.cluetip-outer').height((height_content + height_title) + "px"); + + } + else + { + + jQuery('.cluetip-outer').height("400px"); + + jQuery('.cluetip-inner').css('overflow-y', 'scroll'); + jQuery('.cluetip-inner').css('height', '332px'); + + } + + } + } ); + +}; + +jQuery.fn.wpsg_adminbox = function(options) { + + return this.each(function() { + + var adminbox_id = jQuery(this).attr("id"); + + jQuery(this).find('.title').bind('click', function() { + + var content = jQuery(this).next(); + + if (content.is(':visible')) + { + + content.hide(); + jQuery(this).css('border-bottom', '1px solid #AAAAAA'); + jQuery.cookie(adminbox_id, '0', { expires: 14000 } ); + + } + else + { + + content.show(); + jQuery(this).css('border-bottom', '0px'); + jQuery.cookie(adminbox_id, '1', { expires: 14000 } ); + + } + + } ); + + if (jQuery.cookie(adminbox_id) == null || jQuery.cookie(adminbox_id) == 0) + { + + jQuery(this).find('.title').click(); + + } + + } ); + +} + +jQuery.fn.wpsg_tab = function(options) { + + return this.each(function() { + + var tab_obj = jQuery(this); + + // Init + tab_obj.find('.tabcontent').hide(); + tab_obj.find('.tab').removeClass('akttab'); + + var aktTab = 1; + + if (jQuery.cookie(options['cookiename']) != null && jQuery.cookie(options['cookiename']) > 0) + { + aktTab = jQuery.cookie(options['cookiename']); + } + + jQuery('#tab' + aktTab).addClass('akttab'); + jQuery('#tabcontent' + aktTab).show(); + + if (typeof options['tab' + aktTab] == 'function') + { + options['tab' + aktTab](); + } + + tab_obj.find('.tab').bind('click', function() { + + tab_obj.find('.tab').removeClass('akttab'); + tab_obj.find('.tabcontent').hide(); + + jQuery(this).addClass('akttab'); + + var strID = jQuery(this).attr("id").replace(/tab/, ''); + jQuery.cookie(options['cookiename'], strID, { expires: 14000 } ); + + jQuery('#tabcontent' + strID).show(); + + if (typeof options['tab' + strID] == 'function') + { + options['tab' + strID](); + } + + } ); + + } ); + +}; + +/** + * jPlot - Custom Formatter functions + */ +wpsg_statistics_number_format = function (formatString, value) { + return wpsg_number_format(value, 2, ',', '.'); +} + +wpsg_statistics_integer_format = function (formatString, value) { + return wpsg_number_format(value, 0, ',', '.'); +} + +function wpsg_in_array(needle, haystack) +{ + + var length = haystack.length; + + for(var i = 0; i < length; i++) { + + if (haystack[i] == needle) return true; + + } + + return false; + +} diff --git a/views/js/ajax.js b/views/js/ajax.js new file mode 100644 index 0000000..e69de29 diff --git a/views/js/ajaxupload.js b/views/js/ajaxupload.js new file mode 100644 index 0000000..a704008 --- /dev/null +++ b/views/js/ajaxupload.js @@ -0,0 +1,672 @@ +/** + * AJAX Upload ( http://valums.com/ajax-upload/ ) + * Copyright (c) Andris Valums + * Licensed under the MIT license ( http://valums.com/mit-license/ ) + * Thanks to Gary Haran, David Mark, Corey Burns and others for contributions + */ +(function () { + /* global window */ + /* jslint browser: true, devel: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true */ + + /** + * Wrapper for FireBug's console.log + */ + function log(){ + if (typeof(console) != 'undefined' && typeof(console.log) == 'function'){ + Array.prototype.unshift.call(arguments, '[Ajax Upload]'); + console.log( Array.prototype.join.call(arguments, ' ')); + } + } + + /** + * Attaches event to a dom element. + * @param {Element} el + * @param type event name + * @param fn callback This refers to the passed element + */ + function addEvent(el, type, fn){ + if (el.addEventListener) { + el.addEventListener(type, fn, false); + } else if (el.attachEvent) { + el.attachEvent('on' + type, function(){ + fn.call(el); + }); + } else { + throw new Error('not supported or DOM not loaded'); + } + } + + /** + * Attaches resize event to a window, limiting + * number of event fired. Fires only when encounteres + * delay of 100 after series of events. + * + * Some browsers fire event multiple times when resizing + * http://www.quirksmode.org/dom/events/resize.html + * + * @param fn callback This refers to the passed element + */ + function addResizeEvent(fn){ + var timeout; + + addEvent(window, 'resize', function(){ + if (timeout){ + clearTimeout(timeout); + } + timeout = setTimeout(fn, 100); + }); + } + + // Needs more testing, will be rewriten for next version + // getOffset function copied from jQuery lib (http://jquery.com/) + if (document.documentElement.getBoundingClientRect){ + // Get Offset using getBoundingClientRect + // http://ejohn.org/blog/getboundingclientrect-is-awesome/ + var getOffset = function(el){ + var box = el.getBoundingClientRect(); + var doc = el.ownerDocument; + var body = doc.body; + var docElem = doc.documentElement; // for ie + var clientTop = docElem.clientTop || body.clientTop || 0; + var clientLeft = docElem.clientLeft || body.clientLeft || 0; + + // In Internet Explorer 7 getBoundingClientRect property is treated as physical, + // while others are logical. Make all logical, like in IE8. + var zoom = 1; + if (body.getBoundingClientRect) { + var bound = body.getBoundingClientRect(); + zoom = (bound.right - bound.left) / body.clientWidth; + } + + if (zoom > 1) { + clientTop = 0; + clientLeft = 0; + } + + var top = box.top / zoom + (window.pageYOffset || docElem && docElem.scrollTop / zoom || body.scrollTop / zoom) - clientTop, left = box.left / zoom + (window.pageXOffset || docElem && docElem.scrollLeft / zoom || body.scrollLeft / zoom) - clientLeft; + + return { + top: top, + left: left + }; + }; + } else { + // Get offset adding all offsets + var getOffset = function(el){ + var top = 0, left = 0; + do { + top += el.offsetTop || 0; + left += el.offsetLeft || 0; + el = el.offsetParent; + } while (el); + + return { + left: left, + top: top + }; + }; + } + + /** + * Returns left, top, right and bottom properties describing the border-box, + * in pixels, with the top-left relative to the body + * @param {Element} el + * @return {Object} Contains left, top, right,bottom + */ + function getBox(el){ + var left, right, top, bottom; + var offset = getOffset(el); + left = offset.left; + top = offset.top; + + right = left + el.offsetWidth; + bottom = top + el.offsetHeight; + + return { + left: left, + right: right, + top: top, + bottom: bottom + }; + } + + /** + * Helper that takes object literal + * and add all properties to element.style + * @param {Element} el + * @param {Object} styles + */ + function addStyles(el, styles){ + for (var name in styles) { + if (styles.hasOwnProperty(name)) { + el.style[name] = styles[name]; + } + } + } + + /** + * Function places an absolutely positioned + * element on top of the specified element + * copying position and dimentions. + * @param {Element} from + * @param {Element} to + */ + function copyLayout(from, to){ + var box = getBox(from); + + addStyles(to, { + position: 'absolute', + left : box.left + 'px', + top : box.top + 'px', + width : from.offsetWidth + 'px', + height : from.offsetHeight + 'px' + }); + } + + /** + * Creates and returns element from html chunk + * Uses innerHTML to create an element + */ + var toElement = (function(){ + var div = document.createElement('div'); + return function(html){ + div.innerHTML = html; + var el = div.firstChild; + return div.removeChild(el); + }; + })(); + + /** + * Function generates unique id + * @return unique id + */ + var getUID = (function(){ + var id = 0; + return function(){ + return 'ValumsAjaxUpload' + id++; + }; + })(); + + /** + * Get file name from path + * @param {String} file path to file + * @return filename + */ + function fileFromPath(file){ + return file.replace(/.*(\/|\\)/, ""); + } + + /** + * Get file extension lowercase + * @param {String} file name + * @return file extenstion + */ + function getExt(file){ + return (-1 !== file.indexOf('.')) ? file.replace(/.*[.]/, '') : ''; + } + + function hasClass(el, name){ + var re = new RegExp('\\b' + name + '\\b'); + return re.test(el.className); + } + function addClass(el, name){ + if ( ! hasClass(el, name)){ + el.className += ' ' + name; + } + } + function removeClass(el, name){ + var re = new RegExp('\\b' + name + '\\b'); + el.className = el.className.replace(re, ''); + } + + function removeNode(el){ + el.parentNode.removeChild(el); + } + + /** + * Easy styling and uploading + * @constructor + * @param button An element you want convert to + * upload button. Tested dimentions up to 500x500px + * @param {Object} options See defaults below. + */ + window.AjaxUpload = function(button, options){ + this._settings = { + // Location of the server-side upload script + action: 'upload.php', + // File upload name + name: 'userfile', + // Additional data to send + data: {}, + // Submit file as soon as it's selected + autoSubmit: true, + // The type of data that you're expecting back from the server. + // html and xml are detected automatically. + // Only useful when you are using json data as a response. + // Set to "json" in that case. + responseType: false, + // Class applied to button when mouse is hovered + hoverClass: 'hover', + // Class applied to button when AU is disabled + disabledClass: 'disabled', + // When user selects a file, useful with autoSubmit disabled + // You can return false to cancel upload + onChange: function(file, extension){ + }, + // Callback to fire before file is uploaded + // You can return false to cancel upload + onSubmit: function(file, extension){ + }, + // Fired when file upload is completed + // WARNING! DO NOT USE "FALSE" STRING AS A RESPONSE! + onComplete: function(file, response){ + } + }; + + // Merge the users options with our defaults + for (var i in options) { + if (options.hasOwnProperty(i)){ + this._settings[i] = options[i]; + } + } + + // button isn't necessary a dom element + if (button.jquery){ + // jQuery object was passed + button = button[0]; + } else if (typeof button == "string") { + if (/^#.*/.test(button)){ + // If jQuery user passes #elementId don't break it + button = button.slice(1); + } + + button = document.getElementById(button); + } + + if ( ! button || button.nodeType !== 1){ + throw new Error("Please make sure that you're passing a valid element"); + } + + if ( button.nodeName.toUpperCase() == 'A'){ + // disable link + addEvent(button, 'click', function(e){ + if (e && e.preventDefault){ + e.preventDefault(); + } else if (window.event){ + window.event.returnValue = false; + } + }); + } + + // DOM element + this._button = button; + // DOM element + this._input = null; + // If disabled clicking on button won't do anything + this._disabled = false; + + // if the button was disabled before refresh if will remain + // disabled in FireFox, let's fix it + this.enable(); + + this._rerouteClicks(); + }; + + // assigning methods to our class + AjaxUpload.prototype = { + setData: function(data){ + this._settings.data = data; + }, + disable: function(){ + addClass(this._button, this._settings.disabledClass); + this._disabled = true; + + var nodeName = this._button.nodeName.toUpperCase(); + if (nodeName == 'INPUT' || nodeName == 'BUTTON'){ + this._button.setAttribute('disabled', 'disabled'); + } + + // hide input + if (this._input){ + // We use visibility instead of display to fix problem with Safari 4 + // The problem is that the value of input doesn't change if it + // has display none when user selects a file + this._input.parentNode.style.visibility = 'hidden'; + } + }, + enable: function(){ + removeClass(this._button, this._settings.disabledClass); + this._button.removeAttribute('disabled'); + this._disabled = false; + + }, + /** + * Creates invisible file input + * that will hover above the button + *
+ */ + _createInput: function(){ + var self = this; + + var input = document.createElement("input"); + input.setAttribute('type', 'file'); + input.setAttribute('name', this._settings.name); + + addStyles(input, { + 'position' : 'absolute', + // in Opera only 'browse' button + // is clickable and it is located at + // the right side of the input + 'right' : 0, + 'margin' : 0, + 'padding' : 0, + 'fontSize' : '480px', + 'cursor' : 'pointer' + }); + + var div = document.createElement("div"); + addStyles(div, { + 'display' : 'block', + 'position' : 'absolute', + 'overflow' : 'hidden', + 'margin' : 0, + 'padding' : 0, + 'opacity' : 0, + // Make sure browse button is in the right side + // in Internet Explorer + 'direction' : 'ltr', + //Max zIndex supported by Opera 9.0-9.2 + 'zIndex': 2147483583 + }); + + // Make sure that element opacity exists. + // Otherwise use IE filter + if ( div.style.opacity !== "0") { + if (typeof(div.filters) == 'undefined'){ + throw new Error('Opacity not supported by the browser'); + } + div.style.filter = "alpha(opacity=0)"; + } + + addEvent(input, 'change', function(){ + + if ( ! input || input.value === ''){ + return; + } + + // Get filename from input, required + // as some browsers have path instead of it + var file = fileFromPath(input.value); + + if (false === self._settings.onChange.call(self, file, getExt(file))){ + self._clearInput(); + return; + } + + // Submit form when value is changed + if (self._settings.autoSubmit) { + self.submit(); + } + }); + + addEvent(input, 'mouseover', function(){ + addClass(self._button, self._settings.hoverClass); + }); + + addEvent(input, 'mouseout', function(){ + removeClass(self._button, self._settings.hoverClass); + + // We use visibility instead of display to fix problem with Safari 4 + // The problem is that the value of input doesn't change if it + // has display none when user selects a file + input.parentNode.style.visibility = 'hidden'; + + }); + + div.appendChild(input); + document.body.appendChild(div); + + this._input = input; + }, + _clearInput : function(){ + if (!this._input){ + return; + } + + removeNode(this._input.parentNode); + this._input = null; + this._createInput(); + + removeClass(this._button, this._settings.hoverClass); + }, + /** + * Function makes sure that when user clicks upload button, + * the this._input is clicked instead + */ + _rerouteClicks: function(){ + var self = this; + + // IE will later display 'access denied' error + // if you use using self._input.click() + // other browsers just ignore click() + + addEvent(self._button, 'mouseover', function(){ + if (self._disabled){ + return; + } + + if ( ! self._input){ + self._createInput(); + } + + var div = self._input.parentNode; + copyLayout(self._button, div); + div.style.visibility = 'visible'; + + }); + + + // commented because we now hide input on mouseleave + /** + * When the window is resized the elements + * can be misaligned if button position depends + * on window size + */ + //addResizeEvent(function(){ + // if (self._input){ + // copyLayout(self._button, self._input.parentNode); + // } + //}); + + }, + /** + * Creates iframe with unique name + * @return {Element} iframe + */ + _createIframe: function(){ + // We can't use getTime, because it sometimes return + // same value in safari :( + var id = getUID(); + + // We can't use following code as the name attribute + // won't be properly registered in IE6, and new window + // on form submit will open + // var iframe = document.createElement('iframe'); + // iframe.setAttribute('name', id); + + var iframe = toElement(' + + \ No newline at end of file diff --git a/views/mods/mod_crefopay/order_done.phtml b/views/mods/mod_crefopay/order_done.phtml new file mode 100644 index 0000000..78943bc --- /dev/null +++ b/views/mods/mod_crefopay/order_done.phtml @@ -0,0 +1,19 @@ + +view['wpsg_mod_crefopay']['redirectURL'])) { ?> + + + + + + \ No newline at end of file diff --git a/views/mods/mod_crefopay/order_view_afterpayment.phtml b/views/mods/mod_crefopay/order_view_afterpayment.phtml new file mode 100644 index 0000000..c293b9a --- /dev/null +++ b/views/mods/mod_crefopay/order_view_afterpayment.phtml @@ -0,0 +1,26 @@ + + +view['oOrder']->getMeta('wpsg_mod_crefopay_status_time'))) { ?> + view['oOrder']->getMeta('wpsg_mod_crefopay_status').' ('.wpsg_formatTimestamp($this->view['oOrder']->getMeta('wpsg_mod_crefopay_status_time')).')', array('text' => true)); ?> +
+ + +
+ + + + view['oOrder']->getMeta('wpsg_mod_crefopay_transactionType') == "RETAIL") { ?> + + + + + + +
+
\ No newline at end of file diff --git a/views/mods/mod_crefopay/settings_edit.phtml b/views/mods/mod_crefopay/settings_edit.phtml new file mode 100644 index 0000000..39bc4a2 --- /dev/null +++ b/views/mods/mod_crefopay/settings_edit.phtml @@ -0,0 +1,69 @@ + + +get_option('wpsg_mod_crefopay_sandbox'), array('help' => 'wpsg_mod_crefopay_sandbox')); ?> +get_option('wpsg_mod_crefopay_merchantID'), array('help' => 'wpsg_mod_crefopay_merchantID')); ?> +get_option('wpsg_mod_crefopay_shopID'), array('help' => 'wpsg_mod_crefopay_shopID')); ?> +get_option('wpsg_mod_crefopay_privateKey'), array('help' => 'wpsg_mod_crefopay_privateKey')); ?> +get_option('wpsg_mod_crefopay_autocapture'), array('help' => 'wpsg_mod_crefopay_autocapture')); ?> +arStatus, $this->get_option('wpsg_mod_crefopay_capturestatus'), array('help' => 'wpsg_mod_crefopay_capturestatus')); ?> + __('Gering', 'wpsg'), // trusted transaction + '1' => __('Normal', 'wpsg'), // default risk transaction + '2' => __('Stark', 'wpsg') // high risk transaction +), $this->get_option('wpsg_mod_crefopay_riskclass'), array('help' => 'wpsg_mod_crefopay_riskclass')); ?> +get_option('wpsg_mod_crefopay_currency')); ?> + +
+ +get_option('wpsg_mod_crefopay_frameheight'), array('help' => 'wpsg_mod_crefopay_frameheight')); ?> + +
+
+ +
+
+ +
+
+
+
+ view['transactionMapping'] as $crefopay_status => $wpsg_status) { ?> + __('Kein Wechsel', 'wpsg')), $this->arStatus), $this->get_option('wpsg_mod_crefopay_statemapping_'.$crefopay_status)); ?> + +
+
+ +get_option('wpsg_mod_crefopay_mns_notice'), array('labelright' => true)); ?> + + + +
+ +view['url']['redirect_url'], array('readonly' => true, 'nohspc' => true)); ?> +view['url']['basket_url'], array('readonly' => true, 'nohspc' => true)); ?> +view['url']['agb_url'], array('readonly' => true, 'nohspc' => true)); ?> +view['url']['mns_url'], array('readonly' => true, 'nohspc' => true)); ?> +view['url']['jump_url'], array('readonly' => true, 'nohspc' => true)); ?> \ No newline at end of file diff --git a/views/mods/mod_customerbudget/customer_sidebar.phtml b/views/mods/mod_customerbudget/customer_sidebar.phtml new file mode 100644 index 0000000..b2ef044 --- /dev/null +++ b/views/mods/mod_customerbudget/customer_sidebar.phtml @@ -0,0 +1,16 @@ + +
+

+
+ +

+
+ view['mod_customerbudget']['budget']); ?> +
+
\ No newline at end of file diff --git a/views/mods/mod_customerbudget/settings_edit.phtml b/views/mods/mod_customerbudget/settings_edit.phtml new file mode 100644 index 0000000..966faac --- /dev/null +++ b/views/mods/mod_customerbudget/settings_edit.phtml @@ -0,0 +1,9 @@ + +get_option('wpsg_mod_customerbudget_name'), array('help' => 'wpsg_mod_customerbudget_name')); ?> +get_option('wpsg_mod_customerbudget_hint'), array('help' => 'wpsg_mod_customerbudget_hint')); ?> \ No newline at end of file diff --git a/views/mods/mod_customergroup/addedit.phtml b/views/mods/mod_customergroup/addedit.phtml new file mode 100644 index 0000000..1ac02e7 --- /dev/null +++ b/views/mods/mod_customergroup/addedit.phtml @@ -0,0 +1,165 @@ + +
+

+ +

+ view['mode'] == 'edit') { ?> + + + + +

+
+ + writeBackendMessage(); ?> + +
+ + view['mode'] == 'edit') { ?> + + + +
+ +
+ +
+ + callMods('customergroup_edit', array(&$this->view['data'])); ?> + +
+ +
+ +
+ +
+ +
+

+
+ +

+
+ + view['data']->name); ?> + __('Standard', 'wpsg'), + WPSG_BRUTTO => __('Brutto (inkl. Steuer)', 'wpsg'), + WPSG_NETTO => __('Netto (zzgl. Steuer)', 'wpsg') + ), $this->view['data']->calculation); ?> + +
+
+ +
+ +

+ + +

+ +
+ +
+ +
+ +
+ + \ No newline at end of file diff --git a/views/mods/mod_customergroup/index.phtml b/views/mods/mod_customergroup/index.phtml new file mode 100644 index 0000000..8542227 --- /dev/null +++ b/views/mods/mod_customergroup/index.phtml @@ -0,0 +1,217 @@ + +
+ +

+ +

+ + +

+ + writeBackendMessage(); ?> + +
+ + view['data']) > 0) { ?> + + + +
+ + view['data']) > 0) { ?> +
view['count']); ?> +
+ + « + ‹ + view['pages']; ?> + › + » + +
+ + + +
+
+ + +
+ + + + + + +
+ + view['data']) && sizeof($this->view['data']) > 0) { ?> + + + + + + + + + + + view['data'] as $oCustomerGroup) { ?> + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ id); ?> + + name); ?> + + + calculation == WPSG_BRUTTO) { ?> + + calculation == WPSG_NETTO) { ?> + + + + + + customercount); ?> +
+ + + + + + + + + + + + + + + + + + + +
+ + +
+ + view['data']) && sizeof($this->view['data']) > 0) { ?> + +
view['count']); ?> +
+ +
+ « + ‹ + view['pages']; ?> + › + » +
+
+
+ + + +
+
+ + + +
+ + + +
\ No newline at end of file diff --git a/views/mods/mod_customergroup/settings_edit.phtml b/views/mods/mod_customergroup/settings_edit.phtml new file mode 100644 index 0000000..ae69c5c --- /dev/null +++ b/views/mods/mod_customergroup/settings_edit.phtml @@ -0,0 +1,9 @@ + +view['arCustomergroup'], $this->get_option('wpsg_page_mod_kundenverwaltung_group_checkout'), array('help' => 'wpsg_page_mod_kundenverwaltung_group_checkout')); ?> +view['arCustomergroup'], $this->get_option('wpsg_page_mod_kundenverwaltung_group_register'), array('help' => 'wpsg_page_mod_kundenverwaltung_group_register')); ?> diff --git a/views/mods/mod_debitpayment/settings_edit.phtml b/views/mods/mod_debitpayment/settings_edit.phtml new file mode 100644 index 0000000..65af1bc --- /dev/null +++ b/views/mods/mod_debitpayment/settings_edit.phtml @@ -0,0 +1,15 @@ + +get_option('wpsg_mod_debitpayment_name'), array('help' => 'wpsg_mod_debitpayment_name')); ?> +get_option('wpsg_mod_debitpayment_aktiv'), array('help' => 'wpsg_mod_debitpayment_aktiv')); ?> +get_option('wpsg_mod_debitpayment_hint'), array('help' => 'wpsg_mod_debitpayment_hint')); ?> + +
+get_option('wpsg_mod_debitpayment_rabgeb'), true), array('help' => 'wpsg_mod_debitpayment_rabgeb', 'unit' => $this->get_option('wpsg_currency').' / %')); ?> +get_option('wpsg_mod_debitpayment_mwst'), array('help' => 'wpsg_mod_debitpayment_mwst')); ?> +get_option('wpsg_mod_debitpayment_mwstland'), array('help' => 'wpsg_mod_debitpayment_mwstland')); ?> \ No newline at end of file diff --git a/views/mods/mod_deliverynote/deliverymail.phtml b/views/mods/mod_deliverynote/deliverymail.phtml new file mode 100644 index 0000000..b3e1132 --- /dev/null +++ b/views/mods/mod_deliverynote/deliverymail.phtml @@ -0,0 +1,19 @@ + view['customer']['vname']; ?> view['customer']['name']; ?>, + +view['dn']->lnr); ?> + +view['dn']->getProducts() as $p) { ?> +- + + +view['dn']->getDeliveryTimestamp(), true)); ?> + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_deliverynote/deliverymail_html.phtml b/views/mods/mod_deliverynote/deliverymail_html.phtml new file mode 100644 index 0000000..99573f8 --- /dev/null +++ b/views/mods/mod_deliverynote/deliverymail_html.phtml @@ -0,0 +1,21 @@ +

view['customer']['vname']; ?> view['customer']['name']; ?>,

+ +

view['dn']->lnr); ?>

+ + + +

view['dn']->getDeliveryTimestamp(), true)); ?>

+ +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_deliverynote/deliverynote_pdf.phtml b/views/mods/mod_deliverynote/deliverynote_pdf.phtml new file mode 100644 index 0000000..17a613f --- /dev/null +++ b/views/mods/mod_deliverynote/deliverynote_pdf.phtml @@ -0,0 +1,340 @@ +AddPage(); + + if (file_exists($shop->callMod('wpsg_mod_deliverynote', getFilePath, array(''))."wpsg_deliverynote_bp.pdf")) + { + + $pagecount = $pdf->setSourceFile($shop->callMod('wpsg_mod_deliverynote', getFilePath, array(''))."wpsg_deliverynote_bp.pdf"); + $tplidx = $pdf->importPage(1, '/MediaBox'); + $pdf->useTemplate($tplidx, 0, 0, 210); + + } + else if (file_exists($shop->callMod('wpsg_mod_deliverynote', getFilePath, array(''))."wpsg_deliverynote_bp.jpg")) + { + + $pdf->image($shop->callMod('wpsg_mod_deliverynote', getFilePath, array(''))."wpsg_deliverynote_bp.jpg", 0, 0, 210, 297, 'jpg'); + + } + + + if (file_exists($shop->callMod('wpsg_mod_deliverynote', getFilePath, array(''))."wpsg_deliverynote_logo.jpg")) + { + + list($width, $height, $type, $attr) = getimagesize($shop->callMod('wpsg_mod_deliverynote', getFilePath, array(''))."wpsg_deliverynote_logo.jpg"); + + $wPix = (25.4 * $width) / 96; + $hPix = (25.4 * $height) / 96; + + $pdf->image($shop->callMod('wpsg_mod_deliverynote', getFilePath, array(''))."wpsg_deliverynote_logo.jpg", 210 - $wPix, 0, $wPix, $hPix); + + } + + // Absenderadresszeile (Wird in der Konfiguration hinterlegt) + $pdf->SetFont('Arial', '', 6); + $pdf->Text($absender_left, $absender_top, $shop->replaceUniversalPlatzhalter($shop->get_option("wpsg_mod_deliverynote_adressrow"), $shop->view['order']['id'])); + + if ($shop->view['kunde']['kuerzel'] != "") $shop->view['kunde']['kuerzel'] = $shop->view['kunde']['kuerzel'].'-'; + + // Adresse des Kunden + $pdf->SetFont('Arial', '', 12); + $pdf->Text($adress_left, $adress_top, $shop->view['data']['firma']); + $pdf->Text($adress_left, $adress_top + 5, $shop->view['data']['vname'].' '.$shop->view['data']['name']); + $pdf->Text($adress_left, $adress_top + 10, $shop->view['data']['strasse'].' '.$shop->view['data']['hausnr']); + $pdf->Text($adress_left, $adress_top + 15, $shop->view['data']['plz'].' '.$shop->view['data']['ort']); + if ($shop->get_option('wpsg_mod_deliverynote_hideCountry') != '1') $pdf->Text($adress_left, $adress_top + 20, strtoupper($shop->view['oOrder']->getShippingCountryName())); + + // Lieferscheindaten + $pdf->SetFont('Arial', 'B', 16); + $pdf->Text($dndata_left, $dndata_top, $shop->view['title']); + $pdf->SetFont('Arial', 'B', 9); + $pdf->Text($dndata_left, $dndata_top + 6, $shop->view['lnr']); + $pdf->SetFont('Arial', '', 9); + + $pdf->Text($rdata_left + 100, $dndata_top, __("Kunden-Nr", "wpsg")); + $pdf->Text($rdata_left + 100, $dndata_top + 6, (($shop->view['customer']['knr'] != '')?$shop->view['customer']['knr']:$shop->view['customer']['id'])); + + $pdf->Text($rdata_left + 125, $dndata_top, __("Best. Nr.", "wpsg")); + $pdf->Text($rdata_left + 125, $dndata_top + 6, ((trim($shop->view['order']['onr']) != '')?$shop->view['order']['onr']:$shop->view['order']['id'])); + + $pdf->Text($rdata_left + 145, $dndata_top, __("Bestelldatum", "wpsg")); + $pdf->Text($rdata_left + 145, $dndata_top + 6, wpsg_formatTimestamp(strtotime($shop->view['order']['cdate']), true)); + + $pdf->Text($rdata_left + 170, $dndata_top, __("Lieferdatum", "wpsg")); + $pdf->Text($rdata_left + 170, $dndata_top + 6, wpsg_formatTimestamp($shop->view['lDatum'], true)); + + if ($shop->view['oOrder']->isInnerEu()) + { + + $pdf->SetFont('Arial', '', 9); + $pdf->Text($adress_left, $dndata_top + 11.5, __("Innergemeinschaftliche Lieferung.", "wpsg")); + + } + + // Benutzerdefinierte Felder + $arTexte = $shop->callMod('wpsg_mod_deliverynote', 'getTexte', array($shop->view['data']['id'])); + + foreach ((array)$arTexte as $text) + { + + if (isset($text['aktiv']) && $text['aktiv'] == 1) + { + + $pdf->SetFont('Arial', 'B', ((intval($text['fontsize']) > 0)?intval($text['fontsize']):10)); + $pdf->SetTextColor($text['color']); + $pdf->MultiCell($text['x'], $text['y'], 5, utf8_encode($text['text'])); + $pdf->SetTextColor("#000000"); + + } + + } + + } + + } + + // Positionierung der Absenderadresszeile + $absender_left = 25; + $absender_top = 50; + + // Positionierung der Zieladress + $adress_left = 25; + $adress_top = 55; + + // Positionierund des Lieferscheinkopfes + $dndata_left = 25; + $dndata_top = 90; + + // Positionierung der Produktdaten + $prod_left = 25; + $prod_top = 105; + + // Anzahl an Produkten pro Seite + $prod_break = 10; + + $pdf = new wpsg_fpdf(); + $pdf->SetAutoPageBreak(true, 5); + AddDeliverynotePage($this, $pdf); + + $filename = $this->view['filename'].".pdf"; + + $bKopf = false; $pnr = 1; $offset = 0; $count = 0; + foreach ($this->view['data']['products'] as $p) + { + + $product_data = $this->loadProduktArray($this->getProduktID($p['p_id'])); + + if (!$bKopf) + { + + $pdf->SetFont('Arial', 'B', 9); + $pdf->setXY($prod_left, $prod_top); + $pdf->Cell(10, 8, __("Nr.", "wpsg"), 1, 0, 'C'); + + $pdf->setXY($prod_left + 10, $prod_top); + $pdf->Cell(137, 8, "Name", 1, 0, 'L'); + + $pdf->setXY($prod_left + 147, $prod_top); + $pdf->Cell(15, 8, __("Menge", "wpsg"), 1, 0, 'C'); + + $offset = 8; + $bKopf = true; + + } + + /* + if ($this->hasMod('wpsg_mod_varianten') && isset($p['mod_vp_varkey'])) + { + + $variante = $this->callMod('wpsg_mod_varianten', 'getVariantenInfoArray', array($p['mod_vp_varkey'])); + $anr = $variante['akey']; + + } + else + { + + $anr = $product_data['anr']; + + }*/ + + $pdf->SetFont('Arial', '', 9); + $pdf->setXY($prod_left, $prod_top + $offset); + + if ($this->get_option('wpsg_mod_deliverynote_anr') === '1') + { + + $anr = $this->getProductAnr($p['productkey']); + $pdf->Cell(10, 8, $anr, 0, 0, 'C'); /* Artikelnummer anzeigen */ + + } + else + { + + $pdf->Cell(10, 8, $pnr.".", 0, 0, 'C'); + + } + + $produkt_text = $this->getProductName($this->getProduktID($p['p_id']), true); + $produktBeschreibung = trim(strip_tags($p['beschreibung'])); + + if ($this->isOtherLang()) + { + + $trans_db = $this->db->fetchRow("SELECT * FROM `".WPSG_TBL_PRODUCTS."` WHERE `lang_parent` = '".wpsg_q($this->getProduktID($p['productkey']))."' AND `lang_locale` = '".wpsg_q(get_locale())."'"); + + if (is_array($trans_db) && sizeof($trans_db) > 0) + { + + $produkt_text = $trans_db['name']; + $produktBeschreibung = trim(strip_tags($trans_db['beschreibung'])); + + } + + } + + $height = 0; // Höhe der Zeile für den Rahmen + + $pdf->setXY($prod_left + 10, $prod_top + $offset); + + // Produktvariablen + if ($this->hasMod('wpsg_mod_productvars') && $this->get_option("wpsg_mod_rechnungen_showpv") == "1") + { + + $arPV = $this->callMod('wpsg_mod_productvars', 'getAllProductVarValues', array($this->view['data']['id'], $p['productkey'])); + + if (wpsg_isSizedArray($arPV)) + { + + foreach ($arPV as $pv) + { + + $produkt_text .= "\r\n".$pv['name'].': '.$pv['value']; + $height += 5; + + } + + } + + } + + if ($this->get_option('wpsg_mod_deliverynote_anr') === '2') + { + + $anr = $this->getProductAnr($p['productkey']); + $produkt_text .= "\r\n".wpsg_translate(__('Artikelnummer: #1#', 'wpsg'), $anr); + + } + + $produkt_text_cell_width = 137; + $produkt_text_width = $pdf->GetStringWidth($produkt_text); + + $height += 5 * ceil($produkt_text_width / $produkt_text_cell_width) + 3; + + $height_y = $pdf->getY(); + $height = 2 + $pdf->MultiCell($prod_left + 10, $prod_top + $offset + 1.5, 5, utf8_encode($produkt_text), 0, 'L', 0, $produkt_text_cell_width); + + $pdf->setXY($prod_left + 147, $prod_top + $offset); + $pdf->Cell(15, 8, $p['menge'], 0, 0, 'C'); + + /** + * Produktbeschreibung anzeigen Ja/Nein + */ + $pBeschreibungHeight = 0; + if ($this->get_option("wpsg_mod_deliverynote_pdf_beschreibung") == "1" && trim(strip_tags($p['beschreibung'])) != '') + { + + $produktBeschreibung = nl2br($produktBeschreibung); + preg_match_all('/\
/', $produktBeschreibung, $treffer); + $produktBeschreibung = strip_tags($produktBeschreibung); + + $pBeschreibungWidth = $pdf->getStringWidth($produktBeschreibung); + $pBeschreibungHeight = 5 * (ceil($pBeschreibungWidth / $produkt_text_cell_width) + @sizeof($treffer[0])); + + $pdf->SetFont('Arial', 'I', 9); + + $cellY = $pdf->getY(); + $pdf->MultiCell($prod_left + 10, $prod_top + $height + $offset - 1, 5, utf8_encode($produktBeschreibung), 0, 'L', 0, $produkt_text_cell_width); + $pBeschreibungHeight = $pdf->getY() - $cellY - $height + 1; + $pdf->SetFont('Arial', '', 9); + + } + + $height += $pBeschreibungHeight; + + /** + * Variante ? + */ + if ($this->get_option("wpsg_mod_deliverynote_pdf_varianten") == "1" && preg_match('/vp_(.*)/', $p['productkey'])) + { + + $variInfo = $this->callMod('wpsg_mod_varianten', 'getVariantenInfoArray', array($p['productkey'])); + + $height += $pdf->MultiCell($prod_left + 10, $prod_top + $height + $offset - 1.5, 5, utf8_encode(wpsg_translate(__('Variante: #1#', 'wpsg'), $variInfo['key'])), 0, 'L', 0, $produkt_text_cell_width); + + } + + // Jetzt die Rahmen zeichnen + $pdf->Rect($prod_left, $prod_top + $offset, 10, $height); + $pdf->Rect($prod_left + 10, $prod_top + $offset, 137, $height); + $pdf->Rect($prod_left + 147, $prod_top + $offset, 15, $height); + + $offset += $height; + + $pnr ++; + $count ++; + + $summe += $p['price'] * $p['menge']; + + if ($pdf->getY() > 220 || ($count >= $prod_break && sizeof($this->view['data']['products']) > ($pnr - 1))) + { + + AddDeliverynotePage($this, $pdf); + $bKopf = false; $offset = 0; $count = 0; + + } + + } + + $offset += 5; + + if ($this->view['fussText'] != "") + { + + $pdf->MultiCell($prod_left - 1, $prod_top + $offset, 5, utf8_encode($this->view['fussText'])); + $pdf->SetFont('Arial', 'B', 9); + $offset += 10; + + } + + if ($this->view['preview']) + { + $pdf->Output($this->view['filename'], 'I'); + } + else + { + + $pdf->Output($this->callMod('wpsg_mod_deliverynote', 'getFilePath', array($this->view['order']['id'])).$this->view['filename'], 'F'); + + if ($this->view['output'] === true) $pdf->Output($filename, 'I'); + + } + +?> \ No newline at end of file diff --git a/views/mods/mod_deliverynote/foottext_list.phtml b/views/mods/mod_deliverynote/foottext_list.phtml new file mode 100644 index 0000000..8845aab --- /dev/null +++ b/views/mods/mod_deliverynote/foottext_list.phtml @@ -0,0 +1,61 @@ + +view['wpsg_mod_deliverynote']['data']) <= 0) { ?> +

+ + + + + + + + + view['wpsg_mod_deliverynote']['data'] as $key => $d) { ?> + + + + + + + +
get_option('wpsg_mod_deliverynote_foottext_standard') == $key)?'checked="checked"':''); ?> class="wpsg_mod_deliverynote_foottext_standard" name="wpsg_mod_deliverynote_foottext_standard" /> + + + + + +
+ \ No newline at end of file diff --git a/views/mods/mod_deliverynote/order_view_content.phtml b/views/mods/mod_deliverynote/order_view_content.phtml new file mode 100644 index 0000000..0811d5c --- /dev/null +++ b/views/mods/mod_deliverynote/order_view_content.phtml @@ -0,0 +1,150 @@ + +
+

+
+ +

+
+ + view['wpsg_mod_deliverynote']['arDeliverynotes'])) { ?> +

+ + + view['wpsg_mod_deliverynote']['arDeliverynotes'] as $k => $v) { ?> + lnr, + wpsg_formatTimestamp(strtotime($v->cdate), true), + wpsg_formatTimestamp($v->getDeliveryTimestamp(), true) + ); ?>
+
+ + + + view['wpsg_mod_deliverynote']['arNoDeliveredProducts'])) { ?> +
+ + +
+ +
+ + + +
+ + + +
+ + +
+ + + " /> +
+ + + + get_option("wpsg_mod_deliverynote_footer"); + if (!is_array($wpsg_mod_deliverynote_footer)) $wpsg_mod_deliverynote_footer = unserialize($this->get_option("wpsg_mod_deliverynote_footer")); + if (!is_array($wpsg_mod_deliverynote_footer)) $wpsg_mod_deliverynote_footer = Array(); + + ?> + + 0) { ?> + + + +
+
+
+ + + + + + " /> + " /> + +
+ +
+ +
+ +
+ + +
+
+ + \ No newline at end of file diff --git a/views/mods/mod_deliverynote/order_view_row.phtml b/views/mods/mod_deliverynote/order_view_row.phtml new file mode 100644 index 0000000..188349f --- /dev/null +++ b/views/mods/mod_deliverynote/order_view_row.phtml @@ -0,0 +1,15 @@ + + + + + + \ No newline at end of file diff --git a/views/mods/mod_deliverynote/settings_edit.phtml b/views/mods/mod_deliverynote/settings_edit.phtml new file mode 100644 index 0000000..a9a1bae --- /dev/null +++ b/views/mods/mod_deliverynote/settings_edit.phtml @@ -0,0 +1,209 @@ + +
+
+
+
+
+
+
+ +
+
+
+
+
+ + get_option('wpsg_mod_deliverynote_adressrow')); ?> +
+
+ +
+
+
+ view['wpsg_mod_deliverynote']['bp'] !== false) { ?> + + +
+
+ view['wpsg_mod_deliverynote']['bp'] === false) { ?> +

+ + + + + +
+
+
+ +
+
+
+ view['wpsg_mod_deliverynote']['logo'] !== false) { ?> + + +
+
+ view['wpsg_mod_deliverynote']['logo'] === false) { ?> +

+ + + + + +
+
+
+ +
+
+ + + + + + + + + + + + view['wpsg_mod_deliverynote']['fields'] as $f => $field_name) { ?> + + + + + + + + + + +
+ + + + + + + + + + + + +
+ +
+ + + +
+
+ +
+
+ +
+
+ +
view['foottext_list']; ?>
+
+ +
+ +
+ +
+
+ + get_option('wpsg_mod_deliverynote_nrformat'), array('help' => 'wpsg_mod_deliverynote_nrformat')); ?> + get_option('wpsg_mod_deliverynote_nr'), array('help' => 'wpsg_mod_deliverynote_nr')); ?> + get_option('wpsg_mod_deliverynote_url'), array('help' => 'wpsg_mod_deliverynote_url')); ?> + get_option('wpsg_mod_deliverynote_url_standard'), array('help' => 'wpsg_mod_deliverynote_url_standard')); ?> + get_option('wpsg_mod_deliverynote_hideCountry'), array('help' => 'wpsg_mod_deliverynote_hideCountry')); ?> + __('Nicht anzeigen', 'wpsg'), + '1' => __('In Spalte "Nr." zeigen', 'wpsg'), + '2' => __('Als extra Zeile anzeigen', 'wpsg') + ), $this->get_option('wpsg_mod_deliverynote_anr'), array('help' => 'wpsg_mod_deliverynote_anr')); ?> + +
+
+
+ + \ No newline at end of file diff --git a/views/mods/mod_deliverytime/basket_row.phtml b/views/mods/mod_deliverytime/basket_row.phtml new file mode 100644 index 0000000..1bbbdea --- /dev/null +++ b/views/mods/mod_deliverytime/basket_row.phtml @@ -0,0 +1,13 @@ + + + : + + view['wpsg_mod_deliverytime']['deliverytime']; ?> + + \ No newline at end of file diff --git a/views/mods/mod_deliverytime/mail_row.phtml b/views/mods/mod_deliverytime/mail_row.phtml new file mode 100644 index 0000000..ff8bbcc --- /dev/null +++ b/views/mods/mod_deliverytime/mail_row.phtml @@ -0,0 +1,7 @@ +: view['wpsg_mod_deliverytime']['deliverytime']; ?> diff --git a/views/mods/mod_deliverytime/mail_row_html.phtml b/views/mods/mod_deliverytime/mail_row_html.phtml new file mode 100644 index 0000000..d893b35 --- /dev/null +++ b/views/mods/mod_deliverytime/mail_row_html.phtml @@ -0,0 +1,16 @@ + + +   + + : + + + view['wpsg_mod_deliverytime']['deliverytime']; ?> + + \ No newline at end of file diff --git a/views/mods/mod_deliverytime/overview_row.phtml b/views/mods/mod_deliverytime/overview_row.phtml new file mode 100644 index 0000000..29ca640 --- /dev/null +++ b/views/mods/mod_deliverytime/overview_row.phtml @@ -0,0 +1,13 @@ + + + : + + view['wpsg_mod_deliverytime']['deliverytime']; ?> + + diff --git a/views/mods/mod_deliverytime/produkt_edit_allgemein.phtml b/views/mods/mod_deliverytime/produkt_edit_allgemein.phtml new file mode 100644 index 0000000..77a9910 --- /dev/null +++ b/views/mods/mod_deliverytime/produkt_edit_allgemein.phtml @@ -0,0 +1,12 @@ + +get_option('wpsg_mod_deliverytime_mode') == wpsg_mod_deliverytime::MODE_SELECT) { ?> +view['wpsg_mod_deliverytime']['arSelection'], $this->view['wpsg_mod_deliverytime']['deliverytime'], array('noIndex' => true)); ?> +get_option('wpsg_mod_deliverytime_mode') == wpsg_mod_deliverytime::MODE_DAYS) { ?> +view['wpsg_mod_deliverytime']['deliverytime'], array('unit' => __('Tage', 'wpsg'))); ?> + \ No newline at end of file diff --git a/views/mods/mod_deliverytime/settings_edit.phtml b/views/mods/mod_deliverytime/settings_edit.phtml new file mode 100644 index 0000000..d2d26e1 --- /dev/null +++ b/views/mods/mod_deliverytime/settings_edit.phtml @@ -0,0 +1,40 @@ + + __('Angabe von Tagen', 'wpsg'), + wpsg_mod_deliverytime::MODE_SELECT => __('Auswahl', 'wpsg') +), $this->get_option('wpsg_mod_deliverytime_mode'), array('help' => 'wpsg_mod_deliverytime_mode')); ?> +
+ get_option('wpsg_mod_deliverytime_mode_select_values'), array('help' => 'wpsg_mod_deliverytime_mode_select_values', 'hint' => __('Kommagetrennt', 'wpsg'))); ?> + view['wpsg_mod_deliverytime']['arSelection'], $this->get_option('wpsg_mod_deliverytime_mode_select_default'), array('help' => 'wpsg_mod_deliverytime_mode_select_default')); ?> +
+
+ get_option('wpsg_mod_deliverytime_mode_days_default'), array('help' => 'wpsg_mod_deliverytime_mode_days_default')); ?> +
+ +
+ +get_option('wpsg_mod_deliverytime_show_product'), array('help' => 'wpsg_mod_deliverytime_show_product')); ?> +get_option('wpsg_mod_deliverytime_show_basket'), array('help' => 'wpsg_mod_deliverytime_show_basket')); ?> +get_option('wpsg_mod_deliverytime_show_overview'), array('help' => 'wpsg_mod_deliverytime_show_overview')); ?> +get_option('wpsg_mod_deliverytime_show_mail'), array('help' => 'wpsg_mod_deliverytime_show_mail')); ?> + + diff --git a/views/mods/mod_discount/basket_top.phtml b/views/mods/mod_discount/basket_top.phtml new file mode 100644 index 0000000..049e916 --- /dev/null +++ b/views/mods/mod_discount/basket_top.phtml @@ -0,0 +1,14 @@ + +
+

view['wpsg_mod_discount']['value'], $this->get_option('wpsg_currency')), + wpsg_ff($this->view['wpsg_mod_discount']['discount'], $this->get_option('wpsg_currency')), + wpsg_ff($this->view['wpsg_mod_discount']['discountdifference'], $this->get_option('wpsg_currency'))); ?>

+
\ No newline at end of file diff --git a/views/mods/mod_discount/customergroup_edit.phtml b/views/mods/mod_discount/customergroup_edit.phtml new file mode 100644 index 0000000..f826a2e --- /dev/null +++ b/views/mods/mod_discount/customergroup_edit.phtml @@ -0,0 +1,16 @@ + +
+

+

+ +

+
+ view['wpsg_mod_discount']['discount'])); ?> +
+
\ No newline at end of file diff --git a/views/mods/mod_discount/productgroups_addedit_sidebar.phtml b/views/mods/mod_discount/productgroups_addedit_sidebar.phtml new file mode 100644 index 0000000..1f85b65 --- /dev/null +++ b/views/mods/mod_discount/productgroups_addedit_sidebar.phtml @@ -0,0 +1,19 @@ + +
+

+

+ +

+
+ view['wpsg_mod_discount']['data'][0]); ?> + view['wpsg_mod_discount']['data'][1])); ?> + view['wpsg_mod_discount']['data'][2])); ?> + view['wpsg_mod_discount']['data'][3])); ?> +
+
\ No newline at end of file diff --git a/views/mods/mod_discount/produkt_edit_sidebar.phtml b/views/mods/mod_discount/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..a2c272a --- /dev/null +++ b/views/mods/mod_discount/produkt_edit_sidebar.phtml @@ -0,0 +1,19 @@ + +
+

+
+ +

+
+ view['wpsg_mod_discount']['data'][0]); ?> + view['wpsg_mod_discount']['data'][1])); ?> + view['wpsg_mod_discount']['data'][2])); ?> + view['wpsg_mod_discount']['data'][3])); ?> +
+
\ No newline at end of file diff --git a/views/mods/mod_discount/settings_edit.phtml b/views/mods/mod_discount/settings_edit.phtml new file mode 100644 index 0000000..c33a6b9 --- /dev/null +++ b/views/mods/mod_discount/settings_edit.phtml @@ -0,0 +1,175 @@ + + +
+
+
+
+
+
+
+
+
+
+
+ +
+ + get_option('wpsg_mod_discount_productdiscount'), array('help' =>'wpsg_mod_discount_productdiscount')); ?> + + get_option('wpsg_mod_discount_universal'), array('help' => 'wpsg_mod_discount_universal')); ?> + +
+
 
+
+
+
+ +
+
+
+ +
+
+
+ +
+
+

+
+ + hasMod('wpsg_mod_productgroups')) { ?> + get_option('wpsg_mod_discount_productgroupdiscount'), array('help' => 'wpsg_mod_discount_productgroupdiscount')); ?> + + + hasMod('wpsg_mod_customergroup')) { ?> + get_option('wpsg_mod_discount_customergroup'), array('help' => 'wpsg_mod_discount_customergroup')); ?> + + + get_option('wpsg_mod_discount_show'), array ('help' => 'wpsg_mod_discount_show')); ?> + +
+
+
+ +
+
+ +
    + view['wpsg_mod_discount']['hierarchie'] as $discount_typ) { ?> +
  • + + get_option('wpsg_mod_discount_hierarchie'))))?'checked="checked"':''); ?> name="wpsg_mod_discount_hierarchie[]" />  + callMod('wpsg_mod_discount', 'getNameFromType', array($discount_typ)); ?> +
  • + +
+ +

+ + + + +
+
+
+ +
+ +
+ +
+
+
+ +
+
+
+ +
get_option('wpsg_currency')); ?>
+
+
+ + view['data'] as $k => $v) { if ($k > 0) { ?> +
get_option('wpsg_currency')); ?>
+
+
+
+ + +
get_option('wpsg_currency'); ?>
+
+
+ +
+
+
+ +
+ + get_option('wpsg_mod_discount_showBasket')); ?> + +
+ +
+ +
+ +
+ + \ No newline at end of file diff --git a/views/mods/mod_downloadplus/cronmail.phtml b/views/mods/mod_downloadplus/cronmail.phtml new file mode 100644 index 0000000..2e56cda --- /dev/null +++ b/views/mods/mod_downloadplus/cronmail.phtml @@ -0,0 +1,18 @@ + + + + + +view['arOrder'] as $k => $o) { ?> + +get_option('wpsg_mod_downloadplus_autosend') != '1') { ?> +?wpsg_action=wpsg_mod_downloadplus_send&hash=&order= + + + \ No newline at end of file diff --git a/views/mods/mod_downloadplus/cronmail_html.phtml b/views/mods/mod_downloadplus/cronmail_html.phtml new file mode 100644 index 0000000..bddc9d0 --- /dev/null +++ b/views/mods/mod_downloadplus/cronmail_html.phtml @@ -0,0 +1,22 @@ + +

+ +

+ + \ No newline at end of file diff --git a/views/mods/mod_downloadplus/filelist.phtml b/views/mods/mod_downloadplus/filelist.phtml new file mode 100644 index 0000000..6b43615 --- /dev/null +++ b/views/mods/mod_downloadplus/filelist.phtml @@ -0,0 +1,20 @@ + +view['files'])) { ?> +

+ + + \ No newline at end of file diff --git a/views/mods/mod_downloadplus/order_view_sidebar.phtml b/views/mods/mod_downloadplus/order_view_sidebar.phtml new file mode 100644 index 0000000..d100189 --- /dev/null +++ b/views/mods/mod_downloadplus/order_view_sidebar.phtml @@ -0,0 +1,110 @@ + + + +
+

+
+ +

+
+ callMod('wpsg_mod_downloadplus', 'order_view_sidebar_renderList', array($this->view['order_id'])); ?> +
+
\ No newline at end of file diff --git a/views/mods/mod_downloadplus/order_view_sidebar_renderlist.phtml b/views/mods/mod_downloadplus/order_view_sidebar_renderlist.phtml new file mode 100644 index 0000000..834c7c6 --- /dev/null +++ b/views/mods/mod_downloadplus/order_view_sidebar_renderlist.phtml @@ -0,0 +1,66 @@ + +view['messages'])) { ?> +view['messages'] as $m) { ?> +

+ + +view['errors'])) { ?> +view['errors'] as $e) { ?> +

+ + + + + + + + + + view['arFiles'] as $f) { ?> + + + + + + + +
#
+ + 0) { ?> + + + + + + + + + + 0) { ?> + + + + + + 0 && strtotime($f[3]['done']) <= 0) { ?> + + 0) { ?> + + + + + + 0 && strtotime($f[3]['done']) <= 0) { ?> + + +
+
+
+ + \ No newline at end of file diff --git a/views/mods/mod_downloadplus/pdfdownloadmail.phtml b/views/mods/mod_downloadplus/pdfdownloadmail.phtml new file mode 100644 index 0000000..7e11f0e --- /dev/null +++ b/views/mods/mod_downloadplus/pdfdownloadmail.phtml @@ -0,0 +1,18 @@ + +view['kunde']['vname'], $this->view['kunde']['name']); ?> + + + +view['arPDFs'] as $v) { ?> +: ?wpsg_action=wpsg_mod_downloadplus_download&hash=&indi= + + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_downloadplus/pdfdownloadmail_html.phtml b/views/mods/mod_downloadplus/pdfdownloadmail_html.phtml new file mode 100644 index 0000000..e089454 --- /dev/null +++ b/views/mods/mod_downloadplus/pdfdownloadmail_html.phtml @@ -0,0 +1,20 @@ + +

view['kunde']['vname'], $this->view['kunde']['name']); ?>

+ +

+ + + +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_downloadplus/produkt_edit_sidebar.phtml b/views/mods/mod_downloadplus/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..a38ed90 --- /dev/null +++ b/views/mods/mod_downloadplus/produkt_edit_sidebar.phtml @@ -0,0 +1,105 @@ + + + +
+

+
+ +

+
+
view['filesList']; ?>
+ + get_option('wpsg_classicupload') == '1') { ?> + + + " type="text" style="text-align:center;" size="10" id="wpsg_mod_downloadplus_upload" /> + + +

+
+
+ +
+
+

+ +

+
+
+
+
+
+
\ No newline at end of file diff --git a/views/mods/mod_downloadplus/settings_edit.phtml b/views/mods/mod_downloadplus/settings_edit.phtml new file mode 100644 index 0000000..be972f0 --- /dev/null +++ b/views/mods/mod_downloadplus/settings_edit.phtml @@ -0,0 +1,289 @@ + +
+
+
+
+
+
+
+
+
+
+
+ +
+ + get_option('wpsg_mod_downloadplus_filename'), array('help' => 'mod_pdfdownload_einstellungen_filename')); ?> + __('Manuell', 'wpsg'), 1 => __('Nach Zahlung', 'wpsg'), 2 => __('Nach Bestellung', 'wpsg')), $this->get_option('wpsg_mod_downloadplus_indiv_mode'), array('help' => 'mod_pdfdownload_einstellungen_individualisierungsmodus')); ?> + get_option('wpsg_mod_downloadplus_autosend'), array('help' => 'mod_pdfdownload_einstellungen_autosend')); ?> + get_option('wpsg_mod_downloadplus_shipping'), array('help' => 'wpsg_mod_downloadplus_shipping')); ?> + get_option('wpsg_mod_downloadplus_einsplusx'), array('help' => 'wpsg_mod_downloadplus_einsplusx')); ?> + __('Unbegrenzt', 'wpsg'), 1 => __('Nach Downloads', 'wpsg'), 2 => __('Nach Tagen', 'wpsg')), $this->get_option('wpsg_mod_downloadplus_accepted'), array('help' => 'mod_pdfdownload_einstellungen_accepted')); ?> + get_option('wpsg_mod_downloadplus_days'), array('help' => 'wpsg_mod_downloadplus_days')); ?> + get_option('wpsg_mod_downloadplus_downloads'), array('help' => 'wpsg_mod_downloadplus_downloads')); ?> + get_option('wpsg_mod_downloadplus_cleanraiddownloads'), array('help' => 'wpsg_mod_downloadplus_cleanraiddownloads')); ?> + get_option('wpsg_mod_downloadplus_cleanolddownloads'), array('help' => 'wpsg_mod_downloadplus_cleanolddownloads')); ?> + get_option('wpsg_mod_downloadplus_pdfpath'), array('hint' => __('Standard: uploads/wpsg_pdfprodukte/', 'wpsg'), 'help' => 'wpsg_mod_downloadplus_pdfpath')); ?> + get_option('wpsg_mod_downloadplus_pdfindivpath'), array('hint' => __('Standard: uploads/wpsg_pdfprodukte_order/', 'wpsg'), 'help' => 'wpsg_mod_downloadplus_pdfindivpath')); ?> + __('Direkt', 'wpsg'), 1 => __('Gezippt (intern)', 'wpsg')), $this->get_option('wpsg_mod_downloadplus_format'), array('help' => 'wpsg_mod_downloadplus_format')); ?> + __('Gesamtes Dokument', 'wpsg'), 1 => __('Bereich', 'wpsg')), $this->get_option('wpsg_mod_downloadplus_range'), array ('help' => 'wpsg_mod_downloadplus_range')); ?> + + get_option('wpsg_mod_downloadplus_masterpass'), array('help' => 'wpsg_mod_downloadplus_masterpass')); ?> + get_option('wpsg_mod_downloadplus_openpass'), array('help' => 'wpsg_mod_downloadplus_openpass')); ?> +
+
+ +
+
+

+ +
+ + +
+ + +
+ + +
+

+
+
+
+
+
+ +
+
+

hier konfiguriert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#pdfdownloadcronmail'); ?>

+ +
+
+
+
+
+ +
+
+

hier konfiguriert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#pdfdownloadfiles'); ?>

+ +
+
+
+
+
+ +
+
+

get_option('wpsg_lastCron') > 0)?wpsg_formatTimestamp($this->get_option('wpsg_lastCron')):__('Noch nicht ausgeführt', 'wpsg')); ?>

+ +
+
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + view['arTexte'][$i]['align'] == '1')?'checked="checked"':''); ?> /> + + + view['arTexte'][$i]['bg'] == '1')?'checked="checked"':''); ?> /> + + + + + + + + + + + +
: + + + +
+
+ +
+ + get_option('wpsg_mod_downloadplus_memorylimit'), array('help' => 'wpsg_mod_downloadplus_memorylimit')); ?> + get_option('wpsg_mod_downloadplus_timelimit'), array('help' => 'wpsg_mod_downloadplus_timelimit')); ?> + get_option('wpsg_mod_downloadplus_numberformat'), array('help' => 'wpsg_mod_downloadplus_numberformat')); ?> + get_option('wpsg_mod_downloadplus_startnumber'), array('help' => 'wpsg_mod_downloadplus_startnumber')); ?> + get_option('wpsg_mod_downloadplus_attachement'), array('help' => 'wpsg_mod_downloadplus_attachement')); ?> + +
+ +
+ +

+ +

+

+ Hilfe Seite oder in unserem Support Forum.', 'wpsg'); ?> +

+ +

+ :

+ + */5 * * * * /usr/bin/php cron.php + +

+

+

+ /wpshopgermany/cron.php +

+ +
+ +
+
+ + + \ No newline at end of file diff --git a/views/mods/mod_downloadprodukte/order_view_row.phtml b/views/mods/mod_downloadprodukte/order_view_row.phtml new file mode 100644 index 0000000..7ccebd4 --- /dev/null +++ b/views/mods/mod_downloadprodukte/order_view_row.phtml @@ -0,0 +1,15 @@ + + + : + + view['wpsg_mod_downloadprodukte']['arFiles'] as $file) { ?> + + + + \ No newline at end of file diff --git a/views/mods/mod_downloadprodukte/produkt_edit_list.phtml b/views/mods/mod_downloadprodukte/produkt_edit_list.phtml new file mode 100644 index 0000000..926ebd4 --- /dev/null +++ b/views/mods/mod_downloadprodukte/produkt_edit_list.phtml @@ -0,0 +1,22 @@ + +view['prodFiles']) && wpsg_isSizedInt($_REQUEST['edit_id'])) { ?> + + +

+ diff --git a/views/mods/mod_downloadprodukte/produkt_edit_sidebar.phtml b/views/mods/mod_downloadprodukte/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..d409e3f --- /dev/null +++ b/views/mods/mod_downloadprodukte/produkt_edit_sidebar.phtml @@ -0,0 +1,102 @@ + + + + +

+

+
+ + + + +

+
+
view['prodFiles']; ?>
+ + get_option('wpsg_classicupload') == '1') { ?> + + + " type="text" style="text-align:center;" size="10" id="upload_produktfile_button" /> + + +

+
+
+ +
+
+

+ +

+
+
+
+ +
+
+
\ No newline at end of file diff --git a/views/mods/mod_downloadprodukte/settings_edit.phtml b/views/mods/mod_downloadprodukte/settings_edit.phtml new file mode 100644 index 0000000..2ed9ff0 --- /dev/null +++ b/views/mods/mod_downloadprodukte/settings_edit.phtml @@ -0,0 +1,32 @@ + + + __('Tage', 'wpsg'), 1 => __('Downloads', 'wpsg')), $this->get_option('wpsg_mod_downloadprodukte_zt'), array('help' => 'wpsg_mod_downloadprodukte_zt')); ?> +get_option('wpsg_mod_downloadprodukte_days'), array('help' => 'wpsg_mod_downloadprodukte_days')); ?> +get_option('wpsg_mod_downloadprodukte_raid'), array('help' => 'wpsg_mod_downloadprodukte_raid')); ?> +get_option('wpsg_mod_downloadprodukte_zip'), array('help' => 'wpsg_mod_downloadprodukte_zip')); ?> +get_option('wpsg_mod_downloadprodukte_ziptemp'), array('help' => 'wpsg_mod_downloadprodukte_ziptemp')); ?> +get_option('wpsg_mod_downloadprodukte_einsplusx'), array('help' => 'wpsg_mod_downloadprodukte_einsplusx')); ?> + + + + + + + + + + + + + + + + + + diff --git a/views/mods/mod_downloadprodukte/zahlung_downloadprodukt.phtml b/views/mods/mod_downloadprodukte/zahlung_downloadprodukt.phtml new file mode 100644 index 0000000..2785e90 --- /dev/null +++ b/views/mods/mod_downloadprodukte/zahlung_downloadprodukt.phtml @@ -0,0 +1,16 @@ + view['customer']['vname']; ?> view['customer']['name']; ?> + + view['order']['onr'] ?> + + + +view['data']['strLinks']; ?> +get_option('wpsg_mod_downloadprodukte_zt') == '0') { ?> + view['data']['tage']; ?> + +get_option('wpsg_mod_downloadprodukte_days'), __('Sie können die Datei %1% mal herunterladen', 'wpsg')); ?> + + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_downloadprodukte/zahlung_downloadprodukt_html.phtml b/views/mods/mod_downloadprodukte/zahlung_downloadprodukt_html.phtml new file mode 100644 index 0000000..9a87ffc --- /dev/null +++ b/views/mods/mod_downloadprodukte/zahlung_downloadprodukt_html.phtml @@ -0,0 +1,21 @@ +

view['customer']['vname']; ?> view['customer']['name']; ?>

+ +

view['order']['onr'] ?>

+ +

+ + + +get_option('wpsg_mod_downloadprodukte_zt') == '0') { ?> +

view['data']['tage']; ?>

+ +

get_option('wpsg_mod_downloadprodukte_days'), __('Sie können die Datei %1% mal herunterladen', 'wpsg')); ?>

+ + +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_export/produkt_index_aftersearch.phtml b/views/mods/mod_export/produkt_index_aftersearch.phtml new file mode 100644 index 0000000..73ce3cc --- /dev/null +++ b/views/mods/mod_export/produkt_index_aftersearch.phtml @@ -0,0 +1,65 @@ + + + +
+
+

+
+ +

+
+ view['wpsg_mod_export']['arProfile'] as $p) { ?> + + +

+ +
+
+
\ No newline at end of file diff --git a/views/mods/mod_export/produkt_index_head.phtml b/views/mods/mod_export/produkt_index_head.phtml new file mode 100644 index 0000000..23f3759 --- /dev/null +++ b/views/mods/mod_export/produkt_index_head.phtml @@ -0,0 +1,13 @@ + + + + + \ No newline at end of file diff --git a/views/mods/mod_export/profil.phtml b/views/mods/mod_export/profil.phtml new file mode 100644 index 0000000..e272abf --- /dev/null +++ b/views/mods/mod_export/profil.phtml @@ -0,0 +1,287 @@ + + +writeBackendMessage(); ?> + +
+
+ +
+
view['profil']['name']; ?>
+ +
+
+ +
+
+ +
+
view['profil']['data']['filename']; ?>
+
+
+ +
+
+ +
+
view['profil']['data']['separator']; ?>
+
+
+ +
+
+ +
+
+ view['profil']['data']['oneline'] == '1')?'checked="checked"':''); ?> value="1" onchange="" id="wpsg_mod_export_oneline" />
+
+
+ +
+
+ +
+
+ view['profil']['data']['firstlinecolname'] == '1')?'checked="checked"':''); ?> value="1" onchange="" id="wpsg_mod_export_firstlinecolname" id="wpsg_mod_export_firstlinecolname" />
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+ + +
+
+ +
+
+ +
+ + +
+
+
+
+
+ + + + + + + + view['profil']['data']['fields'] as $f_key => $f) { $i ++; ?> + + + + + + + + + + + + + +
view['fields'] as $fieldgroup) + { + + foreach ($fieldgroup['fields'] as $field_key => $field) + { + + if ($field_key == $f['value']) + { + echo $field; + } + + } + + } + + ?>view['arFormats'][$f['format']]; ?> + +
+ + +
+ + \ No newline at end of file diff --git a/views/mods/mod_export/profillist.phtml b/views/mods/mod_export/profillist.phtml new file mode 100644 index 0000000..eb866f2 --- /dev/null +++ b/views/mods/mod_export/profillist.phtml @@ -0,0 +1,25 @@ + +view['arProfile']) > 0) { ?> + +
+ +

+ + + \ No newline at end of file diff --git a/views/mods/mod_export/settings_edit.phtml b/views/mods/mod_export/settings_edit.phtml new file mode 100644 index 0000000..39aec29 --- /dev/null +++ b/views/mods/mod_export/settings_edit.phtml @@ -0,0 +1,107 @@ + + + +
+
+
+
+ + +
+
+
+ callMod('wpsg_mod_export', 'profilList'); ?> +
+
+
\ No newline at end of file diff --git a/views/mods/mod_flexipay/gfx/flexipay.gif b/views/mods/mod_flexipay/gfx/flexipay.gif new file mode 100644 index 0000000..fedda1d Binary files /dev/null and b/views/mods/mod_flexipay/gfx/flexipay.gif differ diff --git a/views/mods/mod_flexipay/gfx/logo_100x25.png b/views/mods/mod_flexipay/gfx/logo_100x25.png new file mode 100644 index 0000000..bd3819d Binary files /dev/null and b/views/mods/mod_flexipay/gfx/logo_100x25.png differ diff --git a/views/mods/mod_flexipay/order_done.phtml b/views/mods/mod_flexipay/order_done.phtml new file mode 100644 index 0000000..dadc4e2 --- /dev/null +++ b/views/mods/mod_flexipay/order_done.phtml @@ -0,0 +1,18 @@ + +view['wpsg_mod_flexipay']['ident'])) { ?> + + +

view['order']['onr'], wpsg_ff($this->view['order']['price_gesamt'], $this->get_option('wpsg_currency'))); ?>

+ +
view['wpsg_mod_flexipay']['paymenttypes']; ?>
+ + +

+ + \ No newline at end of file diff --git a/views/mods/mod_flexipay/settings_edit.phtml b/views/mods/mod_flexipay/settings_edit.phtml new file mode 100644 index 0000000..460b187 --- /dev/null +++ b/views/mods/mod_flexipay/settings_edit.phtml @@ -0,0 +1,77 @@ + + 'INTEGRATOR_TEST', + 'CONNECTOR_TEST' => 'CONNECTOR_TEST', + 'LIVE' => 'LIVE' +), $this->get_option('wpsg_mod_flexipay_integratormode')); ?> + +get_option('wpsg_mod_flexipay_sender'), array('help' => 'wpsg_mod_flexipay_sender')); ?> +get_option('wpsg_mod_flexipay_channelid'), array('help' => 'wpsg_mod_flexipay_channelid')); ?> +get_option('wpsg_mod_flexipay_userid'), array('help' => 'wpsg_mod_flexipay_userid')); ?> +get_option('wpsg_mod_flexipay_password'), array('help' => 'wpsg_mod_flexipay_password')); ?> + +
+ +get_option('wpsg_mod_flexipay_activ')); ?> + 'American Express', + 'BARPAY' => 'BarPay', + 'BOLETO' => 'Boleto', + 'CARTEBLEUE' => 'Carte Bleue', + 'CHINAUNIONPAY' => 'China UnionPay', + 'DANKORT' => 'Dankort', + 'DINERS' => 'Diners', + 'DIRECTDEBIT_SEPA' => 'Direct Debit Sepa', + 'DIRECTDEBIT_SEPA_MIX_DE' => 'Direct Debit Germany and Sepa', + 'DIRECTDEBIT_SEPA_MIX_AT' => 'Direct Debit Austria and Sepa', + 'DIRECTDEBIT_DE' => 'Direct Debit Germany', + 'DIRECTDEBIT_AT' => 'Direct Debit Austria', + 'DISCOVER' => 'Discover', + 'GIROPAY' => 'Giropay', + 'IDEAL' => 'iDeal', + 'INVOICE' => 'Invoice', + 'JCB' => 'JCB', + 'MAESTRO' => 'Maestro', + 'MASTER' => 'MasterCard', + 'PASTEANDPAY_V' => 'PasteAndPay', + 'PAYPAL' => 'PayPal', + 'POSTEPAY' => 'PostePay', + 'SOFORTUEBERWEISUNG' => 'sofort Überweisung', + 'UKASH' => 'Ukash', + 'VISA' => 'Visa', + 'VISADEBIT' => 'Visa Debit', + 'VISAELECTRON' => 'Visa Electron', + 'VPAY' => 'V PAY', + 'VSTATION_V' => 'Voucher Station', + 'AXESS' => 'AXESS', + 'BONUS' => 'Bonus', + 'MAXIMUM' => 'Maximum', + 'WORLD' => 'World', + 'CARDFINANS' => 'CardFinans', + 'ADVANTAGE' => 'Advantage', + 'QOOQO' => 'Qooqo', + 'KLARNA_INVOICE' => 'Klarna Invoice', + 'KLARNA_INSTALLMENTS' => 'Klarna Installments', + 'ASYACARD' => 'AsyaCard' +), @explode(' ', $this->get_option('wpsg_mod_flexipay_paymenttypes')), array('multiple' => '8', 'help' => 'wpsg_mod_flexipay_paymenttypes', 'hint' => __('STRG für Mehrfachauswahl', 'wpsg'))); ?> +get_option('wpsg_mod_flexipay_name'), array('help' => 'wpsg_mod_flexipay_name')); ?> +get_option('wpsg_mod_flexipay_hint'), array('help' => 'wpsg_mod_flexipay_hint')); ?> +get_option('wpsg_mod_flexipay_logo'), array('help' => 'wpsg_mod_flexipay_logo')); ?> + __('Automatisch', 'wpsg'), + 'de' => __('Deutsch', 'wpsg'), + 'en' => __('Englisch', 'wpsg') +), $this->get_option('wpsg_mod_flexipay_language'), array('help' => 'wpsg_mod_flexipay_language')); ?> +get_option('wpsg_mod_flexipay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_flexipay_gebuehr')); ?> +get_option('wpsg_mod_flexipay_mwst')); ?> +get_option('wpsg_mod_flexipay_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?> +
+ +view['wpsg_mod_flexipay']['arPages'], $this->get_option('wpsg_mod_flexipay_successPage'), array('help' => 'wpsg_mod_flexipay_successPage')); ?> +view['wpsg_mod_flexipay']['arPages'], $this->get_option('wpsg_mod_flexipay_errorPage'), array('help' => 'wpsg_mod_flexipay_errorPage')); ?> diff --git a/views/mods/mod_freeshipping/settings_edit.phtml b/views/mods/mod_freeshipping/settings_edit.phtml new file mode 100644 index 0000000..c75fc9f --- /dev/null +++ b/views/mods/mod_freeshipping/settings_edit.phtml @@ -0,0 +1,10 @@ + +get_option('wpsg_mod_freeshipping_bezeichnung'), array('help' => 'wpsg_mod_freeshipping_bezeichnung')); ?> +get_option('wpsg_mod_freeshipping_aktiv'), array('help' => 'wpsg_mod_freeshipping_aktiv')); ?> +get_option('wpsg_mod_freeshipping_minvalue'), array('help' => 'wpsg_mod_freeshipping_minvalue')); ?> \ No newline at end of file diff --git a/views/mods/mod_fuellmenge/priceinfo.phtml b/views/mods/mod_fuellmenge/priceinfo.phtml new file mode 100644 index 0000000..8531cd6 --- /dev/null +++ b/views/mods/mod_fuellmenge/priceinfo.phtml @@ -0,0 +1,11 @@ +
view['wpsg_mod_fuellmenge']['fmenge_preis'], $this->get_option('wpsg_currency')), + wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $this->view['wpsg_mod_fuellmenge']['feinheit']) +); ?>
\ No newline at end of file diff --git a/views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml b/views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..c21c496 --- /dev/null +++ b/views/mods/mod_fuellmenge/produkt_edit_sidebar.phtml @@ -0,0 +1,17 @@ + +
+

+
+ +

+
+ view['data']['arFeinheiten'], $this->view['data']['feinheit']); ?> + view['data']['fmenge'])); ?> +
+
\ No newline at end of file diff --git a/views/mods/mod_fuellmenge/settings_edit.phtml b/views/mods/mod_fuellmenge/settings_edit.phtml new file mode 100644 index 0000000..0c4af8d --- /dev/null +++ b/views/mods/mod_fuellmenge/settings_edit.phtml @@ -0,0 +1,14 @@ + +get_option('wpsg_mod_fuellmenge_einheit'), array('help' => 'wpsg_mod_fuellmenge_einheit')); ?> +get_option('wpsg_mod_fuellmenge_bezug'), array('help' => 'wpsg_mod_fuellmenge_bezug')); ?> +hasMod('wpsg_mod_productindex')) { ?> +get_option('wpsg_mod_fuellmenge_showProductindex_fmenge'), array('help' => 'wpsg_mod_fuellmenge_showProductindex_fmenge')); ?> +get_option('wpsg_mod_fuellmenge_showProductindex_grundpreis'), array('help' => 'wpsg_mod_fuellmenge_showProductindex_grundpreis')); ?> + \ No newline at end of file diff --git a/views/mods/mod_funding/product_bottom.phtml b/views/mods/mod_funding/product_bottom.phtml new file mode 100644 index 0000000..4672c08 --- /dev/null +++ b/views/mods/mod_funding/product_bottom.phtml @@ -0,0 +1,20 @@ + +view['wpsg_mod_funding']['state'] === wpsg_mod_funding::STATE_COMPLETED) { ?> +
+


+
+view['wpsg_mod_funding']['state'] === wpsg_mod_funding::STATE_NOTSTARTET) { ?> +
+


+
+view['wpsg_mod_funding']['state'] === wpsg_mod_funding::STATE_CLOSED) { ?> +
+


+
+ \ No newline at end of file diff --git a/views/mods/mod_funding/product_edit_sidebar.phtml b/views/mods/mod_funding/product_edit_sidebar.phtml new file mode 100644 index 0000000..1e08767 --- /dev/null +++ b/views/mods/mod_funding/product_edit_sidebar.phtml @@ -0,0 +1,48 @@ +
+

+
+ +

+
+ + + + + + view['wpsg_mod_funding']['activ']), array('id' => 'wpsg_mod_funding_activ')); ?> + +
+ + view['wpsg_mod_funding']['start']), array('datepicker' => true)); ?> + view['wpsg_mod_funding']['end']), array('datepicker' => true)); ?> + view['wpsg_mod_funding']['limit']))?$this->view['wpsg_mod_funding']['limit']:'10')); ?> + +
+ + + + +

+ + +
+
\ No newline at end of file diff --git a/views/mods/mod_funding/product_top_afterheadline.phtml b/views/mods/mod_funding/product_top_afterheadline.phtml new file mode 100644 index 0000000..f9bbcf5 --- /dev/null +++ b/views/mods/mod_funding/product_top_afterheadline.phtml @@ -0,0 +1,19 @@ + +
+ +
+ : view['wpsg_mod_funding']['stateLabel']; ?> +
+ +
+
+
view['wpsg_mod_funding']['currentFundingCount'].'/'.$this->view['wpsg_mod_funding']['maxFundingCount']; ?>
+
+ +
\ No newline at end of file diff --git a/views/mods/mod_funding/settings_edit.phtml b/views/mods/mod_funding/settings_edit.phtml new file mode 100644 index 0000000..d3290a6 --- /dev/null +++ b/views/mods/mod_funding/settings_edit.phtml @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/views/mods/mod_giropay/gfx/gc_creditcard.png b/views/mods/mod_giropay/gfx/gc_creditcard.png new file mode 100644 index 0000000..f4e96b8 Binary files /dev/null and b/views/mods/mod_giropay/gfx/gc_creditcard.png differ diff --git a/views/mods/mod_giropay/gfx/gc_directdebit.png b/views/mods/mod_giropay/gfx/gc_directdebit.png new file mode 100644 index 0000000..5d10a71 Binary files /dev/null and b/views/mods/mod_giropay/gfx/gc_directdebit.png differ diff --git a/views/mods/mod_giropay/gfx/gc_giropay.png b/views/mods/mod_giropay/gfx/gc_giropay.png new file mode 100755 index 0000000..c10e889 Binary files /dev/null and b/views/mods/mod_giropay/gfx/gc_giropay.png differ diff --git a/views/mods/mod_giropay/gfx/logo_100x25.png b/views/mods/mod_giropay/gfx/logo_100x25.png new file mode 100644 index 0000000..54d26ee Binary files /dev/null and b/views/mods/mod_giropay/gfx/logo_100x25.png differ diff --git a/views/mods/mod_giropay/order_done.phtml b/views/mods/mod_giropay/order_done.phtml new file mode 100644 index 0000000..c3a144e --- /dev/null +++ b/views/mods/mod_giropay/order_done.phtml @@ -0,0 +1,21 @@ + + +

+<?php echo $this->view['wpsg_mod_giropay']['title']; ?> +get_option('wpsg_mod_giropay_paystart') == '1') { ?> + + \ No newline at end of file diff --git a/views/mods/mod_giropay/settings_edit.phtml b/views/mods/mod_giropay/settings_edit.phtml new file mode 100755 index 0000000..3d526ca --- /dev/null +++ b/views/mods/mod_giropay/settings_edit.phtml @@ -0,0 +1,81 @@ + +get_option('wpsg_mod_giropay_merchantId'), array('help' => 'wpsg_mod_giropay_merchantId')); ?> +get_option('wpsg_mod_giropay_currency'), array('help' => 'wpsg_mod_giropay_currency')); */ ?> +get_option('wpsg_mod_giropay_paystart'), array('help' => 'wpsg_shippay_paystart')); ?> +get_option('wpsg_mod_giropay_subject'), array('help' => 'wpsg_mod_giropay_subject')); ?> +view['wpsg_mod_giropay']['arPages'], $this->get_option('wpsg_mod_giropay_successPage'), array('help' => 'wpsg_mod_giropay_successPage')); ?> +view['wpsg_mod_giropay']['arPages'], $this->get_option('wpsg_mod_giropay_errorPage'), array('help' => 'wpsg_mod_giropay_errorPage')); ?> +
+
+
+
+
+
+
+ get_option('wpsg_mod_giropay_giropay_activ'), array('help' => 'wpsg_shippay_activ')); ?> + get_option('wpsg_mod_giropay_giropay_projectid'), array('help' => 'wpsg_mod_giropay_giropay_projectid')); ?> + get_option('wpsg_mod_giropay_giropay_projectpw'), array('help' => 'wpsg_mod_giropay_giropay_projectpw')); ?> + get_option('wpsg_mod_giropay_giropay_name'), array('help' => 'wpsg_shippay_name')); ?> + get_option('wpsg_mod_giropay_giropay_hint'), array('help' => 'wpsg_shippay_hint')); ?> + get_option('wpsg_giropay_giropay_logo'), array('help' => 'wpsg_shippay_logo')); ?> + get_option('wpsg_mod_giropay_giropay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?> + get_option('wpsg_mod_giropay_giropay_mwst')); ?> + + get_option('wpsg_mod_giropay_giropay_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?> +
+
+
+
+
+
+
+
+
+
+ get_option('wpsg_mod_giropay_creditcard_activ'), array('help' => 'wpsg_shippay_activ')); ?> + get_option('wpsg_mod_giropay_creditcard_projectid'), array('help' => 'wpsg_mod_giropay_creditcard_projectid')); ?> + get_option('wpsg_mod_giropay_creditcard_projectpw'), array('help' => 'wpsg_mod_giropay_creditcard_projectpw')); ?> + get_option('wpsg_mod_giropay_creditcard_name'), array('help' => 'wpsg_shippay_name')); ?> + get_option('wpsg_mod_giropay_creditcard_hint'), array('help' => 'wpsg_shippay_hint')); ?> + get_option('wpsg_mod_giropay_creditcard_logo'), array('help' => 'wpsg_shippay_logo')); ?> + get_option('wpsg_mod_giropay_creditcard_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?> + get_option('wpsg_mod_giropay_creditcard_mwst')); ?> + get_option('wpsg_mod_giropay_creditcard_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?> +
+
+
+
+
+
+
+
+
+
+ get_option('wpsg_mod_giropay_directdebit_activ'), array('help' => 'wpsg_shippay_activ')); ?> + get_option('wpsg_mod_giropay_directdebit_projectid'), array('help' => 'wpsg_mod_giropay_directdebit_projectid')); ?> + get_option('wpsg_mod_giropay_directdebit_projectpw'), array('help' => 'wpsg_mod_giropay_directdebit_projectpw')); ?> + get_option('wpsg_mod_giropay_directdebit_name'), array('help' => 'wpsg_shippay_name')); ?> + get_option('wpsg_mod_giropay_directdebit_hint'), array('help' => 'wpsg_shippay_hint')); ?> + get_option('wpsg_mod_giropay_directdebit_logo'), array('help' => 'wpsg_shippay_logo')); ?> + get_option('wpsg_mod_giropay_directdebit_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?> + get_option('wpsg_mod_giropay_directdebit_mwst')); ?> + get_option('wpsg_mod_giropay_directdebit_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?> +
+
+
+ + diff --git a/views/mods/mod_gutschein/add.phtml b/views/mods/mod_gutschein/add.phtml new file mode 100644 index 0000000..4895269 --- /dev/null +++ b/views/mods/mod_gutschein/add.phtml @@ -0,0 +1,72 @@ + +
+

+

+
+ + writeBackendMessage(); ?> + +
+ + view['mod_gutschein']['value']); ?> + __('Absoluter Betrag', 'wpsg'), + 'p' => __('Prozentual', 'wpsg') + ), $this->view['mod_gutschein']['calc']); ?> + view['mod_gutschein']['start']); ?> + view['mod_gutschein']['end']); ?> + __('Automatisch', 'wpsg'), + '1' => __('Manuell', 'wpsg') + ), wpsg_getStr($this->view['mod_gutschein']['gen']), array('help' => 'wpsg_mod_gutschein_gen')); ?> +
+ view['mod_gutschein']['code']), array('help' => 'wpsg_mod_gutschein_code')); ?> +
+ view['mod_gutschein']['minvalue']), array('help' => 'wpsg_mod_gutschein_minvalue')); ?> + view['mod_gutschein']['count']); ?> + view['mod_gutschein']['multi']); ?> + view['mod_gutschein']['comment']); ?> + hasMod('wpsg_mod_productgroups') && wpsg_isSizedArray($this->view['wpsg_mod_gutschein']['arProductGroups'])) { ?> + view['wpsg_mod_gutschein']['arProductGroups'], $this->view['mod_gutschein']['productgroups'], array('multiple' => ((sizeof($this->view['wpsg_mod_gutschein']['arProductGroups']) > 5)?5:sizeof($this->view['wpsg_mod_gutschein']['arProductGroups'])), 'help' => 'wpsg_mod_gutschein_productgroups')); ?> + + view['wpsg_mod_gutschein']['arProducts'], $this->view['mod_gutschein']['products'], array('multiple' => ((sizeof($this->view['wpsg_mod_gutschein']['arProducts']) > 5)?5:sizeof($this->view['wpsg_mod_gutschein']['arProducts'])), 'help' => 'wpsg_mod_gutschein_products')); ?> + +

+ +

+ + + +
+
\ No newline at end of file diff --git a/views/mods/mod_gutschein/admin_setcapabilities.phtml b/views/mods/mod_gutschein/admin_setcapabilities.phtml new file mode 100644 index 0000000..0f49d85 --- /dev/null +++ b/views/mods/mod_gutschein/admin_setcapabilities.phtml @@ -0,0 +1,19 @@ +prefix."user_roles"); + +?> + + + $r) { ?> + + + name="wpsg_cap[][wpsg_voucher]" value="1" /> + + + + \ No newline at end of file diff --git a/views/mods/mod_gutschein/basket_row_end.phtml b/views/mods/mod_gutschein/basket_row_end.phtml new file mode 100644 index 0000000..9bca86b --- /dev/null +++ b/views/mods/mod_gutschein/basket_row_end.phtml @@ -0,0 +1,17 @@ + + + + + + + + view['error']))?'wpsg_error':''); ?>" type="text" name="wpsg[gutschein]" value="" /> + + + \ No newline at end of file diff --git a/views/mods/mod_gutschein/import.phtml b/views/mods/mod_gutschein/import.phtml new file mode 100644 index 0000000..520f4d0 --- /dev/null +++ b/views/mods/mod_gutschein/import.phtml @@ -0,0 +1,36 @@ + +writeBackendMessage(); ?> + +
+

+

+ +

+
+ + __('Überschreiben', 'wpsg'), '1' => __('Ignorieren', 'wpsg')), '1'); ?> + +
+
+
+ +
+
+ +
+
+
+ +

+ + +

+ +
+
\ No newline at end of file diff --git a/views/mods/mod_gutschein/index.phtml b/views/mods/mod_gutschein/index.phtml new file mode 100644 index 0000000..47659a3 --- /dev/null +++ b/views/mods/mod_gutschein/index.phtml @@ -0,0 +1,332 @@ + +
+

+

+ + + + +

+ + + + 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']; ?> + › + » + +
+ + + +
+
+
+ + " />  +

+ +

+ + +
+
+ + \ No newline at end of file diff --git a/views/mods/mod_gutschein/settings_edit.phtml b/views/mods/mod_gutschein/settings_edit.phtml new file mode 100644 index 0000000..db2c044 --- /dev/null +++ b/views/mods/mod_gutschein/settings_edit.phtml @@ -0,0 +1,9 @@ + +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_icp/gfx/icp.png b/views/mods/mod_icp/gfx/icp.png new file mode 100644 index 0000000..d6fbbe1 Binary files /dev/null and b/views/mods/mod_icp/gfx/icp.png differ diff --git a/views/mods/mod_icp/order_done.phtml b/views/mods/mod_icp/order_done.phtml new file mode 100644 index 0000000..635a0d5 --- /dev/null +++ b/views/mods/mod_icp/order_done.phtml @@ -0,0 +1,18 @@ + +view['wpsg_mod_icp']['ident'])) { ?> + + +

view['order']['onr'], wpsg_ff($this->view['order']['price_gesamt'], $this->get_option('wpsg_currency'))); ?>

+ +
view['wpsg_mod_icp']['paymenttypes']; ?>
+ + +

+ + \ No newline at end of file diff --git a/views/mods/mod_icp/settings_edit.phtml b/views/mods/mod_icp/settings_edit.phtml new file mode 100644 index 0000000..b8566fc --- /dev/null +++ b/views/mods/mod_icp/settings_edit.phtml @@ -0,0 +1,75 @@ + +get_option('wpsg_mod_icp_sandbox'), array('help' => 'wpsg_mod_icp_sandbox')); ?> +get_option('wpsg_mod_icp_sender'), array('help' => 'wpsg_mod_icp_sender')); ?> +get_option('wpsg_mod_icp_channelid'), array('help' => 'wpsg_mod_icp_channelid')); ?> +get_option('wpsg_mod_icp_userid'), array('help' => 'wpsg_mod_icp_userid')); ?> +get_option('wpsg_mod_icp_password'), array('help' => 'wpsg_mod_icp_password')); ?> + +
+ +get_option('wpsg_mod_icp_activ')); ?> + 'American Express', +// 'BARPAY' => 'BarPay', +// 'BOLETO' => 'Boleto', +// 'CARTEBLEUE' => 'Carte Bleue', +// 'CHINAUNIONPAY' => 'China UnionPay', +// 'DANKORT' => 'Dankort', +// 'DINERS' => 'Diners', + 'DIRECTDEBIT_SEPA' => 'Direct Debit Sepa', +// 'DIRECTDEBIT_SEPA_MIX_DE' => 'Direct Debit Germany and Sepa', +// 'DIRECTDEBIT_SEPA_MIX_AT' => 'Direct Debit Austria and Sepa', +// 'DIRECTDEBIT_DE' => 'Direct Debit Germany', +// 'DIRECTDEBIT_AT' => 'Direct Debit Austria', +// 'DISCOVER' => 'Discover', +// 'GIROPAY' => 'Giropay', +// 'IDEAL' => 'iDeal', +// 'INVOICE' => 'Invoice', +// 'JCB' => 'JCB', +// 'MAESTRO' => 'Maestro', + 'MASTER' => 'MasterCard', +// 'PASTEANDPAY_V' => 'PasteAndPay', +// 'PAYPAL' => 'PayPal', +// 'POSTEPAY' => 'PostePay', +// 'SOFORTUEBERWEISUNG' => 'sofort Überweisung', +// 'UKASH' => 'Ukash', + 'VISA' => 'Visa', +// 'VISADEBIT' => 'Visa Debit', +// 'VISAELECTRON' => 'Visa Electron', +// 'VPAY' => 'V PAY', +// 'VSTATION_V' => 'Voucher Station', +// 'AXESS' => 'AXESS', +// 'BONUS' => 'Bonus', +// 'MAXIMUM' => 'Maximum', +// 'WORLD' => 'World', +// 'CARDFINANS' => 'CardFinans', +// 'ADVANTAGE' => 'Advantage', +// 'QOOQO' => 'Qooqo', +// 'KLARNA_INVOICE' => 'Klarna Invoice', +// 'KLARNA_INSTALLMENTS' => 'Klarna Installments', +// 'ASYACARD' => 'AsyaCard' +), @explode(' ', $this->get_option('wpsg_mod_icp_paymenttypes')), array('multiple' => '3', 'help' => 'wpsg_mod_icp_paymenttypes', 'hint' => __('STRG für Mehrfachauswahl', 'wpsg'))); */ ?> +get_option('wpsg_mod_icp_paymenttypes'), array('help' => 'wpsg_mod_icp_paymenttypes')); ?> +get_option('wpsg_mod_icp_name'), array('help' => 'wpsg_mod_icp_name')); ?> +get_option('wpsg_mod_icp_hint'), array('help' => 'wpsg_mod_icp_hint')); ?> +get_option('wpsg_mod_icp_logo'), array('help' => 'wpsg_mod_icp_logo')); ?> + __('Automatisch', 'wpsg'), + 'de' => __('Deutsch', 'wpsg'), + 'en' => __('Englisch', 'wpsg') +), $this->get_option('wpsg_mod_icp_language'), array('help' => 'wpsg_mod_icp_language')); ?> +get_option('wpsg_mod_icp_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?> +get_option('wpsg_mod_icp_mwst'), array('help' => 'wpsg_shippay_mwst')); ?> +get_option('wpsg_mod_icp_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?> +
+ +view['wpsg_mod_icp']['arPages'], $this->get_option('wpsg_mod_icp_successPage'), array('help' => 'wpsg_mod_icp_successPage')); ?> +view['wpsg_mod_icp']['arPages'], $this->get_option('wpsg_mod_icp_errorPage'), array('help' => 'wpsg_mod_icp_errorPage')); ?> + +
ICP Onlinepayments vereinbart werden.', 'wpsg'); ?>
diff --git a/views/mods/mod_invoice_type/settings_edit.phtml b/views/mods/mod_invoice_type/settings_edit.phtml new file mode 100644 index 0000000..25a96c3 --- /dev/null +++ b/views/mods/mod_invoice_type/settings_edit.phtml @@ -0,0 +1,15 @@ + +get_option('wpsg_mod_invoice_type_bezeichnung'), array('help' => 'wpsg_mod_invoice_type_bezeichnung')); ?> +get_option('wpsg_mod_invoide_type_aktiv'), array('help' => 'wpsg_mod_invoice_type_aktiv')); ?> +get_option('wpsg_mod_invoice_type_hint'), array('help' => 'wpsg_mod_invoice_type_hint')); ?> + +
+get_option('wpsg_mod_invoice_type_gebuehr'), true), array('help' => 'wpsg_mod_invoice_type_gebuehr','unit' => $this->get_option('wpsg_currency').' / %')); ?> +get_option('wpsg_mod_invoice_type_mwst'), array('help' => 'wpsg_mod_invoice_type_mwst')); ?> +get_option('wpsg_mod_invoice_type_mwstland'), array('help' => 'wpsg_mod_invoice_type_mwstland')); ?> \ No newline at end of file diff --git a/views/mods/mod_keygen/settings_edit.phtml b/views/mods/mod_keygen/settings_edit.phtml new file mode 100644 index 0000000..46fc904 --- /dev/null +++ b/views/mods/mod_keygen/settings_edit.phtml @@ -0,0 +1,119 @@ + + +
+ + __('wpShopGermany', 'wpsg'), 'wpNewsletterGermany' => __('wpNewsletterGermany', 'wpsg')), ((isset($_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_anwendung']))?$_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_anwendung']:'')); ?> + + 'Light', '2' => 'Pro', '3' => 'Enterprise'), ((isset($_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_lizenz']))?$_SESSION['wpsg_mod_keygen']['wpsg_mod_keygen_lizenz']:'1')); ?> + + + +
+
+ +
+
+ +
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+ + + + +

+ +
+ +
+ +
+ +
+
+ +
+
+ +
+
+ +
+ + + +

+ +

diff --git a/views/mods/mod_klarna/gfx/klarna_rechnung.png b/views/mods/mod_klarna/gfx/klarna_rechnung.png new file mode 100644 index 0000000..70f3963 Binary files /dev/null and b/views/mods/mod_klarna/gfx/klarna_rechnung.png differ diff --git a/views/mods/mod_klarna/gfx/logo_100x25.png b/views/mods/mod_klarna/gfx/logo_100x25.png new file mode 100644 index 0000000..b03852f Binary files /dev/null and b/views/mods/mod_klarna/gfx/logo_100x25.png differ diff --git a/views/mods/mod_klarna/settings_edit.phtml b/views/mods/mod_klarna/settings_edit.phtml new file mode 100644 index 0000000..1085fcc --- /dev/null +++ b/views/mods/mod_klarna/settings_edit.phtml @@ -0,0 +1,25 @@ + +get_option('wpsg_mod_klarna_bezeichnung'), array('help' => 'wpsg_mod_klarna_bezeichnung')); ?> +get_option('wpsg_mod_klarna_aktiv'), array('help' => 'wpsg_mod_klarna_aktiv')); ?> +get_option('wpsg_mod_klarna_aktiv_from'), array('help' => 'wpsg_mod_klarna_aktiv_from')); ?> +get_option('wpsg_mod_klarna_aktiv_to'), array('help' => 'wpsg_mod_klarna_aktiv_to')); ?> +get_option('wpsg_mod_klarna_hint'), array('help' => 'wpsg_mod_klarna_hint')); ?> +
+get_option('wpsg_mod_klarna_merchantID'), array('help' => 'wpsg_mod_klarna_merchantID')); ?> +get_option('wpsg_mod_klarna_sharedSecret'), array('help' => 'wpsg_mod_klarna_sharedSecret')); ?> +
+get_option('wpsg_mod_klarna_sandbox'), array('help' => 'wpsg_mod_klarna_sandbox')); ?> +
+get_option('wpsg_mod_klarna_gebuehr'), true), array('help' => 'wpsg_mod_klarna_gebuehr','unit' => $this->get_option('wpsg_currency').' / %')); ?> +get_option('wpsg_mod_klarna_mwst'), array('help' => 'wpsg_mod_klarna_mwst')); ?> +get_option('wpsg_mod_klarna_mwstland'), array('help' => 'wpsg_mod_klarna_mwstland')); ?> +
+view['pages'], $this->get_option('wpsg_mod_klarna_success'), array('help' => 'wpsg_mod_klarna_success')); ?> +view['pages'], $this->get_option('wpsg_mod_klarna_error'), array('help' => 'wpsg_mod_klarna_error')); ?> + diff --git a/views/mods/mod_kundenkontakt/order_view.phtml b/views/mods/mod_kundenkontakt/order_view.phtml new file mode 100644 index 0000000..fbe8b24 --- /dev/null +++ b/views/mods/mod_kundenkontakt/order_view.phtml @@ -0,0 +1,184 @@ + +view) ?> +
+

+
+ +

+
+
+ +
+ + +
+ + +
+ + get_option('wpsg_htmlmail') === '1') { ?> + + :

+ + + + +
+ + +
+ + +
+ " style="float:right;" /> +
+ +
+ +
+
+
\ No newline at end of file diff --git a/views/mods/mod_kundenkontakt/templates/zahlungsaufforderung.phtml b/views/mods/mod_kundenkontakt/templates/zahlungsaufforderung.phtml new file mode 100644 index 0000000..eb6d61f --- /dev/null +++ b/views/mods/mod_kundenkontakt/templates/zahlungsaufforderung.phtml @@ -0,0 +1,30 @@ +view['basket'] enthält Angaben über den Warenlorb + * $this->view['kunde'] Enthält den Kundendatensatz aus der Datenbank + * $this->view['order'] Enthält den Bestelldatensatz aus der Datenbank + * $this->view['datum'] Enthält das aktuelle Datum (Timestemp) + */ + +?> view['kunde']['vname']; ?> view['kunde']['name']; ?>, + + view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> + +: +%basket_txt% + +: +getDoneURL($this->view['order']['id']); ?> + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_kundenkontakt/templates/zahlungsaufforderung_html.phtml b/views/mods/mod_kundenkontakt/templates/zahlungsaufforderung_html.phtml new file mode 100644 index 0000000..97045d5 --- /dev/null +++ b/views/mods/mod_kundenkontakt/templates/zahlungsaufforderung_html.phtml @@ -0,0 +1,35 @@ +view['basket'] enthält Angaben über den Warenlorb + * $this->view['kunde'] Enthält den Kundendatensatz aus der Datenbank + * $this->view['order'] Enthält den Bestelldatensatz aus der Datenbank + * $this->view['datum'] Enthält das aktuelle Datum (Timestemp) + */ + +?>

view['kunde']['vname']; ?> view['kunde']['name']; ?>,

+ +

view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?>.

+ +

+ +%basket_html% + +
+ +

+ : + +

+ +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_kundenkontakt/templates/zahlungserinnerung.phtml b/views/mods/mod_kundenkontakt/templates/zahlungserinnerung.phtml new file mode 100644 index 0000000..e36ceb5 --- /dev/null +++ b/views/mods/mod_kundenkontakt/templates/zahlungserinnerung.phtml @@ -0,0 +1,30 @@ +view['basket'] enthält Angaben über den Warenlorb + * $this->view['kunde'] Enthält den Kundendatensatz aus der Datenbank + * $this->view['order'] Enthält den Bestelldatensatz aus der Datenbank + * $this->view['datum'] Enthält das aktuelle Datum (Timestemp) + */ + +?> view['kunde']['vname']; ?> view['kunde']['name']; ?>, + + view['order']['cdate'])); ?> view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> + +: +%basket_txt% + +: +getDoneURL($this->view['order']['id']); ?> + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_kundenkontakt/templates/zahlungserinnerung_html.phtml b/views/mods/mod_kundenkontakt/templates/zahlungserinnerung_html.phtml new file mode 100644 index 0000000..2e54f59 --- /dev/null +++ b/views/mods/mod_kundenkontakt/templates/zahlungserinnerung_html.phtml @@ -0,0 +1,34 @@ +view['basket'] enthält Angaben über den Warenlorb + * $this->view['kunde'] Enthält den Kundendatensatz aus der Datenbank + * $this->view['order'] Enthält den Bestelldatensatz aus der Datenbank + * $this->view['datum'] Enthält das aktuelle Datum (Timestemp) + */ + +?>

view['kunde']['vname']; ?> view['kunde']['name']; ?>,

+ +

view['data']['cdate'])); ?> view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?>

+ +

+ +%basket_html% + +
+ +

+ : + +

+ +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/admin_setcapabilities.phtml b/views/mods/mod_kundenverwaltung/admin_setcapabilities.phtml new file mode 100644 index 0000000..39b4838 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/admin_setcapabilities.phtml @@ -0,0 +1,19 @@ +prefix."user_roles"); + +?> + + + $r) { ?> + + + name="wpsg_cap[][wpsg_customer]" value="1" /> + + + + \ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/checkout_customer_inner.phtml b/views/mods/mod_kundenverwaltung/checkout_customer_inner.phtml new file mode 100644 index 0000000..093024b --- /dev/null +++ b/views/mods/mod_kundenverwaltung/checkout_customer_inner.phtml @@ -0,0 +1,23 @@ + +
+ + view['error']))?'wpsg_error':''); ?>" type="password" id="mod_kundenverwaltung_pwd1" name="wpsg[mod_kundenverwaltung][pwd1]" value="" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="password" id="wpsg_mod_kundenverwaltung_pwd2" name="wpsg[mod_kundenverwaltung][pwd2]" value="" /> +
+ +
\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/checkout_login.phtml b/views/mods/mod_kundenverwaltung/checkout_login.phtml new file mode 100644 index 0000000..855449c --- /dev/null +++ b/views/mods/mod_kundenverwaltung/checkout_login.phtml @@ -0,0 +1,32 @@ + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_mod_kundenverwaltung_email" name="wpsg[mod_kundenverwaltung][email]" value="" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="password" id="wpsg_mod_kundenverwaltung_password" name="wpsg[mod_kundenverwaltung][password]" value="" /> +
+ +
+ + + +

+ +
\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/checkout_logout.phtml b/views/mods/mod_kundenverwaltung/checkout_logout.phtml new file mode 100644 index 0000000..b23a0bd --- /dev/null +++ b/views/mods/mod_kundenverwaltung/checkout_logout.phtml @@ -0,0 +1,16 @@ + +
+ + view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$this->view['basket']['checkout']['title']:''); ?> view['basket']['checkout']['vname']); ?> view['basket']['checkout']['name']); ?> + + +

+ +
\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/edit.phtml b/views/mods/mod_kundenverwaltung/edit.phtml new file mode 100644 index 0000000..d550f0f --- /dev/null +++ b/views/mods/mod_kundenverwaltung/edit.phtml @@ -0,0 +1,260 @@ + + + +
+

+

+ view['data']['vname'].' '.$this->view['data']['name']); ?> +

+
+ + writeBackendMessage(); ?> + +
+ +
+ +
+
+ +
+

+

+ +

+
+ + +
+
+ +
+

+

+ +

+
+
+
:
+
+

+ view['data']['countOrder']; ?> + view['data']['countOrder'] > 0) { ?> + [ ] + +

+
+
+
+
+
:
+

view['data']['lastorder'])); ?>

+
+
+ hasMod('wpsg_mod_statistics')) { ?> +
+
get_option('wpsg_currency')); ?>:
+
+

+ #2# / #4# / #6#', 'wpsg'), + WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&filter[status]=500&filter[k_id]='.$this->view['data']['id'], + wpsg_ff($this->view['amountStorno']), + WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&filter[status]=0&filter[k_id]='.$this->view['data']['id'], + wpsg_ff($this->view['amountAll'] - $this->view['amountStorno'] - $this->view['amountPayed']), + WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&filter[status]=100,110&filter[k_id]='.$this->view['data']['id'], + wpsg_ff($this->view['amountPayed']) + ); + ?> +

+
+
+ +
+
+
+ + view['pflicht']['custom'])) { ?> +
+

+

+ +

+
+ view['pflicht']['custom'] as $c_id => $c) { ?> + + view['data']['custom'][$c_id]); ?> + + __('Keine Auswahl', 'wpsg')), explode('|', $c['auswahl'])), @$this->view['data']['custom'][$c_id], array('noIndex' => true)); ?> + + view['data']['custom'][$c_id]); ?> + + +
+
+ + + callMods('wpsg_mod_customer_sidebar', array(&$this->view['data'])); ?> + +
+
+ +
+ +
+ +
+

+
+ +

+
+ view['data']['knr']); ?> + + hasMod('wpsg_mod_customergroup')) { ?> + view['arCustomergroup'], $this->view['data']['group_id']); ?> + + + view['arTitles'], $this->view['data']['title'], array('noIndex' => true)); ?> + view['data']['name']); ?> + view['data']['vname']); ?> + view['data']['geb']), true), array('datepicker' => true, 'hint' => __('Format: TT.MM.JJJJ', 'wpsg'))); ?> + view['data']['email']); ?> + view['data']['firma']); ?> + view['data']['tel']); ?> + view['data']['fax']); ?> + view['data']['strasse']); ?> + view['data']['plz']); ?> + view['data']['ort']); ?> + view['arLand'], $this->view['data']['land']); ?> + view['data']['ustidnr']); ?> + view['data']['status'], array()); ?> + +
+
+ +
+

+
+ +

+
+ +
+
+ +
+ + 0) { ?> + + + +

+ + +

+ +
+ +
+ + +
+
\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/getpwd.phtml b/views/mods/mod_kundenverwaltung/getpwd.phtml new file mode 100644 index 0000000..ef99967 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/getpwd.phtml @@ -0,0 +1,35 @@ + +
+ +

+ +

+ + writeFrontendMessage(); ?> + +
+ +
+ + + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_email" name="wpsg[sendpwd][email]" value="view['data']['email']); ?>" /> + +
+ +
+ + + + ClearSessionErrors(); ?> + +
+ +
+ +
\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/import.phtml b/views/mods/mod_kundenverwaltung/import.phtml new file mode 100644 index 0000000..d8b898b --- /dev/null +++ b/views/mods/mod_kundenverwaltung/import.phtml @@ -0,0 +1,30 @@ + +
+

+

+ + +

+ + writeBackendMessage(); ?> +
+ +
+ +
+
+ + + +

+ + +
+ +
\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/index.phtml b/views/mods/mod_kundenverwaltung/index.phtml new file mode 100644 index 0000000..a8753e4 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/index.phtml @@ -0,0 +1,264 @@ + + + +
+

+

+ + + view['data'])) { ?> + + + +

+ + writeBackendMessage(); ?> + +
+ + hasMod('wpsg_mod_customergroup')) { ?> + + + + + +
+ + view['data'] > 0)) { ?> +
view['count']); ?> +
+ + « + ‹ + view['pages']; ?> + › + » + +
+ + + +
+
+ + +
+ + + + + + + callMods('wpsg_mod_customer_head'); ?> + + view['data']) && sizeof($this->view['data']) > 0) { ?> + + + + + + + + + + + view['data'] as $k) { ?> + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ 0)?$k['knr']:$k['id']); ?> + +   () + + '; ?> + $k['strasse']) && $k['strasse'].' '.isset ($this->$k['hausnr']) && $k['hausnr']; ?>
+
+
+
+ get_option('wpsg_currency'))); ?> + 0) { ?> +
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + +
+ + view['data'] > 0)) { ?> +
+
view['count']); ?> +
+ + « + ‹ + view['pages']; ?> + › + » + +
+ + + +
+
+
+ + + +

+ + +
+ +
\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/login.phtml b/views/mods/mod_kundenverwaltung/login.phtml new file mode 100644 index 0000000..668420e --- /dev/null +++ b/views/mods/mod_kundenverwaltung/login.phtml @@ -0,0 +1,42 @@ + +
+ + writeFrontendMessage(); ?> + +
+
+ +

+ + +
+
+ +
\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/logout.phtml b/views/mods/mod_kundenverwaltung/logout.phtml new file mode 100644 index 0000000..1ae3443 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/logout.phtml @@ -0,0 +1,10 @@ + +
+ hier um sich abzumelden.', 'wpsg'), $this->callMod('wpsg_mod_kundenverwaltung', 'getLogoutURL')); ?> +
\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/mail_activate.phtml b/views/mods/mod_kundenverwaltung/mail_activate.phtml new file mode 100644 index 0000000..07cb0d4 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/mail_activate.phtml @@ -0,0 +1,14 @@ +view['kunde']['vname'], $this->view['kunde']['name']); ?> + + view['kunde']['status'] ?> + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/mail_activate_html.phtml b/views/mods/mod_kundenverwaltung/mail_activate_html.phtml new file mode 100644 index 0000000..c57c69d --- /dev/null +++ b/views/mods/mod_kundenverwaltung/mail_activate_html.phtml @@ -0,0 +1,14 @@ +

view['kunde']['vname'], $this->view['kunde']['name']); ?>

+ +

view['kunde']['status'] ?>

+ +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/mail_pwdrequest.phtml b/views/mods/mod_kundenverwaltung/mail_pwdrequest.phtml new file mode 100644 index 0000000..6052c69 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/mail_pwdrequest.phtml @@ -0,0 +1,19 @@ +view['kunde']['vname'], $this->view['kunde']['name']); ?> + + + + + +view['strLink']; ?> + + + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/mail_pwdrequest_html.phtml b/views/mods/mod_kundenverwaltung/mail_pwdrequest_html.phtml new file mode 100644 index 0000000..51f042d --- /dev/null +++ b/views/mods/mod_kundenverwaltung/mail_pwdrequest_html.phtml @@ -0,0 +1,20 @@ + +

view['kunde']['vname'], $this->view['kunde']['name']); ?>

+ +

+ +

+ + + +

+ +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/mail_pwdsend.phtml b/views/mods/mod_kundenverwaltung/mail_pwdsend.phtml new file mode 100644 index 0000000..bac5a15 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/mail_pwdsend.phtml @@ -0,0 +1,15 @@ +view['kunde']['vname'], $this->view['kunde']['name']); ?> + + + +view['kunde']['passwort']); ?> + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/mail_pwdsend_html.phtml b/views/mods/mod_kundenverwaltung/mail_pwdsend_html.phtml new file mode 100644 index 0000000..18dc959 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/mail_pwdsend_html.phtml @@ -0,0 +1,15 @@ +

view['kunde']['vname'], $this->view['kunde']['name']); ?>

+ +

+ +

view['kunde']['passwort']); ?>

+ +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/mail_register.phtml b/views/mods/mod_kundenverwaltung/mail_register.phtml new file mode 100644 index 0000000..7c015fa --- /dev/null +++ b/views/mods/mod_kundenverwaltung/mail_register.phtml @@ -0,0 +1,26 @@ +view['kunde']['vname'], $this->view['kunde']['name']); ?> + + + +view['kunde']['firma']); ?> +view['kunde']['vname']); ?> +view['kunde']['name']); ?> +view['kunde']['email']); ?> +view['kunde']['tel']); ?> +view['kunde']['fax']); ?> +view['kunde']['strasse']); ?> +view['kunde']['plz']); ?> +view['kunde']['ort']); ?> +view['kunde']['land']); ?> +view['kunde']['ustidnr']); ?> + + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/mail_register_html.phtml b/views/mods/mod_kundenverwaltung/mail_register_html.phtml new file mode 100644 index 0000000..2a302b4 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/mail_register_html.phtml @@ -0,0 +1,61 @@ + +

view['kunde']['vname'], $this->view['kunde']['name']); ?>

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
:view['kunde']['firma']); ?>
:view['kunde']['vname']); ?>
:view['kunde']['name']); ?>
:view['kunde']['email']); ?>
:view['kunde']['tel']); ?>
:view['kunde']['fax']); ?>
:view['kunde']['strasse']); ?>
:view['kunde']['plz']); ?>
:view['kunde']['ort']); ?>
:view['kunde']['land']); ?>
:view['kunde']['ustidnr']); ?>
+ +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/order.phtml b/views/mods/mod_kundenverwaltung/order.phtml new file mode 100644 index 0000000..59853e9 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/order.phtml @@ -0,0 +1,94 @@ +view['arOrder']); + +?> + +
+ + writeFrontendMessage(); ?> + + view['arOrder'])) { ?> + view['arOrder'] as $order) { ?> + +
+ +

get_option('wpsg_currency'))); ?>

+ +
+ :  + arStatus[$order['status']]; ?> + hasMod('wpsg_mod_rechnungen')) { ?> + + callMod('wpsg_mod_rechnungen', 'getOrderInvoice', array($order['id']))) { ?> + + callMod('wpsg_mod_rechnungen', 'getOrderCredit', array($order['id']))) { ?> + + + + +
+ : get_option('wpsg_currency')); ?>
+ : + + + + + + + + + + + + +
+ getProductName($this->getProduktID($p['id']), true); ?> +
: + hasMod('wpsg_mod_varianten') && wpsg_isSizedString($p['mod_vp_varkey'])) { $arVarInfo = $this->callMod('wpsg_mod_varianten', 'getVariantenInfoArray', array($p['mod_vp_varkey'])); ?> +
: + + hasMod('wpsg_mod_downloadplus')) { ?> + callMod('wpsg_mod_downloadplus', 'isPDFProdukt', array($p['id'])) === true) { $arDownloads = $this->callMod('wpsg_mod_downloadplus', 'getIndivFiles', array($p['id'], $order['id'])); ?> + +
0)?$d['file_out']:$d['file'])); ?> + + + + + + + Download', 'wpsg'), $strURL); ?> + + + + +
+ hasMod('wpsg_mod_productvars')) { $arPV = $this->callMod('wpsg_mod_productvars', 'getAllProductVarValues', array($order['id'], $p['product_index'])); ?> + + + : + + + +
+ getFrontendTaxview() == WPSG_NETTO) { ?> + get_option('wpsg_currency')); ?> + + get_option('wpsg_currency')); ?> + +
+ +
+
+ + + +

+ + +
\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/profil.phtml b/views/mods/mod_kundenverwaltung/profil.phtml new file mode 100644 index 0000000..e95e157 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/profil.phtml @@ -0,0 +1,193 @@ + + + + +
+ + writeFrontendMessage(); ?> + +
+ +

+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_firma" name="wpsg[profil][firma]" value="view['data']['firma']); ?>" /> +
+ +
+ + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="vname" name="wpsg[profil][vname]" value="view['data']['vname']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="name" name="wpsg[profil][name]" value="view['data']['name']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="geb" name="wpsg[profil][geb]" value="view['data']['geb']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="email" id="email" name="wpsg[profil][email]" value="view['data']['email']); ?>" /> +
+ + view['pflicht']['emailconfirm'] == '1') { ?> + +
+ + view['error']))?'wpsg_error':''); ?>" type="email" id="email2" name="wpsg[profil][email2]" value="view['data']['email2']); ?>" /> +
+ + + +
+ + view['error']))?'wpsg_error':''); ?>" type="tel" id="fax" name="wpsg[profil][fax]" value="view['data']['fax']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="tel" id="tel" name="wpsg[profil][tel]" value="view['data']['tel']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="strasse" name="wpsg[profil][strasse]" value="view['data']['strasse']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="plz" name="wpsg[profil][plz]" value="view['data']['plz']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="ort" name="wpsg[profil][ort]" value="view['data']['ort']); ?>" /> +
+ +
+ + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[profil][ustidnr]" value="view['data']['ustidnr']); ?>" /> +
+ + + get_option('wpsg_kundenvariablen_show') == '1') { ?> + view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?> +
+ +
+ + + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="password" id="mod_kundenverwaltung_pwd1" name="wpsg[mod_kundenverwaltung][register_pwd1]" value="" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="password" id="wpsg_mod_kundenverwaltung_pwd2" name="wpsg[mod_kundenverwaltung][register_pwd2]" value="" /> +
+ +

+ +
+ *'); ?> +
+ +

+ + + + ClearSessionErrors(); ?> + +
+ +
\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/register.phtml b/views/mods/mod_kundenverwaltung/register.phtml new file mode 100644 index 0000000..01c06ab --- /dev/null +++ b/views/mods/mod_kundenverwaltung/register.phtml @@ -0,0 +1,235 @@ + +view['error']) ?> + + +
+ + writeFrontendMessage(); ?> + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_firma" name="wpsg[register][firma]" value="view['data']['firma']); ?>" /> +
+ +
+ + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="vname" name="wpsg[register][vname]" value="view['data']['vname']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="name" name="wpsg[register][name]" value="view['data']['name']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="email" id="email" name="wpsg[register][email]" value="view['data']['email']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="email" id="email2" name="wpsg[register][email2]" value="view['data']['register']['email2']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="password" id="pwd1" name="wpsg[register][register_pwd1]" value="" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="password" id="pwd2" name="wpsg[register][register_pwd2]" value="" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="geb" name="wpsg[register][geb]" value="view['data']['geb']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="tel" id="fax" name="wpsg[register][fax]" value="view['data']['fax']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="tel" id="tel" name="wpsg[register][tel]" value="view['data']['tel']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="strasse" name="wpsg[register][strasse]" value="view['data']['strasse']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="plz" name="wpsg[register][plz]" value="view['data']['plz']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="ort" name="wpsg[register][ort]" value="view['data']['ort']); ?>" /> +
+ +
+ + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[register][ustidnr]" value="view['data']['ustidnr']); ?>" /> +
+ + + get_option('wpsg_kundenvariablen_show') == '1') { ?> + view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?> +
+ +
+ + + +
+ +
+ *'); ?> +
+ + + + + + + + +
+ + + + ClearSessionErrors(); ?> + +
+
+
\ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/settings_edit.phtml b/views/mods/mod_kundenverwaltung/settings_edit.phtml new file mode 100644 index 0000000..aa472e2 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/settings_edit.phtml @@ -0,0 +1,85 @@ + +get_option('wpsg_mod_kundenverwaltung_perpage'), array('help' => 'wpsg_mod_kundenverwaltung_perpage')); ?> +get_option('wpsg_mod_kundenverwaltung_showCheckoutLogin'), array('help' => 'wpsg_mod_kundenverwaltung_showCheckoutLogin')); ?> +get_option('wpsg_mod_kundenverwaltung_showCheckoutRegister'), array('help' => 'wpsg_mod_kundenverwaltung_showCheckoutRegister')); ?> +get_option('wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand'), array('help' => 'wpsg_mod_kundenverwaltung_showCheckoutRegisterzwand')); ?> +get_option('wpsg_mod_kundenverwaltung_loginZwang'), array('help' => 'wpsg_mod_kundenverwaltung_loginZwang')); ?> + __('Auf Profilseite leiten', 'wpsg'), + '1' => __('Auf aktueller Seite bleiben', 'wpsg') +), $this->get_option('wpsg_mod_kundenverwaltung_redirectlogin'), array('help' => 'wpsg_mod_kundenverwaltung_redirectlogin')); ?> + __('Auf Profilseite leiten', 'wpsg'), + '1' => __('Auf aktueller Seite bleiben', 'wpsg') +), $this->get_option('wpsg_mod_kundenverwaltung_redirectLogout'), array('help' => 'wpsg_mod_kundenverwaltung_redirectLogout')); ?> +get_option('wpsg_page_mod_kundenverwaltung_status'), array('help' => 'wpsg_mod_kundenverwaltung_status')); ?> +
+
+ +
+
+ + +
+
+
+ +
+view['pages'], $this->get_option('wpsg_page_mod_kundenverwaltung_profil')); ?> +view['pages'], $this->get_option('wpsg_page_mod_kundenverwaltung_registrierung')); ?> +view['pages'], $this->get_option('wpsg_page_mod_kundenverwaltung_weiterleitung_nach_registrierung')); ?> +view['pages'], $this->get_option('wpsg_page_mod_kundenverwaltung_order')); ?> +get_option('wpsg_mod_kundenverwaltung_onlylogin'), array('help' => 'wpsg_mod_kundenverwaltung_onlylogin')); ?> +
+ +get_option('wpsg_mod_kundenverwaltung_wpuser'), array('help' => 'wpsg_mod_kundenverwaltung_wpuser_role')); ?> + + +
+get_option('wpsg_mod_kundenverwaltung_aweber'), array('help' => 'wpsg_mod_kundenverwaltung_aweber')); ?> + + +
+
+ E-Mail Konfiguration durchgeführt werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf'); ?> +
+ + \ No newline at end of file diff --git a/views/mods/mod_kundenverwaltung/widget.phtml b/views/mods/mod_kundenverwaltung/widget.phtml new file mode 100644 index 0000000..71129d9 --- /dev/null +++ b/views/mods/mod_kundenverwaltung/widget.phtml @@ -0,0 +1,50 @@ + +
+ + + callMod('wpsg_mod_kundenverwaltung', 'isLoggedIn')) { ?> + +

+ +

+ +
+ +
+ + + +
+ +

+ + + + +

+ + + + + + + +
+ +
+ + + +
\ No newline at end of file diff --git a/views/mods/mod_legaltexts/form_haendlerbund.phtml b/views/mods/mod_legaltexts/form_haendlerbund.phtml new file mode 100644 index 0000000..dfb9663 --- /dev/null +++ b/views/mods/mod_legaltexts/form_haendlerbund.phtml @@ -0,0 +1,39 @@ + + + + +view['wpsg_mod_legaltexts']['form'] == false) { ?> + +

Händlerbund an.', 'wpsg'); ?>

+

+ + +

Pluginverwaltung.', 'wpsg'); ?>

+ + + + + view['wpsg_mod_legaltexts']['form']; ?> + + + + \ No newline at end of file diff --git a/views/mods/mod_legaltexts/form_itrecht.phtml b/views/mods/mod_legaltexts/form_itrecht.phtml new file mode 100644 index 0000000..3764df0 --- /dev/null +++ b/views/mods/mod_legaltexts/form_itrecht.phtml @@ -0,0 +1,37 @@ + + +view['wpsg_mod_legaltexts']['form'] == false) { ?> + +

IT-Recht Kanzlei an.', 'wpsg'); ?>

+ +

+ +

+ + :
+ http://www.it-recht-kanzlei.de/Service/rechtstexte_fuer_onlineshops.php + +

+ + :
+ http://www.agb-pakete.de + +

+ + +

Pluginverwaltung.', 'wpsg'); ?>

+ + + + + view['wpsg_mod_legaltexts']['form']; ?> + + + + \ No newline at end of file diff --git a/views/mods/mod_legaltexts/form_protectedshops.phtml b/views/mods/mod_legaltexts/form_protectedshops.phtml new file mode 100644 index 0000000..e4099c0 --- /dev/null +++ b/views/mods/mod_legaltexts/form_protectedshops.phtml @@ -0,0 +1,27 @@ + + +view['wpsg_mod_legaltexts']['form'] == false) { ?> + +

Protected Shops an.', 'wpsg'); ?>

+

+

5% Rabatt auf das erste Protected Shops Jahresabo mit folgendem Gutscheincode: WP-SHOP (unbedingt bei der Erstregistrierung angeben!)', 'wpsg'); ?>

+ + +

Pluginverwaltung.', 'wpsg'); ?>

+ + + + + + view['wpsg_mod_legaltexts']['form']; ?> +
+ + + + \ No newline at end of file diff --git a/views/mods/mod_legaltexts/settings_edit.phtml b/views/mods/mod_legaltexts/settings_edit.phtml new file mode 100644 index 0000000..96b3b93 --- /dev/null +++ b/views/mods/mod_legaltexts/settings_edit.phtml @@ -0,0 +1,43 @@ + + + __('Protected Shops', 'wpsg'), + wpsg_mod_legaltexts::PROVIDER_HAENDLERBUND => __('Händlerbund', 'wpsg'), + wpsg_mod_legaltexts::PROVIDER_ITRECHT => __('IT-Recht Kanzlei München', 'wpsg') +), $this->get_option('wpsg_mod_legaltexts_provider')); ?> + +
+ +
+ + \ No newline at end of file diff --git a/views/mods/mod_micropayment/debugInfo.phtml b/views/mods/mod_micropayment/debugInfo.phtml new file mode 100644 index 0000000..ce852df --- /dev/null +++ b/views/mods/mod_micropayment/debugInfo.phtml @@ -0,0 +1,33 @@ + +

Modul "Micropayment"

+
+Billing URL (cc): arModule))?$this->arModule['wpsg_mod_micropayment']->event_creditcard_url:''); ?> 
+Billing URL (dbt): arModule))?$this->arModule['wpsg_mod_micropayment']->event_directdebit_url:''); ?> 
+Billing URL (eb2p): arModule))?$this->arModule['wpsg_mod_micropayment']->event_ebank2pay_url:''); ?> 
+Billing URL (pp): arModule))?$this->arModule['wpsg_mod_micropayment']->event_prepayment_url:''); ?> 
+Billing URL (c2p): arModule))?$this->arModule['wpsg_mod_micropayment']->event_call2pay_url:''); ?> 
+Billing URL (hp): arModule))?$this->arModule['wpsg_mod_micropayment']->event_handypay_url:''); ?> 
+(Infoservice) Account-ID: get_option('wpsg_mod_micropayment_projectid'), 0, 1).'('.strlen($this->get_option('wpsg_mod_micropayment_handypay_activ')).')'; ?> 
+Accesskey Länge: get_option('wpsg_mod_micropayment_accesskey')); ?> 
+Version:  
+Aktivierte Bezahlmodule: get_option('wpsg_mod_micropayment_creditcard_activ') == '1') $arPayment[] = 'cc';
+	if ($this->get_option('wpsg_mod_micropayment_directdebit_activ') == '1') $arPayment[] = 'dbt';
+	if ($this->get_option('wpsg_mod_micropayment_ebank2pay_activ') == '1') $arPayment[] = 'eb2p';
+	if ($this->get_option('wpsg_mod_micropayment_prepayment_activ') == '1') $arPayment[] = 'pp';
+	if ($this->get_option('wpsg_mod_micropayment_call2pay_name') == '1') $arPayment[] = 'c2p';
+	if ($this->get_option('wpsg_mod_micropayment_handypay_activ') == '1') $arPayment[] = 'hp';
+
+	if (wpsg_isSizedArray($arPayment)) echo implode(',', $arPayment);
+	else echo 'Keine';
+	
+?> 
+
\ No newline at end of file diff --git a/views/mods/mod_micropayment/gfx/bank2pay.png b/views/mods/mod_micropayment/gfx/bank2pay.png new file mode 100644 index 0000000..097f834 Binary files /dev/null and b/views/mods/mod_micropayment/gfx/bank2pay.png differ diff --git a/views/mods/mod_micropayment/gfx/call2pay.png b/views/mods/mod_micropayment/gfx/call2pay.png new file mode 100644 index 0000000..7e2ba85 Binary files /dev/null and b/views/mods/mod_micropayment/gfx/call2pay.png differ diff --git a/views/mods/mod_micropayment/gfx/chip.png b/views/mods/mod_micropayment/gfx/chip.png new file mode 100644 index 0000000..38e656f Binary files /dev/null and b/views/mods/mod_micropayment/gfx/chip.png differ diff --git a/views/mods/mod_micropayment/gfx/creditcard.png b/views/mods/mod_micropayment/gfx/creditcard.png new file mode 100644 index 0000000..5ebac0c Binary files /dev/null and b/views/mods/mod_micropayment/gfx/creditcard.png differ diff --git a/views/mods/mod_micropayment/gfx/directdebit.png b/views/mods/mod_micropayment/gfx/directdebit.png new file mode 100644 index 0000000..9951453 Binary files /dev/null and b/views/mods/mod_micropayment/gfx/directdebit.png differ diff --git a/views/mods/mod_micropayment/gfx/handypay.png b/views/mods/mod_micropayment/gfx/handypay.png new file mode 100644 index 0000000..8dcd83f Binary files /dev/null and b/views/mods/mod_micropayment/gfx/handypay.png differ diff --git a/views/mods/mod_micropayment/gfx/logo_100x25.png b/views/mods/mod_micropayment/gfx/logo_100x25.png new file mode 100644 index 0000000..2e06ab9 Binary files /dev/null and b/views/mods/mod_micropayment/gfx/logo_100x25.png differ diff --git a/views/mods/mod_micropayment/gfx/prepayment.png b/views/mods/mod_micropayment/gfx/prepayment.png new file mode 100644 index 0000000..2668837 Binary files /dev/null and b/views/mods/mod_micropayment/gfx/prepayment.png differ diff --git a/views/mods/mod_micropayment/order_done.phtml b/views/mods/mod_micropayment/order_done.phtml new file mode 100644 index 0000000..33bc32b --- /dev/null +++ b/views/mods/mod_micropayment/order_done.phtml @@ -0,0 +1,122 @@ + +view['wpsg_mod_micropayment']['payLink'])) { ?> + +

+ +<?php echo $this->view['wpsg_mod_micropayment']['title']; ?> + + get_option('wpsg_mod_micropayment_paystart') == '1') { ?> + + + + + +

+ +
+ +
+
+
+
+
+
+
:
+
+ + / + +
+
+ +
+
+
+
+
+
+
+ + + +
+ +
+ + + + \ No newline at end of file diff --git a/views/mods/mod_micropayment/settings_edit.phtml b/views/mods/mod_micropayment/settings_edit.phtml new file mode 100644 index 0000000..c06c99d --- /dev/null +++ b/views/mods/mod_micropayment/settings_edit.phtml @@ -0,0 +1,213 @@ + +get_option('wpsg_mod_micropayment_accountid')); ?> +get_option('wpsg_mod_micropayment_projectid'), array('help' => 'wpsg_mod_micropayment_projectid')); ?> +get_option('wpsg_mod_micropayment_accesskey'), array('help' => 'wpsg_mod_micropayment_accesskey')); ?> +view['wpsg_mod_micropayment']['arPages'], $this->get_option('wpsg_mod_micropayment_successPage')); ?> +get_option('wpsg_mod_micropayment_paystart')); ?> +view['wpsg_mod_micropayment']['apiURL'], array('readonly' => true, 'hint' => __('Muss im micropayment™ Interface hinterlegt werden.', 'wpsg'), 'help' => 'wpsg_mod_micropayment_apiURL')); ?> +get_option('wpsg_mod_micropayment_sandbox')); ?> +
+get_option('wpsg_mod_micropayment_account'), array('help' => 'wpsg_mod_micropayment_account')); ?> +get_option('wpsg_mod_micropayment_layout'), array('help' => 'wpsg_mod_micropayment_layout')); ?> +get_option('wpsg_mod_micropayment_bgcolor'), array('help' => 'wpsg_mod_micropayment_bgcolor')); ?> +get_option('wpsg_mod_micropayment_campaign'), array('help' => 'wpsg_mod_micropayment_campaign')); ?> +get_option('wpsg_mod_micropayment_bggfx')); ?> +
+
+
+
+
+
+
+ get_option('wpsg_mod_micropayment_creditcard_activ'), array( + /* 'hint' => wpsg_translate(__('Für Abrechnungsbeträge zwischen #1# und #2#', 'wpsg'), wpsg_ff(2.50, $this->get_option('wpsg_currency')), wpsg_ff(500, $this->get_option('wpsg_currency'))) */ + )); ?> + get_option('wpsg_mod_micropayment_creditcard_name')); ?> + get_option('wpsg_mod_micropayment_creditcard_hint')); ?> + get_option('wpsg_mod_micropayment_creditcard_logo')); ?> + get_option('wpsg_mod_micropayment_creditcard_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?> + get_option('wpsg_mod_micropayment_creditcard_mwst')); ?> + get_option('wpsg_mod_micropayment_creditcard_mwstland')); ?> +
+
+
+
+
+
+
+
+
+
+ get_option('wpsg_mod_micropayment_creditcardreservation_activ'), array( + /* 'hint' => wpsg_translate(__('Für Abrechnungsbeträge zwischen #1# und #2#', 'wpsg'), wpsg_ff(2.50, $this->get_option('wpsg_currency')), wpsg_ff(500, $this->get_option('wpsg_currency'))) */ + )); ?> + get_option('wpsg_mod_micropayment_creditcardreservation_name')); ?> + get_option('wpsg_mod_micropayment_creditcardreservation_hint')); ?> + get_option('wpsg_mod_micropayment_creditcardreservation_logo')); ?> + get_option('wpsg_mod_micropayment_creditcardreservation_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?> + get_option('wpsg_mod_micropayment_creditcardreservation_mwst')); ?> + get_option('wpsg_mod_micropayment_creditcardreservation_mwstland')); ?> +
+
+
+
+
+
+
+
+
+
+ get_option('wpsg_mod_micropayment_directdebit_activ')); ?> + get_option('wpsg_mod_micropayment_directdebit_name')); ?> + get_option('wpsg_mod_micropayment_directdebit_hint')); ?> + get_option('wpsg_mod_micropayment_directdebit_logo')); ?> + get_option('wpsg_mod_micropayment_directdebit_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?> + get_option('wpsg_mod_micropayment_directdebit_mwst')); ?> + get_option('wpsg_mod_micropayment_directdebit_mwstland')); ?> + get_option('wpsg_mod_micropayment_directdebit_subject')); ?> +
+
+
+
+
+
+
+
+
+
+ get_option('wpsg_mod_micropayment_ebank2pay_activ'), array( + /* 'hint' => wpsg_translate(__('Für Abrechnungsbeträge zwischen #1# und #2#', 'wpsg'), wpsg_ff(0.50, $this->get_option('wpsg_currency')), wpsg_ff(500, $this->get_option('wpsg_currency'))) */ + )); ?> + get_option('wpsg_mod_micropayment_ebank2pay_name')); ?> + get_option('wpsg_mod_micropayment_ebank2pay_hint')); ?> + get_option('wpsg_mod_micropayment_ebank2pay_logo')); ?> + get_option('wpsg_mod_micropayment_ebank2pay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?> + get_option('wpsg_mod_micropayment_ebank2pay_mwst')); ?> + get_option('wpsg_mod_micropayment_ebank2pay_mwstland')); ?> +
+
+
+
+
+
+
+
+
+
+ get_option('wpsg_mod_micropayment_prepayment_activ')); ?> + get_option('wpsg_mod_micropayment_prepayment_name')); ?> + get_option('wpsg_mod_micropayment_prepayment_hint')); ?> + get_option('wpsg_mod_micropayment_prepayment_logo')); ?> + get_option('wpsg_mod_micropayment_prepayment_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?> + get_option('wpsg_mod_micropayment_prepayment_mwst')); ?> + get_option('wpsg_mod_micropayment_prepayment_mwstland')); ?> + get_option('wpsg_mod_micropayment_prepayment_subject')); ?> +
+
+
+
+
+
+
+
+
+
+ +
+ get_option('wpsg_mod_micropayment_call2pay_activ'), array( + /* 'hint' => wpsg_translate(__('Für Abrechnungsbeträge zwischen #1# und #2#', 'wpsg'), wpsg_ff(0.05, $this->get_option('wpsg_currency')), wpsg_ff(50, $this->get_option('wpsg_currency'))) */ + )); ?> + get_option('wpsg_mod_micropayment_call2pay_name')); ?> + get_option('wpsg_mod_micropayment_call2pay_hint')); ?> + get_option('wpsg_mod_micropayment_call2pay_logo')); ?> + get_option('wpsg_mod_micropayment_call2pay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?> + get_option('wpsg_mod_micropayment_call2pay_mwst')); ?> + get_option('wpsg_mod_micropayment_call2pay_mwstland')); ?> +
+ + get_option('wpsg_mod_micropayment_call2pay_activ') != '1') { ?> +
+ :
+
    +
  • +
  • +
  • +
  • +
+
+ + +
+ +
+ + +
+
+
+
+
+
+
+
+
+
+ +
+ + get_option('wpsg_mod_micropayment_handypay_activ'), array( + /* 'hint' => wpsg_translate(__('Für Abrechnungsbeträge zwischen #1# und #2#', 'wpsg'), wpsg_ff(0.50, $this->get_option('wpsg_currency')), wpsg_ff(5.00, $this->get_option('wpsg_currency'))) */ + )); ?> + get_option('wpsg_mod_micropayment_handypay_name')); ?> + get_option('wpsg_mod_micropayment_handypay_hint')); ?> + get_option('wpsg_mod_micropayment_handypay_logo')); ?> + get_option('wpsg_mod_micropayment_handypay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?> + get_option('wpsg_mod_micropayment_handypay_mwst')); ?> + get_option('wpsg_mod_micropayment_handypay_mwstland')); ?> +
+ + get_option('wpsg_mod_micropayment_handypay_activ') != '1') { ?> +
+ :
+
    +
  • +
  • +
  • +
+
+ + +
+ +
+ + +
+
+
+ + \ No newline at end of file diff --git a/views/mods/mod_minquantity/produkt_edit_allgemein.phtml b/views/mods/mod_minquantity/produkt_edit_allgemein.phtml new file mode 100644 index 0000000..17d18b3 --- /dev/null +++ b/views/mods/mod_minquantity/produkt_edit_allgemein.phtml @@ -0,0 +1,9 @@ + +view['wpsg_mod_minquantity']['value']); ?> +view['wpsg_mod_minquantity']['valuemax']); ?> \ No newline at end of file diff --git a/views/mods/mod_minquantity/settings_edit.phtml b/views/mods/mod_minquantity/settings_edit.phtml new file mode 100644 index 0000000..9a99582 --- /dev/null +++ b/views/mods/mod_minquantity/settings_edit.phtml @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/views/mods/mod_minrequest/settings_edit.phtml b/views/mods/mod_minrequest/settings_edit.phtml new file mode 100644 index 0000000..83c63f1 --- /dev/null +++ b/views/mods/mod_minrequest/settings_edit.phtml @@ -0,0 +1,11 @@ + + +get_option('wpsg_mod_minrequest_basketamount')), array('hint' => __('Gilt für den Brutto Produktpreis. (Ohne Versand- und Zahlungskosten)', 'wpsg'), 'help' => 'wpsg_mod_minrequest_basketamount', 'unit' => $this->get_option('wpsg_currency'))); ?> +get_option('wpsg_mod_minrequest_basketmaxamount')), array('hint' => __('Gilt für den Brutto Produktpreis. (Ohne Versand- und Zahlungskosten)', 'wpsg'), 'help' => 'wpsg_mod_minrequest_basketmaxamount', 'unit' => $this->get_option('wpsg_currency'))); ?> \ No newline at end of file diff --git a/views/mods/mod_newsletter/checkout_customer_inner.phtml b/views/mods/mod_newsletter/checkout_customer_inner.phtml new file mode 100644 index 0000000..8d8ac82 --- /dev/null +++ b/views/mods/mod_newsletter/checkout_customer_inner.phtml @@ -0,0 +1,13 @@ + +
+ +
\ No newline at end of file diff --git a/views/mods/mod_newsletter/customer_sidebar.phtml b/views/mods/mod_newsletter/customer_sidebar.phtml new file mode 100644 index 0000000..417098a --- /dev/null +++ b/views/mods/mod_newsletter/customer_sidebar.phtml @@ -0,0 +1,18 @@ +
+

+
+ +

+
+ view['wpsg_mod_newsletter']['found'] === true) { ?> + + view['wpsg_mod_newsletter']['name'], array('text' => true, 'nohspc' => true)); ?> + view['wpsg_mod_newsletter']['arStatus'], $this->view['wpsg_mod_newsletter']['status']); ?> + view['wpsg_mod_newsletter']['arGroups'], $this->view['wpsg_mod_newsletter']['groupIds'], array('multiple' => ((sizeof($this->view['wpsg_mod_newsletter']['arGroups']) > 5)?5:sizeof($this->view['wpsg_mod_newsletter']['arGroups'])))); ?> + + + + view['wpsg_mod_newsletter']['status'], array('text' => true, 'nohspc' => true)); ?> + +
+
\ No newline at end of file diff --git a/views/mods/mod_newsletter/settings_edit.phtml b/views/mods/mod_newsletter/settings_edit.phtml new file mode 100644 index 0000000..85cba37 --- /dev/null +++ b/views/mods/mod_newsletter/settings_edit.phtml @@ -0,0 +1,63 @@ + +view['plugin_active'] !== true) { ?> +


+ + + view['arGroup'], (array)explode(',', $this->get_option('wpsg_mod_newsletter_groups')), array('help' => 'wpsg_mod_newsletter_groups','multiple' => ((sizeof($this->view['arGroup']) > 5)?5:sizeof($this->view['arGroup'])))); ?> + __('Opt-In Mail versenden', 'wpsg'), '1' => __('Direkt anmelden', 'wpsg')), $this->get_option('wpsg_mod_newsletter_action'), array('help' => 'wpsg_mod_newsletter_action')); ?> + +
+
+ +
+
+ + +
+
+
+ + + + \ No newline at end of file diff --git a/views/mods/mod_nlsatolo/checkout_customer_inner.phtml b/views/mods/mod_nlsatolo/checkout_customer_inner.phtml new file mode 100644 index 0000000..95fb869 --- /dev/null +++ b/views/mods/mod_nlsatolo/checkout_customer_inner.phtml @@ -0,0 +1,15 @@ + +
+ + view['basket']['checkout']['wpsg_mod_nlsatolo'] == '1')?'checked="checked"':''); ?> /> + +
\ No newline at end of file diff --git a/views/mods/mod_onepagecheckout/onepage.phtml b/views/mods/mod_onepagecheckout/onepage.phtml new file mode 100644 index 0000000..2fe1e26 --- /dev/null +++ b/views/mods/mod_onepagecheckout/onepage.phtml @@ -0,0 +1,402 @@ + +
+ + writeFrontendMessage(); ?> + +
+ +
+ + + callMod('wpsg_mod_kundenverwaltung', 'checkout_login'); ?> + +
+ +
+ +
+ +

+ +
+ view['arShipping'] as $s) { ?> +
+ + view['basket']['checkout']['shipping'] == $s['id'] || sizeof($this->view['arShipping']) == 1)?'checked="checked"':''); ?> type="radio" value="" name="wpsg[checkout][shipping]" id="shipping_" /> + + + + +
+ + 0) { ?> +
+ 0) { ?> + : get_option('wpsg_currency')); ?>
+ + replaceUniversalPlatzhalter(__($s['hint'], 'wpsg')); ?> +
+ + +
+ +
+ +
+ +
+ + callMods('checkout_handlePayment') === true) { ?> + + hasMod('wpsg_mod_crefopay')) { ?> +
+ +

+ +
+ view['arPayment'] as $p) { ?> +
+ + view['basket']['checkout']['payment'] == $p['id'] || sizeof($this->view['arPayment']) == 1)?'checked="checked"':''); ?> type="radio" value="" name="wpsg[checkout][payment]" id="payment_" /> + +
+ + + + + + 0) { ?> +
+ 0) { ?> + : get_option('wpsg_currency')); ?>
+ + replaceUniversalPlatzhalter(__($p['hint'], 'wpsg')); ?> +
+ + +
+ +
+ +
+ +
+ + + + +
+ +
+ +
+ +
+ +

+ +
+ +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_firma" name="wpsg[checkout][firma]" value="view['basket']['checkout']['firma']); ?>" /> +
+ +
+ + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="vname" name="wpsg[checkout][vname]" value="view['basket']['checkout']['vname']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="name" name="wpsg[checkout][name]" value="view['basket']['checkout']['name']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="email" id="email" name="wpsg[checkout][email]" value="view['basket']['checkout']['email']); ?>" /> +
+ + view['pflicht']['emailconfirm']) && $this->view['pflicht']['emailconfirm'] == '1') { ?> +
+ + view['error']))?'wpsg_error':''); ?>" type="email" id="email2" name="wpsg[checkout][email2]" value="view['basket']['checkout']['email2']); ?>" /> +
+ + +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="geb" name="wpsg[checkout][geb]" value="view['basket']['checkout']['geb']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="tel" id="fax" name="wpsg[checkout][fax]" value="view['basket']['checkout']['fax']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="tel" id="tel" name="wpsg[checkout][tel]" value="view['basket']['checkout']['tel']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="strasse" name="wpsg[checkout][strasse]" value="view['basket']['checkout']['strasse']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="number" id="plz" name="wpsg[checkout][plz]" value="view['basket']['checkout']['plz']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="ort" name="wpsg[checkout][ort]" value="view['basket']['checkout']['ort']); ?>" /> +
+ +
+ + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[checkout][ustidnr]" value="view['basket']['checkout']['ustidnr']); ?>" /> +
+ + + get_option('wpsg_kundenvariablen_show') == '1') { ?> + view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?> +
+ +
+ + + + +
+ + callMods('checkout_customer_inner'); ?> + +
+ +
+ + callMods('checkout_inner_prebutton', array(&$this->view)); ?> + +
+ +
+ +

+ +
+ +
+ +
+
+ +
+ *'); ?> +
+ +
+ + ClearSessionErrors(); ?> + +
+ + + + +
+ +
+ +
+ + + +
\ No newline at end of file diff --git a/views/mods/mod_onepagecheckout/settings_edit.phtml b/views/mods/mod_onepagecheckout/settings_edit.phtml new file mode 100644 index 0000000..8979df3 --- /dev/null +++ b/views/mods/mod_onepagecheckout/settings_edit.phtml @@ -0,0 +1,8 @@ + +view['arPages'], $this->get_option('wpsg_mod_onepagecheckout_page'), array('help' => 'wpsg_mod_onepagecheckout_page')); ?> \ No newline at end of file diff --git a/views/mods/mod_ordercondition/list.phtml b/views/mods/mod_ordercondition/list.phtml new file mode 100644 index 0000000..5594678 --- /dev/null +++ b/views/mods/mod_ordercondition/list.phtml @@ -0,0 +1,121 @@ + + +view['wpsg_mod_ordercondition']['data']) || sizeof($this->view['wpsg_mod_ordercondition']['data']) <= 0) { ?> + + +view['wpsg_mod_ordercondition']['data'] as $oc) { $i ++; ?> + +
+ + true, 'remove' => '1')); ?> + true, 'class_text' => 'wpsg_mod_ordercondition_edit_name wpsg_editable')); ?> + __('Inaktiv', 'wpsg'), '1' => __('Jede Bestellung', 'wpsg'), '2' => __('Bestimmte Produkte', 'wpsg')), $oc['typ'], array('class_select' => 'wpsg_editable wpsg_mod_ordercondition_edit_typ')); ?> + +
+
+ +
+
+

+ +

+
+
+
+ + + +
+
+ +
+
+

+ +

+
+
+
+ + + + view['wpsg_mod_ordercondition']['data'])) { ?>

+ +
+ + + \ No newline at end of file diff --git a/views/mods/mod_ordercondition/overview_top.phtml b/views/mods/mod_ordercondition/overview_top.phtml new file mode 100644 index 0000000..2ac9e44 --- /dev/null +++ b/views/mods/mod_ordercondition/overview_top.phtml @@ -0,0 +1,25 @@ + +view['wpsg_mod_ordercondition']['data'] as $oc) { ?> +
+ + = $minLength) { ?> +
+ +
+ \ No newline at end of file diff --git a/views/mods/mod_ordercondition/produkt_edit_sidebar.phtml b/views/mods/mod_ordercondition/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..fc70b85 --- /dev/null +++ b/views/mods/mod_ordercondition/produkt_edit_sidebar.phtml @@ -0,0 +1,18 @@ + +
+

+
+ +

+
+ view['wpsg_mod_ordercondition']['data'] as $oc) { ?> + + +
+
\ No newline at end of file diff --git a/views/mods/mod_ordercondition/settings_edit.phtml b/views/mods/mod_ordercondition/settings_edit.phtml new file mode 100644 index 0000000..4bef845 --- /dev/null +++ b/views/mods/mod_ordercondition/settings_edit.phtml @@ -0,0 +1,168 @@ + + + +hasMod('wpsg_mod_crefopay')) { ?> +

+ +

+ + +
+ +
+
+
+ + +
+
+
+ +
+ callMod('wpsg_mod_ordercondition', 'oc_list'); ?> +
+ +
\ No newline at end of file diff --git a/views/mods/mod_orderupload/checkout_inner_prebutton.phtml b/views/mods/mod_orderupload/checkout_inner_prebutton.phtml new file mode 100644 index 0000000..1c347b6 --- /dev/null +++ b/views/mods/mod_orderupload/checkout_inner_prebutton.phtml @@ -0,0 +1,26 @@ + +
+
get_option('wpsg_mod_orderupload_optional') != '1') { ?>*
+
+ + + + +
+
+ $ou) { ?> + + + +  
+ + + +
+
\ No newline at end of file diff --git a/views/mods/mod_orderupload/order_view_sidebar.phtml b/views/mods/mod_orderupload/order_view_sidebar.phtml new file mode 100644 index 0000000..759a153 --- /dev/null +++ b/views/mods/mod_orderupload/order_view_sidebar.phtml @@ -0,0 +1,22 @@ + +
+

+

+ +

+
+ view['arFiles'])) { ?> +

+ + view['arFiles'] as $f) { ?> + (callMod('wpsg_mod_orderupload', 'getSavePath', array($this->view['data']['id'])).$f); ?>)
+ + +
+
\ No newline at end of file diff --git a/views/mods/mod_orderupload/settings_edit.phtml b/views/mods/mod_orderupload/settings_edit.phtml new file mode 100644 index 0000000..6750fba --- /dev/null +++ b/views/mods/mod_orderupload/settings_edit.phtml @@ -0,0 +1,11 @@ + +get_option('wpsg_mod_orderupload_filename'), array('help' => 'wpsg_mod_orderupload_filename')); ?> +get_option('wpsg_mod_orderupload_allowedext'), array('help' => 'wpsg_mod_orderupload_allowedext')); ?> +get_option('wpsg_mod_orderupload_multifiles'), array('help' => 'wpsg_mod_orderupload_multifiles')); ?> +get_option('wpsg_mod_orderupload_optional'), array('help' => 'wpsg_mod_orderupload_optional')); ?> \ No newline at end of file diff --git a/views/mods/mod_ordervars/checkout_inner_prebutton.phtml b/views/mods/mod_ordervars/checkout_inner_prebutton.phtml new file mode 100644 index 0000000..20c3997 --- /dev/null +++ b/views/mods/mod_ordervars/checkout_inner_prebutton.phtml @@ -0,0 +1,44 @@ + +
+ +

+ +
+ +
+ view['wpsg_mod_ordervars']['data'] as $ov) { ?> +
+ + + + +
+ + + + view['error']))?'wpsg_error':''); ?> " type="text" name="wpsg_mod_ordervars[]" value="" id="wpsg_mod_ordervars_" /> + +
+ +
+
+ +
+
\ No newline at end of file diff --git a/views/mods/mod_ordervars/mail.phtml b/views/mods/mod_ordervars/mail.phtml new file mode 100644 index 0000000..5d1f563 --- /dev/null +++ b/views/mods/mod_ordervars/mail.phtml @@ -0,0 +1,13 @@ + +: + +view['wpsg_mod_ordervars']['data'] as $ov) { ?> +: + diff --git a/views/mods/mod_ordervars/mail_html.phtml b/views/mods/mod_ordervars/mail_html.phtml new file mode 100644 index 0000000..8c2ee2f --- /dev/null +++ b/views/mods/mod_ordervars/mail_html.phtml @@ -0,0 +1,18 @@ + +

:

+ + + view['wpsg_mod_ordervars']['data'] as $ov) { ?> + + + + + +
:
\ No newline at end of file diff --git a/views/mods/mod_ordervars/order_view_sidebar.phtml b/views/mods/mod_ordervars/order_view_sidebar.phtml new file mode 100644 index 0000000..36f5394 --- /dev/null +++ b/views/mods/mod_ordervars/order_view_sidebar.phtml @@ -0,0 +1,63 @@ + +
+

+
+ +

+
+ view['wpsg_mod_ordervars']['data'] as $ov_id => $ov) { ?> + + callMod('wpsg_mod_ordervars', 'getNameById', array($ov['id'])), $this->callMod('wpsg_mod_ordervars', 'getValueByIdAndOrder', array($ov_id, $_REQUEST['edit_id'])), array('text' => true, 'class_text' => 'wpsg_editable')); ?> + + + + +
+
diff --git a/views/mods/mod_ordervars/ov_list.phtml b/views/mods/mod_ordervars/ov_list.phtml new file mode 100644 index 0000000..4eaf955 --- /dev/null +++ b/views/mods/mod_ordervars/ov_list.phtml @@ -0,0 +1,121 @@ + +view['data']) && sizeof($this->view['data']) > 0) { ?> + + + + + + + + + view['data'] as $ov) { $i ++; ?> + + + + + + + + + + + + +
mod->arTypen[$ov['typ']]; ?> id="wpsg_ov_pflicht_" /> + + + + + +
+ : + + +
+ + + \ No newline at end of file diff --git a/views/mods/mod_ordervars/settings_edit.phtml b/views/mods/mod_ordervars/settings_edit.phtml new file mode 100644 index 0000000..6f6a82b --- /dev/null +++ b/views/mods/mod_ordervars/settings_edit.phtml @@ -0,0 +1,49 @@ + + +

+

+
+
+ +
+
+
+ + +
+
+
+
+ mod->ov_list(); ?> +
+ +
\ No newline at end of file diff --git a/views/mods/mod_packagetracking/mail_status.phtml b/views/mods/mod_packagetracking/mail_status.phtml new file mode 100644 index 0000000..acebfe6 --- /dev/null +++ b/views/mods/mod_packagetracking/mail_status.phtml @@ -0,0 +1,2 @@ + +Paketverfolgung: view['wpsg_mod_packagetracking']['trackingURL']; ?> diff --git a/views/mods/mod_packagetracking/mail_status_html.phtml b/views/mods/mod_packagetracking/mail_status_html.phtml new file mode 100644 index 0000000..f303965 --- /dev/null +++ b/views/mods/mod_packagetracking/mail_status_html.phtml @@ -0,0 +1,3 @@ +

+ +

\ No newline at end of file diff --git a/views/mods/mod_packagetracking/order_view_switchStatus.phtml b/views/mods/mod_packagetracking/order_view_switchStatus.phtml new file mode 100644 index 0000000..8cd79bc --- /dev/null +++ b/views/mods/mod_packagetracking/order_view_switchStatus.phtml @@ -0,0 +1,53 @@ + +
+
+ : +
+
+ + +
+ view['wpsg_mod_packagetracking']['oOrder']->wpsg_mod_packagetracking_code)) { ?> + + +
+
+
+ + + \ No newline at end of file diff --git a/views/mods/mod_packagetracking/settings_edit.phtml b/views/mods/mod_packagetracking/settings_edit.phtml new file mode 100644 index 0000000..140de2e --- /dev/null +++ b/views/mods/mod_packagetracking/settings_edit.phtml @@ -0,0 +1,70 @@ + + + + +
+ +
+
+
+ + +
+
+
+
+ callMod('wpsg_mod_packagetracking', 'renderTrackingList'); ?> +
+ +
\ No newline at end of file diff --git a/views/mods/mod_packagetracking/settings_edit_list.phtml b/views/mods/mod_packagetracking/settings_edit_list.phtml new file mode 100644 index 0000000..e3b6d2f --- /dev/null +++ b/views/mods/mod_packagetracking/settings_edit_list.phtml @@ -0,0 +1,87 @@ + +view['wpsg_mod_packagetracking']['provider'])) { ?> + + + + + + + view['wpsg_mod_packagetracking']['provider'] as $p) { $i ++; ?> + + + + + + + + + + + + + + + + view['wpsg_mod_packagetracking']['provider'])) { ?> + + + +
: + +
: + + + +
: + + + + + +

+ + +

+ \ No newline at end of file diff --git a/views/mods/mod_packagetracking/wpsg_mod_versandarten_listrow.phtml b/views/mods/mod_packagetracking/wpsg_mod_versandarten_listrow.phtml new file mode 100644 index 0000000..24da962 --- /dev/null +++ b/views/mods/mod_packagetracking/wpsg_mod_versandarten_listrow.phtml @@ -0,0 +1,42 @@ + + + + : + + + + + + + + + + + \ No newline at end of file diff --git a/views/mods/mod_pap/settings_edit.phtml b/views/mods/mod_pap/settings_edit.phtml new file mode 100644 index 0000000..64fdb30 --- /dev/null +++ b/views/mods/mod_pap/settings_edit.phtml @@ -0,0 +1,14 @@ + +get_option('wpsg_paplogin_pap_url'), array('help' => 'wpsg_paplogin_pap_url')); ?> +get_option('wpsg_paplogin_admin'), array('help' => 'wpsg_paplogin_admin')); ?> +get_option('wpsg_paplogin_passwort'), array('help' => 'wpsg_paplogin_passwort')); ?> +get_option('wpsg_paplogin_register'), array('help' => 'wpsg_paplogin_register')); ?> +get_option('wpsg_pap_registrierung'), array('help' => 'wpsg_pap_registrierung')); ?> + __('Nicht integrieren', 'wpsg'), '1' => __('IFrame Lösung', 'wpsg'), '2' => __('Verlinkung', 'wpsg')), $this->get_option('wpsg_pap_include_profil'), array('help' => 'wpsg_pap_include_profil')); ?> +get_option('wpsg_pap_order_tracking')); ?> diff --git a/views/mods/mod_paypal/order_done.phtml b/views/mods/mod_paypal/order_done.phtml new file mode 100644 index 0000000..6a226b5 --- /dev/null +++ b/views/mods/mod_paypal/order_done.phtml @@ -0,0 +1,25 @@ + + +

+

+ + <?php echo __('Mit PayPal bezahlen', 'wpsg'); ?> + +

+get_option('wpsg_mod_paypal_autostart') == '1') { ?> + + \ No newline at end of file diff --git a/views/mods/mod_paypal/order_view_afterpayment.phtml b/views/mods/mod_paypal/order_view_afterpayment.phtml new file mode 100644 index 0000000..147de14 --- /dev/null +++ b/views/mods/mod_paypal/order_view_afterpayment.phtml @@ -0,0 +1,27 @@ + + +view['oOrder']->getMeta('wpsg_mod_paypal_paymentid'))) { ?> + +
+
+ +
+
+

view['oOrder']->getMeta('wpsg_mod_paypal_paymentid'), $this->view['oOrder']->getMeta('wpsg_mod_paypal_paymentstate')); ?>

+
+
+
+ + + +view['oOrder']->getMeta('wpsg_mod_paypal_saleid'))) { ?> + + view['oOrder']->getMeta('wpsg_mod_paypal_saleid'), array('text' => true)); ?> + + diff --git a/views/mods/mod_paypal/settings_edit.phtml b/views/mods/mod_paypal/settings_edit.phtml new file mode 100644 index 0000000..681959e --- /dev/null +++ b/views/mods/mod_paypal/settings_edit.phtml @@ -0,0 +1,95 @@ + + +get_option('wpsg_mod_paypal_bezeichnung'), array('help' => 'wpsg_shippay_name')); ?> +get_option('wpsg_mod_paypal_aktiv'), array('help' => 'wpsg_shippay_activ')); ?> +get_option('wpsg_mod_paypal_hint'), array('help' => 'wpsg_shippay_hint')); ?> +
+ __('Classic API', 'wpsg'), '1' => __('REST API', 'wpsg')), $this->get_option('wpsg_mod_paypal_mode'), array('help' => 'wpsg_mod_paypal_mode')); ?> + +
+ + get_option('wpsg_mod_paypal_email'), array('help' => 'wpsg_mod_paypal_email')); ?> + +
+ PayPal Starter genutzt. Fortführende Details finden Sie im Paypal Starter Integrationshandbuch.', 'wpsg'); ?> + +
+ +
+ +
+ + get_option('wpsg_mod_paypal_clientid'), array('hint' => wpsg_translate('nohspc_'.__('Erhalten Sie im PayPal Developer Interface.', 'wpsg'), 'https://developer.paypal.com/'), 'help' => 'wpsg_mod_paypal_clientid')); ?> + get_option('wpsg_mod_paypal_secret'), array('hint' => wpsg_translate('nohspc_'.__('Erhalten Sie im PayPal Developer Interface.', 'wpsg'), 'https://developer.paypal.com/'), 'help' => 'wpsg_mod_paypal_secret')); ?> + +
+
+ +
+
+ +
+
+
+ + + getUrl(wpsg_ShopController::URL_BASKET, 'wpsg_mod_paypal', 'webHook', array(), true), array('readonly' => true, 'help' => 'wpsg_mod_paypal_webhook_url')); ?> + true, 'noDoubleDot' => true, 'help' => 'wpsg_mod_paypal_createwebhook')); ?> + +
+ + + +
+get_option('wpsg_mod_paypal_sandbox'), array('help' => 'wpsg_mod_paypal_sandbox')); ?> +get_option('wpsg_mod_paypal_subject'), array('help' => 'wpsg_mod_paypal_subject')); ?> + +
+get_option('wpsg_mod_paypal_gebuehr'), true), array('help' => 'wpsg_shippay_gebuehr', 'unit' => $this->get_option('wpsg_currency').' / %')); ?> +get_option('wpsg_mod_paypal_mwst'), array('help' => 'wpsg_shippay_mwst')); ?> +get_option('wpsg_mod_paypal_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?> + +
+get_option('wpsg_mod_paypal_currency')); ?> + __('Deutsch', 'wpsg'), 'US' => __('Englisch', 'wpsg'), 'FR' => __('Französisch', 'wpsg')), $this->get_option('wpsg_mod_paypal_language')); ?> +get_option('wpsg_mod_paypal_autostart'), array('help' => 'wpsg_shippay_paystart')); ?> +view['pages'], $this->get_option('wpsg_page_mod_paypal_success'), array('help' => 'wpsg_page_mod_paypal_success')); ?> +view['pages'], $this->get_option('wpsg_page_mod_paypal_error'), array('help' => 'wpsg_page_mod_paypal_error')); ?> diff --git a/views/mods/mod_paypalapi/basket_inner_prebutton.phtml b/views/mods/mod_paypalapi/basket_inner_prebutton.phtml new file mode 100644 index 0000000..223eaa3 --- /dev/null +++ b/views/mods/mod_paypalapi/basket_inner_prebutton.phtml @@ -0,0 +1,16 @@ + + +get_option('wpsg_mod_paypalapi_paypalexpress'))) { ?> +
+ +
+
+ \ No newline at end of file diff --git a/views/mods/mod_paypalapi/checkout_handlePayment.phtml b/views/mods/mod_paypalapi/checkout_handlePayment.phtml new file mode 100644 index 0000000..adb02e3 --- /dev/null +++ b/views/mods/mod_paypalapi/checkout_handlePayment.phtml @@ -0,0 +1,92 @@ + + +view['wpsg_mod_paypalapi']['show'] == 1) { ?> + +
+

+
+

+
+
+ +view['wpsg_mod_paypalapi']['show'] == 2) { ?> + +
+

+
+ +

+

+ +

+ <?php echo __('Direkt zu PayPal', 'wpsg'); ?> +
+
+
+ + + + + +
+ +

+ +
+ + view['wpsg_mod_paypalapi']['error'])) { ?> +
+

view['wpsg_mod_paypalapi']['error']; ?> +

+ + +
+ + + + \ No newline at end of file diff --git a/views/mods/mod_paypalapi/gfx/checkout-logo-large-alt-de-2x.png b/views/mods/mod_paypalapi/gfx/checkout-logo-large-alt-de-2x.png new file mode 100644 index 0000000..01103c7 Binary files /dev/null and b/views/mods/mod_paypalapi/gfx/checkout-logo-large-alt-de-2x.png differ diff --git a/views/mods/mod_paypalapi/gfx/checkout-logo-large-alt-de.png b/views/mods/mod_paypalapi/gfx/checkout-logo-large-alt-de.png new file mode 100644 index 0000000..dfa010c Binary files /dev/null and b/views/mods/mod_paypalapi/gfx/checkout-logo-large-alt-de.png differ diff --git a/views/mods/mod_paypalapi/gfx/checkout-logo-large-de-2x.png b/views/mods/mod_paypalapi/gfx/checkout-logo-large-de-2x.png new file mode 100644 index 0000000..90e2c55 Binary files /dev/null and b/views/mods/mod_paypalapi/gfx/checkout-logo-large-de-2x.png differ diff --git a/views/mods/mod_paypalapi/gfx/checkout-logo-large-de.png b/views/mods/mod_paypalapi/gfx/checkout-logo-large-de.png new file mode 100644 index 0000000..30e09d2 Binary files /dev/null and b/views/mods/mod_paypalapi/gfx/checkout-logo-large-de.png differ diff --git a/views/mods/mod_paypalapi/gfx/checkout-logo-medium-alt-de-2x.png b/views/mods/mod_paypalapi/gfx/checkout-logo-medium-alt-de-2x.png new file mode 100644 index 0000000..cea1d84 Binary files /dev/null and b/views/mods/mod_paypalapi/gfx/checkout-logo-medium-alt-de-2x.png differ diff --git a/views/mods/mod_paypalapi/gfx/checkout-logo-medium-alt-de.png b/views/mods/mod_paypalapi/gfx/checkout-logo-medium-alt-de.png new file mode 100644 index 0000000..7cba88c Binary files /dev/null and b/views/mods/mod_paypalapi/gfx/checkout-logo-medium-alt-de.png differ diff --git a/views/mods/mod_paypalapi/gfx/checkout-logo-medium-de-2x.png b/views/mods/mod_paypalapi/gfx/checkout-logo-medium-de-2x.png new file mode 100644 index 0000000..236189c Binary files /dev/null and b/views/mods/mod_paypalapi/gfx/checkout-logo-medium-de-2x.png differ diff --git a/views/mods/mod_paypalapi/gfx/checkout-logo-medium-de.png b/views/mods/mod_paypalapi/gfx/checkout-logo-medium-de.png new file mode 100644 index 0000000..17ff618 Binary files /dev/null and b/views/mods/mod_paypalapi/gfx/checkout-logo-medium-de.png differ diff --git a/views/mods/mod_paypalapi/gfx/checkout-logo-small-alt-de-2x.png b/views/mods/mod_paypalapi/gfx/checkout-logo-small-alt-de-2x.png new file mode 100644 index 0000000..c254d76 Binary files /dev/null and b/views/mods/mod_paypalapi/gfx/checkout-logo-small-alt-de-2x.png differ diff --git a/views/mods/mod_paypalapi/gfx/checkout-logo-small-alt-de.png b/views/mods/mod_paypalapi/gfx/checkout-logo-small-alt-de.png new file mode 100644 index 0000000..21119a7 Binary files /dev/null and b/views/mods/mod_paypalapi/gfx/checkout-logo-small-alt-de.png differ diff --git a/views/mods/mod_paypalapi/gfx/checkout-logo-small-de-2x.png b/views/mods/mod_paypalapi/gfx/checkout-logo-small-de-2x.png new file mode 100644 index 0000000..bf4bc4c Binary files /dev/null and b/views/mods/mod_paypalapi/gfx/checkout-logo-small-de-2x.png differ diff --git a/views/mods/mod_paypalapi/gfx/checkout-logo-small-de.png b/views/mods/mod_paypalapi/gfx/checkout-logo-small-de.png new file mode 100644 index 0000000..66efb82 Binary files /dev/null and b/views/mods/mod_paypalapi/gfx/checkout-logo-small-de.png differ diff --git a/views/mods/mod_paypalapi/order_done.phtml b/views/mods/mod_paypalapi/order_done.phtml new file mode 100644 index 0000000..871da98 --- /dev/null +++ b/views/mods/mod_paypalapi/order_done.phtml @@ -0,0 +1,31 @@ + + +view['wpsg_mod_paypalapi']['done'], '2')) { ?> + +

+ +view['wpsg_mod_paypalapi']['done'], '1')) { ?> + +

+ + + + + + +
+ + + + \ No newline at end of file diff --git a/views/mods/mod_paypalapi/order_view_afterpayment.phtml b/views/mods/mod_paypalapi/order_view_afterpayment.phtml new file mode 100644 index 0000000..fdd522a --- /dev/null +++ b/views/mods/mod_paypalapi/order_view_afterpayment.phtml @@ -0,0 +1,40 @@ + + +view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentid'))) { ?> + +
+
+ +
+
+

view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentid'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_paymentstate')); ?>

+
+
+
+ + + +view['oOrder']->getMeta('wpsg_mod_paypalapi_saleid'))) { ?> + +
+
+ +
+
+

view['oOrder']->getMeta('wpsg_mod_paypalapi_saleid'), $this->view['oOrder']->getMeta('wpsg_mod_paypalapi_salestate')); ?>

+
+
+
+ + view['oOrder']->getMeta('wpsg_mod_paypalapi_salestate') != 'refunded') { ?> +
+ + + + diff --git a/views/mods/mod_paypalapi/paypalplus.phtml b/views/mods/mod_paypalapi/paypalplus.phtml new file mode 100644 index 0000000..2cecd3b --- /dev/null +++ b/views/mods/mod_paypalapi/paypalplus.phtml @@ -0,0 +1,29 @@ + + + var ppp = PAYPAL.apps.PPP({ + "approvalUrl": "view['wpsg_mod_paypalapi']['approval_url']; ?>", + "language": "de_DE", + "preselection": "", + "country": "DE", + view['wpsg_order_done'] !== true) { ?> + "onLoad": function() { if (typeof wpsg_mod_paypalapi_load == 'function') wpsg_mod_paypalapi_load(); }, + "buttonLocation": "outside", + "disableContinue": "wpsg_checkout2button", + "enableContinue": "wpsg_checkout2button", + view['wpsg_mod_paypalapi']['ThirdPartyPayment'])) { ?> + "thirdPartyPaymentMethods": view['wpsg_mod_paypalapi']['ThirdPartyPayment']); ?>, + + + "placeholder": "wpsg_ppplus", + "mode": "view['wpsg_mod_paypalapi']['mode']; ?>", + } ); + + \ No newline at end of file diff --git a/views/mods/mod_paypalapi/settings_edit.phtml b/views/mods/mod_paypalapi/settings_edit.phtml new file mode 100644 index 0000000..7efb3d2 --- /dev/null +++ b/views/mods/mod_paypalapi/settings_edit.phtml @@ -0,0 +1,129 @@ + + +get_option('wpsg_mod_paypalapi_clientid'), array('hint' => __('Erhalten Sie im PayPal Account.', 'wpsg'), 'help' => 'wpsg_mod_paypal_clientid', 'hint' => wpsg_translate('nohspc_'.__('Erhalten Sie im PayPal Developer Interface.', 'wpsg'), 'https://developer.paypal.com/'))); ?> +get_option('wpsg_mod_paypalapi_secret'), array('hint' => __('Erhalten Sie im PayPal Account.', 'wpsg'), 'help' => 'wpsg_mod_paypal_secret', 'hint' => wpsg_translate('nohspc_'.__('Erhalten Sie im PayPal Developer Interface.', 'wpsg'), 'https://developer.paypal.com/'))); ?> +get_option('wpsg_mod_paypalapi_sandbox'), array('help' => 'wpsg_mod_paypal_sandbox')); ?> + + + +
+ +getUrl(wpsg_ShopController::URL_BASKET, 'wpsg_mod_paypalapi', 'webHook', array(), true), array('readonly' => true, 'help' => 'wpsg_mod_paypal_webhook_url')); ?> + true, 'noDoubleDot' => true, 'help' => 'wpsg_mod_paypal_createwebhook')); ?> +get_option('wpsg_mod_paypalapi_webhook_log'), array('labelright' => true)); ?> +
+ get_option('wpsg_mod_paypalapi_webhook_logfile'), array('hint' => __('Absoluter Pfad zur Protokolldatei, Schreibrechte beachten.', 'wpsg'))); ?> +
+ +
+ +get_option('wpsg_mod_paypalapi_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?> +get_option('wpsg_mod_paypalapi_mwst'), array('help' => 'wpsg_shippay_mwst')); ?> +get_option('wpsg_mod_paypalapi_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?> + +
+ +
+
+ +
+
+ +
+
+
+ + +
+ +view['pages'], $this->get_option('wpsg_page_mod_paypalapi_success'), array('help' => 'wpsg_page_mod_paypal_success')); ?> +view['pages'], $this->get_option('wpsg_page_mod_paypalapi_error'), array('help' => 'wpsg_page_mod_paypal_error')); ?> + +
+ +get_option('wpsg_mod_paypalapi_aktiv'), array('help' => 'wpsg_shippay_activ')); ?> +get_option('wpsg_mod_paypalapi_paypalexpress'), array('help' => 'wpsg_mod_paypalapi_paypalexpress')); ?> +get_option('wpsg_mod_paypalapi_plus_aktiv'), array('help' => 'wpsg_mod_paypalapi_plus_aktiv')); ?> +get_option('wpsg_mod_paypalapi_paypalexpress_details'), array('help' => 'wpsg_mod_paypalapi_paypalexpress_details')); ?> + +
+get_option('wpsg_mod_paypalapi_experience_label'), array('help' => 'wpsg_mod_paypalapi_experience_label', 'hint' => __('Max. 127 Zeichen', 'wpsg'))); ?> +get_option('wpsg_mod_paypalapi_experience_logo'), array('help' => 'wpsg_mod_paypalapi_experience_logo', 'hint' => __('gif|png|jpg, Max. 190x60', 'wpsg'))); ?> + __('Deutsch', 'wpsg'), + 'GB' => __('Englisch', 'wpsg'), + 'FR' => __('Französisch', 'wpsg') +), $this->get_option('wpsg_mod_paypalapi_experience_locale_code'), array('help' => 'wpsg_mod_paypalapi_experience_locale_code')); ?> +
+ + +get_option('wpsg_mod_paypalapi_paypalexpress_name'), array('help' => 'wpsg_shippay_name')); ?> +get_option('wpsg_mod_paypalapi_paypalexpress_subject'), array('help' => 'wpsg_mod_paypal_subject')); ?> +get_option('wpsg_mod_paypalapi_plus_hint'), array('help' => 'wpsg_shippay_hint')); ?> + + \ No newline at end of file diff --git a/views/mods/mod_prepayment/mail.phtml b/views/mods/mod_prepayment/mail.phtml new file mode 100644 index 0000000..9bc4fab --- /dev/null +++ b/views/mods/mod_prepayment/mail.phtml @@ -0,0 +1,15 @@ + + +view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), $this->view['mod_prepayment']['subject']); ?> + +replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_kinhaber')); ?> +replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_iban')); ?> +replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_bank')); ?> +replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_swift')); ?> + \ No newline at end of file diff --git a/views/mods/mod_prepayment/mail_html.phtml b/views/mods/mod_prepayment/mail_html.phtml new file mode 100644 index 0000000..f56af6f --- /dev/null +++ b/views/mods/mod_prepayment/mail_html.phtml @@ -0,0 +1,29 @@ + +

+ #2# an.', 'wpsg'), wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), $this->view['mod_prepayment']['subject']); ?> +

+ + + + + + + + + + + + + + + + + + +
:replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_kinhaber')); ?>
:replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_iban')); ?>
:replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_bank')); ?>
replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_swift')); ?>
\ No newline at end of file diff --git a/views/mods/mod_prepayment/order_done.phtml b/views/mods/mod_prepayment/order_done.phtml new file mode 100644 index 0000000..6d3de2b --- /dev/null +++ b/views/mods/mod_prepayment/order_done.phtml @@ -0,0 +1,17 @@ +view['wpsg_mod_prepayment']['subject']); + +?> +view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency'))); ?> +

+replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_kinhaber'))); ?>
+replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_iban'))); ?>
+replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_bank'))); ?>
+replaceUniversalPlatzhalter($this->get_option('wpsg_mod_prepayment_swift'))); ?> +

+view['wpsg_mod_prepayment']['subject']); ?> \ No newline at end of file diff --git a/views/mods/mod_prepayment/settings_edit.phtml b/views/mods/mod_prepayment/settings_edit.phtml new file mode 100644 index 0000000..3cd1cea --- /dev/null +++ b/views/mods/mod_prepayment/settings_edit.phtml @@ -0,0 +1,41 @@ + + +
+
+ : +
+
+ +
+
+
+get_option('wpsg_mod_prepayment_aktiv'), array('help' => 'wpsg_mod_prepayment_aktiv')); ?> +get_option('wpsg_mod_prepayment_hint'), array('help' => 'wpsg_mod_prepayment_hint')); ?> +get_option('wpsg_mod_prepayment_subject'), array('help' => 'mod_prepayment_subject')); ?> + +
+get_option('wpsg_mod_prepayment_gebuehr'), true), array('help' => 'wpsg_mod_prepayment_gebuehr','unit' => $this->get_option('wpsg_currency').' / %')); ?> +get_option('wpsg_mod_prepayment_mwst'), array('help' => 'wpsg_mod_prepayment_mwst')); ?> +get_option('wpsg_mod_prepayment_mwstland'), array('help' => 'wpsg_mod_prepayment_mwstland')); ?> + +
+get_option('wpsg_mod_prepayment_kinhaber'), array('help' => 'wpsg_mod_prepayment_kinhaber')); ?> +get_option('wpsg_mod_prepayment_bank'), array('help' => 'wpsg_mod_prepayment_bank')); ?> +get_option('wpsg_mod_prepayment_iban'), array('help' => 'wpsg_mod_prepayment_iban')); ?> +get_option('wpsg_mod_prepayment_swift'), array('help' => 'wpsg_mod_prepayment_swift')); ?> + + \ No newline at end of file diff --git a/views/mods/mod_productfilter/settings_edit.phtml b/views/mods/mod_productfilter/settings_edit.phtml new file mode 100644 index 0000000..8fc7f53 --- /dev/null +++ b/views/mods/mod_productfilter/settings_edit.phtml @@ -0,0 +1,75 @@ + + +view['wpsg_mod_productfilter']['pages'], $this->get_option('wpsg_mod_productfilter_page'), array()); ?> +get_option('wpsg_mod_productfilter_showotherpage')); ?> + +
+ +hasMod('wpsg_mod_produktattribute')) { ?> +
+
+
+
+
+
+ view['wpsg_mod_productfilter']['arPA'])) { ?> + Verwaltung der Produktattribute Ihre Produktattribute.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_produktattribute'); ?> + + view['wpsg_mod_productfilter']['arPA'] as $k => $v) { $index ++; ?> + $v['id'], 'id' => 'wpsg_mod_productfilter_pa_'.$index)); ?> + + +
+
+
+ + +
+ +
+
+
+
+
+
+ get_option('wpsg_mod_productfilter_pricefilter'), array('hint' => __('Preisgruppenformat: 1-100|101-200|>200', 'wpsg'))); ?> +
+
+
+ +
+ +hasMod('wpsg_mod_varianten')) { ?> +
+
+
+
+
+
+ view['wpsg_mod_productfilter']['arVarianten'])) { ?> + Variantenverwaltung Ihre Varianten.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_varianten'); ?> + + view['wpsg_mod_productfilter']['arVarianten'] as $var_name => $set) { $index ++; ?> + $var_name, 'id' => 'wpsg_mod_productfilter_varianten_'.$index)); ?> + + +
+
+
+ + + \ No newline at end of file diff --git a/views/mods/mod_productfilter/widget.phtml b/views/mods/mod_productfilter/widget.phtml new file mode 100644 index 0000000..9538365 --- /dev/null +++ b/views/mods/mod_productfilter/widget.phtml @@ -0,0 +1,7 @@ +WIDGET \ No newline at end of file diff --git a/views/mods/mod_productgroups/add.phtml b/views/mods/mod_productgroups/add.phtml new file mode 100644 index 0000000..c2cced8 --- /dev/null +++ b/views/mods/mod_productgroups/add.phtml @@ -0,0 +1,72 @@ +view['data']); +?> +
+

+

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

+
+ + writeBackendMessage(); ?> + +
+ +
+ +
+
+ + callMods('wpsg_mod_productgroups_addedit_sidebar', array(&$this->view['data'])); ?> + +
+
+ +
+
+
+

+

+
+ + 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']); ?> + +
+
+ +

+ + +

+ +
+
+ +
+ + 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 new file mode 100644 index 0000000..95bcd8d --- /dev/null +++ b/views/mods/mod_productgroups/admin_setcapabilities.phtml @@ -0,0 +1,19 @@ +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 new file mode 100644 index 0000000..312e73b --- /dev/null +++ b/views/mods/mod_productgroups/index.phtml @@ -0,0 +1,61 @@ + + \ No newline at end of file diff --git a/views/mods/mod_productgroups/list.phtml b/views/mods/mod_productgroups/list.phtml new file mode 100644 index 0000000..e52f3c1 --- /dev/null +++ b/views/mods/mod_productgroups/list.phtml @@ -0,0 +1,45 @@ +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 new file mode 100644 index 0000000..0329938 --- /dev/null +++ b/views/mods/mod_productgroups/productgroups_addedit_sidebar.phtml @@ -0,0 +1,17 @@ +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 diff --git a/views/mods/mod_productgroups/produkt_edit_sidebar.phtml b/views/mods/mod_productgroups/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..a7a90f4 --- /dev/null +++ b/views/mods/mod_productgroups/produkt_edit_sidebar.phtml @@ -0,0 +1,25 @@ + +
+

+
+ +

+
+ + view['wpsg_mod_productgroups']['data']) <= 0) { ?> +

+ + 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/produkt_index_filter.phtml b/views/mods/mod_productgroups/produkt_index_filter.phtml new file mode 100644 index 0000000..c99fe29 --- /dev/null +++ b/views/mods/mod_productgroups/produkt_index_filter.phtml @@ -0,0 +1,45 @@ + + + + + + +view['productgroups']) && sizeof($this->view['productgroups']) > 0) { ?> + + \ No newline at end of file diff --git a/views/mods/mod_productgroups/settings_edit.phtml b/views/mods/mod_productgroups/settings_edit.phtml new file mode 100644 index 0000000..90aaba1 --- /dev/null +++ b/views/mods/mod_productgroups/settings_edit.phtml @@ -0,0 +1,15 @@ + +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 new file mode 100644 index 0000000..0591381 --- /dev/null +++ b/views/mods/mod_productgroups/show.phtml @@ -0,0 +1,48 @@ +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 diff --git a/views/mods/mod_productindex/css/productindex.css b/views/mods/mod_productindex/css/productindex.css new file mode 100644 index 0000000..234209b --- /dev/null +++ b/views/mods/mod_productindex/css/productindex.css @@ -0,0 +1,37 @@ +.wpsg_mod_productindex .wpsg_mod_productindex_toolbar { background: -moz-linear-gradient(center top , #F7F5E7, #D4D0BA) repeat scroll 0 0 transparent; border-left:1px solid #bbb; border-right:1px solid #bbb; -moz-box-shadow:inset 1px 1px 0 rgba(255,255,255,0.3); -webkit-box-shadow:inset 1px 1px 0 rgba(255,255,255,0.3); box-shadow:inset 1px 1px 0 rgba(255,255,255,0.3); padding:2px 15px 2px 15px; text-shadow:0 1px 0 #fff; } +.wpsg_mod_productindex .wpsg_mod_productindex_toolbar_top { -moz-border-radius-topleft:4px; -moz-border-radius-topright:4px; -webkit-border-top-left-radius:4px; -webkit-border-top-right-radius:4px; border-top-right-radius:4px; border-top-left-radius:4px; border-top:2px solid #D4D0BA; } +.wpsg_mod_productindex .wpsg_mod_productindex_toolbar_bottom { -moz-border-radius-bottomleft:4px; -moz-border-radius-bottomright:4px; -webkit-border-bottom-left-radius:4px; -webkit-border-bottom-right-radius:4px; border-bottom-right-radius:4px; border-bottom-left-radius:4px; border-top:2px solid #D4D0BA; border-bottom:2px solid #D4D0BA; } +.wpsg_mod_productindex .wpsg_mod_productindex_toolbar ul { list-style:none; padding:0px; margin:0px; float:left; clear:none; } +.wpsg_mod_productindex .wpsg_mod_productindex_toolbar .wpsg_mod_productindex_pager ul li, .wpsg_mod_productindex .wpsg_mod_productindex_toolbar .wpsg_mod_productindex_pager span { float:left; display:block; margin-left:5px; } +.wpsg_mod_productindex .wpsg_mod_productindex_order { float:left;} +.wpsg_mod_productindex .wpsg_mod_productindex_order select { margin-bottom:3px; } +.wpsg_mod_productindex .wpsg_mod_productindex_viewselect { float:right; margin-top:3px; } +.wpsg_mod_productindex .wpsg_mod_productindex_pager { float:right; margin-left:5px; } + +/* List Ansicht */ +.wpsg_mod_productindex_list .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_mod_productindex_button { float:right; } +.wpsg_mod_productindex_list .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_mod_productindex_infos { float:right; line-height:1.5em; font-size:1em; text-align:right; } +.wpsg_mod_productindex_list .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_mod_productindex_infos div { clear:right; } +.wpsg_mod_productindex_list .wpsg_mod_productindex_product { border-top:2px solid #D4D0BA; border-left:2px solid #D4D0BA; border-right:2px solid #D4D0BA; padding:15px; } +.wpsg_mod_productindex_list .wpsg_mod_productindex_empty { border-top:2px solid #D4D0BA; border-left:2px solid #D4D0BA; border-right:2px solid #D4D0BA; padding:10px 15px 10px 15px; } +.wpsg_mod_productindex_list .wpsg_mod_productindex_product .wpsg_mod_productindex_pic { float:left; margin-right:15px; } +.wpsg_mod_productindex_list .wpsg_mod_productindex_product .wpsg_mod_productindex_content { margin-left:115px; } +.wpsg_mod_productindex_list .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_mod_productindex_title { font-size:1.2em; font-weight:bold; margin-bottom:5px; line-height:1.5em; } +.wpsg_mod_productindex_list .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_mod_productindex_price { font-size:1.4em; font-weight:normal; color:#000000; } +.wpsg_mod_productindex_list .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_produkt_preishinweis { font-size:0.8em; font-weight:normal; font-style:italic; } +.wpsg_mod_productindex_list .wpsg_mod_productindex_product .wpsg_produkt_soldout { color:#FF0000; } +.wpsg_mod_productindex_kuhint { font-size:1em; line-height:125%; margin-top:20px; font-style:italic; } + +/* Grid Ansicht */ +.wpsg_mod_productindex_grid .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_mod_productindex_button { width:100%; margin-top:15px; } +.wpsg_mod_productindex_grid .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_mod_productindex_button a { width:100%; padding:0px; } +.wpsg_mod_productindex_grid .wpsg_mod_productindex_productrow { border-left:2px solid #D4D0BA; border-right:2px solid #D4D0BA; border-top:2px solid #D4D0BA; } +.wpsg_mod_productindex_grid .wpsg_mod_productindex_product { padding-bottom:50px; float:left; font-size:0.8em; } +.wpsg_mod_productindex_grid .wpsg_mod_productindex_product .wpsg_mod_productindex_product_inner { margin:15px; } +.wpsg_mod_productindex_grid .wpsg_mod_productindex_product .wpsg_mod_productindex_pic { text-align:center; } +.wpsg_mod_productindex_grid .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_mod_productindex_infos { font-size:0.8em; } +.wpsg_mod_productindex_grid .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_mod_productindex_title { font-size:1.0em; font-weight:bold; margin-bottom:5px; line-height:1.5em; min-height:3em; } +.wpsg_mod_productindex_grid .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_mod_productindex_price { font-size:1.4em; font-weight:normal; color:#000000; } +.wpsg_mod_productindex_grid .wpsg_mod_productindex_product .wpsg_mod_productindex_content .wpsg_produkt_preishinweis { font-size:0.8em; font-weight:normal; font-style:italic; } +.wpsg_mod_productindex_grid .wpsg_produkt_soldout { color:#FF0000; } +.wpsg_mod_productindex_kuhint { font-size:1em; line-height:125%; margin-top:20px; font-style:italic; } \ No newline at end of file diff --git a/views/mods/mod_productindex/gfx/icon_grid.png b/views/mods/mod_productindex/gfx/icon_grid.png new file mode 100644 index 0000000..dfc33af Binary files /dev/null and b/views/mods/mod_productindex/gfx/icon_grid.png differ diff --git a/views/mods/mod_productindex/gfx/icon_list.png b/views/mods/mod_productindex/gfx/icon_list.png new file mode 100644 index 0000000..b5da3ff Binary files /dev/null and b/views/mods/mod_productindex/gfx/icon_list.png differ diff --git a/views/mods/mod_productindex/layouts/grid.phtml b/views/mods/mod_productindex/layouts/grid.phtml new file mode 100644 index 0000000..7316056 --- /dev/null +++ b/views/mods/mod_productindex/layouts/grid.phtml @@ -0,0 +1,279 @@ + + + + +
+ +
+ + $value) { if (!wpsg_isSizedArray($value)) { ?> + + + + + + + +
+ +
+ + view['hideOrder'] != '1') { ?> +
+ + +
+ + + view['wpsg_mod_productindex']['filter']['pages'] > 1) { ?> +
+ +
    + view['wpsg_mod_productindex']['filter']['pages']; $i ++) { ?> +
  • + view['wpsg_mod_productindex']['filter']['page']) { ?> + + + + +
  • + +
+
+ + + view['hideViewSelect'] != '1') { ?> +
+ + <?php echo __('Zur Listansicht wechseln.', 'wpsg'); ?> + +
+ + +
+ +
+ + view['arProducts'])) { ?> + + view['arProducts'] as $p) { $i ++; ?> + +
+ +
+
+ hasMod('wpsg_mod_produktbilder')) { $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($p['id'])); ?> +
+ + + + <?php wpsg_hspc($p['name']); ?> + + +
+ +
+ +
+
+ hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProductindex') == '1') { ?> + + get_option('wpsg_mod_weight_unit'))); ?> + + get_option('wpsg_mod_weight_unit'))); ?> + + +
+ +
+ hasMod('wpsg_mod_fuellmenge') && $this->get_option('wpsg_mod_fuellmenge_showProductindex_fmenge') == '1') { ?> + + +
+ +
+ hasMod('wpsg_mod_fuellmenge') && $this->get_option('wpsg_mod_fuellmenge_showProductindex_grundpreis') == '1') { ?> + get_option('wpsg_currency')), + wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $p['feinheit']) + ); ?> + +
+
+ + hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showProductindex') == '1') { ?> +
+ +
+ + +
+ + get_option('wpsg_currency')); ?> + + get_option('wpsg_currency'))); ?> + +
+ get_option('wpsg_kleinunternehmer')) { /* Kleinunternehmerregelung aktiviert START */ ?> +
+ getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'', 'Endpreis'); ?> +
+ +
+ getFrontendTaxview() == WPSG_NETTO) { /* Frontend = NETTO Preise */ ?> + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?> + + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?> + +
+ + +
+ + hasMod('wpsg_mod_stock') && $this->callMod('wpsg_mod_stock', 'checkBestand', array($p['id'], 1)) === false) { ?> + + + + + +
+ +
+
+
+
+ +
+ + + +
+ + +
+ + +
+ + view['hideOrder'] != '1') { ?> +
+ + +
+ + + view['wpsg_mod_productindex']['filter']['pages'] > 1) { ?> +
+ +
    + view['wpsg_mod_productindex']['filter']['pages']; $i ++) { ?> +
  • + view['wpsg_mod_productindex']['filter']['page']) { ?> + + + + +
  • + +
+
+ + + view['hideViewSelect'] != '1') { ?> +
+ + <?php echo __('Zur Listansicht wechseln.', 'wpsg'); ?> + +
+ + +
+ +
+ + get_option('wpsg_kleinunternehmer')) { ?> + +
get_option('wpsg_kleinunternehmer_text'); ?>
+ + +
+ + \ No newline at end of file diff --git a/views/mods/mod_productindex/layouts/list.phtml b/views/mods/mod_productindex/layouts/list.phtml new file mode 100644 index 0000000..e2b2f71 --- /dev/null +++ b/views/mods/mod_productindex/layouts/list.phtml @@ -0,0 +1,264 @@ + + + + +
+ +
+ + $value) { if (!wpsg_isSizedArray($value)) { ?> + + + + + + + +
+ +
+ + view['hideOrder'] != '1') { ?> +
+ + +
+ + + view['wpsg_mod_productindex']['filter']['pages'] > 1) { ?> +
+ +
    + view['wpsg_mod_productindex']['filter']['pages']; $i ++) { ?> +
  • + view['wpsg_mod_productindex']['filter']['page']) { ?> + + + + +
  • + +
+
+ + + view['hideViewSelect'] != '1') { ?> +
+ + <?php echo __('Zur Gitteransicht wechseln.', 'wpsg'); ?> + +
+ + +
+ +
+ + view['arProducts'])) { ?> + + view['arProducts'] as $p) { $i ++; ?> +
+ hasMod('wpsg_mod_produktbilder')) { $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($p['id'])); ?> +
+ + + + <?php wpsg_hspc($p['name']); ?> + + +
+ +
+
+
+ hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProductindex') == '1') { ?> + + get_option('wpsg_mod_weight_unit'))); ?> + + get_option('wpsg_mod_weight_unit'))); ?> + + +
+ +
+ hasMod('wpsg_mod_fuellmenge') && $this->get_option('wpsg_mod_fuellmenge_showProductindex_fmenge') == '1') { ?> + + +
+ + hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showProductindex') == '1') { ?> +
+ +
+ + +
+ hasMod('wpsg_mod_fuellmenge') && $this->get_option('wpsg_mod_fuellmenge_showProductindex_grundpreis') == '1') { ?> + get_option('wpsg_currency')), + wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $p['feinheit']) + ); ?> + +
+
+ +
+
+ + get_option('wpsg_currency')); ?> + + get_option('wpsg_currency'))); ?> + +
+ get_option('wpsg_kleinunternehmer')) { /* Kleinunternehmerregelung aktiviert START */ ?> +
+ getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'', 'Endpreis'); ?> +
+ +
+ getFrontendTaxview() == WPSG_NETTO) { /* Frontend = NETTO Preise */ ?> + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?> + + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?> + +
+ +
+ hasMod('wpsg_mod_stock') && $this->callMod('wpsg_mod_stock', 'checkBestand', array($p['id'], 1)) === false) { ?> + + + + +
+ +
+
+
+ + + +
+ + +
+ + view['hideOrder'] != '1') { ?> +
+ + +
+ + + view['wpsg_mod_productindex']['filter']['pages'] > 1) { ?> +
+ +
    + view['wpsg_mod_productindex']['filter']['pages']; $i ++) { ?> +
  • + view['wpsg_mod_productindex']['filter']['page']) { ?> + + + + +
  • + +
+
+ + + view['hideViewSelect'] != '1') { ?> +
+ + <?php echo __('Zur Gitteransicht wechseln.', 'wpsg'); ?> + +
+ + +
+ +
+ + get_option('wpsg_kleinunternehmer')) { ?> + +
get_option('wpsg_kleinunternehmer_text'); ?>
+ + +
+ + \ No newline at end of file diff --git a/views/mods/mod_productindex/page_metabox.phtml b/views/mods/mod_productindex/page_metabox.phtml new file mode 100644 index 0000000..ddf4d48 --- /dev/null +++ b/views/mods/mod_productindex/page_metabox.phtml @@ -0,0 +1,83 @@ + + +view['wpsg_mod_productindex']['post_id'], 'wpsg_mod_productindex_active', true)); ?> + + + + \ No newline at end of file diff --git a/views/mods/mod_productpackage/productlist.phtml b/views/mods/mod_productpackage/productlist.phtml new file mode 100644 index 0000000..299257d --- /dev/null +++ b/views/mods/mod_productpackage/productlist.phtml @@ -0,0 +1,15 @@ + +view['arProducts'])) { ?> + + + + + +

+ \ No newline at end of file diff --git a/views/mods/mod_productpackage/produkt_edit_sidebar.phtml b/views/mods/mod_productpackage/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..f71ab25 --- /dev/null +++ b/views/mods/mod_productpackage/produkt_edit_sidebar.phtml @@ -0,0 +1,77 @@ + +
+ +
+

+
+ +

+
+ + get_option('wpsg_mod_productpackage_set')); ?> + +
+ + callMod('wpsg_mod_productpackage', 'productlist', array($this->view['data']['id'])); ?> + +
+ +
+
+ + \ No newline at end of file diff --git a/views/mods/mod_productvars/basket_row.phtml b/views/mods/mod_productvars/basket_row.phtml new file mode 100644 index 0000000..dc08c07 --- /dev/null +++ b/views/mods/mod_productvars/basket_row.phtml @@ -0,0 +1,27 @@ + +view['wpsg_mod_productvars']['data'] as $pv) { ?> + + *: + + + + + view['wpsg_mod_productvars']['p']['product_index'], (array)$this->view['error']))?'wpsg_error':''); ?>" type="text" name="wpsg_mod_productvars[][view['wpsg_mod_productvars']['p']['product_index']; ?>]" value="view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]); ?>" /> + + + view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']] == '1')?'checked="checked"':''); ?> class="view['wpsg_mod_productvars']['p']['product_index'], (array)$this->view['error']))?'wpsg_error':''); ?>" type="checkbox" value="1" name="wpsg_mod_productvars[][view['wpsg_mod_productvars']['p']['product_index']; ?>]" /> + + + + \ No newline at end of file diff --git a/views/mods/mod_productvars/mail_row.phtml b/views/mods/mod_productvars/mail_row.phtml new file mode 100644 index 0000000..04d9b95 --- /dev/null +++ b/views/mods/mod_productvars/mail_row.phtml @@ -0,0 +1,11 @@ +view['wpsg_mod_productvars']['data']) && sizeof($this->view['wpsg_mod_productvars']['data']) > 0) { ?> +view['wpsg_mod_productvars']['data'] as $pv_id => $pv) { ?> + : + + \ No newline at end of file diff --git a/views/mods/mod_productvars/mail_row_html.phtml b/views/mods/mod_productvars/mail_row_html.phtml new file mode 100644 index 0000000..f61f960 --- /dev/null +++ b/views/mods/mod_productvars/mail_row_html.phtml @@ -0,0 +1,14 @@ + +view['wpsg_mod_productvars']['data'] as $pv) { ?> + +   + : + + + \ No newline at end of file diff --git a/views/mods/mod_productvars/order_view_row.phtml b/views/mods/mod_productvars/order_view_row.phtml new file mode 100644 index 0000000..d3b9809 --- /dev/null +++ b/views/mods/mod_productvars/order_view_row.phtml @@ -0,0 +1,65 @@ +view['wpsg_mod_productvars']['p']['product_index']; + +?> +view['wpsg_mod_productvars']['data'] as $k => $pv) { ?> + + + + +
+ + + + + + \ No newline at end of file diff --git a/views/mods/mod_productvars/overview_row.phtml b/views/mods/mod_productvars/overview_row.phtml new file mode 100644 index 0000000..b3cd82a --- /dev/null +++ b/views/mods/mod_productvars/overview_row.phtml @@ -0,0 +1,31 @@ + +view['wpsg_mod_productvars']['data']) && sizeof($this->view['wpsg_mod_productvars']['data']) > 0) { ?> +view['wpsg_mod_productvars']['data'] as $pv) { ?> + + : + + + view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']] == 'not_set') { ?> + + + view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]); ?> + + + view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']]); ?> + + view['wpsg_mod_productvars']['p']['wpsg_mod_productvars'][$pv['id']] == '1') { ?> + + + + + + + + + \ No newline at end of file diff --git a/views/mods/mod_productvars/produkt_edit_sidebar.phtml b/views/mods/mod_productvars/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..5e91c7d --- /dev/null +++ b/views/mods/mod_productvars/produkt_edit_sidebar.phtml @@ -0,0 +1,24 @@ + +
+

+
+ +

+
+ view['wpsg_mod_productvars']['data']) && sizeof($this->view['wpsg_mod_productvars']['data']) > 0) { ?> + view['wpsg_mod_productvars']['data'] as $pv) { ?> + view['wpsg_mod_productvars']['productvars_set']))?true:false)); ?> + + + + +
+ +
+
diff --git a/views/mods/mod_productvars/pv_list.phtml b/views/mods/mod_productvars/pv_list.phtml new file mode 100644 index 0000000..e046beb --- /dev/null +++ b/views/mods/mod_productvars/pv_list.phtml @@ -0,0 +1,137 @@ + +view['data']) && sizeof($this->view['data']) > 0) { ?> + + + + + + + + + view['data'] as $pv) { $i ++; ?> + + + + + + + + +
+ +
+ : + + +
+
mod->arTypen[$pv['typ']]; ?> id="wpsg_pv_pflicht_" /> + + + + + +
+

+ + + + + + \ No newline at end of file diff --git a/views/mods/mod_productvars/renderTemplate.phtml b/views/mods/mod_productvars/renderTemplate.phtml new file mode 100644 index 0000000..fb66a18 --- /dev/null +++ b/views/mods/mod_productvars/renderTemplate.phtml @@ -0,0 +1,32 @@ + + +

+ view['wpsg_mod_productvars']['data'] as $pv) { ?> +
+
+ *: +
+
+ + + + + + + type="checkbox" value="1" name="wpsg_mod_productvars[]" /> + +
+
+ +
\ No newline at end of file diff --git a/views/mods/mod_productvars/settings_edit.phtml b/views/mods/mod_productvars/settings_edit.phtml new file mode 100644 index 0000000..c8c161d --- /dev/null +++ b/views/mods/mod_productvars/settings_edit.phtml @@ -0,0 +1,61 @@ + + + +
+ +
+
+
+ + +
+
+
+
+ mod->pv_list(); ?> +
+ +
\ No newline at end of file diff --git a/views/mods/mod_produktartikel/header_facebook.phtml b/views/mods/mod_produktartikel/header_facebook.phtml new file mode 100644 index 0000000..670923d --- /dev/null +++ b/views/mods/mod_produktartikel/header_facebook.phtml @@ -0,0 +1,22 @@ + + + + +hasMod('wpsg_mod_produktbilder') && isset($this->view['data']['bilder'][0])) { ?> + + + + + \ No newline at end of file diff --git a/views/mods/mod_produktartikel/header_google.phtml b/views/mods/mod_produktartikel/header_google.phtml new file mode 100644 index 0000000..c49420c --- /dev/null +++ b/views/mods/mod_produktartikel/header_google.phtml @@ -0,0 +1,19 @@ + + + + + + + \ No newline at end of file diff --git a/views/mods/mod_produktartikel/produkt.phtml b/views/mods/mod_produktartikel/produkt.phtml new file mode 100644 index 0000000..72548a2 --- /dev/null +++ b/views/mods/mod_produktartikel/produkt.phtml @@ -0,0 +1,41 @@ + +get_option('wpsg_mod_produktartikel_twitter') == '1' || $this->get_option('wpsg_mod_produktartikel_google') == '1' || $this->get_option('wpsg_mod_produktartikel_facebook') == '1') { ?> +
+ + \ No newline at end of file diff --git a/views/mods/mod_produktartikel/produkt_edit_allgemein.phtml b/views/mods/mod_produktartikel/produkt_edit_allgemein.phtml new file mode 100644 index 0000000..5de94cf --- /dev/null +++ b/views/mods/mod_produktartikel/produkt_edit_allgemein.phtml @@ -0,0 +1,19 @@ + +
+
+ +
+
+ +
+
+
\ No newline at end of file diff --git a/views/mods/mod_produktartikel/produkt_edit_sidebar.phtml b/views/mods/mod_produktartikel/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..a2cd9e0 --- /dev/null +++ b/views/mods/mod_produktartikel/produkt_edit_sidebar.phtml @@ -0,0 +1,44 @@ + +
+

+
+ +

+
+
+
+ +
+
+ view['data']['comment_status'] == 'open')?'checked="checked"':''); ?> /> +
+
+
+ view['data']['menu_order']); ?> +
+
+ +
+

+

+
+
+ +
+
    + view['data']['post_id'], array('taxonomy' => 'category')); ?> +
+
+ +
+
+
\ No newline at end of file diff --git a/views/mods/mod_produktartikel/schemaorg.phtml b/views/mods/mod_produktartikel/schemaorg.phtml new file mode 100644 index 0000000..20cfd1e --- /dev/null +++ b/views/mods/mod_produktartikel/schemaorg.phtml @@ -0,0 +1,20 @@ + +
+ view['data']['name']); ?> + + +
view['data']['beschreibung']; ?>
+
\ No newline at end of file diff --git a/views/mods/mod_produktartikel/settings_edit.phtml b/views/mods/mod_produktartikel/settings_edit.phtml new file mode 100644 index 0000000..9c59f78 --- /dev/null +++ b/views/mods/mod_produktartikel/settings_edit.phtml @@ -0,0 +1,99 @@ + +
+
:
+
+ + +
+
+
+ +get_option('wpsg_mod_produktartikel_showui'), array('help' => 'wpsg_mod_produktartikel_showui'))?> + +hasMod('wpsg_mod_produktbilder')) { ?> +get_option('wpsg_mod_produktartikel_postthumbnail'), array('help' => 'wpsg_mod_produktartikel_postthumbnail')); ?> + + +get_option('wpsg_mod_produktartikel_showHome'), array('help' => 'wpsg_mod_produktartikel_showHome')); ?> +get_option('wpsg_mod_produktartikel_showCategory'), array('help' => 'wpsg_mod_produktartikel_showCategory')); ?> +get_option('wpsg_mod_produktartikel_showSearch'), array('help' => 'wpsg_mod_produktartikel_showSearch')); ?> +get_option('wpsg_mod_produktartikel_showFeed'), array('help' => 'wpsg_mod_produktartikel_showFeed')); ?> +get_option('wpsg_mod_produktartikel_onlyMainQuery'), array('help' => 'wpsg_mod_produktartikel_onlyMainQuery')); ?> + +
+
+ +
+
+ view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?> +

+ + + + +
+
+
+
+
+ +
+
+ view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?> +

+ + + + +
+
+
+
+
+ +
+
+ view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?> +

+ + + + +
+
+
+ +get_option('wpsg_mod_produktartikel_facebook'), array('help' => 'wpsg_mod_produktartikel_facebook')); ?> +get_option('wpsg_mod_produktartikel_google'), array('help' => 'wpsg_mod_produktartikel_google')); ?> +get_option('wpsg_mod_produktartikel_twitter'), array('help' => 'wpsg_mod_produktartikel_twitter')); ?> + + \ No newline at end of file diff --git a/views/mods/mod_produktattribute/basket_row.phtml b/views/mods/mod_produktattribute/basket_row.phtml new file mode 100644 index 0000000..b53c5fa --- /dev/null +++ b/views/mods/mod_produktattribute/basket_row.phtml @@ -0,0 +1,17 @@ +view); +?> + +view['wpsg_mod_produktattribute']['data'] as $pa_id) { ?> + + + : + + callMod('wpsg_mod_produktattribute', 'getAttributeValue', array($this->view['wpsg_mod_produktattribute']['id'], $pa_id)); ?> + + + diff --git a/views/mods/mod_produktattribute/genPACode.phtml b/views/mods/mod_produktattribute/genPACode.phtml new file mode 100644 index 0000000..4189e1b --- /dev/null +++ b/views/mods/mod_produktattribute/genPACode.phtml @@ -0,0 +1,17 @@ + +view['id']); ?> +
+ callMod(\'wpsg_mod_produktattribute\', \'getAttributeLabel\', array('.$this->view['id'].')); ?>'); ?> +
+view['id']); ?> +
+ callMod(\'wpsg_mod_produktattribute\', \'getAttributeValue\', array($this->view[\'data\'][\'id\'], '.$this->view['id'].')); ?>'); ?> +
+ \ No newline at end of file diff --git a/views/mods/mod_produktattribute/list.phtml b/views/mods/mod_produktattribute/list.phtml new file mode 100644 index 0000000..cb766e2 --- /dev/null +++ b/views/mods/mod_produktattribute/list.phtml @@ -0,0 +1,128 @@ + +view['data']) <= 0) { ?> +

+ + + + + + + + + + + view['data'] as $pa) { ?> + + + + + + + + + + + + + + +
+ + + type="checkbox" value="1" /> + + + + + + + + +
+ + +
+ \ No newline at end of file diff --git a/views/mods/mod_produktattribute/mail_row.phtml b/views/mods/mod_produktattribute/mail_row.phtml new file mode 100644 index 0000000..aabf72e --- /dev/null +++ b/views/mods/mod_produktattribute/mail_row.phtml @@ -0,0 +1,10 @@ +view['wpsg_mod_produktattribute']['data'] as $pa_id) { ?> +callMod('wpsg_mod_produktattribute', 'getAttributeLabel', array($pa_id)); ?>: callMod('wpsg_mod_produktattribute', 'getAttributeValue', array($this->view['wpsg_mod_produktattribute']['id'], $pa_id)); ?> + + \ No newline at end of file diff --git a/views/mods/mod_produktattribute/mail_row_html.phtml b/views/mods/mod_produktattribute/mail_row_html.phtml new file mode 100644 index 0000000..7f4dc15 --- /dev/null +++ b/views/mods/mod_produktattribute/mail_row_html.phtml @@ -0,0 +1,18 @@ + + +view['wpsg_mod_produktattribute']['data'] as $pa_id) { ?> + + + callMod('wpsg_mod_produktattribute', 'getAttributeLabel', array($pa_id)); ?>: + + + callMod('wpsg_mod_produktattribute', 'getAttributeValue', array($this->view['wpsg_mod_produktattribute']['id'], $pa_id)); ?> + + + \ No newline at end of file diff --git a/views/mods/mod_produktattribute/overview_row.phtml b/views/mods/mod_produktattribute/overview_row.phtml new file mode 100644 index 0000000..2059efb --- /dev/null +++ b/views/mods/mod_produktattribute/overview_row.phtml @@ -0,0 +1,17 @@ +view); +?> + +view['wpsg_mod_produktattribute']['data'] as $pa_id) { ?> + + + : + + callMod('wpsg_mod_produktattribute', 'getAttributeValue', array($this->view['wpsg_mod_produktattribute']['id'], $pa_id)); ?> + + + \ No newline at end of file diff --git a/views/mods/mod_produktattribute/produkt_bottom.phtml b/views/mods/mod_produktattribute/produkt_bottom.phtml new file mode 100644 index 0000000..e9f0fe0 --- /dev/null +++ b/views/mods/mod_produktattribute/produkt_bottom.phtml @@ -0,0 +1,22 @@ + +view['wpsg_mod_produktattribute']['data'] as $a) { ?> + +
+
:
+
+ + + + + +
+
+
+ + \ No newline at end of file diff --git a/views/mods/mod_produktattribute/produkt_edit_content.phtml b/views/mods/mod_produktattribute/produkt_edit_content.phtml new file mode 100644 index 0000000..3d51b4c --- /dev/null +++ b/views/mods/mod_produktattribute/produkt_edit_content.phtml @@ -0,0 +1,45 @@ + +view['data']['pa']) > 0) { ?> +
+

+
+ +

+
+ + view['data']['pa'] as $pa) { ?> +
+
+ +
+
+ + + + + + + + + /> + + + +
+
+
+ + +
+
+ \ No newline at end of file diff --git a/views/mods/mod_produktattribute/settings_edit.phtml b/views/mods/mod_produktattribute/settings_edit.phtml new file mode 100644 index 0000000..4fe3417 --- /dev/null +++ b/views/mods/mod_produktattribute/settings_edit.phtml @@ -0,0 +1,116 @@ + + + + + +
+
+ +
+
+
+ + +
+
+
+
+ mod->pa_listAction(); ?> +
+ +
+
+ +
\ No newline at end of file diff --git a/views/mods/mod_produktbilder/produkt_edit_content.phtml b/views/mods/mod_produktbilder/produkt_edit_content.phtml new file mode 100644 index 0000000..20435b8 --- /dev/null +++ b/views/mods/mod_produktbilder/produkt_edit_content.phtml @@ -0,0 +1,123 @@ + +
+

+
+ +

+
+ + view['data']['id'] > 0) { ?> + +
view['ProduktList']; ?>
+ + + +

+
+

+ + + + + +

+
+

+ + + + + + + + + + + + + +

+ +
+
+ +
+
+

+ +

+
+
+
+ +
+
\ No newline at end of file diff --git a/views/mods/mod_produktbilder/produkt_edit_list.phtml b/views/mods/mod_produktbilder/produkt_edit_list.phtml new file mode 100644 index 0000000..7250933 --- /dev/null +++ b/views/mods/mod_produktbilder/produkt_edit_list.phtml @@ -0,0 +1,23 @@ + +view['ProduktBilder']) > 0) { ?> + + view['ProduktBilder'] as $b) { ?> + +
+ + <?php echo wpsg_hspc($b); ?> + +
+ + +
+ + +

+ \ No newline at end of file diff --git a/views/mods/mod_produktbilder/produktbild.phtml b/views/mods/mod_produktbilder/produktbild.phtml new file mode 100644 index 0000000..91737b1 --- /dev/null +++ b/views/mods/mod_produktbilder/produktbild.phtml @@ -0,0 +1,8 @@ + +<?php echo htmlspecialchars($this->view['produkt']['name']); ?> \ No newline at end of file diff --git a/views/mods/mod_produktbilder/settings_edit.phtml b/views/mods/mod_produktbilder/settings_edit.phtml new file mode 100644 index 0000000..2b7ace8 --- /dev/null +++ b/views/mods/mod_produktbilder/settings_edit.phtml @@ -0,0 +1,13 @@ + +get_option('wpsg_mod_produktbilder_width'), array('help' => 'wpsg_mod_produktbilder_width')); ?> +get_option('wpsg_mod_produktbilder_height'), array('help' => 'wpsg_mod_produktbilder_height')); ?> +callMod('wpsg_mod_produktbilder', 'getImageModes'), $this->get_option('wpsg_mod_produktbilder_mode'), array('help' => 'wpsg_mod_produktbilder')); ?> +get_option('wpsg_mod_produktbilder_quality'), array('help' => 'wpsg_mod_produktbilder_quality','hint' => __('0 = Schlechte Qualität, 100 = Gute Qualität', 'wpsg'))); ?> + + \ No newline at end of file diff --git a/views/mods/mod_rechnungen/copymail.phtml b/views/mods/mod_rechnungen/copymail.phtml new file mode 100644 index 0000000..4cb612a --- /dev/null +++ b/views/mods/mod_rechnungen/copymail.phtml @@ -0,0 +1,11 @@ + view['kunde']['vname']; ?> view['kunde']['name']; ?>, + +view['rnr'])) { ?> + view['rnr']; ?>. + + view['gnr']; ?>. + + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_rechnungen/copymail_html.phtml b/views/mods/mod_rechnungen/copymail_html.phtml new file mode 100644 index 0000000..c7138d7 --- /dev/null +++ b/views/mods/mod_rechnungen/copymail_html.phtml @@ -0,0 +1,11 @@ +

view['kunde']['vname']; ?> view['kunde']['name']; ?>,

+ +view['rnr'])) { ?> +

view['rnr']; ?>.

+ +

view['gnr']; ?>.

+ + +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_rechnungen/foottext_list.phtml b/views/mods/mod_rechnungen/foottext_list.phtml new file mode 100644 index 0000000..8a2d926 --- /dev/null +++ b/views/mods/mod_rechnungen/foottext_list.phtml @@ -0,0 +1,61 @@ + +view['data']) <= 0) { ?> +

+ + + + + + + + + view['data'] as $key => $d) { ?> + + + + + + + +
get_option('wpsg_rechnungen_foottext_standard') == $key)?'checked="checked"':''); ?> class="wpsg_rechnungen_foottext_standard" name="wpsg_rechnungen_foottext_standard" /> + + + + + +
+ \ No newline at end of file diff --git a/views/mods/mod_rechnungen/gutschriftmail.phtml b/views/mods/mod_rechnungen/gutschriftmail.phtml new file mode 100644 index 0000000..dd18ba5 --- /dev/null +++ b/views/mods/mod_rechnungen/gutschriftmail.phtml @@ -0,0 +1,19 @@ +view); + +?> view['kunde']['vname']; ?> view['kunde']['name']; ?>, + + view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> view['data']['onr']) != '')?$this->view['data']['onr']:$this->view['data']['o_id']); ?>. + +view['storno_fee']) > 0) { ?> +view['storno_fee'], $this->get_option('wpsg_currency')); ?> + + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_rechnungen/gutschriftmail_html.phtml b/views/mods/mod_rechnungen/gutschriftmail_html.phtml new file mode 100644 index 0000000..cc3e23e --- /dev/null +++ b/views/mods/mod_rechnungen/gutschriftmail_html.phtml @@ -0,0 +1,19 @@ +view); + +?>

view['kunde']['vname']; ?> view['kunde']['name']; ?>,

+ +

view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> view['data']['onr']) != '')?$this->view['data']['onr']:$this->view['data']['o_id']); ?>.

+ +view['storno_fee']) > 0) { ?> +

view['storno_fee'], $this->get_option('wpsg_currency')); ?>

+ + +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_rechnungen/order_view.phtml b/views/mods/mod_rechnungen/order_view.phtml new file mode 100644 index 0000000..9551099 --- /dev/null +++ b/views/mods/mod_rechnungen/order_view.phtml @@ -0,0 +1,278 @@ + + + + +
+

+
+ +

+
+ + view['mod_rechnungen']['arRechnungen']) == 0 && sizeof($this->view['mod_rechnungen']['arRechnungen_storno']) == 0) { ?> +

+ + + view['mod_rechnungen']['arRechnungen_gesamt'] as $r) { ?> + + + + + +
# + + + + + + + + + + + + + + callMod('wpsg_mod_rechnungen', 'getFilePath', array($this->view['data']['id'], true)).'R'.$r['rnr'].'.pdf'; + } + else if ($r['gnr'] != "") + { + $rfile = $this->callMod('wpsg_mod_rechnungen', 'getFilePath', array($this->view['data']['id'], true)).'G'.$r['gnr'].'.pdf'; + } + + ?> + +   + + +
+
+ + + view['mod_rechnungen']['arRechnungen']) > 0 && sizeof($this->view['mod_rechnungen']['arRechnungen_gesamt']) != sizeof($this->view['mod_rechnungen']['arRechnungen_storno'])) { ?> +
+ +
+
+ + + +
+
+
+ + + +

+ + " style="float:right;" /> + + + + +
+
+
+
+
+ + +
+ +
+ +
+ + + + + +
+ + + get_option("wpsg_rechnungen_faelligkeit") * 86400)); ?>" /> +
+ + + +
+ + +
+ + + " /> +
+ + + + get_option("wpsg_rechnungen_footer"); + if (!is_array($wpsg_rechnungen_footer)) $wpsg_rechnungen_footer = unserialize($this->get_option("wpsg_rechnungen_footer")); + if (!is_array($wpsg_rechnungen_footer)) $wpsg_rechnungen_footer = Array(); + + ?> + + 0) { ?> + + + +
+
+
+ + + + " /> + " /> + +
+ +
+
+
+ + + +
+
\ No newline at end of file diff --git a/views/mods/mod_rechnungen/rechnung_pdf.phtml b/views/mods/mod_rechnungen/rechnung_pdf.phtml new file mode 100644 index 0000000..4e4b402 --- /dev/null +++ b/views/mods/mod_rechnungen/rechnung_pdf.phtml @@ -0,0 +1,919 @@ +get_option('wpsg_rechnungen_pdfperpage'); + + // Damit die Steuer bei der Kleinunternehmerregelung nicht angezeigt wird leer ich den Array sicherheitshalber + if ($this->get_option('wpsg_kleinunternehmer') == '1') + { + + unset($this->view['basket']['mwst']); + + } + + if (!function_exists('AddRechnungPage')) + { + + function AddRechnungPage($shop, $pdf) + { + + global $absender_left, $absender_top, $adress_left, $adress_top, $rdata_left, $rdata_top; + + $pdf->AddPage(); + + if (file_exists($shop->callMod('wpsg_mod_rechnungen', getFilePath, array(''))."wpsg_rechnungen_bp.pdf")) + { + + $pagecount = $pdf->setSourceFile($shop->callMod('wpsg_mod_rechnungen', getFilePath, array(''))."wpsg_rechnungen_bp.pdf"); + $tplidx = $pdf->importPage(1, '/MediaBox'); + $pdf->useTemplate($tplidx, 0, 0, 210); + + } + if (file_exists($shop->callMod('wpsg_mod_rechnungen', getFilePath, array(''))."wpsg_rechnungen_bp.jpg")) + { + $pdf->image($shop->callMod('wpsg_mod_rechnungen', getFilePath, array(''))."wpsg_rechnungen_bp.jpg", 0, 0, 210, 297, 'jpg'); + } + + + if (file_exists($shop->callMod('wpsg_mod_rechnungen', getFilePath, array(''))."wpsg_rechnungen_logo.jpg")) + { + + list($width, $height, $type, $attr) = getimagesize($shop->callMod('wpsg_mod_rechnungen', getFilePath, array(''))."wpsg_rechnungen_logo.jpg"); + + //wpsg_debug($width.":".$height); + + $wPix = (25.4 * $width) / 96; + $hPix = (25.4 * $height) / 96; + + $pdf->image($shop->callMod('wpsg_mod_rechnungen', getFilePath, array(''))."wpsg_rechnungen_logo.jpg", 210 - $wPix, 0, $wPix, $hPix); + + } + + // Absenderadresszeile (Wird in der Konfiguration hinterlegt) + $pdf->SetFont('Arial', '', 6); + $pdf->Text($absender_left, $absender_top, $shop->replaceUniversalPlatzhalter(__($shop->get_option("wpsg_rechnungen_adresszeile"), 'wpsg'), $shop->view['data']['id'])); + + if ($shop->view['kunde']['kuerzel'] != "") $shop->view['kunde']['kuerzel'] = $shop->view['kunde']['kuerzel'].'-'; + + // Adresse des Kunden + $pdf->SetFont('Arial', '', 12); + $pdf->Text($adress_left, $adress_top, $shop->view['kunde']['firma']); + $pdf->Text($adress_left, $adress_top + 5, $shop->view['kunde']['vname'].' '.$shop->view['kunde']['name']); + $pdf->Text($adress_left, $adress_top + 10, $shop->view['kunde']['strasse'].' '.$shop->view['kunde']['hausnr']); + $pdf->Text($adress_left, $adress_top + 15, $shop->view['kunde']['plz'].' '.$shop->view['kunde']['ort']); + $pdf->Text($adress_left, $adress_top + 20, strtoupper($shop->view['oOrder']->getInvoiceCountryName())); + + // Rechnungsdaten + $pdf->SetFont('Arial', 'B', 16); + $pdf->Text($rdata_left, $rdata_top, $shop->view['title']); + $pdf->SetFont('Arial', 'B', 9); + $pdf->Text($rdata_left, $rdata_top + 6, $shop->view['rnr']); + $pdf->SetFont('Arial', '', 9); + + if (isset($shop->view['faelligkeitdatum'])) + { + + $pdf->Text($rdata_left + 35, $rdata_top, __("Fällig am", "wpsg")); + $pdf->Text($rdata_left + 35, $rdata_top + 6, $shop->view['faelligkeitdatum']); + + } + + if (isset($shop->view['payment'])) + { + + $pdf->Text($rdata_left + 58, $rdata_top, __("Zahlungsbedingungen", "wpsg")); + $pdf->Text($rdata_left + 58, $rdata_top + 6, $shop->view['payment']); + + } + + $pdf->Text($rdata_left + 105, $rdata_top, __("Kunden-Nr", "wpsg")); + $pdf->Text($rdata_left + 105, $rdata_top + 6, (($shop->view['kunde']['knr'] != '')?$shop->view['kunde']['knr']:$shop->view['kunde']['id'])); + + $pdf->Text($rdata_left + 135, $rdata_top, __("Best. Nr.", "wpsg")); + $pdf->Text($rdata_left + 135, $rdata_top + 6, ((trim($shop->view['data']['onr']) != '')?$shop->view['data']['onr']:$shop->view['data']['id'])); + + $pdf->Text($rdata_left + 155, $rdata_top, __("Datum", "wpsg")); + $pdf->Text($rdata_left + 155, $rdata_top + 6, $shop->view['rDatum']); + + if ($shop->view['oOrder']->isInnerEu()) + { + + $pdf->SetFont('Arial', '', 9); + $pdf->Text($adress_left, $rdata_top + 11.5, __("Innergemeinschaftliche Lieferung.", "wpsg")); + + } + + // Benutzerdefinierte Felder + $arTexte = $shop->callMod('wpsg_mod_rechnungen', 'getRechnungstexte', array($shop->view['data']['id'])); + + foreach ((array)$arTexte as $text) + { + + if (isset($text['aktiv']) && $text['aktiv'] == 1) + { + + $pdf->SetFont('Arial', 'B', ((intval($text['fontsize']) > 0)?intval($text['fontsize']):10)); + $pdf->SetTextColor($text['color']); + $pdf->MultiCell($text['x'], $text['y'], 5, utf8_encode($text['text'])); + $pdf->SetTextColor("#000000"); + + } + + } + + } + + } + //wpsg_debug($this->view); die(); + $pdf = new wpsg_fpdf(); + $pdf->SetAutoPageBreak(true, 5); + AddRechnungPage($this, $pdf); + + $summe = 0; + + $bKopf = false; $pnr = 1; $offset = 0; $count = 0; + foreach ($this->view['basket']['produkte'] as $p) + { + + if (!$bKopf) + { + + $pdf->SetFont('Arial', 'B', 9); + $pdf->setXY($prod_left, $prod_top); + $pdf->Cell(10, 8, __("Nr.", "wpsg"), 1, 0, 'C'); + + $pdf->setXY($prod_left + 10, $prod_top); + $pdf->Cell( ((sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1')?87:102), 8, "Name", 1, 0, 'L'); + + if (sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1') + { + + $pdf->setXY($prod_left + 97, $prod_top); + $pdf->Cell(15, 8, __("MwSt.", "wpsg"), 1, 0, 'C'); + + } + + $pdf->setXY($prod_left + 112, $prod_top); + $pdf->Cell(15, 8, __("Menge", "wpsg"), 1, 0, 'C'); + + $pdf->setXY($prod_left + 127, $prod_top); + $pdf->Cell(25, 8, __("Einzelpreis", "wpsg"), 1, 0, 'R'); + + $pdf->setXY($prod_left + 152, $prod_top); + $pdf->Cell(25, 8, __("Gesamtpreis", "wpsg"), 1, 0, 'R'); + + $offset = 8; + $bKopf = true; + + } + + $pdf->SetFont('Arial', '', 9); + $pdf->setXY($prod_left, $prod_top + $offset); + + if ($this->get_option('wpsg_mod_rechnungen_showanr') == '1') + { + + $pdf->Cell(10, 8, $p['anr'], 0, 0, 'C'); + + } + else + { + + $pdf->Cell(10, 8, $pnr.".", 0, 0, 'C'); + + } + + $produkt_text = $this->getProductName($this->getProduktID($p['id']), true); + $produktBeschreibung = trim(strip_tags($p['beschreibung'])); + + if ($this->isOtherLang()) + { + + $trans_db = $this->db->fetchRow("SELECT * FROM `".WPSG_TBL_PRODUCTS."` WHERE `lang_parent` = '".wpsg_q($this->getProduktID($p['id']))."' AND `lang_locale` = '".wpsg_q(get_locale())."'"); + + if (is_array($trans_db) && sizeof($trans_db) > 0) + { + + $produkt_text = $trans_db['name']; + $produktBeschreibung = trim(strip_tags($trans_db['beschreibung'])); + + } + + } + + $height = 0; // Höhe der Zeile für den Rahmen + + $pdf->setXY($prod_left + 10, $prod_top + $offset); + + // Produktvariablen + if ($this->hasMod('wpsg_mod_productvars') && $this->get_option("wpsg_mod_rechnungen_showpv") == "1") + { + + $arPV = $this->callMod('wpsg_mod_productvars', 'getAllProductVarValues', array($this->view['data']['id'], $p['product_index'])); + + if (wpsg_isSizedArray($arPV)) + { + + foreach ($arPV as $pv) + { + + $produkt_text .= "\r\n".$pv['name'].': '.$pv['value']; + $height += 5; + + } + + } + + } + + $produkt_text_cell_width = 102; + if (sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1') + { + $produkt_text_cell_width = 87; + } + + $produkt_text_width = $pdf->GetStringWidth($produkt_text); + //$produkt_text_cell_width = (($this->arMwSt == "-1")?87:102); + + $height += 5 * ceil($produkt_text_width / $produkt_text_cell_width) + 3; + + $height_y = $pdf->getY(); + $height = 2 + $pdf->MultiCell($prod_left + 10, $prod_top + $offset + 1.5, 5, utf8_encode($produkt_text), 0, 'L', 0, $produkt_text_cell_width); + + //$height += 3 + 5 + $pdf->getY() - $height_y; + //$pdf->Cell((($this->arMwSt == "-1")?102:87), 8, $produkt_text, 0, 0, 'L'); + + if (sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1') + { + + $pdf->setXY($prod_left + 97, $prod_top + $offset); + $pdf->Cell(15, 8, (($this->view['basket']['noMwSt'] == '1')?'0.00 %':wpsg_ff($p['mwst_value'], '%')), 0, 0, 'C'); + + } + + $pdf->setXY($prod_left + 112, $prod_top + $offset); + $pdf->Cell(15, 8, $p['menge'], 0, 0, 'C'); + + // Preis eines Produktes + if ($this->view['basket']['noMwSt'] == '1') + { + + // Innergemeinschaftliche Lieferung, hier Netto Preis + $preis = $p['preis_netto']; + + } + else + { + + if ($this->getFrontendTaxview() == WPSG_BRUTTO || $this->get_option('wpsg_kleinunternehmer') == '1') + { + $preis = $p['preis_brutto']; + } + else + { + $preis = $p['preis_netto']; + } + + } + + $pdf->setXY($prod_left + 127, $prod_top + $offset); + $pdf->Cell(25, 8, wpsg_ff($preis, $this->get_option('wpsg_currency')), 0, 0, 'R'); + + $pdf->setXY($prod_left + 152, $prod_top + $offset); + $pdf->Cell(25, 8, wpsg_ff($preis * $p['menge'], $this->get_option('wpsg_currency')), 0, 0, 'R'); + + /** + * Produktbeschreibung anzeigen Ja/Nein + */ + $pBeschreibungHeight = 0; + if ($this->get_option("wpsg_rechnungen_pbeschreibung") == "1" && trim(strip_tags($p['beschreibung'])) != '') + { + + $produktBeschreibung = nl2br($produktBeschreibung); + preg_match_all('/\
/', $produktBeschreibung, $treffer); + $produktBeschreibung = strip_tags($produktBeschreibung); + + $pBeschreibungWidth = $pdf->getStringWidth($produktBeschreibung); + $pBeschreibungHeight = 5 * (ceil($pBeschreibungWidth / $produkt_text_cell_width) + @sizeof($treffer[0])); + + $pdf->SetFont('Arial', 'I', 9); + + $cellY = $pdf->getY(); + $pdf->MultiCell($prod_left + 10, $prod_top + $height + $offset - 1, 5, utf8_encode($produktBeschreibung), 0, 'L', 0, $produkt_text_cell_width); + $pBeschreibungHeight = $pdf->getY() - $cellY - $height + 1; + $pdf->SetFont('Arial', '', 9); + + } + + $height += $pBeschreibungHeight; + + /** + * Variante ? + */ + if (preg_match('/vp_(.*)/', $p['productkey'])) + { + + $variInfo = $this->callMod('wpsg_mod_varianten', 'getVariantenInfoArray', array($p['productkey'])); + + $height += $pdf->MultiCell($prod_left + 10, $prod_top + $height + $offset - 0.5, 5, utf8_encode(wpsg_translate(__('Variante: #1#', 'wpsg'), $variInfo['key'])), 0, 'L', 0, $produkt_text_cell_width); + + //$height += 5; + + } + + if ($this->hasMod('wpsg_mod_deliverynote')) + { + + $arDN_order = $this->callMod('wpsg_mod_deliverynote', 'loadDeliveryNotesFromOrder', array($this->view['data']['id'])); + + if (sizeof($arDN_order) > 1) + { + + $deliveryTimeProduct = $this->callMod('wpsg_mod_deliverynote', 'getProductDeliveryTime', array($this->view['data']['id'], $p['product_index'])); + + if ($deliveryTimeProduct !== false) + { + + $height += $pdf->MultiCell($prod_left + 10, $prod_top + $height + $offset - 0.5, 5, utf8_encode(wpsg_translate(__('Lieferdatum: #1#', 'wpsg'), date('d.m.Y', $deliveryTimeProduct))), 0, 'L', 0, $produkt_text_cell_width); + + } + + } + + } + + // Jetzt die Rahmen zeichnen + $pdf->Rect($prod_left, $prod_top + $offset, 10, $height); + + $pdf->Rect($prod_left + 10, $prod_top + $offset, ((sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1')?87:102), $height); + + if (sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1') + { + + $pdf->Rect($prod_left + 97, $prod_top + $offset, 15, $height); + + } + + $pdf->Rect($prod_left + 112, $prod_top + $offset, 15, $height); + $pdf->Rect($prod_left + 127, $prod_top + $offset, 25, $height); + $pdf->Rect($prod_left + 152, $prod_top + $offset, 25, $height); + + $offset += $height; + + $pnr ++; + $count ++; + + $summe += $p['price'] * $p['menge']; + + if ($pdf->getY() > 220 || ($count >= $prod_break && sizeof($this->view['basket']['produkte']) > ($pnr - 1))) + { + + AddRechnungPage($this, $pdf); + $bKopf = false; $offset = 0; $count = 0; + + } + + } // produkte + + // Gutschein + if (isset($this->view['basket']['gs'])) + { + + $pdf->SetFont('Arial', '', 9); + $pdf->setXY($prod_left, $prod_top + $offset); + $pdf->Cell(10, 8, $pnr.'.', 1, 0, 'C'); $pnr ++; + + $pdf->setXY($prod_left + 10, $prod_top + $offset); + $pdf->Cell( ((sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1')?87:102), 8, wpsg_translate(__('Gutschein (#1#)', 'wpsg'), $this->view['basket']['gs']['code']), 1, 0, 'L'); + + if (sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1') + { + + $mwst = __('anteilig', 'wpsg'); + + $pdf->setXY($prod_left + 97, $prod_top + $offset); + $pdf->Cell(15, 8, $mwst, 1, 0, 'C'); + + } + + $pdf->setXY($prod_left + 112, $prod_top + $offset); + $pdf->Cell(15, 8, '1', 1, 0, 'C'); + + /* + if ($this->view['basket']['gs']['calc'] == 'w') + { + + $gs_value_einzel = '-'.wpsg_ff($this->view['basket']['gs']['value'], $this->get_option('wpsg_currency')); + $gs_value_gesamt = '-'.wpsg_ff($this->view['basket']['gs']['value'], $this->get_option('wpsg_currency')); + + } + else if ($this->view['basket']['gs']['calc'] == 'p') + { + + $gs_value_einzel = '-'.wpsg_ff($this->view['basket']['gs']['value'], '%'); + $gs_value_gesamt = '-'.wpsg_ff($this->view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); + + } + */ + + $gs_value_einzel = '-'.wpsg_ff($this->view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); + $gs_value_gesamt = '-'.wpsg_ff($this->view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); + + $pdf->setXY($prod_left + 127, $prod_top + $offset); + $pdf->Cell(25, 8, $gs_value_einzel, 1, 0, 'R'); + + $pdf->setXY($prod_left + 152, $prod_top + $offset); + $pdf->Cell(25, 8, $gs_value_gesamt, 1, 0, 'R'); + + $offset += 8; + + } + + // Versandkosten + if ($this->view['basket']['sum']['preis_shipping'] != '' && $this->view['basket']['sum']['preis_shipping'] != 0) + { + + $pdf->SetFont('Arial', '', 9); + $pdf->setXY($prod_left, $prod_top + $offset); + $pdf->Cell(10, 8, $pnr.'.', 1, 0, 'C'); $pnr ++; + + $pdf->setXY($prod_left + 10, $prod_top + $offset); + $pdf->Cell( ((sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1')?87:102), 8, wpsg_translate(__('Versandkosten "#1#"', 'wpsg'), $this->view['oOrder']->getShippingTypName()), 1, 0, 'L'); + + if (sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1') + { + + if ($this->arShipping[$this->view['data']['type_shipping']]['mwst_null'] == '1' && $this->view['basket']['noMwSt'] == '1') + { + + $mwst = 0; + + } + else + { + + if (isset($this->view['basket']['shipping']['tax_rata']) && $this->view['basket']['shipping']['tax_rata'] === true) + { + + $mwst = __('anteilig', 'wpsg'); + + } + else + { + + $mwst = wpsg_ff($this->arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'], '%'); + + } + + /* + if ($this->arShipping[$this->view['data']['type_shipping']]['mwst'] == '0') + { + + $mwst = __('anteilig', 'wpsg'); + + } + else + { + + $mwst = wpsg_ff($this->arShipping[$this->view['data']['type_shipping']]['mwst_value'], '%'); + + } + */ + + } + + $pdf->setXY($prod_left + 97, $prod_top + $offset); + $pdf->Cell(15, 8, $mwst, 1, 0, 'C'); + + } + + $pdf->setXY($prod_left + 112, $prod_top + $offset); + $pdf->Cell(15, 8, '1', 1, 0, 'C'); + + $pdf->setXY($prod_left + 127, $prod_top + $offset); + $pdf->Cell(25, 8, wpsg_ff($this->view['basket']['sum']['preis_shipping'], $this->get_option('wpsg_currency')), 1, 0, 'R'); + + $pdf->setXY($prod_left + 152, $prod_top + $offset); + $pdf->Cell(25, 8, wpsg_ff($this->view['basket']['sum']['preis_shipping'], $this->get_option('wpsg_currency')), 1, 0, 'R'); + + $offset += 8; + + // Zusammengesetzte Versandarten darstellen + /* + if (wpsg_isSizedArray($this->view['basket']['shipping']['methods'])) { + + foreach ($this->view['basket']['shipping']['methods'] as $shipping) { + + $pdf->SetFont('Arial', '', 9); + $pdf->setXY($prod_left, $prod_top + $offset); + $pdf->Cell(10, 8, '', 1, 0, 'C'); $pnr ++; + + $pdf->setXY($prod_left + 10, $prod_top + $offset); + $pdf->Cell( ((sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1')?87:102), 8, $this->getShippingName($shipping), 1, 0, 'L'); + + if (sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1') + { + + if ($this->view['basket']['shipping'][$shipping]['tax_rata'] == 1) { $mwst = __('Anteilig', 'wpsg'); } + else { $mwst = wpsg_ff($this->view['basket']['shipping'][$shipping]['mwst'], '%'); } + + $pdf->setXY($prod_left + 97, $prod_top + $offset); + $pdf->Cell(15, 8, $mwst, 1, 0, 'C'); + + } + + $pdf->setXY($prod_left + 112, $prod_top + $offset); + $pdf->Cell(15, 8, '1', 1, 0, 'C'); + + $pdf->setXY($prod_left + 127, $prod_top + $offset); + $pdf->Cell(25, 8, wpsg_ff($this->view['basket']['shipping'][$shipping]['preis_shipping_brutto'], $this->get_option('wpsg_currency')), 1, 0, 'R'); + + $pdf->setXY($prod_left + 152, $prod_top + $offset); + $pdf->Cell(25, 8, wpsg_ff($this->view['basket']['shipping'][$shipping]['preis_shipping_brutto'], $this->get_option('wpsg_currency')), 1, 0, 'R'); + + $offset += 8; + + } + + } + */ + + + } + + // Zahlungskosten + if ($this->view['basket']['sum']['preis_payment'] != '' && $this->view['basket']['sum']['preis_payment'] != 0) + { + + $pdf->SetFont('Arial', '', 9); + $pdf->setXY($prod_left, $prod_top + $offset); + $pdf->Cell(10, 8, $pnr.'.', 1, 0, 'C'); $pnr ++; + + $pdf->setXY($prod_left + 10, $prod_top + $offset); + $pdf->Cell( ((sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1')?87:102), 8, $this->arPayment[$this->view['data']['type_payment']]['name'], 1, 0, 'L'); + + if (sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1') + { + + if ($this->arPayment[$this->view['data']['type_payment']]['mwst_null'] == '1' && $this->view['basket']['noMwSt'] == '1') + { + $mwst = 0; + } + else + { + + if (isset($this->view['basket']['payment']['tax_rata']) && $this->view['basket']['payment']['tax_rata'] === true) + { + + $mwst = __('anteilig', 'wpsg'); + + } + else + { + + $mwst = wpsg_ff($this->arPayment[$this->view['basket']['checkout']['payment']]['mwst_value'], '%'); + + } + + /* + if ($this->arPayment[$this->view['data']['type_payment']]['mwst'] == '0') + { + + $mwst = __('anteilig', 'wpsg'); + + } + else + { + + $mwst = wpsg_ff($this->arPayment[$this->view['data']['type_payment']]['mwst_value'], '%'); + + } + */ + + } + + $pdf->setXY($prod_left + 97, $prod_top + $offset); + $pdf->Cell(15, 8, $mwst, 1, 0, 'C'); + + } + + $pdf->setXY($prod_left + 112, $prod_top + $offset); + $pdf->Cell(15, 8, '1', 1, 0, 'C'); + + $pdf->setXY($prod_left + 127, $prod_top + $offset); + $pdf->Cell(25, 8, wpsg_ff($this->view['basket']['sum']['preis_payment'], $this->get_option('wpsg_currency')), 1, 0, 'R'); + + $pdf->setXY($prod_left + 152, $prod_top + $offset); + $pdf->Cell(25, 8, wpsg_ff($this->view['basket']['sum']['preis_payment'], $this->get_option('wpsg_currency')), 1, 0, 'R'); + + $offset += 8; + + } + + // Gebühr + if (wpsg_tf($this->view['storno_fee']) > 0) + { + + $pdf->SetFont('Arial', '', 9); + $pdf->setXY($prod_left, $prod_top + $offset); + $pdf->Cell(10, 8, $pnr.'.', 1, 0, 'C'); $pnr ++; + + $label = __('Bearbeitungsgebühr', 'wpsg'); + + if (strpos($this->view['storno_fee'], '%') !== false) $label .= ' ('.wpsg_ff($this->view['storno_fee'], '%').')'; + + $pdf->setXY($prod_left + 10, $prod_top + $offset); + $pdf->Cell( ((sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1')?87:102), 8, $label, 1, 0, 'L'); + + if (sizeof($this->view['basket']['mwst']) >= 1 || $this->get_option('wpsg_showMwstAlways') == '1') + { + + if ($this->view['basket']['noMwSt'] == '1') + { + $mwst = 0; + } + else + { + + + $mwst = wpsg_ff($this->view['storno_fee_tax_value'], '%'); + + } + + $pdf->setXY($prod_left + 97, $prod_top + $offset); + $pdf->Cell(15, 8, $mwst, 1, 0, 'C'); + + } + + $pdf->setXY($prod_left + 112, $prod_top + $offset); + $pdf->Cell(15, 8, '1', 1, 0, 'C'); + + $pdf->setXY($prod_left + 127, $prod_top + $offset); + $pdf->Cell(25, 8, '-'.wpsg_ff($this->view['storno_fee_value'], $this->get_option('wpsg_currency')), 1, 0, 'R'); + + $pdf->setXY($prod_left + 152, $prod_top + $offset); + $pdf->Cell(25, 8, '-'.wpsg_ff($this->view['storno_fee_value'], $this->get_option('wpsg_currency')), 1, 0, 'R'); + + $offset += 8; + + } + + $pdf->SetFont('Arial', '', 9); + + if ($this->view['kunde']['ustidnr'] != "") + { + $offset += 10; + $pdf->Text($prod_left, $prod_top + $offset, __("Ihre Umsatzsteuer-Identifikationsnummer:", "wpsg")); + $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); + $pdf->Cell(37, 8, $this->view['kunde']['ustidnr'], 0, 0, 'R'); + } + + $offset += 10; + if ($this->get_option('wpsg_kleinunternehmer')) + { + + $pdf->Text($prod_left, $prod_top + $offset, __("Es ergibt sich folgender Gesamtbetrag", "wpsg").':'); + $pdf->Text($prod_left + 100, $prod_top + $offset, __("Summe", "wpsg")); + $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); + $pdf->Cell(37, 8, wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'] + $this->view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')), 0, 0, 'R'); + $offset += 5; + + } + else + { + + if ($this->view['basket']['noMwSt'] == '1') + { + + $pdf->Text($prod_left, $prod_top + $offset, __("Es ergibt sich folgender Gesamtbetrag", "wpsg").':'); + $pdf->Text($prod_left + 100, $prod_top + $offset, __("BRUTTOBETRAG", "wpsg")); + $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); + $pdf->Cell(37, 8, wpsg_ff($this->view['basket']['sum']['preis_gesamt_netto'], $this->get_option('wpsg_currency')), 0, 0, 'R'); + $offset += 5; + + $pdf->Text($prod_left + 100, $prod_top + $offset, __("MwSt. GESAMT", "wpsg")); + $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); + $pdf->Cell(37, 8, wpsg_ff(0, $this->get_option('wpsg_currency')), 0, 0, 'R'); + + } + else + { + + $pdf->Text($prod_left, $prod_top + $offset, __("Der Gesamtbetrag setzt sich wie folgt zusammen", "wpsg")); + + $pdf->Text($prod_left + 100, $prod_top + $offset, __("NETTOBETRAG", "wpsg")); + $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); + $pdf->Cell(37, 8, wpsg_ff($this->view['basket']['sum']['preis_gesamt_netto'], $this->get_option('wpsg_currency')), 0, 0, 'R'); + + if (sizeof($this->view['basket']['mwst']) >= 1) + { + + foreach ($this->view['basket']['mwst'] as $mw) + { + + $offset += 5; + $pdf->Text($prod_left + 100, $prod_top + $offset, __("MwSt. ", "wpsg").wpsg_ff($mw['value'], '%')); + $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); + $pdf->Cell(37, 8, wpsg_ff($mw['sum'], $this->get_option('wpsg_currency')), 0, 0, 'R'); + + } + + } + + if (sizeof($this->view['basket']['mwst']) > 1) + { + + $offset += 5; + $pdf->Text($prod_left + 100, $prod_top + $offset, __("MwSt. GESAMT", "wpsg")); + $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); + $pdf->Cell(37, 8, wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'] - $this->view['basket']['sum']['preis_gesamt_netto'], $this->get_option('wpsg_currency')), 0, 0, 'R'); + + } + + } + + } + + // Rabatt + if ($this->view['basket']['sum']['preis_rabatt'] > 0) + { + + $offset += 5; + + $pdf->Text($prod_left + 100, $prod_top + $offset, __("Rabatt", "wpsg")); + $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); + $pdf->Cell(37, 8, '-'.wpsg_ff($this->view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')), 0, 0, 'R'); + + } + + $offset += 5; + $pdf->Text($prod_left + 100, $prod_top + $offset, __("SUMME", "wpsg")); + $pdf->setXY($prod_left + 140, $prod_top + $offset - 5); + $pdf->Cell(37, 8, wpsg_ff($this->view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')), 0, 0, 'R'); + + if ($this->get_option('wpsg_kleinunternehmer') == '1') + { + + $pdf->MultiCell($prod_left - 1, $prod_top + $offset + 5, 5, utf8_encode($this->get_option('wpsg_kleinunternehmer_text'))); + $offset += 15; + + } + + if ($this->hasMod('wpsg_mod_deliverynote')) + { + + $arDN_order = $this->callMod('wpsg_mod_deliverynote', 'loadDeliveryNotesFromOrder', array($this->view['data']['id'])); + $delivery_date = $this->callMod('wpsg_mod_deliverynote', 'getDeliveryTime', array($this->view['data']['id'])); + + // Wenn es ein Gesamtlieferdatum gibt und nur einen Lieferschein, dann unter der Bestellung anzeigen + if ($delivery_date !== false && sizeof($arDN_order) == 1) + { + + $offset += 10; + + $pdf->MultiCell($prod_left, $prod_top + $offset, 5, utf8_encode( + wpsg_translate(__('Lieferung: #1#', 'wpsg'), date('d.m.Y', $delivery_date)) + )); + + $offset += 5; + + } + + } + + $offset += 5; + + if ($this->view['fussText'] != "") + { + + $pdf->MultiCell($prod_left - 1, $prod_top + $offset, 5, utf8_encode($this->view['fussText'])); + $pdf->SetFont('Arial', 'B', 9); + $offset += 10; + + } + + $shipping_adress = false; + + if ($this->hasMod('wpsg_mod_shippingadress') && $this->callMod('wpsg_mod_shippingadress', 'check_different_shippingadress', array('k_id' => $this->view['data']['k_id'], 'o_id' => $this->view['data']['id']))) + { + + $pdf->setFont('Arial', 'B', 9); + $pdf->Text($prod_left, $prod_top + $offset, __("Lieferanschrift", "wpsg").":"); + $offset += 5; + + $pdf->setFont('Arial', '', 9); + + $shipping_adress = ""; + if ($this->view['data']['shipping_firma'] != "") + { + $shipping_adress .= $this->view['data']['shipping_firma']."\r\n"; + } + $shipping_adress .= $this->view['data']['shipping_vname'].' '.$this->view['data']['shipping_name']."\r\n"; + $shipping_adress .= $this->view['data']['shipping_strasse']."\r\n"; + //$shipping_adress .= $this->view['data']['shipping_land']['kuerzel'].'-'; + + $shipping_adress .= $this->view['data']['shipping_plz'].' '.$this->view['data']['shipping_ort']."\r\n"; + $shipping_adress .= $this->view['data']['shipping_land']['name']; + + + $start = $pdf->getY(); + $pdf->MultiCell($prod_left - 1, $prod_top + $offset, 5, utf8_encode($shipping_adress), 0, 'L', 0, 100); + $offset += $pdf->getY() - $start; + + $shipping_adress = true; + + } + + + $offset += 5; + + // Bestellvariablen + if ($this->hasMod('wpsg_mod_ordervars') && $this->get_option('wpsg_mod_rechnungen_showov') == '1') + { + + $bvars = @unserialize($this->view['data']['bvars']); + if (!is_array($bvars)) $bvars = array(); + + $strBVars = ""; + foreach ($bvars as $bvars_id => $bvars_value) + { + + $bvars = $this->db->fetchRow("SELECT * FROM `".wpsg_q(WPSG_TBL_ORDERVARS)."` WHERE `id` = '".wpsg_q($bvars_id)."'"); + + if ($bvars['typ'] == "1") // Auswahl + { + if ($bvars_value <= 0) $bvars_value = __("Keine Angabe", "wpsg"); + } + else if ($bvars['typ'] == "2") // Texteingabe + { + if (trim($bvars_value) == "") $bvars_value = __("Keine Angabe", "wpsg"); + } + else if ($bvars['typ'] == "3") // Checkbox + { + if ($bvars_value <= 0) $bvars_value = __("Keine Angabe", "wpsg"); + } + + $bvars_name = $this->callMod('wpsg_mod_ordervars', 'getNameById', array($bvars_id)); + $strBVars .= "\r\n".$bvars_name.": ".$bvars_value; + + } + + $pdf->SetFont('Arial', 'B', 9); + $pdf->Text($prod_left, $prod_top + $offset, __("Angaben während der Bestellung", "wpsg").":"); + $pdf->SetFont('Arial', '', 9); + $pdf->MultiCell($prod_left - 1, $prod_top + $offset, 5, utf8_encode($strBVars)); + + } + + if (!file_exists($this->callMod('wpsg_mod_rechnungen', 'getFilePath', array($this->view['data']['id'])))) + { + + mkdir($this->callMod('wpsg_mod_rechnungen', 'getFilePath', array($this->view['data']['id'])), 0777, true); + + } + + $this->callMods('wpsg_mod_rechnungen_pdf', array(&$pdf, &$this->view['data']['id'], &$this->view['preview'], &$this->view['invoice'])); + + $filename = $this->view['filename'].".pdf"; + + if ($this->view['preview']) + { + $pdf->Output($filename, 'I'); + } + else + { + + $pdf->Output($this->callMod('wpsg_mod_rechnungen', 'getFilePath', array($this->view['data']['id'])).$filename, 'F'); + + // Hier wird der Dateiname an FPD übergeben. Er soll sich aus der Rechnungsnummer ergeben, auch wenn das Dokument über die ID gespeichert ist. + if ($this->view['output'] === true) $pdf->Output($this->view['filename_out'], 'I'); + + } + +?> \ No newline at end of file diff --git a/views/mods/mod_rechnungen/rechnungsmail.phtml b/views/mods/mod_rechnungen/rechnungsmail.phtml new file mode 100644 index 0000000..ac01fe7 --- /dev/null +++ b/views/mods/mod_rechnungen/rechnungsmail.phtml @@ -0,0 +1,16 @@ +view); + +?> view['kunde']['vname']; ?> view['kunde']['name']; ?>, + + view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> view['data']['onr']) != '')?$this->view['data']['onr']:$this->view['data']['o_id']); ?>. +callMods('wpsg_mod_rechnungen_mail'); ?> + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_rechnungen/rechnungsmail_html.phtml b/views/mods/mod_rechnungen/rechnungsmail_html.phtml new file mode 100644 index 0000000..666035c --- /dev/null +++ b/views/mods/mod_rechnungen/rechnungsmail_html.phtml @@ -0,0 +1,20 @@ +htmlMail = true; + + //wpsg_debug($this->view); + +?>

view['kunde']['vname']; ?> view['kunde']['name']; ?>,

+ +

view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> view['data']['onr']) != '')?$this->view['data']['onr']:$this->view['data']['o_id']); ?>.

+ +callMods('wpsg_mod_rechnungen_mail'); ?> + +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_rechnungen/settings_edit.phtml b/views/mods/mod_rechnungen/settings_edit.phtml new file mode 100644 index 0000000..433e0de --- /dev/null +++ b/views/mods/mod_rechnungen/settings_edit.phtml @@ -0,0 +1,241 @@ + + + +
+
+
+
+
+
+
+ +
+
+
+
+ +
+ + get_option('wpsg_rechnungen_adresszeile')); ?> +
+
+ +
+
+
+ view['bp'] !== false) { ?> + + +
+
+ view['bp'] === false) { ?> +

+ + + + + +
+
+
+ +
+
+
+ view['logo'] !== false) { ?> + + +
+
+ view['logo'] === false) { ?> +

+ + + + + +
+
+
+ +
+
+ + + + + + + + + + + + view['fields'] as $f => $field_name) { ?> + + + + + + + + + + +
+ + + + + + + + + + + + +
+ +
+ + + +
+
+ +
+
+ +
+
+ +
view['foottext_list']; ?>
+
+ +
+ +
+ +
+
+ + get_option('wpsg_rechnungen_url'), array('help' => 'wpsg_rechnung_url')); ?> + __('Manuell', 'wpsg'), + '1' => __('Bei Bestellung', 'wpsg'), + '2' => __('Bei Zahlung', 'wpsg') + ), $this->get_option('wpsg_mod_rechnungen_auto'), array('help' => 'wpsg_mod_rechnungen_auto')); ?> + get_option('wpsg_rechnungen_faelligkeit'), array('help' => 'wpsg_rechnungen_faelligkeit')); ?> + get_option('wpsg_rechnungen_pdfperpage'), array('help' => 'wpsg_rechnungen_pdfperpage')); ?> + get_option('wpsg_rechnungen_pbeschreibung'), array('help' => 'wpsg_rechnungen_pbeschreibung')); ?> + get_option('wpsg_mod_rechnungen_showgutschriftrechnung'), array('help' => 'wpsg_mod_rechnungen_showgutschriftrechnung')); ?> + get_option('wpsg_mod_rechnungen_showpv'), array('help' => 'wpsg_mod_rechnungen_showpv')); ?> + get_option('wpsg_mod_rechnungen_showov'), array('help' => 'wpsg_mod_rechnungen_showov')); ?> + get_option('wpsg_mod_rechnungen_showanr'), array('help' => 'wpsg_mod_rechnungen_showanr')); ?> + get_option('wpsg_mod_rechnungen_hideCountry'), array('help' => 'wpsg_mod_rechnungen_hideCountry')); ?> + get_option('wpsg_rechnungen_start'), array('help' => 'wpsg_rechnungen_start')); ?> + get_option('wpsg_gutschrift_start'), array('help' => 'wpsg_gutschrift_start')); ?> + get_option('wpsg_mod_rechnungen_gutschrifttax'), array('help' => 'wpsg_mod_rechnungen_gutschrifttax')); ?> + get_option('wpsg_rechnungen_format'), array('help' => 'wpsg_rechnungen_format')); ?> + get_option('wpsg_gutschrift_format'), array('help' => 'wpsg_gutschrift_format')); ?> + +
+
+ +
+
+

+ %nr% -
+ %Jahr% -
+ %Monat% -
+ %Tag% -
+

+
+
+
+
+ +
+ +
+
+ + + \ No newline at end of file diff --git a/views/mods/mod_relatedproducts/basket_after.phtml b/views/mods/mod_relatedproducts/basket_after.phtml new file mode 100644 index 0000000..64a3ca6 --- /dev/null +++ b/views/mods/mod_relatedproducts/basket_after.phtml @@ -0,0 +1,20 @@ + +view['wpsg_mod_relatedproducts']['data'])) { ?> +
+ +

+ + view['wpsg_mod_relatedproducts']['data'] as $rp_data) { ?> + + callMod('wpsg_mod_relatedproducts', 'renderRelatedProduct', array(&$rp_data, $this->get_option('wpsg_mod_relatedproducts_showBasketTemplate'))); ?> + + + +
+ \ No newline at end of file diff --git a/views/mods/mod_relatedproducts/list.phtml b/views/mods/mod_relatedproducts/list.phtml new file mode 100644 index 0000000..e123559 --- /dev/null +++ b/views/mods/mod_relatedproducts/list.phtml @@ -0,0 +1,52 @@ + +
+view['wpsg_mod_relatedproducts']['data']) <= 0) { ?> +

+ +view['wpsg_mod_relatedproducts']['data'] as $p) { ?> + + get_option('wpsg_mod_relatedproducts_template')) || $this->get_option('wpsg_mod_relatedproducts_template') == '0') { ?> + view['wpsg_mod_relatedproducts']['arTemplates'], $p['template'], array('remove' => __('Zuordnung löschen', 'wpsg'), 'labellink' => WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id='.$p['id'])); ?> + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/views/mods/mod_relatedproducts/produkt_edit_sidebar.phtml b/views/mods/mod_relatedproducts/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..ff0f487 --- /dev/null +++ b/views/mods/mod_relatedproducts/produkt_edit_sidebar.phtml @@ -0,0 +1,52 @@ + +
+

+
+ +

+
+ +
+
callMod('wpsg_mod_relatedproducts', 'drawList', array($this->view['data']['id'])); ?>
+
+
+ + \ No newline at end of file diff --git a/views/mods/mod_relatedproducts/relatedproducts.phtml b/views/mods/mod_relatedproducts/relatedproducts.phtml new file mode 100644 index 0000000..89b99e0 --- /dev/null +++ b/views/mods/mod_relatedproducts/relatedproducts.phtml @@ -0,0 +1,14 @@ + +

+ +
+ view['wpsg_mod_relatedproducts']['content']; ?> +
+ +
\ No newline at end of file diff --git a/views/mods/mod_relatedproducts/settings_edit.phtml b/views/mods/mod_relatedproducts/settings_edit.phtml new file mode 100644 index 0000000..fb5e0bc --- /dev/null +++ b/views/mods/mod_relatedproducts/settings_edit.phtml @@ -0,0 +1,30 @@ + +view['wpsg_mod_relatedproducts']['arTemplates'], $this->get_option('wpsg_mod_relatedproducts_template'), array('help' => 'wpsg_mod_relatedproducts_template')); ?> +get_option('wpsg_mod_relatedproducts_synchron'), array('help' => 'wpsg_mod_relatedproducts_synchron')); ?> + +get_option('wpsg_mod_relatedproducts_showBasket'), array('hint' => __('Wird unterhalb des Warenkorbes dargestellt. Alternativ kann [wpsg_relatedproducts_basket limit="5"] verwendet werden.', 'wpsg'), 'help' => 'wpsg_relatedproducts_basket')); ?> + + + \ No newline at end of file diff --git a/views/mods/mod_request/adminmail.phtml b/views/mods/mod_request/adminmail.phtml new file mode 100644 index 0000000..c577018 --- /dev/null +++ b/views/mods/mod_request/adminmail.phtml @@ -0,0 +1,22 @@ +htmlMail = false; + $time = time(); + +?> + + + + +: +render(WPSG_PATH_VIEW.'/mods/mod_request/requestmail.phtml'); ?> + +: + + + + \ No newline at end of file diff --git a/views/mods/mod_request/adminmail_html.phtml b/views/mods/mod_request/adminmail_html.phtml new file mode 100644 index 0000000..60de79f --- /dev/null +++ b/views/mods/mod_request/adminmail_html.phtml @@ -0,0 +1,21 @@ +htmlMail = true; + $time = time(); + +?> +

,

+

+ +

:

+render(WPSG_PATH_VIEW.'/mods/mod_request/requestmail_html.phtml'); ?> + +

:

+

+ : 
+ :  +

\ No newline at end of file diff --git a/views/mods/mod_request/customermail.phtml b/views/mods/mod_request/customermail.phtml new file mode 100644 index 0000000..f75f6fc --- /dev/null +++ b/views/mods/mod_request/customermail.phtml @@ -0,0 +1,16 @@ +htmlMail = true; + $time = time(); + +?> +view['requestlist']['customer']['vname']), wpsg_getStr($this->view['requestlist']['customer']['name'])); ?>, + + + +: +render(WPSG_PATH_VIEW.'/mods/mod_request/requestmail.phtml'); ?> \ No newline at end of file diff --git a/views/mods/mod_request/customermail_html.phtml b/views/mods/mod_request/customermail_html.phtml new file mode 100644 index 0000000..388ad1a --- /dev/null +++ b/views/mods/mod_request/customermail_html.phtml @@ -0,0 +1,15 @@ +htmlMail = true; + $time = time(); + +?> +

view['requestlist']['customer']['vname']), wpsg_getStr($this->view['requestlist']['customer']['name'])); ?>,

+

+ +

:

+render(WPSG_PATH_VIEW.'/mods/mod_request/requestmail_html.phtml'); ?> \ No newline at end of file diff --git a/views/mods/mod_request/product_bottom.phtml b/views/mods/mod_request/product_bottom.phtml new file mode 100644 index 0000000..314a8ac --- /dev/null +++ b/views/mods/mod_request/product_bottom.phtml @@ -0,0 +1,43 @@ + +get_option('wpsg_mod_request_afterinsert') == wpsg_mod_request::ACTION_SHOWREQUESTPAGELB) { ?> + + \ No newline at end of file diff --git a/views/mods/mod_request/produkt_edit_allgemein.phtml b/views/mods/mod_request/produkt_edit_allgemein.phtml new file mode 100644 index 0000000..3d97432 --- /dev/null +++ b/views/mods/mod_request/produkt_edit_allgemein.phtml @@ -0,0 +1,13 @@ + + + __('Nein', 'wpsg'), + wpsg_mod_request::TYP_YES => __('Ja, ohne Warenkorbfunktion', 'wpsg'), + wpsg_mod_request::TYP_YESWITHBASKET => __('Ja, mit zusätzlicher Warenkorbfunktion', 'wpsg') +), $this->view['oProduct']->getMeta('wpsg_mod_request_set'), array('help' => 'wpsg_mod_request_set')); ?> \ No newline at end of file diff --git a/views/mods/mod_request/requestmail.phtml b/views/mods/mod_request/requestmail.phtml new file mode 100644 index 0000000..fb98558 --- /dev/null +++ b/views/mods/mod_request/requestmail.phtml @@ -0,0 +1,116 @@ +view['requestlist']['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { $prod_col = 25; } else { $prod_col = 35; } ?> + + + + +view['requestlist']['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + +---------------------------------------------------------------------------- +view['requestlist']['products'] as $product_index => $request_product) { $i ++; ?> + + +get_option('wpsg_currency')).' ', 15); ?> +view['requestlist']['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + +get_option('wpsg_currency')), 15); ?> + +hasMod('wpsg_mod_varianten') && $this->callMod('wpsg_mod_varianten', 'isVariantsProductKey', array($request_product['product_key']))) { ?> + +: + + + +hasMod('wpsg_mod_weight') && wpsg_isSizedInt($this->get_option('wpsg_mod_weight_showRequestPageProduct'))) { ?> + + +: get_option('wpsg_mod_weight_unit')); ?> + + + +hasMod('wpsg_mod_productvars') && wpsg_isSizedInt($this->get_option('wpsg_mod_request_productvars')) && wpsg_isSizedArray($request_product['pv'])) { ?> + + +: + + + + + + + + + +getFrontendTaxview() == WPSG_NETTO) { ?> +view['requestlist']['sum']['price_netto'], $this->get_option('wpsg_currency')), 46); ?> +view['requestlist']['tax'] as $tax_key => $tax) { ?> +get_option('wpsg_currency')), 31); ?> + +view['requestlist']['sum']['price_brutto'], $this->get_option('wpsg_currency')), 46); ?> + +view['requestlist']['sum']['price_brutto'], $this->get_option('wpsg_currency')), 46); ?> +view['requestlist']['tax'] as $tax_key => $tax) { ?> +get_option('wpsg_currency')), 31); ?> + +view['requestlist']['sum']['price_netto'], $this->get_option('wpsg_currency')), 46); ?> + + +hasMod('wpsg_mod_weight') && wpsg_isSizedInt($this->get_option('wpsg_mod_weight_showRequestPage'))) { ?> + +view['requestlist']['sum']['weight'], $this->get_option('wpsg_mod_weight_unit')), 15); ?> + + + +get_option('wpsg_mod_request_ordervars')) && wpsg_isSizedArray($this->view['orderVars'])) { ?> +: + +view['orderVars'] as $ov_index => $ov) { ?> + +view['requestlist']['ov'][$ov['id']])) { ?> + +view['requestlist']['ov'][$ov['id']], 46); ?> + + + + + + +view['requestlist']['customer']['comment'])) { ?> +: +view['requestlist']['customer']['comment']); ?> + +: + +view['requestlist']['customer']['firma']), 46); ?> +view['requestlist']['customer']['title']), 46); ?> +view['requestlist']['customer']['vname']), 46); ?> +view['requestlist']['customer']['name']), 46); ?> +view['requestlist']['customer']['email']), 46); ?> +view['requestlist']['customer']['fax']), 46); ?> +view['requestlist']['customer']['tel']), 46); ?> +view['requestlist']['customer']['strasse']), 46); ?> +view['requestlist']['customer']['plz']), 46); ?> +view['requestlist']['customer']['ort']), 46); ?> +view['requestlist']['customer']['ustidnr']), 46); ?> + +get_option('wpsg_mod_request_customerdata'))) { ?> +view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?> + +view['requestlist']['customer']['custom'][$c_id])) { ?> + +view['requestlist']['customer']['custom'][$c_id]), 46); ?> + + + + \ No newline at end of file diff --git a/views/mods/mod_request/requestmail_html.phtml b/views/mods/mod_request/requestmail_html.phtml new file mode 100644 index 0000000..6fc20fa --- /dev/null +++ b/views/mods/mod_request/requestmail_html.phtml @@ -0,0 +1,202 @@ + +
+ + + + + + view['requestlist']['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + view['requestlist']['products'] as $product_index => $request_product) { $i ++; ?> + + + + + view['requestlist']['tax']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + + + hasMod('wpsg_mod_varianten') && $this->callMod('wpsg_mod_varianten', 'isVariantsProductKey', array($request_product['product_key']))) { ?> + + + + + + + + + hasMod('wpsg_mod_weight') && wpsg_isSizedInt($this->get_option('wpsg_mod_weight_showRequestPageProduct'))) { ?> + + + + + + + + + hasMod('wpsg_mod_productvars') && wpsg_isSizedInt($this->get_option('wpsg_mod_request_productvars')) && wpsg_isSizedArray($request_product['pv'])) { ?> + + + + + + + + + + + + + getFrontendTaxview() == WPSG_NETTO) { ?> + + + + + view['requestlist']['tax'] as $tax_key => $tax) { ?> + + + + + + + + + + + + + + + view['requestlist']['tax'] as $tax_key => $tax) { ?> + + + + + + + + + + + + + hasMod('wpsg_mod_weight') && wpsg_isSizedInt($this->get_option('wpsg_mod_weight_showRequestPage'))) { ?> + + + + + + + + +
.get_option('wpsg_currency')); ?>get_option('wpsg_currency')); ?>
:
:get_option('wpsg_mod_weight_unit')); ?>
: + + + + + +
 
:view['requestlist']['sum']['price_netto'], $this->get_option('wpsg_currency')); ?>
:get_option('wpsg_currency')); ?>
:view['requestlist']['sum']['price_brutto'], $this->get_option('wpsg_currency')); ?>
:view['requestlist']['sum']['price_brutto'], $this->get_option('wpsg_currency')); ?>
:get_option('wpsg_currency')); ?>
:view['requestlist']['sum']['price_netto'], $this->get_option('wpsg_currency')); ?>
 
:view['requestlist']['sum']['weight'], $this->get_option('wpsg_mod_weight_unit')); ?>
+
+ + +get_option('wpsg_mod_request_ordervars')) && wpsg_isSizedArray($this->view['orderVars'])) { ?> +

:

+ + + view['orderVars'] as $ov_index => $ov) { ?> + + + + + +
: + + view['requestlist']['ov'][$ov['id']])) { ?> + + view['requestlist']['ov'][$ov['id']]); ?> + +
+ + + +view['requestlist']['customer']['comment'])) { ?> +

:

+

view['requestlist']['customer']['comment']); ?>

+ + +

:

+ + + __('Firma', 'wpsg'), + 'title' => __('Anrede', 'wpsg'), + 'vname' => __('Vorname', 'wpsg'), + 'name' => __('Name', 'wpsg'), + 'email' => __('E-Mail', 'wpsg'), + 'fax' => __('Fax', 'wpsg'), + 'tel' => __('Tel.', 'wpsg'), + 'strasse' => __('Strasse', 'wpsg'), + 'plz' => __('PLZ', 'wpsg'), + 'ort' => __('Ort', 'wpsg'), + 'ustidnr' => __('UStIdNr.', 'wpsg') + ); + + ?> + $label) { ?> + + + + + + + + get_option('wpsg_mod_request_customerdata'))) { ?> + view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?> + + + + + + + + +
:view['requestlist']['customer'][$field_name])).'">'.wpsg_hspc(wpsg_getStr($this->view['requestlist']['customer'][$field_name])).''; + + } + else + { + + echo wpsg_hspc(wpsg_getStr($this->view['requestlist']['customer'][$field_name])); + + } + + ?>
+ + view['requestlist']['customer']['custom'][$c_id])) { ?> + + view['requestlist']['customer']['custom'][$c_id]); ?> + +
\ No newline at end of file diff --git a/views/mods/mod_request/requestpage.phtml b/views/mods/mod_request/requestpage.phtml new file mode 100644 index 0000000..1060635 --- /dev/null +++ b/views/mods/mod_request/requestpage.phtml @@ -0,0 +1,412 @@ +view['requestlist']); + +?> + +
+ + writeFrontendMessage(); ?> + + view['requestlist']['products'])) { ?> + +
+ +

+ +
+ + + + + + + + view['addColspan'])) { ?> + + + + + + + + view['requestlist']['products'] as $request_product) { ?> + + + + + + + + view['addColspan'])) { ?> + + + + + + + hasMod('wpsg_mod_varianten') && $this->callMod('wpsg_mod_varianten', 'isVariantsProductKey', array($request_product['product_key']))) { ?> + + + + + + + + + hasMod('wpsg_mod_weight') && wpsg_isSizedInt($this->get_option('wpsg_mod_weight_showRequestPageProduct'))) { ?> + + + + + + + + + + hasMod('wpsg_mod_productvars') && wpsg_isSizedInt($this->get_option('wpsg_mod_request_productvars')) && wpsg_isSizedArray($request_product['product_data']['pv'])) { ?> + + + + + + + + + + + + + + getFrontendTaxview() == WPSG_NETTO) { ?> + + + + + + + + + + + + + + + + + + + + + hasMod('wpsg_mod_weight') && wpsg_isSizedInt($this->get_option('wpsg_mod_weight_showRequestPage'))) { ?> + + + + + + + +
 
+ + + <?php echo __('Löschen', 'wpsg'); ?> + + + + + + hasMod('wpsg_mod_produktbilder') && $this->get_option('wpsg_mod_request_requestpageimage') == '1') { + + if (wpsg_isSizedString($request_product['product_data']['varianten_image'])) $arBilder = array($request_product['product_data']['varianten_image']); + else $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($request_product['product_id'])); + + ?> + +
+ <?php echo wpsg_hspc((($request_product['product_data']['detailname'] != '')?$request_product['product_data']['detailname']:$request_product['product_data']['name'])); ?> +
+ + + + + getProduktLink($request_product)) { ?> + + getProduktLink($request_product)) { ?> +
+ + + get_option('wpsg_currency')); ?> + + + + get_option('wpsg_currency')); ?> +
:
:get_option('wpsg_mod_weight_unit')); ?>
+ + + + + + + + + + /> + + +
:view['requestlist']['sum']['price_netto'], $this->get_option('wpsg_currency')); ?>
:view['requestlist']['sum']['price_brutto'], $this->get_option('wpsg_currency')); ?>
:view['requestlist']['sum']['price_brutto'], $this->get_option('wpsg_currency')); ?>
:view['requestlist']['sum']['price_netto'], $this->get_option('wpsg_currency')); ?>
:view['requestlist']['sum']['weight'], $this->get_option('wpsg_mod_weight_unit')); ?> +
+ + + + + get_option('wpsg_mod_request_ordervars')) && wpsg_isSizedArray($this->view['orderVars'])) { ?> +

+ view['orderVars'] as $ov_index => $ov) { ?> +
+ + : + + + + view['error']))?'wpsg_error':''); ?>" id="wpsg_ov_" name="wpsg[request][ov][]" value="view['requestlist']['ov'][$ov['id']])); ?>" /> + + + view['requestlist']['ov'][$ov['id']]))?'checked="checked"':''); ?> class=" wpsg_checkout view['error']))?'wpsg_error':''); ?>" id="wpsg_ov_" name="wpsg[request][ov][]" value="1" /> + + +
+ + + + +

+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_firma" name="wpsg[request][customer][firma]" value="view['requestlist']['customer']['firma'])); ?>" /> +
+ +
+ + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="vname" name="wpsg[request][customer][vname]" value="view['requestlist']['customer']['vname'])); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="name" name="wpsg[request][customer][name]" value="view['requestlist']['customer']['name'])); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="email" name="wpsg[request][customer][email]" value="view['requestlist']['customer']['email'])); ?>" /> +
+ + view['pflicht']['emailconfirm'])) { ?> +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="email2" name="wpsg[request][customer][email2]" value="view['requestlist']['customer']['email2'])); ?>" /> +
+ + +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="geb" name="wpsg[request][customer][geb]" value="view['requestlist']['customer']['geb'])); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="fax" name="wpsg[request][customer][fax]" value="view['requestlist']['customer']['fax'])); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="tel" name="wpsg[request][customer][tel]" value="view['requestlist']['customer']['tel'])); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="strasse" name="wpsg[request][customer][strasse]" value="view['requestlist']['customer']['strasse'])); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="plz" name="wpsg[request][customer][plz]" value="view['requestlist']['customer']['plz'])); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="ort" name="wpsg[request][customer][ort]" value="view['requestlist']['customer']['ort'])); ?>" /> +
+ +
+ + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[request][customer][ustidnr]" value="view['requestlist']['customer']['ustidnr'])); ?>" /> +
+ + + get_option('wpsg_mod_request_customerdata'))) { ?> + view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?> +
+ +
+ + + + +

+ +
+ +
+ +
+ +
+ + + +
+ +
+ + +

+ + +

\ No newline at end of file diff --git a/views/mods/mod_request/settings_edit.phtml b/views/mods/mod_request/settings_edit.phtml new file mode 100644 index 0000000..174cbf1 --- /dev/null +++ b/views/mods/mod_request/settings_edit.phtml @@ -0,0 +1,23 @@ + + +view['pages'], $this->get_option('wpsg_mod_request_page'), array ('help' => 'wpsg_mod_request_page')); ?> +view['pages'], $this->get_option('wpsg_mod_request_redirect'), array ('help' => 'wpsg_mod_request_redirect')); ?> + __('Auf Seite bleiben', 'wpsg'), + wpsg_mod_request::ACTION_GOTOREQUESTPAGE => __('Zur Anfrageseite leiten', 'wpsg'), + wpsg_mod_request::ACTION_SHOWREQUESTPAGELB => __('Anfrageseite im Fenster anzeigen', 'wpsg') +), $this->get_option('wpsg_mod_request_afterinsert'), array ('help' => 'wpsg_mod_request_afterinsert')); ?> +
+get_option('wpsg_mod_request_customerdata'), array('help' => 'wpsg_mod_request_customerdata')); ?> +hasMod('wpsg_mod_ordervars')) { ?> +get_option('wpsg_mod_request_ordervars'), array('help' => 'wpsg_mod_request_ordersvar')); ?> + +hasMod('wpsg_mod_productvars')) { ?> +get_option('wpsg_mod_request_productvars'), array('help' => 'wpsg_mod_request_productvars')); ?> + \ No newline at end of file diff --git a/views/mods/mod_scaleprice/product_bottom.phtml b/views/mods/mod_scaleprice/product_bottom.phtml new file mode 100644 index 0000000..44618d0 --- /dev/null +++ b/views/mods/mod_scaleprice/product_bottom.phtml @@ -0,0 +1,45 @@ + +
+ view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?> +
+ view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?> +
+ + +
\ No newline at end of file diff --git a/views/mods/mod_scaleprice/produkt_edit_sidebar.phtml b/views/mods/mod_scaleprice/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..f220dc1 --- /dev/null +++ b/views/mods/mod_scaleprice/produkt_edit_sidebar.phtml @@ -0,0 +1,202 @@ + + + +
+

+
+ +

+
+ + view['wpsg_mod_scaleprice']['product']['id'] <= 0) { ?> +

+ + + view['wpsg_mod_scaleprice']['product']['wpsg_mod_scaleprice_activ']); ?> + +

+ + view['wpsg_mod_scaleprice']['arTyp']) && sizeof($this->view['wpsg_mod_scaleprice']['arTyp']) > 0) { ?> + __('Menge', 'wpsg'), + wpsg_mod_scaleprice::TYP_WEIGHT => __('Gewicht', 'wpsg') + ), $this->view['wpsg_mod_scaleprice']['product']['wpsg_mod_scaleprice_typ']); ?> + + + + + __('Ersetzung', 'wpsg'), + wpsg_mod_scaleprice::CALC_ADD => __('Addition', 'wpsg') + ), $this->view['wpsg_mod_scaleprice']['product']['wpsg_mod_scaleprice_calc']); ?> + +
view['wpsg_mod_scaleprice']['list']; ?>
+ +
+ + + +
+
\ No newline at end of file diff --git a/views/mods/mod_scaleprice/scaleList.phtml b/views/mods/mod_scaleprice/scaleList.phtml new file mode 100644 index 0000000..f08aaf9 --- /dev/null +++ b/views/mods/mod_scaleprice/scaleList.phtml @@ -0,0 +1,84 @@ + +view['wpsg_mod_scaleprice']['arScale'] as $k => $scale) { ?> +
+
+
+
+
+ view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?> + get_option('wpsg_mod_weight_unit'); ?> + view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?> + + +
+
+
+
+

get_option('wpsg_currency'); ?>

+ +
+
+
+ + + + + +
+
+
+ +
+ view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_WEIGHT) { ?> + get_option('wpsg_mod_weight_unit'); ?> + view['wpsg_mod_scaleprice']['typ'] == wpsg_mod_scaleprice::TYP_QUANTITY) { ?> + + +
+
+
+ +

get_option('wpsg_currency'); ?>

+ +
+
+
\ No newline at end of file diff --git a/views/mods/mod_securepay/gfx/logo_100x25.png b/views/mods/mod_securepay/gfx/logo_100x25.png new file mode 100644 index 0000000..ad6a0f5 Binary files /dev/null and b/views/mods/mod_securepay/gfx/logo_100x25.png differ diff --git a/views/mods/mod_securepay/gfx/securepay.png b/views/mods/mod_securepay/gfx/securepay.png new file mode 100644 index 0000000..86b13aa Binary files /dev/null and b/views/mods/mod_securepay/gfx/securepay.png differ diff --git a/views/mods/mod_securepay/order_done.phtml b/views/mods/mod_securepay/order_done.phtml new file mode 100644 index 0000000..6bc29eb --- /dev/null +++ b/views/mods/mod_securepay/order_done.phtml @@ -0,0 +1,18 @@ + +view['wpsg_mod_securepay']['ident'])) { ?> + + +

view['order']['onr'], wpsg_ff($this->view['order']['price_gesamt'], $this->get_option('wpsg_currency'))); ?>

+ +
view['wpsg_mod_securepay']['paymenttypes']; ?>
+ + +

+ + \ No newline at end of file diff --git a/views/mods/mod_securepay/settings_edit.phtml b/views/mods/mod_securepay/settings_edit.phtml new file mode 100644 index 0000000..37501c8 --- /dev/null +++ b/views/mods/mod_securepay/settings_edit.phtml @@ -0,0 +1,75 @@ + +get_option('wpsg_mod_securepay_sandbox'), array('help' => 'wpsg_mod_securepay_sandbox')); ?> +get_option('wpsg_mod_securepay_sender'), array('help' => 'wpsg_mod_securepay_sender')); ?> +get_option('wpsg_mod_securepay_channelid'), array('help' => 'wpsg_mod_securepay_channelid')); ?> +get_option('wpsg_mod_securepay_userid'), array('help' => 'wpsg_mod_securepay_userid')); ?> +get_option('wpsg_mod_securepay_password'), array('help' => 'wpsg_mod_securepay_password')); ?> + +
+ +get_option('wpsg_mod_securepay_activ')); ?> + 'American Express', +// 'BARPAY' => 'BarPay', +// 'BOLETO' => 'Boleto', +// 'CARTEBLEUE' => 'Carte Bleue', +// 'CHINAUNIONPAY' => 'China UnionPay', +// 'DANKORT' => 'Dankort', +// 'DINERS' => 'Diners', + 'DIRECTDEBIT_SEPA' => 'Direct Debit Sepa', +// 'DIRECTDEBIT_SEPA_MIX_DE' => 'Direct Debit Germany and Sepa', +// 'DIRECTDEBIT_SEPA_MIX_AT' => 'Direct Debit Austria and Sepa', +// 'DIRECTDEBIT_DE' => 'Direct Debit Germany', +// 'DIRECTDEBIT_AT' => 'Direct Debit Austria', +// 'DISCOVER' => 'Discover', +// 'GIROPAY' => 'Giropay', +// 'IDEAL' => 'iDeal', +// 'INVOICE' => 'Invoice', +// 'JCB' => 'JCB', +// 'MAESTRO' => 'Maestro', + 'MASTER' => 'MasterCard', +// 'PASTEANDPAY_V' => 'PasteAndPay', +// 'PAYPAL' => 'PayPal', +// 'POSTEPAY' => 'PostePay', +// 'SOFORTUEBERWEISUNG' => 'sofort Überweisung', +// 'UKASH' => 'Ukash', + 'VISA' => 'Visa', +// 'VISADEBIT' => 'Visa Debit', +// 'VISAELECTRON' => 'Visa Electron', +// 'VPAY' => 'V PAY', +// 'VSTATION_V' => 'Voucher Station', +// 'AXESS' => 'AXESS', +// 'BONUS' => 'Bonus', +// 'MAXIMUM' => 'Maximum', +// 'WORLD' => 'World', +// 'CARDFINANS' => 'CardFinans', +// 'ADVANTAGE' => 'Advantage', +// 'QOOQO' => 'Qooqo', +// 'KLARNA_INVOICE' => 'Klarna Invoice', +// 'KLARNA_INSTALLMENTS' => 'Klarna Installments', +// 'ASYACARD' => 'AsyaCard' +), @explode(' ', $this->get_option('wpsg_mod_securepay_paymenttypes')), array('multiple' => '3', 'help' => 'wpsg_mod_securepay_paymenttypes', 'hint' => __('STRG für Mehrfachauswahl', 'wpsg'))); */ ?> +get_option('wpsg_mod_securepay_paymenttypes'), array('help' => 'wpsg_mod_securepay_paymenttypes')); ?> +get_option('wpsg_mod_securepay_name'), array('help' => 'wpsg_mod_securepay_name')); ?> +get_option('wpsg_mod_securepay_hint'), array('help' => 'wpsg_mod_securepay_hint')); ?> +get_option('wpsg_mod_securepay_logo'), array('help' => 'wpsg_mod_securepay_logo')); ?> + __('Automatisch', 'wpsg'), + 'de' => __('Deutsch', 'wpsg'), + 'en' => __('Englisch', 'wpsg') +), $this->get_option('wpsg_mod_securepay_language'), array('help' => 'wpsg_mod_securepay_language')); ?> +get_option('wpsg_mod_securepay_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?> +get_option('wpsg_mod_securepay_mwst')); ?> +get_option('wpsg_mod_securepay_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?> +
+ +view['wpsg_mod_securepay']['arPages'], $this->get_option('wpsg_mod_securepay_successPage'), array('help' => 'wpsg_mod_securepay_successPage')); ?> +view['wpsg_mod_securepay']['arPages'], $this->get_option('wpsg_mod_securepay_errorPage'), array('help' => 'wpsg_mod_securepay_errorPage')); ?> + +
IW Systeme vereinbart werden.', 'wpsg'); ?>
diff --git a/views/mods/mod_shippingadress/checkout_inner_prebutton.phtml b/views/mods/mod_shippingadress/checkout_inner_prebutton.phtml new file mode 100644 index 0000000..dbdb5fc --- /dev/null +++ b/views/mods/mod_shippingadress/checkout_inner_prebutton.phtml @@ -0,0 +1,126 @@ +
+ +

+ +
+ +
+ +
+ +
+ +
+ + +
+
diff --git a/views/mods/mod_shippingadress/wpsg_order_view_customerdata.phtml b/views/mods/mod_shippingadress/wpsg_order_view_customerdata.phtml new file mode 100644 index 0000000..6301aba --- /dev/null +++ b/views/mods/mod_shippingadress/wpsg_order_view_customerdata.phtml @@ -0,0 +1,77 @@ +view); +?> + + + +
+
+ : + +
+
+

+ view['wpsg_mod_shippingadress']['shipping_firma']) != '') { ?> + view['wpsg_mod_shippingadress']['shipping_firma']); ?>
+ + view['wpsg_mod_shippingadress']['shipping_title']); ?> view['wpsg_mod_shippingadress']['shipping_vname']); ?> view['wpsg_mod_shippingadress']['shipping_name']); ?>
+ view['wpsg_mod_shippingadress']['shipping_strasse']); ?>
+ view['wpsg_mod_shippingadress']['shipping_plz']); ?> view['wpsg_mod_shippingadress']['shipping_ort']); ?> view['shipping_country']['kuerzel']); ?>
+

+
+ + + +
+
diff --git a/views/mods/mod_shs/gfx/internetkasse-logo.png b/views/mods/mod_shs/gfx/internetkasse-logo.png new file mode 100644 index 0000000..bdd660a Binary files /dev/null and b/views/mods/mod_shs/gfx/internetkasse-logo.png differ diff --git a/views/mods/mod_shs/gfx/internetkasse-logo_creditcard.png b/views/mods/mod_shs/gfx/internetkasse-logo_creditcard.png new file mode 100644 index 0000000..4f04e8b Binary files /dev/null and b/views/mods/mod_shs/gfx/internetkasse-logo_creditcard.png differ diff --git a/views/mods/mod_shs/gfx/internetkasse-logo_directdebit.png b/views/mods/mod_shs/gfx/internetkasse-logo_directdebit.png new file mode 100644 index 0000000..02f8775 Binary files /dev/null and b/views/mods/mod_shs/gfx/internetkasse-logo_directdebit.png differ diff --git a/views/mods/mod_shs/gfx/internetkasse-logo_maestro.png b/views/mods/mod_shs/gfx/internetkasse-logo_maestro.png new file mode 100644 index 0000000..b9eab47 Binary files /dev/null and b/views/mods/mod_shs/gfx/internetkasse-logo_maestro.png differ diff --git a/views/mods/mod_shs/gfx/logo_100x25.png b/views/mods/mod_shs/gfx/logo_100x25.png new file mode 100644 index 0000000..70a387a Binary files /dev/null and b/views/mods/mod_shs/gfx/logo_100x25.png differ diff --git a/views/mods/mod_shs/order_done.phtml b/views/mods/mod_shs/order_done.phtml new file mode 100644 index 0000000..6f1e82f --- /dev/null +++ b/views/mods/mod_shs/order_done.phtml @@ -0,0 +1,24 @@ + +

+

+ + <?php echo __('Mit der Sparkassen Internetkasse bezahlen', 'wpsg'); ?> + +

+get_option('wpsg_mod_shs_autostart') == '1') { ?> + + \ No newline at end of file diff --git a/views/mods/mod_shs/settings_edit.phtml b/views/mods/mod_shs/settings_edit.phtml new file mode 100644 index 0000000..f546b3f --- /dev/null +++ b/views/mods/mod_shs/settings_edit.phtml @@ -0,0 +1,82 @@ + +
+get_option('wpsg_mod_shs_bezeichnung_creditcard'), array('help' => 'wpsg_mod_shs_bezeichnung_creditcard')); ?> +get_option('wpsg_mod_shs_aktiv_creditcard'), array('help' => 'wpsg_mod_shs_aktiv_creditcard')); ?> +get_option('wpsg_mod_shs_hint_creditcard'), array('help' => 'wpsg_mod_shs_hint_creditcard')); ?> +
+get_option('wpsg_mod_shs_bezeichnung_maestro'), array('help' => 'wpsg_mod_shs_bezeichnung_maestro')); ?> +get_option('wpsg_mod_shs_aktiv_maestro'), array('help' => 'wpsg_mod_shs_aktiv_maestro')); ?> +get_option('wpsg_mod_shs_hint_maestro'), array('help' => 'wpsg_mod_shs_hint_maestro')); ?> +
+get_option('wpsg_mod_shs_bezeichnung_directdebit'), array('help' => 'wpsg_mod_shs_bezeichnung_directdebit')); ?> +get_option('wpsg_mod_shs_aktiv_directdebit'), array('help' => 'wpsg_mod_shs_aktiv_directdebit')); ?> +get_option('wpsg_mod_shs_hint_directdebit'), array('help' => 'wpsg_mod_shs_hint_directdebit')); ?> +
+get_option('wpsg_mod_shs_sandbox'), array('help' => 'wpsg_mod_shs_sandbox')); ?> +get_option('wpsg_mod_shs_sslmerchant'), array('help' => 'wpsg_mod_shs_sslmerchant')); ?> +get_option('wpsg_mod_shs_sslpw'), array( + 'help'=>'wpsg_mod_shs_sslpw', + 'pwd' => true, + /*'hint' => __('Muss mit dem Passwort im S-Interface unter Konfiguration -> Formularservice übereinstimmen.', 'wpsg') */ +)); ?> +view['wpsg_mod_notify_url'], array( + 'help' => 'wpsg_mod_notify_url', + /*'hint' => __('Muss im S-Interface unter Konfiguration -> Formularservice hinterlegt werden.', 'wpsg') */ +)); ?> +get_option('wpsg_mod_shs_apiurl'), array('help' => 'wpsg_mod_shs_apiurl')); ?> +view['api_version'], array('help' => 'wpsg_mod_shs_apiversion','readonly' => true, 'text' => true)); ?> +
+get_option('wpsg_mod_shs_gebuehr'), true), array('help' => 'wpsg_mod_shs_gebuehr','unit' => $this->get_option('wpsg_currency').' / %')); ?> +get_option('wpsg_mod_shs_mwst'), array('help' => 'wpsg_mod_shs_mwst')); ?> +get_option('wpsg_mod_shs_mwstland'), array('help' => 'wpsg_mod_shs_mwstland')); ?> +
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+get_option('wpsg_mod_shs_transactiontype'), array('help' => 'wpsg_mod_shs_transactiontype')); ?> +get_option('wpsg_mod_shs_autostart'), array('help' => 'wpsg_mod_shs_autostart')); ?> +get_option('wpsg_mod_shs_autoend'), array('help' => 'wpsg_mod_shs_autoend')); ?> +view['pages'], $this->get_option('wpsg_page_mod_shs_success'), array('help' => 'wpsg_mod_shs_success')); ?> +view['pages'], $this->get_option('wpsg_page_mod_shs_error'), array('help' => 'wpsg_mod_shs_error')); ?> + + diff --git a/views/mods/mod_skrill/gfx/logo_100x25.png b/views/mods/mod_skrill/gfx/logo_100x25.png new file mode 100644 index 0000000..04f417f Binary files /dev/null and b/views/mods/mod_skrill/gfx/logo_100x25.png differ diff --git a/views/mods/mod_skrill/order_done.phtml b/views/mods/mod_skrill/order_done.phtml new file mode 100644 index 0000000..d960073 --- /dev/null +++ b/views/mods/mod_skrill/order_done.phtml @@ -0,0 +1,60 @@ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+ +

+ +
+ +get_option('wpsg_mod_skrill_autostart') == '1') { ?> + + \ No newline at end of file diff --git a/views/mods/mod_skrill/settings_edit.phtml b/views/mods/mod_skrill/settings_edit.phtml new file mode 100644 index 0000000..0db9ade --- /dev/null +++ b/views/mods/mod_skrill/settings_edit.phtml @@ -0,0 +1,27 @@ + +get_option('wpsg_mod_skrill_bezeichnung'), array('help' => 'wpsg_mod_skrill_bezeichnung')); ?> +get_option('wpsg_mod_skrill_aktiv'), array('help' => 'wpsg_mod_skrill_aktiv')); ?> +get_option('wpsg_mod_skrill_hint'), array('help' => 'wpsg_mod_skrill_hint')); ?> + +
+get_option('wpsg_mod_skrill_gebuehr'), true), array('help' => 'wpsg_mod_skrill_gebuehr','unit' => $this->get_option('wpsg_currency'), ' / %')); ?> +get_option('wpsg_mod_skrill_mwst'), array('help' => 'wpsg_mod_skrill_mwst')); ?> +get_option('wpsg_mod_skrill_mwstland'), array('help' => 'wpsg_mod_skrill_mwstland')); ?> + +
+get_option('wpsg_mod_skrill_currency'), array('help' => 'wpsg_mod_skrill_curreny')); ?> +get_option('wpsg_mod_skrill_recipient_description'), array('help' => 'wpsg_mod_skrill_recipient_description')); ?> +get_option('wpsg_mod_skrill_code'), array('help' => 'wpsg_mod_skrill_code')); ?> +get_option('wpsg_mod_skrill_email'), array('help' => 'wpsg_mod_skrill_email')); ?> +get_option('wpsg_mod_skrill_id'), array('help' => 'wpsg_mod_skrill_id')); ?> +get_option('wpsg_mod_skrill_logo_url'), array('help' => 'wpsg_mod_skrill_logo_url')); ?> +get_option('wpsg_mod_skrill_autostart'), array('help' => 'wpsg_mod_skrill_autostart')); ?> +view['pages'], $this->get_option('wpsg_page_mod_skrill_success'), array('help' => 'wpsg_mod_skrill_success')); ?> +view['pages'], $this->get_option('wpsg_page_mod_skrill_error'), array('help' => 'wpsg_mod_skrill_error')); ?> + diff --git a/views/mods/mod_skrill/skrill-moneybookers-payby-border_de_150x106.png b/views/mods/mod_skrill/skrill-moneybookers-payby-border_de_150x106.png new file mode 100644 index 0000000..908e241 Binary files /dev/null and b/views/mods/mod_skrill/skrill-moneybookers-payby-border_de_150x106.png differ diff --git a/views/mods/mod_spconditions/conditionList.phtml b/views/mods/mod_spconditions/conditionList.phtml new file mode 100644 index 0000000..262ef90 --- /dev/null +++ b/views/mods/mod_spconditions/conditionList.phtml @@ -0,0 +1,20 @@ + +view['data'])) { ?> + + view['data'] as $k => $v) { ?> + + true)); ?> + view['arShipping'], $v['shipping_id']); ?> +
+ + + + + + \ No newline at end of file diff --git a/views/mods/mod_spconditions/settings_edit.phtml b/views/mods/mod_spconditions/settings_edit.phtml new file mode 100644 index 0000000..b83401b --- /dev/null +++ b/views/mods/mod_spconditions/settings_edit.phtml @@ -0,0 +1,42 @@ + +
+ +
+
+
+ + +
+
+
+
+ view['conditionList']; ?> +
+ +
+ + \ No newline at end of file diff --git a/views/mods/mod_statistics/admin_setcapabilities.phtml b/views/mods/mod_statistics/admin_setcapabilities.phtml new file mode 100644 index 0000000..cf31ee6 --- /dev/null +++ b/views/mods/mod_statistics/admin_setcapabilities.phtml @@ -0,0 +1,19 @@ +prefix."user_roles"); + +?> + + + $r) { ?> + + + name="wpsg_cap[][wpsg_statistics]" value="1" /> + + + + \ No newline at end of file diff --git a/views/mods/mod_statistics/chartsalestopaymentmethod/all.phtml b/views/mods/mod_statistics/chartsalestopaymentmethod/all.phtml new file mode 100644 index 0000000..c519090 --- /dev/null +++ b/views/mods/mod_statistics/chartsalestopaymentmethod/all.phtml @@ -0,0 +1,91 @@ +render(WPSG_PATH_VIEW.'/mods/mod_statistics/simplefilter.phtml'); ?> + +view['chart']['data']['records'])) { ?> + +
+ +
+

+
+ +
+ +
+ render(WPSG_PATH_VIEW.'/mods/mod_statistics/chartsalestopaymentmethod/data.phtml'); ?> +
+ +
+ +view['chart']['data']['records'] as $data) + { + $barChartJS['payment'] .= "'".wpsg_hspc($data['name'])."', "; + $barChartJS['total'] .= wpsg_hspc($data['total']).", "; + $pieChartJS .= "['".wpsg_hspc($data['name'])."', ".wpsg_hspc($data['percent'])."], "; + } + + $barChartJS['payment'] = substr($barChartJS['payment'], 0, -2); + $barChartJS['total'] = substr($barChartJS['total'], 0, -2); + $pieChartJS = substr($pieChartJS, 0, -2); + +?> + + + + + + + \ No newline at end of file diff --git a/views/mods/mod_statistics/chartsalestopaymentmethod/data.phtml b/views/mods/mod_statistics/chartsalestopaymentmethod/data.phtml new file mode 100644 index 0000000..f65ad5a --- /dev/null +++ b/views/mods/mod_statistics/chartsalestopaymentmethod/data.phtml @@ -0,0 +1,68 @@ + + + + + + + + + + view['chart']['data']['records'] as $data) { ?> + + + + + + + +
+ + + + + + + get_option('wpsg_currency'); ?> + + + + + + + +
+ + \ No newline at end of file diff --git a/views/mods/mod_statistics/charttopsellertosales/all.phtml b/views/mods/mod_statistics/charttopsellertosales/all.phtml new file mode 100644 index 0000000..dfff484 --- /dev/null +++ b/views/mods/mod_statistics/charttopsellertosales/all.phtml @@ -0,0 +1,171 @@ +render(WPSG_PATH_VIEW.'/mods/mod_statistics/simplefilter.phtml'); ?> + +view['chart']['data']['records'])) { ?> +
+ +
+

+
+ +
+

+
+ +
+ +
+ render(WPSG_PATH_VIEW.'/mods/mod_statistics/charttopsellertosales/data.phtml'); ?> +
+ +
+ +view['chart']['data']['records'] as $data) + { + $barChartJS['payment'] .= "'".wpsg_hspc($data['name'])."', "; + $barChartJS['amount'] .= "['".wpsg_hspc($data['name'])."','".wpsg_hspc($data['amount'])."'], "; + $barChartJS['total'] .= wpsg_hspc($data['total']).", "; + $pieChartJS['amount'] .= "['".wpsg_hspc($data['name'])."', ".wpsg_hspc($data['percent-amount'])."], "; + $pieChartJS['sales'] .= "['".wpsg_hspc($data['name'])."', ".wpsg_hspc($data['percent-sales'])."], "; + } + + $barChartJS['amount'] = substr($barChartJS['amount'], 0, -2); + $barChartJS['payment'] = substr($barChartJS['payment'], 0, -2); + $barChartJS['total'] = substr($barChartJS['total'], 0, -2); + + $pieChartJS['amount'] = substr($pieChartJS['amount'], 0, -2); + $pieChartJS['sales'] = substr($pieChartJS['sales'], 0, -2); + +?> + + + + + + + + diff --git a/views/mods/mod_statistics/charttopsellertosales/data.phtml b/views/mods/mod_statistics/charttopsellertosales/data.phtml new file mode 100644 index 0000000..b13119b --- /dev/null +++ b/views/mods/mod_statistics/charttopsellertosales/data.phtml @@ -0,0 +1,82 @@ + + + + + + + + + + + + view['chart']['data']['records'] as $data) { ?> + + + + + + + + + +
+ + + + + + + get_option('wpsg_currency'); ?> + + + + + + + + + + + + + + + + + +
+ + \ No newline at end of file diff --git a/views/mods/mod_statistics/chartturnover/all.phtml b/views/mods/mod_statistics/chartturnover/all.phtml new file mode 100644 index 0000000..c9e7181 --- /dev/null +++ b/views/mods/mod_statistics/chartturnover/all.phtml @@ -0,0 +1,123 @@ +render(WPSG_PATH_VIEW.'/mods/mod_statistics/simplefilter.phtml'); ?> + +view['chart']['data'])) + { + + for ($i = 0; $i < count($this->view['chart']['data']); $i++) + { + + $chartJS['legend'][$i] = "{"; + + if (isset($this->view['chart']['data'][$i]['label'])) + { + $chartJS['legend'][$i] .= "label:'".$this->view['chart']['data'][$i]['label']."',"; + } + + $chartJS['legend'][$i] .= " highlighter: {"; + + $chartJS['legend'][$i] .= " formatString: '
%s, %s ".$this->get_option('wpsg_currency')."
'"; + + $chartJS['legend'][$i] .= " }"; + + $chartJS['legend'][$i] .= "}"; + + $j = 0; + + foreach ((array)$this->view['chart']['data'][$i]['records'] as $index => $record) + { + + //immer das Datum vom Rootelement nutzen + $k = 0 ; + + foreach ($this->view['chart']['data'][0]['records'] as $rindex => $rrecord) + { + if ($j == $k) + { + if ($record['year'] <= date_i18n('Y')) + { + $chartJS['area']['area'.$i][] = "['".$rrecord['year'].'/'."1".'/'."1"."', ".wpsg_hspc($record['total'])."]"; + } + } + $k++; + } + + if ($j == count($this->view['chart']['data'][$i]['records']) - 1) { + $chartJS['area']['area'.$i] = '['.implode(',', $chartJS['area']['area'.$i]).']'; + } + + $j++; + } + + } + + } + +?> + + +
+ +
+ +
+ render(WPSG_PATH_VIEW.'/mods/mod_statistics/chartturnover/data.phtml'); ?> +
+ +
+ + + + + \ No newline at end of file diff --git a/views/mods/mod_statistics/chartturnover/customrange.phtml b/views/mods/mod_statistics/chartturnover/customrange.phtml new file mode 100644 index 0000000..3f046ae --- /dev/null +++ b/views/mods/mod_statistics/chartturnover/customrange.phtml @@ -0,0 +1,112 @@ +render(WPSG_PATH_VIEW.'/mods/mod_statistics/simplefilter.phtml'); ?> + +view['chart']['data']['records'])) { + + $i = 0; + $j = 0; + + foreach ($this->view['chart']['data']['records'] as $data) + { + + $series = "{"; + + if (isset($this->view['chart']['data']['label'])) + { + $series .= "label:'".$this->view['chart']['data']['label'].' '.$data['year']."',"; + } + else + { + $series .= "label:'".date_i18n('F', strtotime($data['day'].'.'.$data['month'].'.'.$data['year'])).' '.$data['year']."', "; + } + + $series .= " highlighter: {"; + + $series .= " formatString: '
%s ".$data['month']." ".$data['year'].", %s. ".$this->get_option('wpsg_currency')."
'"; + + $series .= " }"; + + $series .= "}"; + + if (!in_array($series, (array)$chartJS['legend']) || !isset($chartJS['legend'][$i])) + { + $chartJS['legend'][$i] = $series; + } + + $chartJS['year'] .= "['".$data['year'].'/'.$data['month'].'/'."1"."', ".wpsg_hspc($data['total'])."], "; + + if ($j == count($this->view['chart']['data']['records']) - 1) { + $chartJS['year'] = 'var year = ['.substr($chartJS['year'], 0, -2).'];'; + } + + $j++; + + } + + } +?> + + +
+ +
+ +
+ render(WPSG_PATH_VIEW.'/mods/mod_statistics/chartturnover/data.phtml'); ?> +
+ +
+ + + + + \ No newline at end of file diff --git a/views/mods/mod_statistics/chartturnover/data.phtml b/views/mods/mod_statistics/chartturnover/data.phtml new file mode 100644 index 0000000..7d5e89c --- /dev/null +++ b/views/mods/mod_statistics/chartturnover/data.phtml @@ -0,0 +1,111 @@ +view['chart']['data'] as $index => $data) { ?> + +
+ + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + get_option('wpsg_currency'); ?> + + + + + + + + + + get_option('wpsg_currency'); ?> + + +
+
+ + + +
+ + \ No newline at end of file diff --git a/views/mods/mod_statistics/chartturnover/day.phtml b/views/mods/mod_statistics/chartturnover/day.phtml new file mode 100644 index 0000000..18c1b4c --- /dev/null +++ b/views/mods/mod_statistics/chartturnover/day.phtml @@ -0,0 +1,118 @@ +render(WPSG_PATH_VIEW.'/mods/mod_statistics/simplefilter.phtml'); ?> + +view['chart']['data'])) + { + + for ($i = 0; $i < count($this->view['chart']['data']); $i++) + { + + $chartJS['legend'][$i] = "{"; + + if (isset($this->view['chart']['data'][$i]['label'])) + { + $chartJS['legend'][$i] .= "label:'".$this->view['chart']['data'][$i]['label']."',"; + } + + $chartJS['legend'][$i] .= " highlighter: {"; + + $chartJS['legend'][$i] .= " formatString: '
%s Uhr, %s ".$this->get_option('wpsg_currency')."
'"; + + $chartJS['legend'][$i] .= " }"; + + $chartJS['legend'][$i] .= "}"; + + $j = 0; + + foreach ((array)$this->view['chart']['data'][$i]['records'] as $index => $record) + { + + //immer das Datum vom Rootelement nutzen + $k = 0 ; + + foreach ($this->view['chart']['data'][0]['records'] as $rindex => $rrecord) + { + if ($j == $k) + { + if (mktime($record['hour'], 0, 0, $record['month'], $record['day'], $record['year']) <= mktime(date_i18n('H'), 0, 0, date_i18n('m'), date_i18n('d'), date_i18n('Y'))) + { + $chartJS['area']['area'.$i][] = "['".$rrecord['year'].'/'.$rrecord['month'].'/'.$rrecord['day']." ".$rrecord['hour'].":00:00', ".wpsg_hspc($record['total'])."]"; + } + } + $k++; + } + + if ($j == count($this->view['chart']['data'][$i]['records']) - 1) { + $chartJS['area']['area'.$i] = '['.implode(',', (array)$chartJS['area']['area'.$i]).']'; + } + + $j++; + } + + } + + } + +?> + + +
+ +
+ +
+ render(WPSG_PATH_VIEW.'/mods/mod_statistics/chartturnover/data.phtml'); ?> +
+ +
+ + + + + \ No newline at end of file diff --git a/views/mods/mod_statistics/chartturnover/month.phtml b/views/mods/mod_statistics/chartturnover/month.phtml new file mode 100644 index 0000000..5ef077a --- /dev/null +++ b/views/mods/mod_statistics/chartturnover/month.phtml @@ -0,0 +1,117 @@ +render(WPSG_PATH_VIEW.'/mods/mod_statistics/simplefilter.phtml'); ?> + +view['chart']['data'])) + { + + for ($i = 0; $i < count($this->view['chart']['data']); $i++) + { + + $chartJS['legend'][$i] = "{"; + + if (isset($this->view['chart']['data'][$i]['label'])) + { + $chartJS['legend'][$i] .= "label:'".$this->view['chart']['data'][$i]['label']."',"; + } + + $chartJS['legend'][$i] .= " highlighter: {"; + + $chartJS['legend'][$i] .= " formatString: '
%s ".$this->view['chart']['data'][$i]['year'].", %s ".$this->get_option('wpsg_currency')."
'"; + + $chartJS['legend'][$i] .= " }"; + + $chartJS['legend'][$i] .= "}"; + + $j = 0; + + foreach ((array)$this->view['chart']['data'][$i]['records'] as $index => $record) + { + + //immer das Datum vom Rootelement nutzen + $k = 0 ; + + foreach ($this->view['chart']['data'][0]['records'] as $rindex => $rrecord) + { + if ($j == $k) + { + if (mktime(0, 0, 0, $record['month'], $record['day'], $record['year']) <= mktime(0, 0, 0, date_i18n('m'), date_i18n('d'), date_i18n('Y'))) + { + $chartJS['area']['area'.$i][] = "['".$rrecord['year'].'/'.$rrecord['month'].'/'.$rrecord['day']."', ".wpsg_hspc($record['total'])."]"; + } + } + $k++; + } + + if ($j == count($this->view['chart']['data'][$i]['records']) - 1) { + $chartJS['area']['area'.$i] = '['.implode(',', $chartJS['area']['area'.$i]).']'; + } + + $j++; + } + + } + + } + +?> + +
+ +
+ +
+ render(WPSG_PATH_VIEW.'/mods/mod_statistics/chartturnover/data.phtml'); ?> +
+ +
+ + + + + \ No newline at end of file diff --git a/views/mods/mod_statistics/chartturnover/quarter.phtml b/views/mods/mod_statistics/chartturnover/quarter.phtml new file mode 100644 index 0000000..36fc4cf --- /dev/null +++ b/views/mods/mod_statistics/chartturnover/quarter.phtml @@ -0,0 +1,120 @@ +render(WPSG_PATH_VIEW.'/mods/mod_statistics/simplefilter.phtml'); ?> + +

+view['chart']['data'])) + { + + for ($i = 0; $i < count($this->view['chart']['data']); $i++) + { + + $chartJS['legend'][$i] = "{"; + + if (isset($this->view['chart']['data'][$i]['label'])) + { + $chartJS['legend'][$i] .= "label:'".$this->view['chart']['data'][$i]['label']."',"; + } + + $chartJS['legend'][$i] .= " highlighter: {"; + + $chartJS['legend'][$i] .= " formatString: '
KW %s ".$this->view['chart']['data'][$i]['year'].", %s ".$this->get_option('wpsg_currency')."
'"; + + $chartJS['legend'][$i] .= " }"; + + $chartJS['legend'][$i] .= "}"; + + $j = 0; + + foreach ((array)$this->view['chart']['data'][$i]['records'] as $index => $record) + { + + //immer das Datum vom Rootelement nutzen + $k = 0 ; + + foreach ($this->view['chart']['data'][0]['records'] as $rindex => $rrecord) + { + if ($j == $k) + { + if ($record['week'] <= (int)date_i18n('W') || $record['year'] < date_i18n('Y')) + { + $chartJS['area']['area'.$i][] = "['".$j."', ".wpsg_hspc($record['total'])."]"; + + + } + $chartJS['ticks']['ticks'.$i][] = '['.$j.', \'KW '.$record['week'].'\']'; + } + $k++; + } + + if ($j == count($this->view['chart']['data'][$i]['records']) - 1) { + $chartJS['area']['area'.$i] = '['.implode(',', (array)$chartJS['area']['area'.$i]).']'; + } + + $j++; + } + + } + + } + +?> + + +
+ +
+ +
+ render(WPSG_PATH_VIEW.'/mods/mod_statistics/chartturnover/data.phtml'); ?> +
+ +
+ + + + + \ No newline at end of file diff --git a/views/mods/mod_statistics/chartturnover/week.phtml b/views/mods/mod_statistics/chartturnover/week.phtml new file mode 100644 index 0000000..57dd4a5 --- /dev/null +++ b/views/mods/mod_statistics/chartturnover/week.phtml @@ -0,0 +1,118 @@ +render(WPSG_PATH_VIEW.'/mods/mod_statistics/simplefilter.phtml'); ?> + +view['chart']['data'])) + { + + $series = ''; + + for ($i = 0; $i < count($this->view['chart']['data']); $i++) + { + + $chartJS['legend'][$i] = "{"; + + if (isset($this->view['chart']['data'][$i]['label'])) + { + $chartJS['legend'][$i] .= "label:'".$this->view['chart']['data'][$i]['label']."',"; + } + + $chartJS['legend'][$i] .= " highlighter: {"; + + $chartJS['legend'][$i] .= " formatString: '
%s ".$this->view['chart']['data'][$i]['year'].", %s ".$this->get_option('wpsg_currency')."
'"; + + $chartJS['legend'][$i] .= " }"; + + $chartJS['legend'][$i] .= "}"; + + $j = 0; + + foreach ($this->view['chart']['data'][$i]['records'] as $index => $record) + { + + //immer das Datum vom Rootelement nutzen + $k = 0 ; + + foreach ($this->view['chart']['data'][0]['records'] as $rindex => $rrecord) + { + if ($j == $k) + { + if (mktime(0, 0, 0, $record['month'], $record['day'], $record['year']) <= mktime(0, 0, 0, date_i18n('m'), date_i18n('d'), date_i18n('Y'))) + { + $chartJS['area']['area'.$i][] = "['".$rrecord['year'].'/'.$rrecord['month'].'/'.$rrecord['day']."', ".wpsg_hspc($record['total'])."]"; + } + } + $k++; + } + + if ($j == count($this->view['chart']['data'][$i]['records']) - 1) { + $chartJS['area']['area'.$i] = '['.implode(',', $chartJS['area']['area'.$i]).']'; + } + + $j++; + } + + } + + } + +?> + +
+ +
+ +
+ render(WPSG_PATH_VIEW.'/mods/mod_statistics/chartturnover/data.phtml'); ?> +
+ +
+ + + + + \ No newline at end of file diff --git a/views/mods/mod_statistics/chartturnover/year.phtml b/views/mods/mod_statistics/chartturnover/year.phtml new file mode 100644 index 0000000..2be39aa --- /dev/null +++ b/views/mods/mod_statistics/chartturnover/year.phtml @@ -0,0 +1,127 @@ +render(WPSG_PATH_VIEW.'/mods/mod_statistics/simplefilter.phtml'); ?> + +view['chart']['data'])) + { + + for ($i = 0; $i < count($this->view['chart']['data']); $i++) + { + + $chartJS['legend'][$i] = "{"; + + if (isset($this->view['chart']['data'][$i]['label'])) + { + $chartJS['legend'][$i] .= "label:'".$this->view['chart']['data'][$i]['label']."',"; + } + + $chartJS['legend'][$i] .= " highlighter: { useXTickMarks: true, "; + + $chartJS['legend'][$i] .= " formatString: '
%s, %s. ".$this->get_option('wpsg_currency')."
'"; + + $chartJS['legend'][$i] .= " }"; + + $chartJS['legend'][$i] .= "}"; + + $j = 0; + + foreach ((array)$this->view['chart']['data'][$i]['records'] as $index => $record) + { + + //immer das Datum vom Rootelement nutzen + $k = 0 ; + + foreach ($this->view['chart']['data'][0]['records'] as $rindex => $rrecord) + { + if ($j == $k) + { + if (mktime(0, 0, 0, $record['month'], 1, $record['year']) <= mktime(0, 0, 0, date_i18n('m'), 1, date_i18n('Y'))) + { + $chartJS['area']['area'.$i][] .= "['".$j."', ".wpsg_hspc($record['total'])."]"; + } + $chartJS['ticks']['ticks'.$i][] = '['.$j.', \''.$record['tick'].'\']'; + } + $k++; + } + + if ($j == count($this->view['chart']['data'][$i]['records']) - 1) { + $chartJS['area']['area'.$i] = '['.implode(',', (array)$chartJS['area']['area'.$i]).']'; + } + + $j++; + } + + } + + } + +?> + + +
+ +
+ +
+ render(WPSG_PATH_VIEW.'/mods/mod_statistics/chartturnover/data.phtml'); ?> +
+ +
+ + + + + \ No newline at end of file diff --git a/views/mods/mod_statistics/chartturnoverperhour/all.phtml b/views/mods/mod_statistics/chartturnoverperhour/all.phtml new file mode 100644 index 0000000..1698126 --- /dev/null +++ b/views/mods/mod_statistics/chartturnoverperhour/all.phtml @@ -0,0 +1,117 @@ +render(WPSG_PATH_VIEW.'/mods/mod_statistics/simplefilter.phtml'); ?> + +view['chart']['data'])) + { + + for ($i = 0; $i < count($this->view['chart']['data']); $i++) + { + + $chartJS['legend'][$i] = "{"; + + if (isset($this->view['chart']['data'][$i]['label'])) + { + $chartJS['legend'][$i] .= "label:'".$this->view['chart']['data'][$i]['label']."',"; + } + + $chartJS['legend'][$i] .= " highlighter: {"; + + $chartJS['legend'][$i] .= " formatString: '
%s Uhr, %s ".$this->get_option('wpsg_currency')."
'"; + + $chartJS['legend'][$i] .= " }"; + + $chartJS['legend'][$i] .= "}"; + + $j = 0; + + foreach ((array)$this->view['chart']['data'][$i]['records'] as $index => $record) + { + //immer das Datum vom Rootelement nutzen + $k = 0 ; + + foreach ($this->view['chart']['data'][0]['records'] as $rindex => $rrecord) + { + if ($j == $k) + { + //if (mktime($record['hour'], 0, 0, $record['month'], $record['day'], $record['year']) <= mktime(date('H'), 0, 0, date('m'), date('d'), date('Y'))) + //{ + $chartJS['area']['area'.$i][] = "['".$rrecord['year'].'/'.$rrecord['month'].'/'.$rrecord['day']." ".$rrecord['hour'].":00:00', ".wpsg_hspc($record['total'])."]"; + //} + } + $k++; + } + + if ($j == count($this->view['chart']['data'][$i]['records']) - 1) { + $chartJS['area']['area'.$i] = '['.implode(',', (array)$chartJS['area']['area'.$i]).']'; + } + + $j++; + } + + } + + } + +?> + + +
+ +
+ +
+ render(WPSG_PATH_VIEW.'/mods/mod_statistics/chartturnoverperhour/data.phtml'); ?> +
+ +
+ + + + + \ No newline at end of file diff --git a/views/mods/mod_statistics/chartturnoverperhour/data.phtml b/views/mods/mod_statistics/chartturnoverperhour/data.phtml new file mode 100644 index 0000000..3e98ee4 --- /dev/null +++ b/views/mods/mod_statistics/chartturnoverperhour/data.phtml @@ -0,0 +1,103 @@ +view['chart']['data'] as $index => $data) { ?> + +
+ + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + get_option('wpsg_currency'); ?> + + + + + + + +
0)?wpsg_hspc($record['orders']):'0'); ?>
+
+ + + +
+ + \ No newline at end of file diff --git a/views/mods/mod_statistics/customermap/all.phtml b/views/mods/mod_statistics/customermap/all.phtml new file mode 100644 index 0000000..b35624c --- /dev/null +++ b/views/mods/mod_statistics/customermap/all.phtml @@ -0,0 +1,48 @@ + + + +
+
+
+
+
+
+
\ No newline at end of file diff --git a/views/mods/mod_statistics/settings_edit.phtml b/views/mods/mod_statistics/settings_edit.phtml new file mode 100644 index 0000000..eaa1d87 --- /dev/null +++ b/views/mods/mod_statistics/settings_edit.phtml @@ -0,0 +1,133 @@ +
+ +
+
+
+
+
+
+
+
+
+
+
+ +
+ +
+ + get_option('wpsg_mod_statistics_status')); + + echo __('Bitte wählen Sie die Zustände aus unter welchen die Bestellung eines Produktes als abgeschlossen Gültigkeit besitzt.', 'wpsg'); + ?> +

+ arStatus as $statusCode => $statusName) + { + echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_status['.$statusCode.']', $statusName, (is_array($arSelectedStatus) && is_string($arSelectedStatus[0]) && strlen($arSelectedStatus[0]) && in_array($statusCode, $arSelectedStatus)?true:false)); + } + ?> +
+
+ +
+ +
+ + + +

+ + get_option('wpsg_mod_statistics_piwik_url'), array('hint' => __('Ohne Protokoll, Beispiel: piwik.domain.de', 'wpsg'))); ?> +
+ get_option('wpsg_mod_statistics_piwik_generel')); ?> + get_option('wpsg_mod_statistics_piwik_SiteId'), array('help' => 'wpsg_mod_statistics_piwik_SiteId')); ?> + get_option('wpsg_mod_statistics_piwik_ecommerce')); ?> +

+ get_option('wpsg_mod_statistics_piwik_basket')); ?> + get_option('wpsg_mod_statistics_piwik_basket_target')); ?> +
+ get_option('wpsg_mod_statistics_piwik_checkout')); ?> + get_option('wpsg_mod_statistics_piwik_checkout_target')); ?> +
+ get_option('wpsg_mod_statistics_piwik_checkout2')); ?> + get_option('wpsg_mod_statistics_piwik_checkout2_target')); ?> +
+ get_option('wpsg_mod_statistics_piwik_overview')); ?> + get_option('wpsg_mod_statistics_piwik_overview_target')); ?> +
+ get_option('wpsg_mod_statistics_piwik_done')); ?> + get_option('wpsg_mod_statistics_piwik_done_target')); ?> +
+
+ +
+ get_option('wpsg_mod_statistics_google_active'), array('help' => 'wpsg_mod_statistics_google_active')); + + echo wpsg_drawForm_Input('wpsg_mod_statistics_google_tracking_code', __('Tracking-Code', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_tracking_code'), array('help' => 'wpsg_mod_statistics_google_tracking_code')); + + echo wpsg_drawForm_Input('wpsg_mod_statistics_google_domainname', __('Domainname', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_domainname'), array('help' => 'wpsg_mod_statistics_google_domainname')); + + echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_anonymise_ip_address', __('IP Adresse anonymisieren', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_anonymise_ip_address'), array('help' => 'wpsg_mod_statistics_google_anonymise_ip_address')); + + //echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_enable_first_touch_tracking', __('Enable First Touch Tracking', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_enable_first_touch_tracking')); + + echo wpsg_drawForm_Checkbox('wpsg_mod_statistics_google_track_page_load_time', __('Ladegeschwindigkeit der Website erfassen', 'wpsg'), $this->get_option('wpsg_mod_statistics_google_track_page_load_time'), array('help' => 'wpsg_mod_statistics_google_track_page_load_time')); + ?> +

+ +  : +
    +
  • + getURL(wpsg_ShopController::URL_BASKET).'?wpsg_done')).'=', array('text' => true)); + + ?> +
  • +
+ : +
    + +
  • getURL(wpsg_ShopController::URL_BASKET))), array('text' => true)); ?>
  • +
  • getURL(wpsg_ShopController::URL_CHECKOUT))).'=', array('text' => true)); ?>
  • +
  • getURL(wpsg_ShopController::URL_CHECKOUT2))).'=', array('text' => true)); ?>
  • +
  • getURL(wpsg_ShopController::URL_OVERVIEW))).'=', array('text' => true)); ?>
  • + +
+ +
+
+ +
+ get_option('wpsg_mod_statistics_line_chart_width'), array('help' => 'wpsg_mod_statistics_line_chart_width')); + echo wpsg_drawForm_Input('wpsg_mod_statistics_line_chart_height', __('Liniendiagramm (Hoehe in px)', 'wpsg'), $this->get_option('wpsg_mod_statistics_line_chart_height'), array('help' => 'wpsg_mod_statistics_line_chart_height')); + + echo wpsg_drawForm_Input('wpsg_mod_statistics_pie_chart_width', __('Kuchendiagramm (Breite in px)', 'wpsg'), $this->get_option('wpsg_mod_statistics_pie_chart_width'), array('help' => 'wpsg_mod_statistics_pie_chart_width')); + echo wpsg_drawForm_Input('wpsg_mod_statistics_pie_chart_height', __('Kuchendiagramm (Höhe in px)', 'wpsg'), $this->get_option('wpsg_mod_statistics_pie_chart_height'), array('help' => 'wpsg_mod_statistics_pie_chart_height')); + + echo wpsg_drawForm_Input('wpsg_mod_statistics_bar_chart_width', __('Balkendiagramm (Breite in px)', 'wpsg'), $this->get_option('wpsg_mod_statistics_bar_chart_width'), array('help' => 'wpsg_mod_statistics_bar_chart_width')); + echo wpsg_drawForm_Input('wpsg_mod_statistics_bar_chart_height', __('Balkendiagramm (Höhe in px)', 'wpsg'), $this->get_option('wpsg_mod_statistics_bar_chart_height'), array('help' => 'wpsg_mod_statistics_bar_chart_height')); + + echo wpsg_drawForm_Input('wpsg_mod_statistics_topproductcount', __('Anzeige Top-Produkte', 'wpsg'), $this->get_option('wpsg_mod_statistics_topproductcount'), array('help' => 'wpsg_mod_statistics_topproductcount')); + ?> +
+
+ +
+
+ + diff --git a/views/mods/mod_statistics/simplefilter.phtml b/views/mods/mod_statistics/simplefilter.phtml new file mode 100644 index 0000000..306befc --- /dev/null +++ b/views/mods/mod_statistics/simplefilter.phtml @@ -0,0 +1,104 @@ + + +view['charts'][$_REQUEST['id']]['type'] as $type => $data) { ?> + + + +
+ +
+ + + +
+ +
+ + + + + +

+ + + + + + + + + + +
+ + + +

\ No newline at end of file diff --git a/views/mods/mod_statistics/statistics.phtml b/views/mods/mod_statistics/statistics.phtml new file mode 100644 index 0000000..8f64b62 --- /dev/null +++ b/views/mods/mod_statistics/statistics.phtml @@ -0,0 +1,128 @@ + + + + +

+

+ +

+ +
+ +
+ +
+
+
+
+ + +
+ +
+ +
+ + view['chart']['data']['template'])) + { + $templateFile = $this->view['chart']['data']['template'].'.phtml'; + } + else + { + $templateFile = str_replace('get', '', strtolower($this->view['standardFilter'][$this->view['filter']['standard']]['func']).'.phtml'); + } + + $templatePath = WPSG_PATH_VIEW.'/mods/mod_statistics/'.strtolower($this->view['charts'][$_REQUEST['id']]['func']).'/'.$templateFile; + + if (is_file($templatePath)) + { + $this->render($templatePath); + } + else + { + + wpsg_debug($templatePath); + echo ''.__('Ungültige Anfrage', 'wpsg').''; + + } + ?> + +
+ +
\ No newline at end of file diff --git a/views/mods/mod_statistics/totals.phtml b/views/mods/mod_statistics/totals.phtml new file mode 100644 index 0000000..f07ffcd --- /dev/null +++ b/views/mods/mod_statistics/totals.phtml @@ -0,0 +1,21 @@ + + +
+ + view['rows'] as $rows) { ?> +
+ $value) { ?> +
+ + + + + + +
+ +
+
+ + +
diff --git a/views/mods/mod_stock/produkt_edit_sidebar.phtml b/views/mods/mod_stock/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..dfeb12b --- /dev/null +++ b/views/mods/mod_stock/produkt_edit_sidebar.phtml @@ -0,0 +1,33 @@ + +
+

+
+ +

+
+
+
+ +
+
+ +
+
+
+
+
+ +
+
+ view['data']['stock_count'] == '1')?'checked="checked"':''); ?> /> +
+
+
+
+
\ No newline at end of file diff --git a/views/mods/mod_stock/settings_edit.phtml b/views/mods/mod_stock/settings_edit.phtml new file mode 100644 index 0000000..62e9119 --- /dev/null +++ b/views/mods/mod_stock/settings_edit.phtml @@ -0,0 +1,59 @@ + +
+
+ +
+
+ view['arTemplates']) || sizeof($this->view['arTemplates']) <= 0) { ?> +

+ + + + +
+
+
+get_option('wpsg_mod_stock_notemplateswitch'), array('help' => 'wpsg_mod_stock_notemplateswitch')); ?> +get_option('wpsg_mod_stock_allow'), array('help' => 'wpsg_mod_stock_allow')); ?> +get_option('wpsg_mod_stock_showBackendStock'), array('help' => 'wpsg_mod_stock_showBackendStock')); ?> +hasMod('wpsg_mod_productindex')) { ?> +get_option('wpsg_mod_stock_showProductindex'), array('help' => 'wpsg_mod_stock_showProductindex')); ?> + +get_option('wpsg_mod_stock_showProduct'), array('help' => 'wpsg_mod_stock_showProduct')); ?> + + + \ No newline at end of file diff --git a/views/mods/mod_su/gfx/logo_100x25.png b/views/mods/mod_su/gfx/logo_100x25.png new file mode 100644 index 0000000..bf13495 Binary files /dev/null and b/views/mods/mod_su/gfx/logo_100x25.png differ diff --git a/views/mods/mod_su/order_done.phtml b/views/mods/mod_su/order_done.phtml new file mode 100644 index 0000000..2569592 --- /dev/null +++ b/views/mods/mod_su/order_done.phtml @@ -0,0 +1,24 @@ + +

+

+ + <?php echo __('Mit Sofortüberweisung bezahlen', 'wpsg'); ?> + +

+get_option('wpsg_mod_su_autostart') == '1') { ?> + + \ No newline at end of file diff --git a/views/mods/mod_su/settings_edit.phtml b/views/mods/mod_su/settings_edit.phtml new file mode 100644 index 0000000..0b4dd92 --- /dev/null +++ b/views/mods/mod_su/settings_edit.phtml @@ -0,0 +1,68 @@ + + + +get_option('wpsg_mod_su_bezeichnung')); ?> +get_option('wpsg_mod_su_aktiv')); ?> +get_option('wpsg_mod_su_hint')); ?> +get_option('wpsg_mod_su_subject1')); ?> +get_option('wpsg_mod_su_subject2')); ?> +
+get_option('wpsg_mod_su_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %')); ?> +get_option('wpsg_mod_su_mwst')); ?> +get_option('wpsg_mod_su_mwstland')); ?> + +
+ __('Euro', 'wpsg'), 'CHF' => __('Schweizer Franken', 'wpsg'), 'GBP' => __('Britische Pfund', 'wpsg')), $this->get_option('wpsg_mod_su_currency')); ?> +get_option('wpsg_mod_su_userid')); ?> +get_option('wpsg_mod_su_projectid')); ?> +get_option('wpsg_mod_su_projectpassword')); ?> +get_option('wpsg_mod_su_noticepassword')); ?> + __('deutsch', 'wpsg'), 'EN' => __('englisch', 'wpsg'), 'FR' => __('französisch', 'wpsg'), 'NL' => __('niederländisch', 'wpsg')), $this->get_option('wpsg_mod_su_language')); ?> + 'MD5', 'sha1' => 'SHA1', 'sha256' => 'SHA256', 'sha512' => 'SHA512'), $this->get_option('wpsg_mod_su_hash')); ?> +
+
+ +
+
+ +
+
+
+get_option('wpsg_mod_su_autostart')); ?> + diff --git a/views/mods/mod_test/settings_edit.phtml b/views/mods/mod_test/settings_edit.phtml new file mode 100644 index 0000000..ae0e8b1 --- /dev/null +++ b/views/mods/mod_test/settings_edit.phtml @@ -0,0 +1,77 @@ + + +
+ +view['test'] as $test_index => $test) { ?> +
+
+
+
+ . Test - + callMod('wpsg_mod_test', 'checkTest', array($test)) === true) { ?> + + +
+
+
+ + + + + + + + + + + + + + $t) { ?> + + + + + + + + +
NameErwarteter WertGetesteter Wert
+ + view['arKeyLabel'][$key]; ?> + + + + callMod('wpsg_mod_test', 'getValue', array($key, $test['array'])); ?> + callMod('wpsg_mod_test', 'checkValue', array($key, $t[1], $test['array'])) === true) { ?> + + +
+ + +
Array anzeigen/verbergen +
+
+
+ + +
+
+

+ + + \ No newline at end of file diff --git a/views/mods/mod_test/showConfiguration.phtml b/views/mods/mod_test/showConfiguration.phtml new file mode 100644 index 0000000..1d86bea --- /dev/null +++ b/views/mods/mod_test/showConfiguration.phtml @@ -0,0 +1,11 @@ + +get_option('wpsg_preisangaben') == WPSG_NETTO)?'Netto':'Brutto'), array('text' => true)); ?> +getFrontendTaxview() == WPSG_NETTO)?'Netto':'Brutto'), array('text' => true)); ?> +get_option('wpsg_kleinunternehmer') == '1')?'An':'Aus'), array('text' => true)); ?> +
\ No newline at end of file diff --git a/views/mods/mod_topseller/produkt_edit_allgemein.phtml b/views/mods/mod_topseller/produkt_edit_allgemein.phtml new file mode 100644 index 0000000..58112cb --- /dev/null +++ b/views/mods/mod_topseller/produkt_edit_allgemein.phtml @@ -0,0 +1,18 @@ + +get_option('wpsg_mod_topseller_auto') == '1') { ?> + __('Einbeziehen', 'wpsg'), + '1' => __('Ausschließen', 'wpsg') +), $this->view['wpsg_mod_topseller']['status']); ?> + + __('Nicht anzeigen', 'wpsg'), + '1' => __('Anzeigen', 'wpsg') +), $this->view['wpsg_mod_topseller']['status']); ?> + \ No newline at end of file diff --git a/views/mods/mod_topseller/settings_edit.phtml b/views/mods/mod_topseller/settings_edit.phtml new file mode 100644 index 0000000..0722195 --- /dev/null +++ b/views/mods/mod_topseller/settings_edit.phtml @@ -0,0 +1,12 @@ + +hasMod('wpsg_mod_statistics')) { ?> +get_option('wpsg_mod_topseller_auto'), array('help' => 'wpsg_mod_topseller_auto')); ?> + +get_option('wpsg_mod_topseller_limit'), array('help' => 'wpsg_mod_topseller_limit')); ?> +view['arTemplates'], $this->get_option('wpsg_mod_topseller_template'), array('noIndex' => true, 'help' => 'wpsg_mod_topseller_template')); ?> \ No newline at end of file diff --git a/views/mods/mod_topseller/topseller.phtml b/views/mods/mod_topseller/topseller.phtml new file mode 100644 index 0000000..47da016 --- /dev/null +++ b/views/mods/mod_topseller/topseller.phtml @@ -0,0 +1,15 @@ + +view['topseller'])) { ?> +
+ view['topseller'] as $p) { ?> + renderProdukt($p['id'], $this->view['template']); ?> + +
+
+ \ No newline at end of file diff --git a/views/mods/mod_topseller/widget_form.phtml b/views/mods/mod_topseller/widget_form.phtml new file mode 100644 index 0000000..dbffc81 --- /dev/null +++ b/views/mods/mod_topseller/widget_form.phtml @@ -0,0 +1,23 @@ + +view['wpsg_mod_topseller_template']['name'], + __('Template', 'wpsg'), + $this->view['arTemplates'], + $this->view['wpsg_mod_topseller_template']['value'], array( + 'id' => $this->view['wpsg_mod_topseller_template']['id'], + 'noIndex' => true + ) +); ?> +view['wpsg_mod_topseller_limit']['name'], + __('Limit', 'wpsg'), + $this->view['wpsg_mod_topseller_limit']['value'], array( + 'id' => $this->view['wpsg_mod_topseller_limit']['id'] + ) +); ?> \ No newline at end of file diff --git a/views/mods/mod_trustedshops/checkout_customer_inner.phtml b/views/mods/mod_trustedshops/checkout_customer_inner.phtml new file mode 100644 index 0000000..ae4d94a --- /dev/null +++ b/views/mods/mod_trustedshops/checkout_customer_inner.phtml @@ -0,0 +1,12 @@ + +
+ +
\ No newline at end of file diff --git a/views/mods/mod_trustedshops/gfx/rate_now_button_de.png b/views/mods/mod_trustedshops/gfx/rate_now_button_de.png new file mode 100644 index 0000000..b05afcc Binary files /dev/null and b/views/mods/mod_trustedshops/gfx/rate_now_button_de.png differ diff --git a/views/mods/mod_trustedshops/gfx/siegel.gif b/views/mods/mod_trustedshops/gfx/siegel.gif new file mode 100644 index 0000000..6d264d6 Binary files /dev/null and b/views/mods/mod_trustedshops/gfx/siegel.gif differ diff --git a/views/mods/mod_trustedshops/invoicemail.phtml b/views/mods/mod_trustedshops/invoicemail.phtml new file mode 100644 index 0000000..9e2261e --- /dev/null +++ b/views/mods/mod_trustedshops/invoicemail.phtml @@ -0,0 +1,10 @@ + +get_option('wpsg_mod_trustedshops_invoicemailtitle'); ?> +https://www.trustedshops.de/bewertung/bewerten_get_option('wpsg_mod_trustedshops_shopid'); ?>.html&buyerEmail=view['customer']['email'])); ?>&shopOrderID=view['order']['onr'])); ?> + \ No newline at end of file diff --git a/views/mods/mod_trustedshops/invoicemail_html.phtml b/views/mods/mod_trustedshops/invoicemail_html.phtml new file mode 100644 index 0000000..38235a1 --- /dev/null +++ b/views/mods/mod_trustedshops/invoicemail_html.phtml @@ -0,0 +1,11 @@ + +

+ get_option('wpsg_mod_trustedshops_invoicemailtitle'); ?> +

+ \ No newline at end of file diff --git a/views/mods/mod_trustedshops/mail.phtml b/views/mods/mod_trustedshops/mail.phtml new file mode 100644 index 0000000..8177a8a --- /dev/null +++ b/views/mods/mod_trustedshops/mail.phtml @@ -0,0 +1,15 @@ +view['customer']['vname'], $this->view['customer']['name']); ?> + + + +https://www.trustedshops.de/bewertung/bewerten_get_option('wpsg_mod_trustedshops_shopid'); ?>.html&buyerEmail=view['customer']['email'])); ?>&shopOrderID=view['order']['onr'])); ?> + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_trustedshops/mail_aftercalculation.phtml b/views/mods/mod_trustedshops/mail_aftercalculation.phtml new file mode 100644 index 0000000..ed1faa0 --- /dev/null +++ b/views/mods/mod_trustedshops/mail_aftercalculation.phtml @@ -0,0 +1,10 @@ +get_option('wpsg_mod_trustedshops_customermailtitle'); ?> +https://www.trustedshops.de/bewertung/bewerten_get_option('wpsg_mod_trustedshops_shopid'); ?>.html&buyerEmail=view['customer']['email'])); ?>&shopOrderID=view['order']['onr'])); ?> + \ No newline at end of file diff --git a/views/mods/mod_trustedshops/mail_aftercalculation_html.phtml b/views/mods/mod_trustedshops/mail_aftercalculation_html.phtml new file mode 100644 index 0000000..f0b0a05 --- /dev/null +++ b/views/mods/mod_trustedshops/mail_aftercalculation_html.phtml @@ -0,0 +1,11 @@ + +

+ get_option('wpsg_mod_trustedshops_customermailtitle'), 'wpsg'); ?> +

\ No newline at end of file diff --git a/views/mods/mod_trustedshops/mail_html.phtml b/views/mods/mod_trustedshops/mail_html.phtml new file mode 100644 index 0000000..6d5157c --- /dev/null +++ b/views/mods/mod_trustedshops/mail_html.phtml @@ -0,0 +1,17 @@ +

view['customer']['vname'], $this->view['customer']['name']); ?>

+ +

+ +

+ +

+ +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_trustedshops/order_done.phtml b/views/mods/mod_trustedshops/order_done.phtml new file mode 100644 index 0000000..9b761ff --- /dev/null +++ b/views/mods/mod_trustedshops/order_done.phtml @@ -0,0 +1,17 @@ + + +view['wpsg_mod_trustedshops']['vote'] == '1' || $this->get_option('wpsg_mod_trustedshops_warranty') == '1') { ?> + + \ No newline at end of file diff --git a/views/mods/mod_trustedshops/order_view_sidebar.phtml b/views/mods/mod_trustedshops/order_view_sidebar.phtml new file mode 100644 index 0000000..9675bef --- /dev/null +++ b/views/mods/mod_trustedshops/order_view_sidebar.phtml @@ -0,0 +1,28 @@ + +
+

+
+ +

+
+ + view['data']['wpsg_mod_trustedshops_set'] == '1')?__('Ja', 'wpsg'):__('Nein', 'wpsg')), array('text' => true, 'help' => 'wpsg_mod_trustedshops_set')); ?> + +
+
+ +
+
+ +
+
+
+ +
+
\ No newline at end of file diff --git a/views/mods/mod_trustedshops/settings_edit.phtml b/views/mods/mod_trustedshops/settings_edit.phtml new file mode 100644 index 0000000..3a89a03 --- /dev/null +++ b/views/mods/mod_trustedshops/settings_edit.phtml @@ -0,0 +1,199 @@ + + +get_option('wpsg_mod_trustedshops_shopid')); ?> +get_option('wpsg_mod_trustedshops_customerset'), array('help' => 'wpsg_mod_trustedshops_customerset')); ?> + +
+ get_option('wpsg_mod_trustedshops_customerset_preset'), array('help' => 'wpsg_mod_trustedshops_customerset_preset')); ?> +
+ +
+ +
+
+
+
+
+
+
+
+
+
+
+
+ +
+ + get_option('wpsg_mod_trustedshops_siegelcache'), array('help' => 'wpsg_mod_trustedshops_siegelcache')); ?> + get_option('wpsg_mod_trustedshops_siegeltitle'), array('help' => 'wpsg_mod_trustedshops_siegeltitle')); ?> + + view['siegelURL'])) { ?> +
+
Widgetbereich eingefügt werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/widgets.php'); ?>

+
+ <?php echo wpsg_hspc($this->get_option('wpsg_mod_trustedshops_siegeltitle')); ?> + + +
+ +
+ + __('Nicht anzeigen', 'wpsg'), + '1' => __('Immer anzeigen', 'wpsg'), + '2' => __('Nur anzeigen, wenn Kunde bewerten möchte', 'wpsg') + ), $this->get_option('wpsg_mod_trustedshops_orderdone'), array('help' => 'wpsg_mod_trustedshops_orderdone')); ?> + get_option('wpsg_mod_trustedshops_orderdonetitle'), array('help' => 'wpsg_mod_trustedshops_orderdonetitle')); ?> + get_option('wpsg_mod_trustedshops_orderdonelogo'), array('help' => 'wpsg_mod_trustedshops_orderdonelogo')); ?> + +
+ + get_option('wpsg_mod_trustedshops_warranty'), array('help' => 'wpsg_mod_trustedshops_warranty')); ?> + +
+ +
+ + __('Nicht anzeigen', 'wpsg'), + '1' => __('Immer anzeigen', 'wpsg'), + '2' => __('Nur anzeigen, wenn Kunde bewerten möchte', 'wpsg') + ), $this->get_option('wpsg_mod_trustedshops_customermail'), array('help' => 'wpsg_mod_trustedshops_customermail')); ?> + get_option('wpsg_mod_trustedshops_customermailtitle'), array('help' => 'wpsg_mod_trustedshops_customermailtitle')); ?> + +
+ + hasMod('wpsg_mod_rechnungen')) { ?> + +
+ __('Nicht anzeigen', 'wpsg'), + '1' => __('Immer anzeigen', 'wpsg'), + '2' => __('Nur anzeigen, wenn Kunde bewerten möchte', 'wpsg') + ), $this->get_option('wpsg_mod_trustedshops_invoicemail'), array('help' => 'wpsg_mod_trustedshops_invoicemail')); ?> + get_option('wpsg_mod_trustedshops_invoicemailtitle'), array('help' => 'wpsg_mod_trustedshops_invoicemailtitle')); ?> + + + +
+ +
+ +
+
+ +
+
+ + + get_option('wpsg_mod_trustedshops_reminder')))?'checked="checked"':''); ?> tabindex="14" name="wpsg_mod_trustedshops_reminder" value="1"> + +
+ +

+ +

+ +
+ +
+
+
+ +
+
+ +
+
+ + arStatus as $state_id => $state_label) { ?> + + + +
+
+
+ + view['lastExport'], array('text' => true)); ?> + +
+ +
+
 
+
+ callMod('wpsg_mod_trustedshops', 'getExportData'))) { ?> + + +

+ +
+
+
+ +
+ + + +
+ +
+
+
+ + \ No newline at end of file diff --git a/views/mods/mod_trustedshops/widget.phtml b/views/mods/mod_trustedshops/widget.phtml new file mode 100644 index 0000000..b7057ec --- /dev/null +++ b/views/mods/mod_trustedshops/widget.phtml @@ -0,0 +1,51 @@ + + +view['settings']['wpsg_mod_trustedshops_siegel'] == '1') { ?> +
+ +
+ + +view['settings']['wpsg_mod_trustedshops_vote'] == '1') { ?> +
+ + <?php echo wpsg_hspc($this->get_option('wpsg_mod_trustedshops_siegeltitle')); ?> + +
+ + +view['settings']['wpsg_mod_trustedshops_badge'] == '1') { ?> + + + + diff --git a/views/mods/mod_trustedshops/widget_form.phtml b/views/mods/mod_trustedshops/widget_form.phtml new file mode 100644 index 0000000..f02e326 --- /dev/null +++ b/views/mods/mod_trustedshops/widget_form.phtml @@ -0,0 +1,30 @@ + + + + + +
+ + + +Moduleinstellungen.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&action=module&modul=wpsg_mod_trustedshops'); ?> \ No newline at end of file diff --git a/views/mods/mod_userpayment/list.phtml b/views/mods/mod_userpayment/list.phtml new file mode 100644 index 0000000..31b9b33 --- /dev/null +++ b/views/mods/mod_userpayment/list.phtml @@ -0,0 +1,165 @@ + +view['wpsg_mod_userpayment']['data']) || sizeof($this->view['wpsg_mod_userpayment']['data']) <= 0) { ?> + + + + + + + + + view['wpsg_mod_userpayment']['data'] as $zv) { $i ++; ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + view['wpsg_mod_userpayment']['data'])) { ?> + + + +
: + + + + +
: + +
: + id="zv__aktiv" /> + + +
: + +
: +
+
get_option('wpsg_currency'); ?> / %
+
+ +
: + +
: + type="checkbox" value="1" /> + + +

+ + + \ No newline at end of file diff --git a/views/mods/mod_userpayment/settings_edit.phtml b/views/mods/mod_userpayment/settings_edit.phtml new file mode 100644 index 0000000..93b21f6 --- /dev/null +++ b/views/mods/mod_userpayment/settings_edit.phtml @@ -0,0 +1,82 @@ + + + +
+ +
+
+
+ + +
+
+
+
+ callMod('wpsg_mod_userpayment', 'zv_list'); ?> +
+ +
+ +

\ No newline at end of file diff --git a/views/mods/mod_varianten/basket_row.phtml b/views/mods/mod_varianten/basket_row.phtml new file mode 100644 index 0000000..ba8063e --- /dev/null +++ b/views/mods/mod_varianten/basket_row.phtml @@ -0,0 +1,23 @@ + +view['variante']) ?> + + : + + + view['variante'] as $vari => $value) { ?> + + : ; ; get_option('wpsg_currency') ?> +
+ + + + view['variante']['key']; ?> + + + \ No newline at end of file diff --git a/views/mods/mod_varianten/drawVarianten.phtml b/views/mods/mod_varianten/drawVarianten.phtml new file mode 100644 index 0000000..ccd3185 --- /dev/null +++ b/views/mods/mod_varianten/drawVarianten.phtml @@ -0,0 +1,535 @@ + +view['message'])) { ?> +view['message'][0] == "1") { ?> +view['message'][1]; ?>

+ +view['message'][1]; ?>

+ + + +view['vp_data']) <= 0) { ?> +

+ + +
+ view['vp_data'] as $k => $var) { $i ++; ?> +
+ +
+ +
callMod('wpsg_mod_varianten', 'getVariantenName', array($this->view['vp_data'], $k)); ?>
+ + () + + () + + () + + () + +
+ + + <?php echo __(" /> + + <?php echo __('Variante deaktivieren', 'wpsg'); ?> + + <?php echo __('Variante aktivieren', 'wpsg'); ?> +
+ + + + + + + + + + + + + hasMod('wpsg_mod_weight')) { ?> + + + hasMod('wpsg_mod_stock') && $var['typ'] != 'checkbox') { ?> + + + + + + + + + + hasMod('wpsg_mod_weight')) { $ModCol ++; ?> + + + hasMod('wpsg_mod_stock') && $var['typ'] != 'checkbox') { $ModCol ++; ?> + + + + hasMod('wpsg_mod_produktbilder')) { ?> + + + + + + +
 
get_option('wpsg_currency')):wpsg_ff(0, $this->get_option('wpsg_currency'))); ?> + +
  + + callMod('wpsg_mod_varianten', 'getVariImages', array($this->view['data']['id'], $k, -1)) as $file) { $j ++; $url_tn = $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $file, 25, 25, 's')); ?> + pic" id="" onclick="return wpsg_vp_vari_setPic(this, , -1, '', );" href=""> + + + + + + + + + +
+ + + + + + + + + 0) { ?> + + + + + + + hasMod('wpsg_mod_fuellmenge')) { ?> + + + hasMod('wpsg_mod_weight')) { ?> + + + hasMod('wpsg_mod_stock')) { ?> + + + + + + + $vari) { $ModCol = 0; ?> + + + + + + + hasMod('wpsg_mod_fuellmenge')) { $ModCol ++; ?> + + + hasMod('wpsg_mod_weight')) { $ModCol ++; ?> + + + hasMod('wpsg_mod_stock')) { $ModCol ++; ?> + + + + + hasMod('wpsg_mod_produktbilder')) { ?> + + + + + + + + + + + + + + + + + +
  
callMod('wpsg_mod_varianten', 'getVariName', array($this->view['vp_data'], $k, $kv)); + ?>get_option('wpsg_currency')):wpsg_ff(0, $this->get_option('wpsg_currency'))); ?>view['vp_arFeinheiten'][$this->view['vp_productdata']['feinheit']]):"0"); ?> + + + " style="float:right; margin-left:10px;" onclick="return wpsg_vp_vari_del(, );"><?php echo __(" /> + + " style="float:right; margin-left:10px;" onclick="return wpsg_vp_vari_deaktiv(, , 0);"><?php echo __(" /> + + " style="float:right; margin-left:10px;" onclick="return wpsg_vp_vari_deaktiv(, , 1);"><?php echo __(" /> + + + + + +
  + + callMod('wpsg_mod_varianten', 'getVariImages', array($this->view['data']['id'], $k, $kv)) as $file) { $j ++; $url_tn = $this->callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $file, 25, 25, 's')); ?> + pic" id="" onclick="return wpsg_vp_vari_setPic(this, , , '', );" href=""> + + + + + + + + + +
: + " class="button" /> +
+ + +
+
+ + +
+ + + + + +
+ + + + + +" class="button" /> +
+ + + \ No newline at end of file diff --git a/views/mods/mod_varianten/mail_row.phtml b/views/mods/mod_varianten/mail_row.phtml new file mode 100644 index 0000000..1ee4d48 --- /dev/null +++ b/views/mods/mod_varianten/mail_row.phtml @@ -0,0 +1,18 @@ + +view['variante']) ?> + + +view['variante'] as $vari => $value) { ?> + + : ; ; get_option('wpsg_currency')."\n" ?> + + + +: view['variante']['key']; ?> + diff --git a/views/mods/mod_varianten/mail_row_html.phtml b/views/mods/mod_varianten/mail_row_html.phtml new file mode 100644 index 0000000..29221d6 --- /dev/null +++ b/views/mods/mod_varianten/mail_row_html.phtml @@ -0,0 +1,22 @@ + + +   + : + + + view['variante'] as $vari => $value) { ?> + + : ; ; get_option('wpsg_currency'); ?>
+ + + + view['variante']['key']; ?> + + + \ No newline at end of file diff --git a/views/mods/mod_varianten/order_view_row.phtml b/views/mods/mod_varianten/order_view_row.phtml new file mode 100644 index 0000000..37c1ec9 --- /dev/null +++ b/views/mods/mod_varianten/order_view_row.phtml @@ -0,0 +1,22 @@ + + + : + + get_option('wpsg_vp_detailview') == 1) { ?> + view['variante'] as $vari => $value) { ?> + + : ; ; get_option('wpsg_currency') ?> +
+ + + + view['variante']['key']; ?> + + + \ No newline at end of file diff --git a/views/mods/mod_varianten/overview_row.phtml b/views/mods/mod_varianten/overview_row.phtml new file mode 100644 index 0000000..ed20591 --- /dev/null +++ b/views/mods/mod_varianten/overview_row.phtml @@ -0,0 +1,22 @@ + + + : + + + view['variante'] as $vari => $value) { ?> + + : ; ; get_option('wpsg_currency') ?> +
+ + + + view['variante']['key']; ?> + + + \ No newline at end of file diff --git a/views/mods/mod_varianten/produkt.phtml b/views/mods/mod_varianten/produkt.phtml new file mode 100644 index 0000000..0f9f895 --- /dev/null +++ b/views/mods/mod_varianten/produkt.phtml @@ -0,0 +1,148 @@ + + + + +view['data']['vp_data']) && sizeof($this->view['data']['vp_data']) > 0) { ?> + view['data']['vp_data'] as $k => $var) { if ($var['aktiv'] == "1") { $vAktiv = true; ?> + +
+ + + + + + + + + +
+ + + + + + hasMod('wpsg_mod_produktbilder')) { ?> +
+ + $vari) { if ($vari['aktiv'] == '1' && (!$this->hasMod('wpsg_mod_stock') || $vari['stock'] > 0)) { ?> + callMod('wpsg_mod_varianten', 'getImageSelectImage', array($this->getProduktId($this->view['data']['id']), $k, $kv, $this->view['data']['product_key'])); ?> + + + + + + +
+ + + + $vari) { if ($vari['aktiv'] == "1" && (!$this->hasMod('wpsg_mod_stock') || $vari['stock'] > 0)) { $j ++; ?> + + + + + + + + +
+ +
+ +
+ + + + \ No newline at end of file diff --git a/views/mods/mod_varianten/produkt_edit_content.phtml b/views/mods/mod_varianten/produkt_edit_content.phtml new file mode 100644 index 0000000..bcaec6d --- /dev/null +++ b/views/mods/mod_varianten/produkt_edit_content.phtml @@ -0,0 +1,297 @@ + + + + +
+

+
+ +

+
+ view['data']['id'] > 0) { ?> + callMod('wpsg_mod_varianten', 'drawVarianten', array(&$this->view['wpsg_mod_varianten']['data']['id'])); ?> + +

+ +
+
\ No newline at end of file diff --git a/views/mods/mod_varianten/settings_edit.phtml b/views/mods/mod_varianten/settings_edit.phtml new file mode 100644 index 0000000..aee4b68 --- /dev/null +++ b/views/mods/mod_varianten/settings_edit.phtml @@ -0,0 +1,25 @@ + +get_option('wpsg_vp_showpic'), array('help' => 'wpsg_vp_showpic')); ?> +get_option('wpsg_vp_detailview'), array('help' => 'wpsg_vp_detailview')); ?> +get_option('wpsg_vp_showpic_width'), array('help' => 'wpsg_vp_showpic_width')); ?> +get_option('wpsg_vp_showpic_height'), array('help' => 'wpsg_vp_showpic_height')); ?> +get_option('wpsg_vp_replaceanr'), array('hint' => __('Ersetzt die Produktartikelnummer durch die zusammengesetzte Artikelnummern der Varianten.', 'wpsg'), 'help' => 'wpsg_vp_replaceanr')); ?> + +hasMod('wpsg_mod_produktbilder')) { ?> +
+

+get_option('wpsg_vp_imageselect_width'), array('help' => 'wpsg_vp_imageselect_width')); ?> +get_option('wpsg_vp_imageselect_height'), array('help' => 'wpsg_vp_imageselect_height')); ?> +callMod('wpsg_mod_produktbilder', 'getImageModes'), $this->get_option('wpsg_vp_imageselect_mode'), array('help' => 'wpsg_vp_imageselect_mode')); ?> +
+ + +
+ +
\ No newline at end of file diff --git a/views/mods/mod_varianten/varianten.js b/views/mods/mod_varianten/varianten.js new file mode 100644 index 0000000..f87c626 --- /dev/null +++ b/views/mods/mod_varianten/varianten.js @@ -0,0 +1,58 @@ + + var wpsg_vp_vari = new Array(); + + function wpsg_vp_switch(product_id, product_index) + { + + var var_key = 'vp_' + product_id + "/"; + + for (var i = 0; i < wpsg_vp_vari[product_id].length; i ++) + { + + var_key += i + "_"; + + if (wpsg_vp_vari[product_id][i] == "select") + { + var_key += jQuery('#wpsg_produktform_' + product_index + ' .wpsg_produkt_' + product_id + " #wpsg_vpfield_" + product_id + "_" + i).val(); + } + else if (wpsg_vp_vari[product_id][i] == "radio") + { + var_key += jQuery('#wpsg_produktform_' + product_index + ' .wpsg_produkt_' + product_id + ' input[name="wpsg_vp[' + i + ']"]:checked').val(); + } + else if (wpsg_vp_vari[product_id][i] == "checkbox") + { + var_key += jQuery('#wpsg_produktform_' + product_index + ' .wpsg_produkt_' + product_id + ' input[name="wpsg_vp[' + i + ']"]:checked').length; + } + else if (wpsg_vp_vari[product_id][i] == "image") + { + var_key += jQuery('#wpsg_produktform_' + product_index + ' .wpsg_produkt_' + product_id + ' .wpsg_mod_varianten_imageselect_' + i + ' .akt').attr("data-wpsg-id"); + } + + if (i < (wpsg_vp_vari[product_id].length - 1)) var_key += ":"; + + } + + jQuery('#wpsg_produktform_' + product_index).append('
' + wpsg_ajax.label_pleasewait + '
'); + + jQuery.ajax( { + 'url': wpsg_ajax.ajaxurl, + 'method': 'get', + 'data': { + 'action': 'wpsg_varianten_switch', + 'wpsg_post_id': jQuery('#wpsg_produktform_' + product_index + ' input[name="wpsg_post_id"]').val(), + 'quantity': jQuery('#wpsg_menge_' + product_index).val(), + 'template': jQuery('#wpsg_produktform_' + product_index + ' input[name="wpsg[template]"]').val(), + 'referer': jQuery('#wpsg_produktform_' + product_index + ' input[name="myReferer"]').val(), + 'form_data': jQuery('#wpsg_produktform_' + product_index).serialize(), + 'product_key': var_key, + 'product_index': product_index + }, + 'success': function(data) { + + jQuery('#wpsg_produktform_' + product_index).replaceWith(data); + + } + } ); + + } // function wpsg_vp_switch(produkt_id) + \ No newline at end of file diff --git a/views/mods/mod_versandarten/list.phtml b/views/mods/mod_versandarten/list.phtml new file mode 100644 index 0000000..f060014 --- /dev/null +++ b/views/mods/mod_versandarten/list.phtml @@ -0,0 +1,248 @@ + +view['data']) || sizeof($this->view['data']) <= 0) { ?> + + + + + + + + + view['data'] as $va) { $i ++; ?> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + view['arVZ'][$va['vz']]['arPLZ'])) { ?> + view['arVZ'][$va['vz']]['arPLZ'] as $plz_key => $plz) { ?> + + + + + + + + + + + + + + + + + + callMods('wpsg_mod_versandarten_listrow', array(&$va)); ?> + view['data'])) { ?> + + + +
: + + view['arVZ'] as $k=>$vz) { $arVzNamen[$k] = $vz['name']; } ?> + + +
: + +
+ id="va__aktiv" /> + + +
: + +
:view['arTypen'][$va['typ']]); ?> + +
: + 0) { ?> + view['arVZ'][$va['vz']]['name']); ?> + + + + + +
: + +
[ ]: + +
: + +
: + type="checkbox" value="1" /> + + +

+ + + \ No newline at end of file diff --git a/views/mods/mod_versandarten/settings_edit.phtml b/views/mods/mod_versandarten/settings_edit.phtml new file mode 100644 index 0000000..bfe95c3 --- /dev/null +++ b/views/mods/mod_versandarten/settings_edit.phtml @@ -0,0 +1,100 @@ + +

+
+
+
+

+

+
+
+
+
+
+
+ +

+ + + +
+ +
+
+
+ + +
+
+
+
+ mod->va_list(); ?> +
+ +
diff --git a/views/mods/mod_videodownload/cronmail.phtml b/views/mods/mod_videodownload/cronmail.phtml new file mode 100644 index 0000000..a251438 --- /dev/null +++ b/views/mods/mod_videodownload/cronmail.phtml @@ -0,0 +1,18 @@ + + + + + +view['arOrder'] as $k => $o) { ?> + +get_option('wpsg_mod_videodownload_autosend') != '1') { ?> +?wpsg_action=wpsg_mod_videodownload_send&hash=&order= + + + \ No newline at end of file diff --git a/views/mods/mod_videodownload/cronmail_html.phtml b/views/mods/mod_videodownload/cronmail_html.phtml new file mode 100644 index 0000000..8375341 --- /dev/null +++ b/views/mods/mod_videodownload/cronmail_html.phtml @@ -0,0 +1,21 @@ + +

+ +

+ + \ No newline at end of file diff --git a/views/mods/mod_videodownload/filelist.phtml b/views/mods/mod_videodownload/filelist.phtml new file mode 100644 index 0000000..9655918 --- /dev/null +++ b/views/mods/mod_videodownload/filelist.phtml @@ -0,0 +1,20 @@ + +view['files'])) { ?> +

+ + view['files'] as $v) { ?> +
+ + (callMod('wpsg_mod_videodownload', 'getVideoPath', array($_REQUEST['edit_id'])).'/'.$v); ?>) +
+
+
+ +
+ \ No newline at end of file diff --git a/views/mods/mod_videodownload/fonts/Default.ttf b/views/mods/mod_videodownload/fonts/Default.ttf new file mode 100644 index 0000000..067b898 Binary files /dev/null and b/views/mods/mod_videodownload/fonts/Default.ttf differ diff --git a/views/mods/mod_videodownload/order_view_sidebar.phtml b/views/mods/mod_videodownload/order_view_sidebar.phtml new file mode 100644 index 0000000..21df96a --- /dev/null +++ b/views/mods/mod_videodownload/order_view_sidebar.phtml @@ -0,0 +1,110 @@ + + + +
+

+
+ +

+
+ callMod('wpsg_mod_videodownload', 'order_view_sidebar_renderList', array($this->view['order_id'])); ?> +
+
\ No newline at end of file diff --git a/views/mods/mod_videodownload/order_view_sidebar_renderlist.phtml b/views/mods/mod_videodownload/order_view_sidebar_renderlist.phtml new file mode 100644 index 0000000..4d87285 --- /dev/null +++ b/views/mods/mod_videodownload/order_view_sidebar_renderlist.phtml @@ -0,0 +1,59 @@ + +view['messages'])) { ?> +view['messages'] as $m) { ?> +

+ + +view['errors'])) { ?> +view['errors'] as $e) { ?> +

+ + + + + + + + + + view['arFiles'] as $f) { ?> + + + + + + + +
#
+ 0) { ?> + + + callMod('wpsg_mod_videodownload', 'getNewName', array($f[0], $_REQUEST['edit_id'])), 0, 25)); ?> + 0) { ?> + + + + + + 0 && strtotime($f[1]['done']) <= 0) { ?> + + 0) { ?> + + + + + + 0 && strtotime($f[1]['done']) <= 0) { ?> + + +
+
+
+ + \ No newline at end of file diff --git a/views/mods/mod_videodownload/produkt_edit_sidebar.phtml b/views/mods/mod_videodownload/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..741f9aa --- /dev/null +++ b/views/mods/mod_videodownload/produkt_edit_sidebar.phtml @@ -0,0 +1,96 @@ + + + +
+

+
+ +

+
+
view['filesList']; ?>
+ " type="text" style="text-align:center;" size="10" id="wpsg_mod_videodownload_upload" /> +

+
+
+ +
+
+

+ +

+
+
+
+
+
+
\ No newline at end of file diff --git a/views/mods/mod_videodownload/settings_edit.phtml b/views/mods/mod_videodownload/settings_edit.phtml new file mode 100644 index 0000000..384a249 --- /dev/null +++ b/views/mods/mod_videodownload/settings_edit.phtml @@ -0,0 +1,188 @@ + +
+
+
+
+
+
+
+
+
+
+
+ +
+ get_option('wpsg_mod_videodownload_command'), array('help' => 'mod_videodownload_einstellungen_programmaufruf')); ?> + get_option('wpsg_mod_videodownload_infocommand'), array('help' => 'mod_videodownload_einstellungen_programminfoaufruf')); ?> + get_option('wpsg_mod_videodownload_filename'), array('help' => 'mod_videodownload_einstellungen_filename')); ?> + __('Manuell', 'wpsg'), 1 => __('Nach Zahlung', 'wpsg'), 2 => __('Nach Bestellung', 'wpsg')), $this->get_option('wpsg_mod_videodownload_indiv_mode'), array('help' => 'mod_videodownload_einstellungen_individualisierungsmodus')); ?> + get_option('wpsg_mod_videodownload_autosend'), array('help' => 'mod_videodownload_einstellungen_autosend')); ?> + __('Unbegrenzt', 'wpsg'), 1 => __('Nach Downloads', 'wpsg'), 2 => __('Nach Tagen', 'wpsg')), $this->get_option('wpsg_mod_videodownload_accepted'), array('help' => 'mod_videodownload_einstellungen_accepted')); ?> + get_option('wpsg_mod_videodownload_days')); ?> + get_option('wpsg_mod_videodownload_downloads')); ?> + get_option('wpsg_mod_videodownload_cleanraiddownloads')); ?> + get_option('wpsg_mod_videodownload_cleanolddownloads')); ?> + get_option('wpsg_mod_videodownload_videopath'), array('hint' => __('Standard: uploads/wpsg_videoprodukte/', 'wpsg'))); ?> + get_option('wpsg_mod_videodownload_videoindivpath'), array('hint' => __('Standard: uploads/wpsg_videoprodukte_order/', 'wpsg'))); ?> + __('Direkt', 'wpsg'), 1 => __('Gezippt (intern)', 'wpsg'), 2 => __('Gezippt (extern)', 'wpsg')), $this->get_option('wpsg_mod_videodownload_format')); ?> + get_option('wpsg_mod_videodownload_fontpath'), array('hint' => __('Standard: user_views/mods/mod_videodownload/fonts/', 'wpsg'))); ?> +
+
+ +
+
+

hier konfiguriert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#videodownloadcronmail'); ?>

+
+
+
+
+
+ +
+
+

hier konfiguriert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#videodownloadfiles'); ?>

+
+
+
+
+
+ +
+
+

get_option('wpsg_lastCron') > 0)?wpsg_formatTimestamp($this->get_option('wpsg_lastCron')):__('Noch nicht ausgeführt', 'wpsg')); ?>

+ +
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ view['arFonts'])) { ?> + + + + + + + + + + + view['arTexte'][$i]['align'] == '1')?'checked="checked"':''); ?> /> + + + + + + + + + + + +
: + +
+ +
+ +
+ +

+ +

+ +
+
+ + \ No newline at end of file diff --git a/views/mods/mod_videodownload/videodownloadmail.phtml b/views/mods/mod_videodownload/videodownloadmail.phtml new file mode 100644 index 0000000..e0d6d88 --- /dev/null +++ b/views/mods/mod_videodownload/videodownloadmail.phtml @@ -0,0 +1,18 @@ + +view['kunde']['vname'], $this->view['kunde']['name']); ?> + + + +view['arVideos'] as $v) { ?> +: ?wpsg_action=wpsg_mod_videodownload_download&hash=&indi= + + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_videodownload/videodownloadmail_html.phtml b/views/mods/mod_videodownload/videodownloadmail_html.phtml new file mode 100644 index 0000000..7f5ddb2 --- /dev/null +++ b/views/mods/mod_videodownload/videodownloadmail_html.phtml @@ -0,0 +1,20 @@ + +

view['kunde']['vname'], $this->view['kunde']['name']); ?>

+ +

+ + + +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_voucherproduct/gutschein_mail.phtml b/views/mods/mod_voucherproduct/gutschein_mail.phtml new file mode 100644 index 0000000..0e56beb --- /dev/null +++ b/views/mods/mod_voucherproduct/gutschein_mail.phtml @@ -0,0 +1,18 @@ + +view['customer']['vname'], $this->view['customer']['name']); ?> + + + +view['arGS'] as $gs) { ?> +: + + + + +get_option('wpsg_shopdata_name'), 'wpsg'); ?> - \ No newline at end of file diff --git a/views/mods/mod_voucherproduct/gutschein_mail_html.phtml b/views/mods/mod_voucherproduct/gutschein_mail_html.phtml new file mode 100644 index 0000000..c05679f --- /dev/null +++ b/views/mods/mod_voucherproduct/gutschein_mail_html.phtml @@ -0,0 +1,20 @@ + +

view['customer']['vname'], $this->view['customer']['name']); ?>

+ +

+ + + +

+ +

get_option('wpsg_shopdata_name'), 'wpsg'); ?> -

\ No newline at end of file diff --git a/views/mods/mod_voucherproduct/order_view_sidebar.phtml b/views/mods/mod_voucherproduct/order_view_sidebar.phtml new file mode 100644 index 0000000..82991b3 --- /dev/null +++ b/views/mods/mod_voucherproduct/order_view_sidebar.phtml @@ -0,0 +1,195 @@ + + + + + +
+

+
+ +

+
+ callMod('wpsg_mod_voucherproduct', 'order_view_sidebar_content', array($this->view['wpsg_mod_voucherproduct']['order_id'])); ?> +
+
\ No newline at end of file diff --git a/views/mods/mod_voucherproduct/order_view_sidebar_content.phtml b/views/mods/mod_voucherproduct/order_view_sidebar_content.phtml new file mode 100644 index 0000000..69ab3a2 --- /dev/null +++ b/views/mods/mod_voucherproduct/order_view_sidebar_content.phtml @@ -0,0 +1,38 @@ + +writeBackendMessage(); ?> + +view['wpsg_mod_voucherproduct']['data'])) { ?> +
+ view['wpsg_mod_voucherproduct']['data'] as $d) { ?> +
+ + callMod('wpsg_mod_voucherproduct', 'hasFile', array($this->view['wpsg_mod_voucherproduct']['order_id'], $d['id']))) { ?> +  /  + + +  (get_option('wpsg_currency'))?>) + +  () + +
+
+
+ +
+
+ + +

+callMod('wpsg_mod_voucherproduct', 'hasVocherProducts', array($this->view['wpsg_mod_voucherproduct']['order_id']))) { ?> +

+ +

+ +" />*/ ?> +

\ No newline at end of file diff --git a/views/mods/mod_voucherproduct/produkt_edit_sidebar.phtml b/views/mods/mod_voucherproduct/produkt_edit_sidebar.phtml new file mode 100644 index 0000000..5fd79b0 --- /dev/null +++ b/views/mods/mod_voucherproduct/produkt_edit_sidebar.phtml @@ -0,0 +1,18 @@ + +
+

+
+ +

+
+ view['data']['wpsg_mod_voucherproduct_gs']); ?> + view['data']['wpsg_mod_voucherproduct_gslaenge'] > 0)?$this->view['data']['wpsg_mod_voucherproduct_gslaenge']:10)); ?> + view['data']['wpsg_mod_voucherproduct_available']); ?> +
+
diff --git a/views/mods/mod_voucherproduct/settings_edit.phtml b/views/mods/mod_voucherproduct/settings_edit.phtml new file mode 100644 index 0000000..d32b42b --- /dev/null +++ b/views/mods/mod_voucherproduct/settings_edit.phtml @@ -0,0 +1,173 @@ + +hasMod('wpsg_mod_gutschein')) { ?> +

+ +
+
+
+
+
+
+
+
+
+ +
+
+
+
+ view['bp']) && $this->view['bp'] !== false) { ?> + + +
+
+ view['bp']) || $this->view['bp'] === false) { ?> +

+ + + + + +
+
+
+ get_option('wpsg_voucherproduct_width'), array ('help' => 'wpsg_voucherproduct_width')); ?> + get_option('wpsg_voucherproduct_height'), array ('help' => 'wpsg_voucherproduct_height')); ?> +
+
+ +
+
+

hier konfiguriert werden.', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Admin&subaction=emailconf#gutscheinproductmail'); ?> +

+
+
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + view['arTexte'][$i]['align']))?'checked="checked"':''); ?> /> + + + view['arTexte'][$i]['bg']))?'checked="checked"':''); ?> /> + + + + + + + + + + + +
: + +
+ + + +
+ +

+ +
+
+
+ + \ No newline at end of file diff --git a/views/mods/mod_voucherproduct/voucher_pdf.phtml b/views/mods/mod_voucherproduct/voucher_pdf.phtml new file mode 100644 index 0000000..ba94ab1 --- /dev/null +++ b/views/mods/mod_voucherproduct/voucher_pdf.phtml @@ -0,0 +1,104 @@ +get_option('wpsg_voucherproduct_width') > $this->get_option('wpsg_voucherproduct_height')) + { + $pageMode = 'L'; + } + else + { + $pageMode = 'P'; + } + + $pdf = new wpsg_fpdf($pageMode, 'mm', array($this->get_option('wpsg_voucherproduct_width'), $this->get_option('wpsg_voucherproduct_height'))); + + $pdf->SetAutoPageBreak(true, 5); + $pdf->AddPage(); + + foreach ($this->view['texte'] as $t) + { + + if ($t['bg'] == '1' && $t['aktiv'] == '1') + { + + $t['text'] = $this->replaceUniversalPlatzhalter($t['text'], $this->view['order_id'], false, false, $this->view['product_id'], $this->view['customReplace'], $this->view['product_index']); + + if ($t['alpha'] > 0) $pdf->setAlpha($t['alpha']); + + list($r, $g, $b) = wpsg_getColor($t["color"]); + $pdf->SetTextColor($r, $g, $b); + + $pdf->SetFont('Arial', '', $t['fontsize']); + $pdf->RotatedText( + $t['x'], $t['y'], + $t['text'], + $t['angle'], + $t['align'] + ); + + $pdf->setAlpha(1); + + } + + } + + if (isset($this->view['bp_pdf']) && file_exists($this->view['bp_pdf'])) + { + + $pagecount = $pdf->setSourceFile($this->view['bp_pdf']); + $tplidx = $pdf->importPage(1, '/MediaBox'); + $pdf->useTemplate($tplidx, 0, 0, $this->get_option('wpsg_voucherproduct_width'), $this->get_option('wpsg_voucherproduct_height')); + + } + else if (isset($this->view['bp_jpg']) && file_exists($this->view['bp_jpg'])) + { + $pdf->image($this->view['bp_jpg'], 0, 0, $this->get_option('wpsg_voucherproduct_width'), $this->get_option('wpsg_voucherproduct_height'), 'jpg'); + } + + foreach ($this->view['texte'] as $t) + { + + if ($t['aktiv'] == '1') + { + + $t['text'] = $this->replaceUniversalPlatzhalter($t['text'], $this->view['order_id'], false, false, $this->view['product_id'], $this->view['customReplace'], $this->view['product_index']); + + if ($t['alpha'] > 0) $pdf->setAlpha($t['alpha']); + + $pdf->SetFont('Arial', '', $t['fontsize']); + $pdf->SetTextColor($t["color"]); + + $pdf->RotatedText( + $t['x'], $t['y'], + $t['text'], + $t['angle'], + $t['align'] + ); + + $pdf->setAlpha(1); + + } + + } + + if ($this->view['preview'] !== true) + { + + $pdf->Output($this->view['filename'], 'F'); + + } + else + { + + $pdf->Output($this->view['filename'], 'I'); + die(); + } + +?> \ No newline at end of file diff --git a/views/mods/mod_weight/basket_row.phtml b/views/mods/mod_weight/basket_row.phtml new file mode 100644 index 0000000..f8739c4 --- /dev/null +++ b/views/mods/mod_weight/basket_row.phtml @@ -0,0 +1,13 @@ +view); +?> + + : + + view['weight'], $this->get_option('wpsg_mod_weight_unit')); ?> + + \ No newline at end of file diff --git a/views/mods/mod_weight/basket_row_end.phtml b/views/mods/mod_weight/basket_row_end.phtml new file mode 100644 index 0000000..97da5bf --- /dev/null +++ b/views/mods/mod_weight/basket_row_end.phtml @@ -0,0 +1,15 @@ + + + + : + + + view['wpsg_mod_weight']['weight'], $this->get_option('wpsg_mod_weight_unit')); ?> + + \ No newline at end of file diff --git a/views/mods/mod_weight/overview_row.phtml b/views/mods/mod_weight/overview_row.phtml new file mode 100644 index 0000000..921f387 --- /dev/null +++ b/views/mods/mod_weight/overview_row.phtml @@ -0,0 +1,13 @@ + + + : + + view['weight'], $this->get_option('wpsg_mod_weight_unit')); ?> + + \ No newline at end of file diff --git a/views/mods/mod_weight/overview_row_end.phtml b/views/mods/mod_weight/overview_row_end.phtml new file mode 100644 index 0000000..12da77e --- /dev/null +++ b/views/mods/mod_weight/overview_row_end.phtml @@ -0,0 +1,15 @@ + + + + : + + + view['wpsg_mod_weight']['weight'], $this->get_option('wpsg_mod_weight_unit')); ?> + + \ No newline at end of file diff --git a/views/mods/mod_weight/produkt_edit_allgemein.phtml b/views/mods/mod_weight/produkt_edit_allgemein.phtml new file mode 100644 index 0000000..76f9271 --- /dev/null +++ b/views/mods/mod_weight/produkt_edit_allgemein.phtml @@ -0,0 +1,8 @@ + +view['wpsg_mod_weight']['weight']), array('unit' => $this->get_option('wpsg_mod_weight_unit'))); ?> \ No newline at end of file diff --git a/views/mods/mod_weight/settings_edit.phtml b/views/mods/mod_weight/settings_edit.phtml new file mode 100644 index 0000000..7a3fbc9 --- /dev/null +++ b/views/mods/mod_weight/settings_edit.phtml @@ -0,0 +1,20 @@ + +get_option('wpsg_mod_weight_unit'), array('help' => 'wpsg_mod_weight_unit')); ?> +get_option('wpsg_mod_weight_showProduct'), array('help' => 'wpsg_mod_weight_showProduct')); ?> +get_option('wpsg_mod_weight_showBasket'), array('help' => 'wpsg_mod_weight_showBasket')); ?> +get_option('wpsg_mod_weight_showBasketProduct'), array('help' => 'wpsg_mod_weight_showBasketProduct')); ?> +get_option('wpsg_mod_weight_showOverview'), array('help' => 'wpsg_mod_weight_showOverview')); ?> +get_option('wpsg_mod_weight_showOverviewProduct'), array('help' => 'wpsg_mod_weight_showOverviewProduct')); ?> +hasMod('wpsg_mod_productindex')) { ?> +get_option('wpsg_mod_weight_showProductindex'), array('help' => 'wpsg_mod_weight_showProductindex')); ?> + +hasMod('wpsg_mod_request')) { ?> +get_option('wpsg_mod_weight_showRequestPage'), array('help' => 'wpsg_mod_weight_showRequestPage')); ?> +get_option('wpsg_mod_weight_showRequestPageProduct'), array('help' => 'wpsg_mod_weight_showRequestPageProduct')); ?> + \ No newline at end of file diff --git a/views/mods/mod_willcollect/mail.phtml b/views/mods/mod_willcollect/mail.phtml new file mode 100644 index 0000000..8c1804e --- /dev/null +++ b/views/mods/mod_willcollect/mail.phtml @@ -0,0 +1,14 @@ + + + + +view['wpsg_mod_willcollect']['adress']; ?> +view['wpsg_mod_willcollect']['street']; ?> +view['wpsg_mod_willcollect']['plzort']; ?> + \ No newline at end of file diff --git a/views/mods/mod_willcollect/mail_html.phtml b/views/mods/mod_willcollect/mail_html.phtml new file mode 100644 index 0000000..ec7500f --- /dev/null +++ b/views/mods/mod_willcollect/mail_html.phtml @@ -0,0 +1,22 @@ + +

+ +

+ + + + + + +
+ view['wpsg_mod_willcollect']['adress']; ?>
+ view['wpsg_mod_willcollect']['street']; ?>
+ view['wpsg_mod_willcollect']['plzort']; ?> +
+ \ No newline at end of file diff --git a/views/mods/mod_willcollect/settings_edit.phtml b/views/mods/mod_willcollect/settings_edit.phtml new file mode 100644 index 0000000..1a5fd1b --- /dev/null +++ b/views/mods/mod_willcollect/settings_edit.phtml @@ -0,0 +1,24 @@ + +get_option('wpsg_mod_willcollect_aktiv'), array('help' => 'wpsg_mod_willcollect_aktiv')); ?> +get_option('wpsg_mod_willcollect_bezeichnung'), array('help' => 'wpsg_mod_willcollect_bezeichnung')); ?> +get_option('wpsg_mod_willcollect_hint'), array('help' => 'wpsg_mod_willcollect_hint')); ?> +get_option('wpsg_mod_willcollect_paymentneed'), array('help' => 'wpsg_mod_willcollect_paymentneed')); ?> +
+get_option('wpsg_mod_willcollect_adress'), array('help' => 'wpsg_mod_willcollect_adress')); ?> +get_option('wpsg_mod_willcollect_street'), array('help' => 'wpsg_mod_willcollect_street')); ?> +get_option('wpsg_mod_willcollect_plzort'), array('help' => 'wpsg_mod_willcollect_plzort')); ?> +
+get_option('wpsg_mod_willcollect_payment'), array('help' => 'wpsg_mod_willcollect_payment')); ?> +get_option('wpsg_mod_willcollect_payment_bezeichnung'), array('help' => 'wpsg_mod_willcollect_payment_bezeichnung')); ?> +get_option('wpsg_mod_willcollect_payment_hint'), array('help' => 'wpsg_mod_willcollect_payment_hint')); ?> +
+get_option('wpsg_mod_willcollect_gebuehr'), true), array('help' => 'wpsg_mod_willcollect_gebuehr','unit' => $this->get_option('wpsg_currency').' / %')); ?> +get_option('wpsg_mod_willcollect_payment_gebuehr'), true), array('help' => 'wpsg_mod_willcollect_payment_gebuehr','unit' => $this->get_option('wpsg_currency').' / %')); ?> +get_option('wpsg_mod_willcollect_mwst'), array('help' => 'wpsg_mod_willcollect_mwst')); ?> +get_option('wpsg_mod_willcollect_mwstland'), array('help' => 'wpsg_mod_willcollect_mwstland')); ?> \ No newline at end of file diff --git a/views/mods/mod_willcollect/shippinghint.phtml b/views/mods/mod_willcollect/shippinghint.phtml new file mode 100644 index 0000000..c6369b6 --- /dev/null +++ b/views/mods/mod_willcollect/shippinghint.phtml @@ -0,0 +1,13 @@ + +

+ +view['wpsg_mod_willcollect']['adress']); ?>
+view['wpsg_mod_willcollect']['street']); ?>
+view['wpsg_mod_willcollect']['plzort']); ?> +
\ No newline at end of file diff --git a/views/mods/mod_wirecard/gfx/logo_100x25.png b/views/mods/mod_wirecard/gfx/logo_100x25.png new file mode 100644 index 0000000..a18276d Binary files /dev/null and b/views/mods/mod_wirecard/gfx/logo_100x25.png differ diff --git a/views/mods/mod_wirecard/gfx/wirecard.png b/views/mods/mod_wirecard/gfx/wirecard.png new file mode 100644 index 0000000..b668410 Binary files /dev/null and b/views/mods/mod_wirecard/gfx/wirecard.png differ diff --git a/views/mods/mod_wirecard/order_done.phtml b/views/mods/mod_wirecard/order_done.phtml new file mode 100644 index 0000000..f8869eb --- /dev/null +++ b/views/mods/mod_wirecard/order_done.phtml @@ -0,0 +1,35 @@ + +get_option('wpsg_mod_wirecard_mode') == '0') { ?> + + + +get_option('wpsg_mod_wirecard_mode') == '1') { ?> + + + +hier um das Fenster erneut zu öffnen.', 'wpsg'); ?> + +get_option('wpsg_mod_wirecard_mode') == '2') { ?> + + + <?php echo __('Zahlung mit wirecard starten.', 'wpsg'); ?> + + + \ No newline at end of file diff --git a/views/mods/mod_wirecard/paymenthint.phtml b/views/mods/mod_wirecard/paymenthint.phtml new file mode 100644 index 0000000..7d5b912 --- /dev/null +++ b/views/mods/mod_wirecard/paymenthint.phtml @@ -0,0 +1,14 @@ +
+ get_option('wpsg_mod_wirecard_hint'), 'wpsg'); ?> + view['wpsg_mod_wirecard']['arPaymentTypes']) && sizeof($this->view['wpsg_mod_wirecard']['arPaymentTypes']) > 1) { ?> +

+ +
+ + + +
diff --git a/views/mods/mod_wirecard/settings_edit.phtml b/views/mods/mod_wirecard/settings_edit.phtml new file mode 100644 index 0000000..302e279 --- /dev/null +++ b/views/mods/mod_wirecard/settings_edit.phtml @@ -0,0 +1,125 @@ + +get_option('wpsg_mod_wirecard_name'), array('help' => 'wpsg_shippay_name')); ?> +get_option('wpsg_mod_wirecard_activ'), array('help' => 'wpsg_shippay_activ')); ?> +get_option('wpsg_mod_wirecard_hint'), array('help' => 'wpsg_shippay_hint')); ?> +get_option('wpsg_mod_wirecard_logo'), array('help' => 'wpsg_mod_wirecard_logo', 'hint' => __('Auflösung: 95x65 Pixel (GIF/JPG/PNG)', 'wpsg'))); ?> +
+get_option('wpsg_mod_wirecard_customerid'), array('help' => 'wpsg_mod_wirecard_customerid')); ?> +get_option('wpsg_mod_wirecard_shopid'), array('help' => 'wpsg_mod_wirecard_shopid')); ?> +get_option('wpsg_mod_wirecard_secret'), array('help' => 'wpsg_mod_wirecard_secret')); ?> +
+get_option('wpsg_mod_wirecard_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?> +
+
+ +
+
+ + +
+
+
+get_option('wpsg_mod_wirecard_mwstland'), array('help' => 'wpsg_shippay_mwstland')); ?> + __('Euro', 'wpsg'), + 'CHF' => __('Schweizer Franken', 'wpsg'), + 'GBP' => __('Pfund Sterling', 'wpsg'), + 'USD' => __('US Dollar', 'wpsg') +), $this->get_option('wpsg_mod_wirecard_currency'), array('help' => 'wpsg_mod_wirecard_currency')); ?> +
+ +
+
+ +
+
+
    + view['paymentTypes'] as $pt_key => $pt) { ?> +
  • + + get_option('wpsg_mod_wirecard_paymenttype'))))?'checked="checked"':''); ?> name="wpsg_mod_wirecard_paymenttype[]" />  +
  • + +
+

+
+
+
+ +get_option('wpsg_mod_wirecard_submitadress'), array('help' => 'wpsg_mod_wirecard_submitadress')); ?> +get_option('wpsg_mod_wirecard_minValue'), array('help' => 'wpsg_mod_wirecard_minValue')); ?> +get_option('wpsg_mod_wirecard_maxValue'), array('help' => 'wpsg_mod_wirecard_maxValue')); ?> + + __('Automatisch', 'wpsg'), + 'de' => __('Deutsch', 'wpsg'), + 'en' => __('Englisch', 'wpsg'), + 'fr' => __('Französisch', 'wpsg') +), $this->get_option('wpsg_mod_wirecard_language')); ?> + +get_option('wpsg_mod_wirecard_subject'), array('help' => 'wpsg_mod_wirecard_subject')); ?> + +view['pages'], $this->get_option('wpsg_page_mod_wirecard_success')); ?> +view['pages'], $this->get_option('wpsg_page_mod_wirecard_cancel')); ?> +view['pages'], $this->get_option('wpsg_page_mod_wirecard_error')); ?> +view['pages'], $this->get_option('wpsg_page_mod_wirecard_pending')); ?> + __('IFrame', 'wpsg'), '1' => __('Popup', 'wpsg'), '2' => __('Weiterleitung', 'wpsg')), $this->get_option('wpsg_mod_wirecard_mode'), array('help' => 'wpsg_mod_wirecard_mode')); ?> + +
+ + \ No newline at end of file diff --git a/views/order/index.phtml b/views/order/index.phtml new file mode 100644 index 0000000..b617090 --- /dev/null +++ b/views/order/index.phtml @@ -0,0 +1,564 @@ +view); +?> +
+

+

+ +

+ + + + writeBackendMessage(); ?> + +
+ + + + + view['filter']['k_id']) && $this->view['filter']['k_id'] > 0) { ?> + + + + view['filter']['k_id']) && $this->view['filter']['k_id'] > 0) { ?> +
    +
  • view['kunde']['vname'].' '.$this->view['kunde']['name']); ?>
  • +
  • +
+
+ +
    + view['arStatus'] as $status_id => $count) { ?> + 0) { ?> +
  • + view['filter']['status']))) { ?> + arStatus[$status_id]; ?> () | + + arStatus[$status_id]; ?> () | + +
  • + + +
  • + view['filter']['status'] == -1) { ?> + (view['count']; ?>) + + (view['countAll']; ?>) + +
  • +
+ + + +
+ +
+ +
+ + + + callMods('produkt_index_head'); ?> + +
+ view) ?> +
view['count']); ?> +
+ + « + ‹ + view['pages']; ?> + › + » + +
+ + + +
+ +
+ +
+
+

+
+ +

+
+ + __('Alle', 'wpsg')); + foreach ($this->view['arStatus'] as $status_id => $v) { $arStatus[$status_id] = $this->arStatus[$status_id]; } + + ?> + + view['filter']['search']); ?> + view['filter']['status'], array('id' => 'filter_status')); ?> +
+
+ +
+
+ + +
+
+
+ hasMod('wpsg_mod_rechnungen')) { ?> +
+
+ +
+
+ + +
+
+ + +
+ +
+ " /> + +
+
+
+ + + + + + + + +
+ + callMods('produkt_index_aftersearch'); ?> + + view['data']) && sizeof($this->view['data']) > 0) { ?> +
+ + + + + + + + + + + + + + + hasMod('wpsg_mod_abo')) { ?> + + + + + + + view['data'] as $o) { ?> + + + + + + + + + hasMod('wpsg_mod_abo')) { ?> + + + + + + + + + + + + + + + + hasMod('wpsg_mod_abo')) { ?> + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + getCurrentLanguage()) { $arLang = $this->getStoreLanguages(); $lang = $arLang[$o['language']]; ?> + <?php echo wpsg_translate(__('Bestellung wurde in der Sprache #1# durchgeführt.', 'wpsg'), $lang['name']); ?> + +
+ + + + + + + " onclick="return false;" href=""> + + + + +
+ +
+ +
+ +
+ +
+
+ + + hasMod('wpsg_mod_crefopay')) { ?> + callMod('wpsg_mod_crefopay', 'getOrderPaymentName', array($o['id']))); ?> + + arPayment[$o['type_payment']]['name']), 'wpsg'); ?> + + + 0) { ?> +
get_option('wpsg_currency')); ?> + +
+ getShippingTypName()); ?> + 0) { ?> +
get_option('wpsg_currency')); ?> + +
+ + #3# für je #4#', 'wpsg'), $p['menge'], WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id='.$this->getProduktID($p['id']), $p['name'], wpsg_ff($p['preis'], $this->get_option('wpsg_currency'))); ?>
+ +
+ get_option('wpsg_currency')); ?> + + callMod('wpsg_mod_abo', 'isAboOrder', array($o['id'])) === 1) { ?> + callMod('wpsg_mod_abo', 'getOrderAboExpiration', array($o['id'])) ?> + callMod('wpsg_mod_abo', 'isAboOrder', array($o['id'])) === 2) { ?> + callMod('wpsg_mod_abo', 'getOriginOrder', array($o['id'])); + $origin_order_data = $this->cache->loadOrder($origin_order_id); + + ?> + callMod('wpsg_mod_abo', 'getOrderAboExpiration', array( + $origin_order_data['id'] + )) ?>
+ #2#', 'wpsg'), WPSG_URL_WP.'wp-admin/admin.php?page=wpsg-Order&action=view&edit_id='.$origin_order_id, $origin_order_data['onr']); ?> + +
+ arStatus[$o['status']]); ?> +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + +
+ +
view['count']); ?> +
+ + « + ‹ + view['pages']; ?> + › + » + +
+ + + +
+
+
+ + callMod('wpsg_mod_export', 'produkt_index_foot'); ?> + +
+ +

+

+ + +
\ No newline at end of file diff --git a/views/order/orderlog.phtml b/views/order/orderlog.phtml new file mode 100644 index 0000000..df51721 --- /dev/null +++ b/views/order/orderlog.phtml @@ -0,0 +1,32 @@ + +view['log']) && sizeof($this->view['log']) > 0) { ?> + + + + + + + view['log'] as $l) { ?> + + + + + + + + + +
+ +
+ + + \ No newline at end of file diff --git a/views/order/view.phtml b/views/order/view.phtml new file mode 100644 index 0000000..062c5c8 --- /dev/null +++ b/views/order/view.phtml @@ -0,0 +1,581 @@ + + + +
+

+

+ view['data']['onr']); ?> +

+
+ writeBackendMessage(); ?> + +
+ +
+
+ +
+

+
+ +

+
+ +
+
+ : +
+
+

+ view['data']['knr']); ?> + hasMod('wpsg_mod_kundenverwaltung')) { ?> + [  ] + +

+
+
+
+ +
+
+ : + +
+
+

+ view['data']['firma']) != '') { ?> + view['data']['firma']); ?>
+ + view['data']['title'] != '' && $this->view['data']['title'] != '-1')?wpsg_hspc($this->view['data']['title']).' ':''); ?>view['data']['vname']); ?> view['data']['name']); ?>
+ view['data']['strasse']); ?>
+ view['data']['plz']); ?> view['data']['ort']); ?> view['country']['kuerzel']); ?>
+

+
+
+
+ + + + view['data']['geb']) > 0) { ?> + view['data']['geb']), array('text' => true)); ?> + + + view['data']['fax']) > 0) { ?> + view['data']['fax'], array('text' => true)); ?> + + + view['data']['tel']) > 0) { ?> + view['data']['tel'], array('text' => true)); ?> + + + view['data']['ustidnr']) > 0) { ?> + view['data']['ustidnr'], array('text' => true)); ?> + + +
+
+ : +
+ +
+
+ + callMods('wpsg_order_view_customerdata', array(&$this->view['data']['id'])); ?> + +
+
+ +
+

+
+ +

+
+ +
+
+ : +
+
+

+ view['oOrder']->getShippingTypName()); ?> + view['basket']['sum']['preis_shipping']) && $this->view['basket']['sum']['preis_shipping'] > 0) { ?> + (view['basket']['sum']['preis_shipping'], $this->get_option('wpsg_currency')); ?>) + +

+
+
+
+ +
+
+ : +
+
+

+ + view['arPayment'][$this->view['data']['type_payment']]['name'], 'wpsg'); ?> + view['basket']['sum']['preis_payment']) && $this->view['basket']['sum']['preis_payment'] > 0) { ?> + (view['basket']['sum']['preis_payment'], $this->get_option('wpsg_currency')); ?>) + + +

+
+
+
+ callMods('order_view_afterpayment', array(&$this->view['data']['id'])); ?> + +
+
+ + view['data']['order_comment']) != '') { ?> +
+

+
+ +

+
+ view['data']['order_comment']); ?> +
+
+ + +
+

+
+ +

+
+
+ + +
+
+
+ + callMods('order_view_sidebar', array(&$this->view['data']['id'])); ?> + +
+
+ +
+
+
+

+
+ +

+
+ +
+
+ : +
+
+

+ view['data']['onr']); ?> [arStatus[$this->view['data']['status']]); ?>] +

+
+
+
+ + view['data']['language']) && $this->view['data']['language'] != $this->getCurrentLanguage()) { $arLang = $this->getStoreLanguages(); $lang = $arLang[$this->view['data']['language']]; ?> +
+
+ : +
+
+

+ <?php echo wpsg_translate(__('Produkt für Sprache #1# bearbeiten.', 'wpsg'), $lang['name']); ?> + +

+
+
+
+ + +
+
+ : +
+
+

+ view['data']['cdate'])); ?> +

+
+
+
+ +
+
+
+ : +
+
+ +   +
+ +
+
+
+ callMods('order_view_switchStatus', array(&$this->view['data']['id'])); ?> +
+ + get_option('wpsg_debugModus'))) { ?> +
+
+ : +
+
+ +
+
+
+
+
+
+ + view['basket']); ?> + +
+
+
+
+ + +
+
+ +
+

+
+ +

+
+ + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + view['basket']['produkte'] as $produkt_key => $p) { $i ++; ?> + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + + + + + + + callMods('order_view_row', array(&$p, $i)); ?> + + view['basket']['gs'])) { ?> + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + + view['basket']['sum']['preis_rabatt']) && $this->view['basket']['sum']['preis_rabatt'] > 0) { ?> + + + + + + + + + + view['basket']['sum']['preis_shipping'] != 0 || $this->get_option('wpsg_hideemptyshipping') != '1') { ?> + + + + + + view['basket']['sum']['preis_payment'] != 0 || $this->get_option('wpsg_hideemptypayment') != '1') { ?> + + + + + + get_option('wpsg_preisangaben') == '1' && $this->get_option('wpsg_kleinunternehmer') != '1') { ?> + view['basket']['mwst'] as $mwst_id => $mwst) { ?> + + + + + + + + + + + get_option('wpsg_kleinunternehmer') == '1' || $this->get_option('wpsg_preisangaben') != '1') { ?> + view['basket']['mwst'] as $mwst_id => $mwst) { ?> + + + + + + +
+ + getProductName($this->getProduktID($p['id']))); ?> + + get_option('wpsg_currency'); ?> % get_option('wpsg_currency'); ?>
+ : + + + getShippingName($shipping); ?>, + +
view['basket']['gs']['code'] != '')? '('.$this->view['basket']['gs']['code'].')':'' ?>view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?>1view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?>
+ + + view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')); ?> +
+ get_option('wpsg_kleinunternehmer') == '1') { ?> + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'" target="_blank">'.__('Versandkosten', 'wpsg').''); ?> + + getFrontendTaxview() == WPSG_NETTO) { ?> + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'" target="_blank">'.__('Versandkosten', 'wpsg').''); ?> + + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'" target="_blank">'.__('Versandkosten', 'wpsg').''); ?> + + + + view['basket']['sum']['preis']); ?> get_option('wpsg_currency'); ?> +
+ + + view['basket']['sum']['preis_shipping']); ?> get_option('wpsg_currency'); ?> +
+ + + view['basket']['sum']['preis_payment']); ?> get_option('wpsg_currency'); ?> +
+ + + get_option('wpsg_currency'); ?> +
+ + + view['basket']['sum']['preis_gesamt_brutto']); ?> get_option('wpsg_currency'); ?> +
+ get_option('wpsg_kleinunternehmer') == '1') { ?> + get_option('wpsg_kleinunternehmer_text'); ?> + + + + + get_option('wpsg_currency'); ?> +
+ +
+
+ + callMods('order_view_content', array($this->view['data']['id'])); ?> + +
+

+
+ +

+
+ view['orderLog']; ?> +
+
+ +
+ +
+ +
+ +
\ No newline at end of file diff --git a/views/produkt/addedit.phtml b/views/produkt/addedit.phtml new file mode 100644 index 0000000..edba548 --- /dev/null +++ b/views/produkt/addedit.phtml @@ -0,0 +1,524 @@ + + + +
+ +
+ +

+

+ 0) { ?> + + +  [getStoreLanguages(); echo $arLang[$_REQUEST['wpsg_lang']]['name']; ?> ] + + + + +

+
+ + writeBackendMessage(); ?> + +
+ +
+ +
+
+ + +
+

+

+ +

+
+ view['data']['mwst_key']); ?> + get_option('wpsg_preisangaben') == WPSG_NETTO) { ?> +
+
+ +
+
+

get_option('wpsg_currency'); ?>

+ +
+
+
+ + get_option('wpsg_preisangaben') == WPSG_BRUTTO) { ?> +
+
+ : +
+
+

get_option('wpsg_currency'); ?>

+ +
+
+
+ + view['data']['tax_sum_value'], $this->get_option('wpsg_currency')).' / '.$this->getDefaultCountry()->kuerzel, array('text' => true)); ?> + view['data']['euleistungsortregel'], array('fullrow' => true, 'help' => 'EU-Leistungsortregel')); ?> + Länderverwaltung +
+
+
+

+

+ +

+
+ +
+ arPayment as $p) { if (!isset($p['deleted']) || $p['deleted'] != '1') { ?> + view['allowedPayment']), array('id' => 'wpsg_paymentmethods_'.$p['id'], 'value' => $p['id'])); ?> + +
+ + +
+
+
+

+

+ +

+
+ +
+ arShipping as $s) { if (!isset($s['deleted']) || $s['deleted'] != '1') { ?> + view['allowedShipping']), array('id' => 'wpsg_paymentmethods_'.$s['id'], 'value' => $s['id'])); ?> + +
+
+ + +
+ + + callMods('produkt_edit_sidebar', array(&$this->view['data'])); ?> + +
+
+ +
+ +
+
+ +
+
+ +
+ +
+ +
+

+
+ +

+
+ isMultiLingual()) { ?> +
+
+ +
+
+ getStoreLanguages() as $a) { ?> + + + + + + + <?php echo wpsg_translate(__('Zu Sprache #1# wechseln.', 'wpsg'), $a['name']); ?> + + + +
+
+
+ +
+
+ +
+
+ +
+
+
+ view['data']['id']) && !isset($_REQUEST['wpsg_lang'])) { ?> +
+
+ +
+
+ +
+
+
+ + +
+
+ +
+
+ +
+
+
+
+
+ +
+
+ view['templates']) || sizeof($this->view['templates']) <= 0) { ?> +

+ + + +
+
+
+
+
+ +
+
+ +
+ +    + + +
+
+
+ + + hasMod('wpsg_mod_produktartikel') && !isset($_REQUEST['wpsg_lang'])) { ?> +
+
+ +
+
+ +
+
+
+ + + + __('Nur einmal mit beliebiger Menge (Standard)', 'wpsg'), + '4' => __('Nur einmal mit Menge 1', 'wpsg'), + '1' => __('Mehrfach mit beliebiger Menge', 'wpsg'), + '2' => __('Mehrfach mit Menge 1', 'wpsg') + ), $this->view['data']['basket_multiple'], array('help' => 'basket_multiple')); ?> + + + view['data']['id'] > 0) { ?> + + + + callMods('produkt_edit_allgemein', array(&$this->view['data'])); ?> + +
+
+ +
+

+
+ +

+
+ + view['data']['beschreibung'], 'beschreibung'); + + ?> + +
+
+ + callMods('produkt_edit_content', array(&$this->view['data'])); ?> + +
+ + 0) { ?> + + + + + + + +

+ + +

+ +
+ +
+ +
+ +
\ No newline at end of file diff --git a/views/produkt/import.phtml b/views/produkt/import.phtml new file mode 100644 index 0000000..7899abb --- /dev/null +++ b/views/produkt/import.phtml @@ -0,0 +1,30 @@ + +
+

+

+ + +

+ + writeBackendMessage(); ?> +
+ +
+ +
+
+ + + +

+ + +
+ +
\ No newline at end of file diff --git a/views/produkt/index.phtml b/views/produkt/index.phtml new file mode 100644 index 0000000..c379079 --- /dev/null +++ b/views/produkt/index.phtml @@ -0,0 +1,353 @@ + + + + +
+

+

+ + + view['data'])) { ?> + + + +

+ + writeBackendMessage(); ?> + +
+ + callMod('wpsg_mod_productgroups', 'produkt_index_filter'); ?> + + + + view['data'] > 0)) { ?> +
+ +
view['count']); ?> +
+ + « + ‹ + view['pages']; ?> + › + » + +
+ + + +
+
+ +
+ + + + + + + +
+
+
+

+
+ +

+
+
+
+
*/ ?> + + + + view['data']) && sizeof($this->view['data']) > 0) { ?> + + + + hasMod('wpsg_mod_produktbilder')) { ?> + + + + + hasMod('wpsg_mod_productgroups')) { ?> + + + hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showBackendStock') == '1') { ?> + + + + + + + + view['data'] as $d) { ?> + + hasMod('wpsg_mod_produktbilder')) { ?> + + + + + hasMod('wpsg_mod_productgroups')) { ?> + + + hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showBackendStock') == '1') { ?> + + + + + + + + + + hasMod('wpsg_mod_produktbilder')) { ?> + + + + + hasMod('wpsg_mod_productgroups')) { ?> + + + hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showBackendStock') == '1') { ?> + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($d['id'])); + + if (wpsg_isSizedArray($arBilder)) + { + + echo ''; + echo ''; + echo ''; + + } + + ?> + + " href="wp-admin/admin.php?page=wpsg-Produkt&action=edit&edit_id=" class="row-title"> + + + + + + + + +
+ hasMod('wpsg_mod_varianten') && wpsg_isSizedArray($this->callMod('wpsg_mod_varianten', 'loadVarianten', array($d['id'])))) { ?> +
+ +
+ +
+ getDefaultCountry()->kuerzel.')'; ?> + + get_option('wpsg_preisangaben') == WPSG_NETTO) { ?> + get_option('wpsg_currency')); ?> + + get_option('wpsg_currency')); ?> + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
view['count']); ?> +
+ + « + ‹ + view['pages']; ?> + › + » + +
+ + + +
+
+ +
+ + +

+ + + \ No newline at end of file diff --git a/views/produkt/mapimport.phtml b/views/produkt/mapimport.phtml new file mode 100644 index 0000000..31326b7 --- /dev/null +++ b/views/produkt/mapimport.phtml @@ -0,0 +1,43 @@ + +
+

+

+ + +

+ + writeBackendMessage(); ?> +
+ +
+ + +
+
+
+
+ view['import']) ?> + + view['import']['produkt_fields'] as $pAttr) { ?> + view['arLabel']), $pAttr)) > 0) { ?> + view['arLabel'][$pAttr['Field']], $this->view['import']['csv_header_fields'], @$this->view['mappingDefault'][$pAttr['Field']], $conf = array()) ?> + + +
+ 'ja', '0' => 'nein'), $this->get_option('wpsg_importfile_new_produkt'), $conf = array()) ?> + get_option('wpsg_importfile_calcprice'), array('hint' => __('Wenn nur der Brutto Preis angegeben wird, so wird der Netto Preis berechnet.', 'wpsg'))); ?> + +

+ + + + +
+ +
\ No newline at end of file diff --git a/views/produkt/select.phtml b/views/produkt/select.phtml new file mode 100644 index 0000000..4fd93b5 --- /dev/null +++ b/views/produkt/select.phtml @@ -0,0 +1,160 @@ + + + + + + + + + + + + <?php echo __('wpShopGermany Produktauswahl', 'wpsg'); ?> + + + + + + +
+ view['arProdukte']) <= 0) { ?> +

+ + + view['arProdukte'], false); ?> + view['arTemplates'], false); ?> + + + + + + + + +

+ + hasMod('wpsg_mod_productgroups') && $_REQUEST['wpsg_mode'] != 'wpsg_mod_relatedproducts') { ?> + view['arProduktgroups'], false); ?> + view['arProductgroupsOrder'], false); ?> + view['arProductgroupsDirection'], false); ?> + + + + +
+ + \ No newline at end of file diff --git a/views/produkt/select_filter.phtml b/views/produkt/select_filter.phtml new file mode 100644 index 0000000..20c3434 --- /dev/null +++ b/views/produkt/select_filter.phtml @@ -0,0 +1,43 @@ + +
+ + + +
+ + +

+
+ +
+ + \ No newline at end of file diff --git a/views/produkt/select_filter_productlist.phtml b/views/produkt/select_filter_productlist.phtml new file mode 100644 index 0000000..e8da939 --- /dev/null +++ b/views/produkt/select_filter_productlist.phtml @@ -0,0 +1,12 @@ + +view['arProducts'])) { ?> + + + + \ No newline at end of file diff --git a/views/produkttemplates/ausverkauft.phtml b/views/produkttemplates/ausverkauft.phtml new file mode 100644 index 0000000..aa4262b --- /dev/null +++ b/views/produkttemplates/ausverkauft.phtml @@ -0,0 +1,130 @@ +view['data']['stock']); + + // Damit keine Zubehörprodukte ausgegeben werden + //$this->noReleatedProducts = true; + +?> +
+
+ + + hasMod('wpsg_mod_produktbilder')) { ?> +
+ callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])))) { ?> + callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])) as $b) { $i ++; ?> + view['data']['varianten_image']) || $b == $this->view['data']['varianten_image']) { ?> +
+ + <?php echo wpsg_hspc($this->view['data']['name']); ?> + +
+ + + + + +
+
+ + + +
+ +

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

+ + get_option('wpsg_showArticelnumber') == '1') { ?> +
+ : view['data']['anr']); ?> +
+ + +
+ + + view['data']['preis']); ?> get_option('wpsg_currency'); ?>view['data']['price_info'])) { echo '
'.wpsg_hspc($this->view['data']['price_info']).'
'; } ?> +
+ + get_option('wpsg_kleinunternehmer')) { /* Kleinunternehmerregelung aktiviert START */ ?> + +
+ getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'', 'Endpreis'); ?> +
+ + + +
+ getFrontendTaxview() == WPSG_NETTO) { /* Frontend = NETTO Preise */ ?> + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + +
+ + + + + hasMod('wpsg_mod_fuellmenge')) { ?> + +
+ view['data']['fmenge'], $this->view['data']['feinheit'], true), + wpsg_ff($this->view['data']['fmenge_preis'], $this->get_option('wpsg_currency')), + wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $this->view['data']['feinheit']) + ); ?> +
+ + + + + hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProduct') === '1') { ?> +
+ view['data']['id'].'">'.wpsg_ff($this->view['data']['weight']).'', $this->get_option('wpsg_mod_weight_unit')); ?> +
+ + + + +
+ callMod('wpsg_mod_varianten', 'renderTemplate', array($this->view['data']['id'])); ?> +
+ + +
+ +
+ +
+ + + callMod('wpsg_mod_produktartikel', 'socialIntegration', array($this->view['data']['id'])); ?> + + +
+ +
+ + view['data']['beschreibung'])) > 0) { ?> +
+ +
+ view['data']['beschreibung']; ?> +
+ +
+ + + callMods('product_bottom', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> + +
\ No newline at end of file diff --git a/views/produkttemplates/bildertest.phtml b/views/produkttemplates/bildertest.phtml new file mode 100644 index 0000000..7bddb75 --- /dev/null +++ b/views/produkttemplates/bildertest.phtml @@ -0,0 +1,42 @@ +callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])); + +?> + +
+ +
+
+ + + +

:

+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ + + +
\ No newline at end of file diff --git a/views/produkttemplates/produktseite.phtml b/views/produkttemplates/produktseite.phtml new file mode 100644 index 0000000..17e4087 --- /dev/null +++ b/views/produkttemplates/produktseite.phtml @@ -0,0 +1,135 @@ +view['data']); + + // Damit keine Zubehörprodukte ausgegeben werden + //$this->noReleatedProducts = true; + +?> +
+
+ +
+ +

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

+ + + hasMod('wpsg_mod_produktbilder')) { ?> +
+ callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])))) { ?> + callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])) as $b) { $i ++; ?> + +
+ callMod('wpsg_mod_produktbilder', 'genBild', array($this->view['data']['id'], $i, $this->get_option('wpsg_mod_produktbilder_width'), $this->get_option('wpsg_mod_produktbilder_height'), $this->get_option('wpsg_mod_produktbilder_mode'), 'pimage')); ?> + getTemplateIndex(); ?>" src="callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $b, $this->get_option('wpsg_mod_produktbilder_width'), $this->get_option('wpsg_mod_produktbilder_height'), $this->get_option('wpsg_mod_produktbilder_mode'))); ?>" alt="" />*/?> +
+ + + + + +
+
+ + + + get_option('wpsg_showArticelnumber') == '1') { ?> +
+ : view['data']['anr']); ?> +
+ + +
+ + + view['data']['preis']); ?> get_option('wpsg_currency'); ?>view['data']['price_info'])) { echo '
'.wpsg_hspc($this->view['data']['price_info']).'
'; } ?> +
+ + get_option('wpsg_kleinunternehmer')) { /* Kleinunternehmerregelung aktiviert START */ ?> + +
+ getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'', 'Endpreis'); ?> +
+ + + +
+ getFrontendTaxview() == WPSG_NETTO) { /* Frontend = NETTO Preise */ ?> + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + +
+ + + + + hasMod('wpsg_mod_fuellmenge')) { ?> + +
+ view['data']['id'].'">'.wpsg_ff($this->view['data']['fmenge'], '', true).' '.$this->view['data']['feinheit'], + ''.wpsg_ff($this->view['data']['fmenge_preis']).' '. $this->get_option('wpsg_currency'), + wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $this->view['data']['feinheit']) + ); ?> +
+ + + + + + hasMod('wpsg_mod_deliverytime') && $this->get_option('wpsg_mod_deliverytime_show_product') == '1') { ?> + +
+ callMod('wpsg_mod_deliverytime', 'getProductDeliveryTime', array($this->view['data']['id']))); ?> +
+ + + + + + hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProduct') === '1') { ?> +
+ view['data']['id'].'">'.wpsg_ff($this->view['data']['weight']).'', $this->get_option('wpsg_mod_weight_unit')); ?> +
+ + + + +
+ callMod('wpsg_mod_varianten', 'renderTemplate', array($this->view['data']['id'])); ?> +
+ + + + +
+ + + callMod('wpsg_mod_produktartikel', 'socialIntegration', array($this->view['data']['id'])); ?> + + +
+ +
+ + view['data']['beschreibung'])) > 0) { ?> +
+ +
+ view['data']['beschreibung']; ?> +
+ +
+ + + callMods('product_bottom', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> + +
\ No newline at end of file diff --git a/views/produkttemplates/standard.phtml b/views/produkttemplates/standard.phtml new file mode 100644 index 0000000..175a6ee --- /dev/null +++ b/views/produkttemplates/standard.phtml @@ -0,0 +1,225 @@ +view['data']); + + // Damit keine Zubehörprodukte ausgegeben werden + //$this->noReleatedProducts = true; + + //wpsg_debug($_SESSION); + +?> +
+ + + + callMods('product_top', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> + +
+ +
+ +

getProductName($this->view['data']['id']); ?>

+ + callMods('product_top_afterheadline', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> + + + hasMod('wpsg_mod_produktbilder')) { ?> +
+ callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])))) { ?> + callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])) as $b) { $i ++; ?> + view['data']['varianten_image']) || $b == $this->view['data']['varianten_image']) { ?> +
+ + <?php echo wpsg_hspc($this->view['data']['name']); ?> + +
+ + + + + +
+
+ + + + get_option('wpsg_showArticelnumber') == '1') { ?> +
+ : view['data']['anr']); ?> +
+ + +
+ + + + view['data']['preis'], $this->get_option('wpsg_currency')); ?> + view['data']['price_info'])) { echo '
'.wpsg_hspc($this->view['data']['price_info']).'
'; } ?> + + hasMod('wpsg_mod_discount') && $this->view['data']['preis_prediscount'] > 0 && wpsg_isSizedInt($this->get_option('wpsg_mod_discount_show'))) { ?> +
+ : view['data']['preis_prediscount'], $this->get_option('wpsg_currency')); ?> +
+ +
+ + get_option('wpsg_kleinunternehmer')) { /* Kleinunternehmerregelung aktiviert START */ ?> + +
+ getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'', 'Endpreis'); ?> +
+ + + +
+ getFrontendTaxview() == WPSG_NETTO) { /* Frontend = NETTO Preise */ ?> + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + +
+ + + + + hasMod('wpsg_mod_fuellmenge')) { ?> + +
+ '.wpsg_ff($this->view['data']['fmenge'], '', true).' '.$this->view['data']['feinheit'], + ''.wpsg_ff($this->view['data']['fmenge_preis'], $this->get_option('wpsg_currency')).' ', + wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $this->view['data']['feinheit']) + ); ?> +
+ + + + + + hasMod('wpsg_mod_stock') && $this->get_option('wpsg_mod_stock_showProduct') == '1') { ?> +
+ view['data']['stock']); ?> +
+ + + + + hasMod('wpsg_mod_deliverytime') && $this->get_option('wpsg_mod_deliverytime_show_product') == '1') { ?> + +
+ callMod('wpsg_mod_deliverytime', 'getProductDeliveryTime', array($this->view['data']['id']))); ?> +
+ + + + + + hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProduct') === '1') { ?> +
+ view['data']['id'].'">'.wpsg_ff($this->view['data']['weight']).'', $this->get_option('wpsg_mod_weight_unit')); ?> +
+ + + + +
+ callMod('wpsg_mod_varianten', 'renderTemplate', array($this->view['data']['product_key'])); ?> +
+ + + callMods('productForSale', array($this->view['data']['product_key'])) || ($this->hasMod('wpsg_mod_request') && $this->callMod('wpsg_mod_request', 'isRequestProduct', array($this->view['data']['id'])))) { ?> +
+ + + + view['data']['basket_multiple'] == 4)?' readonly="readonly" ':''); ?> + /> + + get_option('wpsg_afterinsert'), array('2', '3'))) { ?> + + + +
+ + + callMods('productForSale', array($this->view['data']['product_key']))) { ?> + + + + + hasMod('wpsg_mod_request') && $this->callMod('wpsg_mod_request', 'isRequestProduct', array($this->view['data']['id']))) { ?> + + + +
+ + + callMod('wpsg_mod_produktartikel', 'socialIntegration', array($this->view['data']['id'])); ?> + + +
+ +
+ + view['data']['beschreibung'])) > 0) { ?> +
+ +
+ view['data']['beschreibung']; ?> +
+ +
+ + + callMods('product_bottom', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> + +
\ No newline at end of file diff --git a/views/produkttemplates/standard2.phtml b/views/produkttemplates/standard2.phtml new file mode 100644 index 0000000..fa7d911 --- /dev/null +++ b/views/produkttemplates/standard2.phtml @@ -0,0 +1,211 @@ +view['data']['stock']); + + // Damit keine Zubehörprodukte ausgegeben werden + //$this->noReleatedProducts = true; + +?> + + + + +
+
+ + + hasMod('wpsg_mod_produktbilder')) { ?> +
+ callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])); + + ?> + 0) { ?> +
+ + + + + + +
+ +
+ 1) { ?> + +
+ + + +
+ + +
+ + + +
+ + + +
+ +

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

+ + get_option('wpsg_showArticelnumber') == '1') { ?> +
+ : view['data']['anr']); ?> +
+ + +
+ + + view['data']['preis']); ?> get_option('wpsg_currency'); ?> +
+ + get_option('wpsg_kleinunternehmer')) { /* Kleinunternehmerregelung aktiviert START */ ?> + +
+ getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'', 'Endpreis'); ?> +
+ + + +
+ getFrontendTaxview() == WPSG_NETTO) { /* Frontend = NETTO Preise */ ?> + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + +
+ + + + + hasMod('wpsg_mod_fuellmenge')) { ?> + +
+ view['data']['fmenge'], $this->view['data']['feinheit'], true), + wpsg_ff($this->view['data']['fmenge_preis'], $this->get_option('wpsg_currency')), + wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $this->view['data']['feinheit']) + ); ?> +
+ + + + + hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProduct') === '1') { ?> +
+ view['data']['id'].'">'.wpsg_ff($this->view['data']['weight']).'', $this->get_option('wpsg_mod_weight_unit')); ?> +
+ + + + +
+ callMod('wpsg_mod_varianten', 'renderTemplate', array($this->view['data']['id'])); ?> +
+ + +
+ + + + + + + get_option('wpsg_afterinsert') == '2') { ?> + + + +
+ +
+ +
+ + + callMod('wpsg_mod_produktartikel', 'socialIntegration', array($this->view['data']['id'])); ?> + + +
+ + view['data']['beschreibung'])) > 0) { ?> +
+ +
+ view['data']['beschreibung']; ?> +
+ +
+ + + callMods('product_bottom', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> + +
+ diff --git a/views/produkttemplates/standard_1544.phtml b/views/produkttemplates/standard_1544.phtml new file mode 100644 index 0000000..62c92e4 --- /dev/null +++ b/views/produkttemplates/standard_1544.phtml @@ -0,0 +1,435 @@ +view['data']['stock']); + + // Damit keine Zubehörprodukte ausgegeben werden + //$this->noReleatedProducts = true; + +?> +
+
+ +
+ +

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

+ + + hasMod('wpsg_mod_produktbilder')) { ?> +
+ callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])))) { ?> + callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])) as $b) { $i ++; ?> + +
+ callMod('wpsg_mod_produktbilder', 'genBild', array($this->view['data']['id'], $i, $this->get_option('wpsg_mod_produktbilder_width'), $this->get_option('wpsg_mod_produktbilder_height'), $this->get_option('wpsg_mod_produktbilder_mode'), 'pimage')); ?> + getTemplateIndex(); ?>" src="callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $b, $this->get_option('wpsg_mod_produktbilder_width'), $this->get_option('wpsg_mod_produktbilder_height'), $this->get_option('wpsg_mod_produktbilder_mode'))); ?>" alt="" />*/?> +
+ + + + + +
+
+ + + + get_option('wpsg_showArticelnumber') == '1') { ?> +
+ : view['data']['anr']); ?> +
+ + +
+ + + view['data']['preis']); ?> get_option('wpsg_currency'); ?>view['data']['price_info'])) { echo '
'.wpsg_hspc($this->view['data']['price_info']).'
'; } ?> +
+ + get_option('wpsg_kleinunternehmer')) { /* Kleinunternehmerregelung aktiviert START */ ?> + +
+ getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'', 'Endpreis'); ?> +
+ + + +
+ getFrontendTaxview() == WPSG_NETTO) { /* Frontend = NETTO Preise */ ?> + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + +
+ + + + + hasMod('wpsg_mod_fuellmenge')) { ?> + +
+ view['data']['id'].'">'.wpsg_ff($this->view['data']['fmenge'], '', true).' '.$this->view['data']['feinheit'], + ''.wpsg_ff($this->view['data']['fmenge_preis']).' '. $this->get_option('wpsg_currency'), + wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $this->view['data']['feinheit']) + ); ?> +
+ + + + + + hasMod('wpsg_mod_deliverytime') && $this->get_option('wpsg_mod_deliverytime_show_product') == '1') { ?> + +
+ callMod('wpsg_mod_deliverytime', 'getProductDeliveryTime', array($this->view['data']['id']))); ?> +
+ + + + + + hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProduct') === '1') { ?> +
+ view['data']['id'].'">'.wpsg_ff($this->view['data']['weight']).'', $this->get_option('wpsg_mod_weight_unit')); ?> +
+ + + + +
callMod('wpsg_mod_varianten', 'renderTemplate', array($this->view['data']['id'])); + + $arVarianten = @unserialize($this->view['data']['mod_varianten']); + + ?> + + + view['data']['vp_data']) && sizeof($this->view['data']['vp_data']) > 0) { ?> + view['data']['vp_data'] as $k => $var) { if ($var['aktiv'] == "1") { $vAktiv = true; ?> + +
+ + + + + + + + + +
+ + + + + + + $vari) { if ($vari['aktiv'] == "1" && (!$this->hasMod('wpsg_mod_stock') || $vari['stock'] > 0)) { $j ++; ?> + + + $vari) { if ($vari['aktiv'] == "1" && (!$this->hasMod('wpsg_mod_stock') || $vari['stock'] > 0)) { $j ++; ?> + $kv, 'j' => $j, 'name' => $variCode[1], 'vari' => $vari); + + } + else + { + + $arVariGroup[0][] = array('kv' => $kv, 'j' => $j, 'name' => $variCode[0], 'vari' => $vari); + + } + + ?> + + + $vg) { ?> +
+ +
+ +
+ +
+ + + +
+
+ + + + + hasMod('wpsg_mod_stock') || $var['stock'] > 0)) { ?> + + + + +
+ +
+ +
+ + + + + + +
+ + +
+ + + + + + get_option('wpsg_afterinsert') == '2') { ?> + + + +
+ + + +
+ + + callMod('wpsg_mod_produktartikel', 'socialIntegration', array($this->view['data']['id'])); ?> + + +
+ +
+ + view['data']['beschreibung'])) > 0) { ?> +
+ +
+ view['data']['beschreibung']; ?> +
+ +
+ + + callMods('product_bottom', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> + +
\ No newline at end of file diff --git a/views/produkttemplates/standard_ajax.phtml b/views/produkttemplates/standard_ajax.phtml new file mode 100644 index 0000000..2f73884 --- /dev/null +++ b/views/produkttemplates/standard_ajax.phtml @@ -0,0 +1,196 @@ +view['data']); + + // Damit keine Zubehörprodukte ausgegeben werden + //$this->noReleatedProducts = true; + + //wpsg_debug($_SESSION); + +?> +
+
+ +
+ +

getProductName($this->view['data']['id']); ?>

+ + + hasMod('wpsg_mod_produktbilder')) { ?> +
+ callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])))) { ?> + callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])) as $b) { $i ++; ?> + view['data']['varianten_image']) || $b == $this->view['data']['varianten_image']) { ?> +
+ + <?php echo wpsg_hspc($this->view['data']['name']); ?> + +
+ + + + + +
+
+ + + + get_option('wpsg_showArticelnumber') == '1') { ?> +
+ : view['data']['anr']); ?> +
+ + +
+ + + + view['data']['preis'], $this->get_option('wpsg_currency')); ?> + view['data']['price_info'])) { echo '
'.wpsg_hspc($this->view['data']['price_info']).'
'; } ?> + hasMod('wpsg_mod_discount') && $this->view['data']['preis_prediscount'] > 0 && wpsg_isSizedInt($this->get_option('wpsg_mod_discount_show'))) { ?> + +
+ + +
: view['data']['preis_prediscount'], $this->get_option('wpsg_currency')); ?> +
+ + get_option('wpsg_kleinunternehmer')) { /* Kleinunternehmerregelung aktiviert START */ ?> + +
+ getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'', 'Endpreis'); ?> +
+ + + +
+ getFrontendTaxview() == WPSG_NETTO) { /* Frontend = NETTO Preise */ ?> + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + +
+ + + + + hasMod('wpsg_mod_fuellmenge')) { ?> + +
+ '.wpsg_ff($this->view['data']['fmenge'], '', true).' '.$this->view['data']['feinheit'], + ''.wpsg_ff($this->view['data']['fmenge_preis'], $this->get_option('wpsg_currency')).' ', + wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $this->view['data']['feinheit']) + ); ?> +
+ + + + + + hasMod('wpsg_mod_deliverytime') && $this->get_option('wpsg_mod_deliverytime_show_product') == '1') { ?> + +
+ callMod('wpsg_mod_deliverytime', 'getProductDeliveryTime', array($this->view['data']['id']))); ?> +
+ + + + + + hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProduct') === '1') { ?> +
+ view['data']['id'].'">'.wpsg_ff($this->view['data']['weight']).'', $this->get_option('wpsg_mod_weight_unit')); ?> +
+ + + + +
+ callMod('wpsg_mod_varianten', 'renderTemplate', array($this->view['data']['product_key'])); ?> +
+ + +
+ + + + view['data']['basket_multiple'] == 4)?' readonly="readonly" ':''); ?> + /> + + getTemplateIndex(); ?> + + +
+ + hasMod('wpsg_mod_request') || $this->callMod('wpsg_mod_request', 'productForSale', array($this->view['data']['id']))) { ?> + + + + hasMod('wpsg_mod_request') && $this->callMod('wpsg_mod_request', 'isRequestProduct', array($this->view['data']['id']))) { ?> + + + +
+ + + callMod('wpsg_mod_produktartikel', 'socialIntegration', array($this->view['data']['id'])); ?> + + +
+ +
+ + view['data']['beschreibung'])) > 0) { ?> +
+ +
+ view['data']['beschreibung']; ?> +
+ +
+ + + callMods('product_bottom', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> + +
\ No newline at end of file diff --git a/views/produkttemplates/standard_login.phtml b/views/produkttemplates/standard_login.phtml new file mode 100644 index 0000000..277adc7 --- /dev/null +++ b/views/produkttemplates/standard_login.phtml @@ -0,0 +1,177 @@ +view['data']['stock']); + + // Damit keine Zubehörprodukte ausgegeben werden + //$this->noReleatedProducts = true; + +?> +
+
+ + + hasMod('wpsg_mod_produktbilder')) { ?> +
+ callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])))) { ?> + callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->view['data']['id'])) as $b) { $i ++; ?> + +
+ callMod('wpsg_mod_produktbilder', 'genBild', array($this->view['data']['id'], $i, $this->get_option('wpsg_mod_produktbilder_width'), $this->get_option('wpsg_mod_produktbilder_height'), $this->get_option('wpsg_mod_produktbilder_mode'), 'pimage')); ?> + getTemplateIndex(); ?>" src="callMod('wpsg_mod_produktbilder', 'makeTn', array($this->view['data']['id'], $b, $this->get_option('wpsg_mod_produktbilder_width'), $this->get_option('wpsg_mod_produktbilder_height'), $this->get_option('wpsg_mod_produktbilder_mode'))); ?>" alt="" />*/?> +
+ + + + + +
+
+ + + +
+ +

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

+ +
+ : view['data']['anr']); ?> +
+ + + callMod('wpsg_mod_kundenverwaltung', 'getUserStatus', array($this->callMod('wpsg_mod_kundenverwaltung', 'isLoggedIn'))) == true) { ?> + + +
+ + + view['data']['preis']); ?> get_option('wpsg_currency'); ?> +
+ + get_option('wpsg_kleinunternehmer')) { /* Kleinunternehmerregelung aktiviert START */ ?> + +
+ getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').'', 'Endpreis'); ?> +
+ + + +
+ getFrontendTaxview() == WPSG_NETTO) { /* Frontend = NETTO Preise */ ?> + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + + view['data']['mwst_value']), ''.__('Versandkosten', 'wpsg').''); ?> + +
+ + + + + + + + + hasMod('wpsg_mod_fuellmenge')) { ?> + +
+ view['data']['fmenge'], $this->view['data']['feinheit'], true), + wpsg_ff($this->view['data']['fmenge_preis'], $this->get_option('wpsg_currency')), + wpsg_ff($this->get_option('wpsg_mod_fuellmenge_bezug'), $this->view['data']['feinheit']) + ); ?> +
+ + + + + hasMod('wpsg_mod_weight') && $this->get_option('wpsg_mod_weight_showProduct') === '1') { ?> +
+ view['data']['id'].'">'.wpsg_ff($this->view['data']['weight']).'', $this->get_option('wpsg_mod_weight_unit')); ?> +
+ + + + +
+ callMod('wpsg_mod_varianten', 'renderTemplate', array($this->view['data']['id'])); ?> +
+ + + + callMod('wpsg_mod_kundenverwaltung', 'getUserStatus', array($this->callMod('wpsg_mod_kundenverwaltung', 'isLoggedIn'))) == true) { ?> + + +
+ + + + + + + get_option('wpsg_afterinsert') == '2') { ?> + + + +
+ + + + + +
+ +
+ + + callMod('wpsg_mod_produktartikel', 'socialIntegration', array($this->view['data']['id'])); ?> + + +
+ + view['data']['beschreibung'])) > 0) { ?> +
+ +
+ view['data']['beschreibung']; ?> +
+ +
+ + + callMods('product_bottom', array(&$this->view['data']['id'], $this->getTemplateIndex())); ?> + +
\ No newline at end of file diff --git a/views/warenkorb/ajaxDialog.phtml b/views/warenkorb/ajaxDialog.phtml new file mode 100644 index 0000000..1f5d5cc --- /dev/null +++ b/views/warenkorb/ajaxDialog.phtml @@ -0,0 +1,62 @@ +view['error'] // Steht auf true wenn ein Fehler produziert und angezeigt werden soll + // $this->view['product_key'] // Der ProduktSchlüssel des hinzugefügten Produktes + // $this->view['amount_add'] // So oft wurde das Produkt hinzugefügt + // $this->view['amount_basket'] // So oft befindet sich das hinzugefügte Produkt im Warenkorb + // $this->view['product_data'] // Array mit Produktdaten + +?>
+ +
+ + view['error'] === true) { echo $this->writeFrontendMessage(); } else { ?> + + + view['amount_add'], + $this->getProductName($this->view['product_data']['id'], true)); ?> + + + + +
+ + +
+
+ + clearFrontendMessage(); ?> + +
+ +
+ + \ No newline at end of file diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml new file mode 100644 index 0000000..f75874f --- /dev/null +++ b/views/warenkorb/basket.phtml @@ -0,0 +1,331 @@ +view['basket']); + //wpsg_debug($_SESSION); + //wpsg_debug($this->arShipping); + +?> +
+ + writeFrontendMessage(); ?> + + callMods('basket_top'); ?> + + view['basket']['produkte']) > 0) { ?> + + render(WPSG_PATH_VIEW.'/warenkorb/progress.phtml'); ?> + +
+ +

+ +
+ + + + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + view['basket']['produkte'] as $k => $p) { $i ++; ?> + callMods('basket_row', array(&$p, $i)); $strBasketRow = ob_get_contents(); ob_end_clean(); ?> + + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + + + + + callMods('basket_row_afterproducts', array(&$p, $i)); ?> + view['basket']['gs'])) { ?> + + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + + + + view['basket']['sum']['preis_rabatt']) && wpsg_tf($this->view['basket']['sum']['preis_rabatt']) > 0) { ?> + + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + + + + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + */?> + + + + + + hasMod('wpsg_mod_crefopay')) { ?> + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + + + + + + + + + + + + + + + + view['basket']['mwst'] as $mwst) { ?> + + + + + + + + + + + callMods('basket_row_end', array(&$this->view)); ?> +
 
+ + + <?php echo __('Löschen', 'wpsg'); ?> + + + + value="" size="3" /> + get_option('wpsg_currency'); ?> % get_option('wpsg_currency'); ?>
+ get_option('wpsg_mod_produktbilder_basketimage') == '1' && $this->hasMod('wpsg_mod_produktbilder')) { + + if (wpsg_isSizedString($p['varianten_image'])) $arBilder = array($p['varianten_image']); + else $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->getProduktID($p['id']))); + + ?> +
+ + <?php echo wpsg_hspc((($p['detailname'] != '')?$p['detailname']:$p['name'])); ?> + +
+ + getProduktLink($p)) { ?> + + + + +
+ + <?php echo __('Löschen', 'wpsg'); ?> + + 1 + view['basket']['gs']['calc'] == 'p') { ?> + view['basket']['gs']['value'], '%'); ?> + + view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?> + + view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?>
+ view['basket']['gs']['code'] != '')? '('.$this->view['basket']['gs']['code'].')':'' ?> +
+ + + view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')); ?> + + view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')); ?> +
+ get_option("wpsg_kleinunternehmer") == "1") { ?> + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?>: + + getFrontendTaxview() == WPSG_NETTO) { ?> + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?>: + + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?>: + + + + view['basket']['sum']['preis'], $this->get_option('wpsg_currency')); ?> +
+ Versandkosten:', 'wpsg'), + $this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN) + ); ?> + arShipping) > 1) { ?> + + + arShipping[$this->view['basket']['checkout']['shipping']]['name']; ?> + + get_option('wpsg_hideBasketCountrySelect') != '1') { ?> + + + + + view['basket']['shipping']['tax_rata']) && $this->view['basket']['shipping']['tax_rata'] === true) + { + + echo __('anteilig', 'wpsg'); + + } + else if (array_key_exists($this->view['basket']['checkout']['shipping'], $this->arShipping)) + { + + echo wpsg_ff($this->arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'], '%'); + + } + + ?>arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'] > 0)?wpsg_ff($this->arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'], '%'):__('anteilig', 'wpsg')); ?> + view['basket']['sum']['preis_shipping'], $this->get_option('wpsg_currency')); ?> +
+ + arPayment) > 1) { ?> + + + arPayment[$this->view['basket']['checkout']['payment']]['name']; ?> + + view['basket']['payment']['tax_rata']) && $this->view['basket']['payment']['tax_rata'] === true) + { + + echo __('anteilig', 'wpsg'); + + } + else if (array_key_exists(wpsg_getStr($this->view['basket']['checkout']['payment']), $this->arPayment)) + { + + echo wpsg_ff($this->arPayment[$this->view['basket']['checkout']['payment']]['mwst_value'], '%'); + + } + + ?> + view['basket']['sum']['preis_payment'], $this->get_option('wpsg_currency')); ?> +
+ : + + view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> +
+ : + + view['basket']['sum']['preis_gesamt_netto'], $this->get_option('wpsg_currency')); ?> +
+ : + + get_option('wpsg_currency'); ?> +
+ : + + view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> +
+ + callMods('basket_inner_prebutton', array(&$this->view)); ?> + +
+ + + + + + +
+ + ClearSessionErrors(); ?> + +
+ + callMods('basket_after', array(&$this->view)); ?> + + +

+ + +
+ + \ No newline at end of file diff --git a/views/warenkorb/checkout.phtml b/views/warenkorb/checkout.phtml new file mode 100644 index 0000000..1cf4e9b --- /dev/null +++ b/views/warenkorb/checkout.phtml @@ -0,0 +1,269 @@ +view); + +?> + + +
+ + writeFrontendMessage(); ?> + + render(WPSG_PATH_VIEW.'/warenkorb/progress.phtml'); ?> + +
+ + + callMod('wpsg_mod_kundenverwaltung', 'checkout_login'); ?> + +
+ +

+ +
+ +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_firma" name="wpsg[checkout][firma]" value="view['basket']['checkout']['firma']); ?>" /> +
+ +
+ + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="vname" name="wpsg[checkout][vname]" value="view['basket']['checkout']['vname']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="name" name="wpsg[checkout][name]" value="view['basket']['checkout']['name']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="email" id="email" name="wpsg[checkout][email]" value="view['basket']['checkout']['email']); ?>" /> +
+ + view['pflicht']['emailconfirm']) && $this->view['pflicht']['emailconfirm'] == '1') { ?> +
+ + view['error']))?'wpsg_error':''); ?>" type="email" id="email2" name="wpsg[checkout][email2]" value="view['basket']['checkout']['email2']); ?>" /> +
+ + +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="geb" name="wpsg[checkout][geb]" value="view['basket']['checkout']['geb']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="tel" id="fax" name="wpsg[checkout][fax]" value="view['basket']['checkout']['fax']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="tel" id="tel" name="wpsg[checkout][tel]" value="view['basket']['checkout']['tel']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="strasse" name="wpsg[checkout][strasse]" value="view['basket']['checkout']['strasse']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="plz" name="wpsg[checkout][plz]" value="view['basket']['checkout']['plz']); ?>" /> +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="ort" name="wpsg[checkout][ort]" value="view['basket']['checkout']['ort']); ?>" /> +
+ +
+ + +
+ +
+ + view['error']))?'wpsg_error':''); ?>" type="text" id="wpsg_ustidnr" name="wpsg[checkout][ustidnr]" value="view['basket']['checkout']['ustidnr']); ?>" /> +
+ + + get_option('wpsg_kundenvariablen_show') == '1') { ?> + view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?> +
+ +
+ + + +
+ + callMods('checkout_customer_inner'); ?> + +
+ +
+ + callMods('checkout_inner_prebutton', array(&$this->view)); ?> + +
+ +
+ +

+ +
+ +
+ +
+
+ +
+ *'); ?> +
+ +
+ + ClearSessionErrors(); ?> + + + + +
+ +
+ +
+ + + +
\ No newline at end of file diff --git a/views/warenkorb/checkout2.phtml b/views/warenkorb/checkout2.phtml new file mode 100644 index 0000000..b80ca62 --- /dev/null +++ b/views/warenkorb/checkout2.phtml @@ -0,0 +1,148 @@ +view['basket']['checkout']); + //die(); + +?> +
+ + writeFrontendMessage(); ?> + + render(WPSG_PATH_VIEW.'/warenkorb/progress.phtml'); ?> + +
+ + + +
+ +

+ +
+ view['arShipping'] as $s) { ?> +
+ + view['basket']['checkout']['shipping'] == $s['id'] || sizeof($this->view['arShipping']) == 1)?'checked="checked"':''); ?> type="radio" value="" name="wpsg[checkout][shipping]" id="shipping_" /> + + + + +
+ + 0) { ?> +
+ 0) { ?> + : get_option('wpsg_currency')); ?>
+ + replaceUniversalPlatzhalter(__($s['hint'], 'wpsg')); ?> +
+ + +
+ +
+ +
+ +
+ + callMods('checkout_handlePayment') === true) { ?> + + hasMod('wpsg_mod_crefopay')) { ?> +
+ +

+ +
+ view['arPayment'] as $p) { ?> +
+ + view['basket']['checkout']['payment'] == $p['id'] || sizeof($this->view['arPayment']) == 1)?'checked="checked"':''); ?> type="radio" value="" name="wpsg[checkout][payment]" id="payment_" /> + +
+ + + + + + 0) { ?> +
+ 0) { ?> + : get_option('wpsg_currency')); ?>
+ + replaceUniversalPlatzhalter(__($p['hint'], 'wpsg')); ?> +
+ + +
+ +
+ +
+ +
+ + + + +
+ +
+ + callMods('checkout2_inner_prebutton', array(&$this->view)); ?> + + + + +
+ +
+ + + +
\ No newline at end of file diff --git a/views/warenkorb/customerquestion.phtml b/views/warenkorb/customerquestion.phtml new file mode 100644 index 0000000..595fbdb --- /dev/null +++ b/views/warenkorb/customerquestion.phtml @@ -0,0 +1,91 @@ + +
+ + + + +

+ +
+ +

+ +
+ +
+
+ +
+ +
+ +
+

+ +
+ +
+ +
+ +
+ +
+ + diff --git a/views/warenkorb/done.phtml b/views/warenkorb/done.phtml new file mode 100644 index 0000000..78b0f55 --- /dev/null +++ b/views/warenkorb/done.phtml @@ -0,0 +1,48 @@ +view['o_id']; ?> + Menge aller Produkte: view['menge']; ?> + Array mit bestellten Produkten: view['basket']['produkte']); ?> + Array mit den MwSt Sätzen: view['basket']['mwst']); ?> + Array mit den calculierten Preisen: view['basket']['sum']); ?> + Netto Bestellsumme: view['basket']['sum']['preis_gesamt_netto']; ?> + Brutto Bestellsumme / Rechnungsbetrag: view['basket']['sum']['preis_gesamt_brutto']; ?> + Gesamtgewicht (wenn aktiviert): view['basket']['sum']['weight']; ?> + Gesamtsteuer: view['basket']['sum']['mwst']; ?> + Kosten Versand: view['basket']['sum']['preis_shipping']; ?> + Kosten Zahlart: view['basket']['sum']['preis_payment']; ?> + Kundendaten: view['basket']['checkout']); ?> + Name des Kunden: view['basket']['checkout']['name']; ?> + Vorname des Kunden: view['basket']['checkout']['vname']; ?> + E-Mail des Kunden: view['basket']['checkout']['email']; ?> + Strasse des Kunden: view['basket']['checkout']['strasse']; ?> + Ort des Kunden: view['basket']['checkout']['ort']; ?> + PLZ des Kunden: view['basket']['checkout']['plz']; ?> + Name der Versandadresse (wenn angegeben): view['basket']['checkout']['shipping_name']; ?> + Vorname der Versandadresse (wenn angegeben): view['basket']['checkout']['shipping_vname']; ?> + Straße der Versandadresse (wenn angegeben): view['basket']['checkout']['shipping_strasse']; ?> + Ort der Versandadresse (wenn angegeben): view['basket']['checkout']['shipping_ort']; ?> + PLZ der Versandadresse (wenn angegeben): view['basket']['checkout']['shipping_plz']; ?> + Kundennummer: view['customer']['knr']; ?> + Bestellnummer: view['order']['onr']; ?> + Zahlungsart: arShipping[$this->view['basket']['checkout']['payment']]['name']; ?> + Versandart: arShipping[$this->view['basket']['checkout']['shipping']]['name']; ?> + */ + +?> +
+ + writeFrontendMessage(); ?> + +

+

callMods('order_done', array(&$this->view['o_id'], &$this->view)); ?>

+ +
+
+ +
\ No newline at end of file diff --git a/views/warenkorb/index.phtml b/views/warenkorb/index.phtml new file mode 100644 index 0000000..b03d426 --- /dev/null +++ b/views/warenkorb/index.phtml @@ -0,0 +1,118 @@ + + \ No newline at end of file diff --git a/views/warenkorb/overview.phtml b/views/warenkorb/overview.phtml new file mode 100644 index 0000000..3cfb560 --- /dev/null +++ b/views/warenkorb/overview.phtml @@ -0,0 +1,307 @@ +view['basket']); + +?> +
+ + writeFrontendMessage(); ?> + + render(WPSG_PATH_VIEW.'/warenkorb/progress.phtml'); ?> + +
+ +

+ +
+ + hasMod('wpsg_mod_ordercondition')) { ?> +
+ +
+ + + callMods('overview_top', array(&$this->view['basket'])); ?> + +
+
  + Ändern]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT2)); ?> +
+
arPayment[$this->view['basket']['checkout']['payment']]['name']); ?>
+
arShipping[$this->view['basket']['checkout']['shipping']]['name']); ?>
+
+ + view['basket']['checkout']['diff_shippingadress'] == '1') { ?> +
+
  + Ändern]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?> +
+ view['basket']['checkout']['firma']) != '') { ?> + view['basket']['checkout']['firma']); ?>
+ + view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$this->view['basket']['checkout']['title']:''); ?> view['basket']['checkout']['vname']); ?> view['basket']['checkout']['name']); ?>
+ view['basket']['checkout']['strasse']); ?>
+ view['basket']['checkout']['plz']); ?> view['basket']['checkout']['ort']); ?>
+ view['basket']['land'])) { ?> + view['basket']['land']['name']); ?> + +
+

+ +
+
  + Ändern]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?> +
+ view['basket']['checkout']['shipping_firma']) != '') { ?> + view['basket']['checkout']['shipping_firma']); ?>
+ + view['basket']['checkout']['shipping_title'] != '' && $this->view['basket']['checkout']['shipping_title'] != '-1')?$this->view['basket']['checkout']['shipping_title']:''); ?> view['basket']['checkout']['shipping_vname']); ?> view['basket']['checkout']['shipping_name']); ?>
+ view['basket']['checkout']['shipping_strasse']); ?>
+ view['basket']['checkout']['shipping_plz']); ?> view['basket']['checkout']['shipping_ort']); ?>
+ view['basket']['shipping_land'])) { ?> + view['basket']['shipping_land']['name']); ?> + +
+

+ + + +
+
  + Ändern]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?> +
+ view['basket']['checkout']['firma']) != '') { ?> + view['basket']['checkout']['firma']); ?>
+ + view['basket']['checkout']['title'] != '' && $this->view['basket']['checkout']['title'] != '-1')?$this->view['basket']['checkout']['title']:''); ?> view['basket']['checkout']['vname']; ?> view['basket']['checkout']['name']; ?>
+ view['basket']['checkout']['strasse']); ?>
+ view['basket']['checkout']['plz']); ?> view['basket']['checkout']['ort']); ?>
+ view['basket']['land'])) { ?> + view['basket']['land']['name']); ?> + +
+

+ + + view['basket']['checkout']['ustidnr'])) { ?> + : view['basket']['checkout']['ustidnr']); ?>

+ + +
+   + Ändern]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_BASKET)); ?> +
+ +
+ + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + view['basket']['produkte'] as $produkt_key => $p) { $i ++; ?> + callMods('overview_row', array(&$p, $i)); $strOverviewRow = ob_get_contents(); ob_end_clean(); ?> + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + + + + + view['basket']['gs'])) { ?> + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + + + + view['basket']['sum']['preis_rabatt']) && wpsg_tf($this->view['basket']['sum']['preis_rabatt']) > 0) { ?> + + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + + + + + + + + view['basket']['sum']['preis_shipping'] != 0 || $this->get_option('wpsg_hideemptyshipping') != '1') { ?> + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + view['basket']['sum']['preis_payment'] != 0 || $this->get_option('wpsg_hideemptypayment') != '1') { ?> + + + view['basket']['mwst']) > 1 || $this->get_option('wpsg_showMwstAlways') == '1') { ?> + + + + + + + get_option("wpsg_kleinunternehmer") == "1") { ?> + + + + + + + + + + + + + view['basket']['mwst'] as $mwst_id => $mwst) { ?> + + + + + + + + + + + + callMods('overview_row_end', array(&$this->view)); ?> + +
+ + get_option('wpsg_currency'); ?> % get_option('wpsg_currency'); ?>
+ get_option('wpsg_mod_produktbilder_overviewimage') == '1' && $this->hasMod('wpsg_mod_produktbilder')) { + + if (wpsg_isSizedString($p['varianten_image'])) $arBilder = array($p['varianten_image']); + else $arBilder = $this->callMod('wpsg_mod_produktbilder', 'getProduktBilder', array($this->getProduktID($p['id']))); + + ?> +
+ <?php echo wpsg_hspc((($p['detailname'] != '')?$p['detailname']:$p['name'])); ?> +
+ + getProduktLink($p)) { ?> + + + + +
1view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?>view['basket']['sum']['gs'], $this->get_option('wpsg_currency')); ?>
view['basket']['gs']['code'] != '')? '('.$this->view['basket']['gs']['code'].')':'' ?>
view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')); ?>view['basket']['sum']['preis_rabatt'], $this->get_option('wpsg_currency')); ?>
+ get_option('wpsg_kleinunternehmer') == '1') { ?> + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?>: + + getFrontendTaxview() == WPSG_NETTO) { ?> + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?>: + + getURL(wpsg_ShopController::URL_VERSANDKOSTEN).'">'.__('Versandkosten', 'wpsg').''); ?>: + + + + view['basket']['sum']['preis']); ?> get_option('wpsg_currency'); ?> +
+ Versandkosten (#2#)', 'wpsg'), + $this->getURL(wpsg_ShopController::URL_VERSANDKOSTEN), + $this->arShipping[$this->view['basket']['checkout']['shipping']]['name'] + ); ?>: + + view['basket']['shipping']['tax_rata']) && $this->view['basket']['shipping']['tax_rata'] === true) { ?> + + + arShipping[$this->view['basket']['checkout']['shipping']]['mwst_value'], '%'); ?> + + + view['basket']['sum']['preis_shipping'], $this->get_option('wpsg_currency')); ?> +
+ arPayment[$this->view['basket']['checkout']['payment']]['name']); ?>: + + view['basket']['payment']['tax_rata']) && $this->view['basket']['payment']['tax_rata'] === true) { ?> + + + arPayment[$this->view['basket']['checkout']['payment']]['mwst_value'], '%'); ?> + + + view['basket']['sum']['preis_payment'], $this->get_option('wpsg_currency')); ?> +
get_option('wpsg_kleinunternehmer_text'); ?>
+ : + + view['basket']['sum']['preis_gesamt_brutto']); ?> get_option('wpsg_currency'); ?> +
+ : + + view['basket']['sum']['preis_gesamt_netto']); ?> get_option('wpsg_currency'); ?> +
+ + + get_option('wpsg_currency'); ?> +
+ : + + view['basket']['sum']['preis_gesamt_brutto'], $this->get_option('wpsg_currency')); ?> +
+ +
+
+ +
+ + view['basket']['checkout']['comment'] != '') { ?> +
+   + Ändern]', 'wpsg'), $this->getURL(wpsg_ShopController::URL_CHECKOUT)); ?> +
+
+ view['basket']['checkout']['comment'] ?> +
+ + + + callMods('overview_inner_prebutton', array(&$this->view)); ?> + +
+ +
+ + + + +
+ +
+ +
diff --git a/views/warenkorb/progress.phtml b/views/warenkorb/progress.phtml new file mode 100644 index 0000000..786527c --- /dev/null +++ b/views/warenkorb/progress.phtml @@ -0,0 +1,60 @@ + +
+ + + + + + 1) { ?> + + + + + 1) { ?> + + + 2) { ?> + + + + + 2) { ?> + + + 3) { ?> + + + + + 3) { ?> + + +
+ +
+ + +
+ + + + 1) { ?> + + +

+ + + 2) { ?> + + +

+ + + 3) { ?> + + +

+ + +
*/ ?> + \ No newline at end of file -- cgit v1.2.3