From 680c5f748e6b1b9a35f418293cff3ab4b92317ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=C4=9Bzslav=20Dvo=C5=99=C3=A1k?= Date: Thu, 8 Apr 2021 00:51:12 +0200 Subject: [PATCH 01/29] Basic translations --- .gitignore | 17 + .gitmodules | 3 + Dockerfile | 25 + Makefile | 72 + admin/includes/application_top.php | 1 + admin/includes/configure.php | 62 +- admin/includes/languages/czech/index.php | 12 + composer.json | 33 + composer.lock | 2444 +++++++++++++++++ includes/application_top.php | 1 + includes/classes/Order.php | 66 + includes/classes/Payment.php | 274 ++ includes/classes/application.php | 2 +- includes/configure.php | 54 +- includes/languages/czech.php | 414 +++ includes/languages/czech/account.php | 64 + includes/languages/czech/account_edit.php | 21 + includes/languages/czech/account_history.php | 28 + .../languages/czech/account_history_info.php | 41 + .../languages/czech/account_newsletters.php | 23 + .../languages/czech/account_notifications.php | 37 + includes/languages/czech/account_password.php | 23 + includes/languages/czech/address_book.php | 30 + .../languages/czech/address_book_process.php | 47 + includes/languages/czech/advanced_search.php | 58 + .../czech/article_manager/article-submit.php | 43 + .../czech/article_manager/article-topics.php | 19 + .../czech/article_manager/article_blog.php | 48 + .../czech/article_manager/article_info.php | 35 + .../czech/article_manager/article_manager.php | 23 + .../article_manager_search_result.php | 23 + .../czech/article_manager/articles.php | 59 + .../czech/article_manager/articles_new.php | 24 + includes/languages/czech/article_reviews.php | 21 + .../languages/czech/article_reviews_info.php | 21 + .../languages/czech/article_reviews_write.php | 24 + includes/languages/czech/article_rss.php | 15 + .../languages/czech/checkout_confirmation.php | 31 + includes/languages/czech/checkout_payment.php | 35 + .../czech/checkout_payment_address.php | 35 + .../languages/czech/checkout_shipping.php | 37 + .../czech/checkout_shipping_address.php | 34 + includes/languages/czech/checkout_success.php | 18 + includes/languages/czech/conditions.php | 17 + includes/languages/czech/contact_us.php | 25 + includes/languages/czech/cookie_usage.php | 22 + includes/languages/czech/create_account.php | 63 + .../czech/create_account_success.php | 19 + includes/languages/czech/download.php | 12 + includes/languages/czech/gdpr.php | 15 + includes/languages/czech/images/icon.gif | Bin 0 -> 175 bytes includes/languages/czech/index.php | 39 + .../languages/czech/info_shopping_cart.php | 27 + includes/languages/czech/login.php | 14 + includes/languages/czech/logoff.php | 18 + .../action_recorder/ar_admin_login.php | 15 + .../modules/action_recorder/ar_contact_us.php | 15 + .../action_recorder/ar_reset_password.php | 15 + .../czech/modules/boxes/bm_best_sellers.php | 16 + .../czech/modules/boxes/bm_categories.php | 15 + .../czech/modules/boxes/bm_currencies.php | 16 + .../czech/modules/boxes/bm_information.php | 20 + .../czech/modules/boxes/bm_languages.php | 16 + .../modules/boxes/bm_manufacturer_info.php | 18 + .../czech/modules/boxes/bm_manufacturers.php | 16 + .../czech/modules/boxes/bm_order_history.php | 16 + .../boxes/bm_product_notifications.php | 18 + .../czech/modules/boxes/bm_reviews.php | 19 + .../czech/modules/boxes/bm_shopping_cart.php | 17 + .../czech/modules/boxes/bm_specials.php | 16 + .../czech/modules/boxes/bm_whats_new.php | 16 + .../account/cm_account_braintree_cards.php | 30 + .../content/account/cm_account_gdpr.php | 18 + .../account/cm_account_sage_pay_cards.php | 30 + .../account/cm_account_set_password.php | 26 + .../content/account/cm_account_title.php | 21 + .../cm_cs_continue_button.php | 20 + .../checkout_success/cm_cs_downloads.php | 20 + .../cm_cs_product_notifications.php | 17 + .../cm_cs_redirect_old_order.php | 15 + .../checkout_success/cm_cs_thank_you.php | 24 + .../content/checkout_success/cm_cs_title.php | 22 + .../cm_cas_continue_button.php | 16 + .../create_account_success/cm_cas_message.php | 20 + .../create_account_success/cm_cas_title.php | 18 + .../content/footer/cm_footer_account.php | 24 + .../footer/cm_footer_articles_manager.php | 20 + .../content/footer/cm_footer_contact_us.php | 20 + .../footer/cm_footer_information_links.php | 29 + .../footer/cm_footer_information_pages.php | 24 + .../modules/content/footer/cm_footer_text.php | 22 + .../cm_footer_extra_copyright.php | 21 + .../footer_suffix/cm_footer_extra_icons.php | 17 + .../gdpr/cm_gdpr_contact_addresses.php | 19 + .../content/gdpr/cm_gdpr_contact_details.php | 24 + .../modules/content/gdpr/cm_gdpr_intro.php | 17 + .../content/gdpr/cm_gdpr_personal_details.php | 28 + .../content/gdpr/cm_gdpr_site_actions.php | 25 + .../content/gdpr/cm_gdpr_site_details.php | 28 + .../content/header/cm_header_breadcrumb.php | 19 + .../content/header/cm_header_buttons.php | 15 + .../modules/content/header/cm_header_logo.php | 15 + .../content/header/cm_header_messagestack.php | 15 + .../content/header/cm_header_search.php | 15 + .../content/index/cm_i_article_manager.php | 17 + .../content/index/cm_i_card_products.php | 21 + .../content/index/cm_i_customer_greeting.php | 17 + .../modules/content/index/cm_i_text_main.php | 20 + .../modules/content/index/cm_i_title.php | 21 + .../content/index/cm_i_upcoming_products.php | 22 + .../index_nested/cm_in_card_products.php | 21 + .../cm_in_category_description.php | 15 + .../index_nested/cm_in_category_listing.php | 18 + .../content/index_nested/cm_in_title.php | 17 + ...m_ip_category_manufacturer_description.php | 19 + .../index_products/cm_ip_product_listing.php | 14 + .../content/index_products/cm_ip_title.php | 21 + .../modules/content/info/cm_info_text.php | 14 + .../modules/content/info/cm_info_title.php | 14 + .../content/login/cm_create_account_link.php | 19 + .../content/login/cm_forgot_password.php | 22 + .../modules/content/login/cm_login_form.php | 21 + .../modules/content/login/cm_login_title.php | 21 + .../modules/content/login/cm_paypal_login.php | 64 + .../modules/content/navigation/cm_navbar.php | 40 + .../product_info/cm_pi_also_purchased.php | 21 + .../content/product_info/cm_pi_buy_button.php | 20 + .../product_info/cm_pi_date_available.php | 20 + .../product_info/cm_pi_description.php | 19 + .../content/product_info/cm_pi_gallery.php | 18 + .../content/product_info/cm_pi_gtin.php | 20 + .../content/product_info/cm_pi_model.php | 20 + .../content/product_info/cm_pi_modular.php | 15 + .../content/product_info/cm_pi_name.php | 21 + .../product_info/cm_pi_options_attributes.php | 22 + .../content/product_info/cm_pi_price.php | 22 + .../product_info/cm_pi_review_stars.php | 26 + .../content/product_info/cm_pi_reviews.php | 17 + .../cm_pinf_message.php | 21 + .../czech/modules/content/reviews/write.php | 36 + .../content/shopping_cart/cm_sc_checkout.php | 28 + .../shopping_cart/cm_sc_no_products.php | 28 + .../shopping_cart/cm_sc_order_subtotal.php | 27 + .../shopping_cart/cm_sc_product_listing.php | 34 + .../shopping_cart/cm_sc_stock_notice.php | 28 + .../content/shopping_cart/cm_sc_title.php | 27 + .../content/testimonials/cm_t_list.php | 24 + .../content/testimonials/cm_t_title.php | 22 + .../modules/header_tags/ht_canonical.php | 15 + .../modules/header_tags/ht_category_title.php | 15 + .../header_tags/ht_datepicker_jquery.php | 15 + .../ht_google_adwords_conversion.php | 15 + .../header_tags/ht_google_analytics.php | 15 + .../modules/header_tags/ht_mailchimp_360.php | 15 + .../header_tags/ht_manufacturer_title.php | 15 + .../modules/header_tags/ht_opensearch.php | 15 + .../modules/header_tags/ht_pages_seo.php | 18 + .../modules/header_tags/ht_product_meta.php | 15 + .../header_tags/ht_product_opengraph.php | 19 + .../modules/header_tags/ht_product_title.php | 15 + .../modules/header_tags/ht_robot_noindex.php | 15 + .../header_tags/ht_table_click_jquery.php | 15 + .../header_tags/ht_twitter_product_card.php | 21 + .../czech/modules/navbar/nb_account.php | 26 + .../czech/modules/navbar/nb_brand.php | 20 + .../czech/modules/navbar/nb_currencies.php | 16 + .../modules/navbar/nb_hamburger_button.php | 18 + .../czech/modules/navbar/nb_home.php | 17 + .../czech/modules/navbar/nb_languages.php | 16 + .../czech/modules/navbar/nb_new_products.php | 17 + .../czech/modules/navbar/nb_shopping_cart.php | 22 + .../modules/navbar/nb_special_offers.php | 17 + .../czech/modules/navbar/nb_testimonials.php | 17 + .../modules/order_total/ot_loworderfee.php | 15 + .../czech/modules/order_total/ot_shipping.php | 17 + .../czech/modules/order_total/ot_subtotal.php | 15 + .../czech/modules/order_total/ot_tax.php | 15 + .../czech/modules/order_total/ot_total.php | 15 + .../czech/modules/payment/braintree_cc.php | 38 + .../languages/czech/modules/payment/cod.php | 27 + .../languages/czech/modules/payment/csob.php | 21 + .../czech/modules/payment/gpwebpay.php | 19 + .../czech/modules/payment/moneyorder.php | 16 + .../czech/modules/payment/nochex.php | 15 + .../czech/modules/payment/paypal_express.php | 39 + .../czech/modules/payment/paypal_pro_dp.php | 40 + .../czech/modules/payment/paypal_pro_hs.php | 34 + .../modules/payment/paypal_pro_payflow_dp.php | 41 + .../modules/payment/paypal_pro_payflow_ec.php | 46 + .../czech/modules/payment/paypal_standard.php | 31 + .../czech/modules/payment/paypoint_secpay.php | 20 + .../czech/modules/payment/pm2checkout.php | 20 + .../czech/modules/payment/psigate.php | 22 + .../modules/payment/rbsworldpay_hosted.php | 23 + .../czech/modules/payment/sage_pay_direct.php | 54 + .../czech/modules/payment/sage_pay_form.php | 22 + .../czech/modules/payment/sage_pay_server.php | 31 + .../modules/pi/product_info/pi_buy_button.php | 16 + .../modules/pi/product_info/pi_gallery.php | 19 + .../czech/modules/pi/product_info/pi_hall.php | 19 + .../pi/product_info/pi_img_disclaimer.php | 16 + .../modules/pi/product_info/pi_model.php | 16 + .../pi/product_info/pi_options_attributes.php | 18 + .../languages/czech/modules/shipping/flat.php | 16 + .../languages/czech/modules/shipping/item.php | 16 + .../czech/modules/shipping/table.php | 18 + .../czech/modules/shipping/zones.php | 36 + .../languages/czech/password_forgotten.php | 36 + includes/languages/czech/password_reset.php | 30 + includes/languages/czech/privacy.php | 17 + includes/languages/czech/product_info.php | 31 + includes/languages/czech/products_new.php | 21 + includes/languages/czech/shipping.php | 17 + includes/languages/czech/shopping_cart.php | 29 + includes/languages/czech/specials.php | 24 + includes/languages/czech/ssl_check.php | 25 + includes/languages/czech/testimonials.php | 17 + .../english/modules/payment/csob.php | 15 + includes/modules/payment/csob.php | 353 +++ .../versioned/1.0.7.10/cart_order_builder.php | 2 +- phinx-adapter.php | 54 + 221 files changed, 8455 insertions(+), 86 deletions(-) create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 Dockerfile create mode 100644 Makefile mode change 100644 => 100755 admin/includes/configure.php create mode 100644 admin/includes/languages/czech/index.php create mode 100644 composer.json create mode 100644 composer.lock create mode 100644 includes/classes/Order.php create mode 100644 includes/classes/Payment.php mode change 100644 => 100755 includes/configure.php create mode 100644 includes/languages/czech.php create mode 100644 includes/languages/czech/account.php create mode 100644 includes/languages/czech/account_edit.php create mode 100644 includes/languages/czech/account_history.php create mode 100644 includes/languages/czech/account_history_info.php create mode 100644 includes/languages/czech/account_newsletters.php create mode 100644 includes/languages/czech/account_notifications.php create mode 100644 includes/languages/czech/account_password.php create mode 100644 includes/languages/czech/address_book.php create mode 100644 includes/languages/czech/address_book_process.php create mode 100644 includes/languages/czech/advanced_search.php create mode 100644 includes/languages/czech/article_manager/article-submit.php create mode 100644 includes/languages/czech/article_manager/article-topics.php create mode 100644 includes/languages/czech/article_manager/article_blog.php create mode 100644 includes/languages/czech/article_manager/article_info.php create mode 100644 includes/languages/czech/article_manager/article_manager.php create mode 100644 includes/languages/czech/article_manager/article_manager_search_result.php create mode 100644 includes/languages/czech/article_manager/articles.php create mode 100644 includes/languages/czech/article_manager/articles_new.php create mode 100644 includes/languages/czech/article_reviews.php create mode 100644 includes/languages/czech/article_reviews_info.php create mode 100644 includes/languages/czech/article_reviews_write.php create mode 100644 includes/languages/czech/article_rss.php create mode 100644 includes/languages/czech/checkout_confirmation.php create mode 100644 includes/languages/czech/checkout_payment.php create mode 100644 includes/languages/czech/checkout_payment_address.php create mode 100644 includes/languages/czech/checkout_shipping.php create mode 100644 includes/languages/czech/checkout_shipping_address.php create mode 100644 includes/languages/czech/checkout_success.php create mode 100644 includes/languages/czech/conditions.php create mode 100644 includes/languages/czech/contact_us.php create mode 100644 includes/languages/czech/cookie_usage.php create mode 100644 includes/languages/czech/create_account.php create mode 100644 includes/languages/czech/create_account_success.php create mode 100644 includes/languages/czech/download.php create mode 100644 includes/languages/czech/gdpr.php create mode 100644 includes/languages/czech/images/icon.gif create mode 100644 includes/languages/czech/index.php create mode 100644 includes/languages/czech/info_shopping_cart.php create mode 100644 includes/languages/czech/login.php create mode 100644 includes/languages/czech/logoff.php create mode 100644 includes/languages/czech/modules/action_recorder/ar_admin_login.php create mode 100644 includes/languages/czech/modules/action_recorder/ar_contact_us.php create mode 100644 includes/languages/czech/modules/action_recorder/ar_reset_password.php create mode 100644 includes/languages/czech/modules/boxes/bm_best_sellers.php create mode 100644 includes/languages/czech/modules/boxes/bm_categories.php create mode 100644 includes/languages/czech/modules/boxes/bm_currencies.php create mode 100644 includes/languages/czech/modules/boxes/bm_information.php create mode 100644 includes/languages/czech/modules/boxes/bm_languages.php create mode 100644 includes/languages/czech/modules/boxes/bm_manufacturer_info.php create mode 100644 includes/languages/czech/modules/boxes/bm_manufacturers.php create mode 100644 includes/languages/czech/modules/boxes/bm_order_history.php create mode 100644 includes/languages/czech/modules/boxes/bm_product_notifications.php create mode 100644 includes/languages/czech/modules/boxes/bm_reviews.php create mode 100644 includes/languages/czech/modules/boxes/bm_shopping_cart.php create mode 100644 includes/languages/czech/modules/boxes/bm_specials.php create mode 100644 includes/languages/czech/modules/boxes/bm_whats_new.php create mode 100644 includes/languages/czech/modules/content/account/cm_account_braintree_cards.php create mode 100644 includes/languages/czech/modules/content/account/cm_account_gdpr.php create mode 100644 includes/languages/czech/modules/content/account/cm_account_sage_pay_cards.php create mode 100644 includes/languages/czech/modules/content/account/cm_account_set_password.php create mode 100644 includes/languages/czech/modules/content/account/cm_account_title.php create mode 100644 includes/languages/czech/modules/content/checkout_success/cm_cs_continue_button.php create mode 100644 includes/languages/czech/modules/content/checkout_success/cm_cs_downloads.php create mode 100644 includes/languages/czech/modules/content/checkout_success/cm_cs_product_notifications.php create mode 100644 includes/languages/czech/modules/content/checkout_success/cm_cs_redirect_old_order.php create mode 100644 includes/languages/czech/modules/content/checkout_success/cm_cs_thank_you.php create mode 100644 includes/languages/czech/modules/content/checkout_success/cm_cs_title.php create mode 100644 includes/languages/czech/modules/content/create_account_success/cm_cas_continue_button.php create mode 100644 includes/languages/czech/modules/content/create_account_success/cm_cas_message.php create mode 100644 includes/languages/czech/modules/content/create_account_success/cm_cas_title.php create mode 100644 includes/languages/czech/modules/content/footer/cm_footer_account.php create mode 100644 includes/languages/czech/modules/content/footer/cm_footer_articles_manager.php create mode 100644 includes/languages/czech/modules/content/footer/cm_footer_contact_us.php create mode 100644 includes/languages/czech/modules/content/footer/cm_footer_information_links.php create mode 100644 includes/languages/czech/modules/content/footer/cm_footer_information_pages.php create mode 100644 includes/languages/czech/modules/content/footer/cm_footer_text.php create mode 100644 includes/languages/czech/modules/content/footer_suffix/cm_footer_extra_copyright.php create mode 100644 includes/languages/czech/modules/content/footer_suffix/cm_footer_extra_icons.php create mode 100644 includes/languages/czech/modules/content/gdpr/cm_gdpr_contact_addresses.php create mode 100644 includes/languages/czech/modules/content/gdpr/cm_gdpr_contact_details.php create mode 100644 includes/languages/czech/modules/content/gdpr/cm_gdpr_intro.php create mode 100644 includes/languages/czech/modules/content/gdpr/cm_gdpr_personal_details.php create mode 100644 includes/languages/czech/modules/content/gdpr/cm_gdpr_site_actions.php create mode 100644 includes/languages/czech/modules/content/gdpr/cm_gdpr_site_details.php create mode 100644 includes/languages/czech/modules/content/header/cm_header_breadcrumb.php create mode 100644 includes/languages/czech/modules/content/header/cm_header_buttons.php create mode 100644 includes/languages/czech/modules/content/header/cm_header_logo.php create mode 100644 includes/languages/czech/modules/content/header/cm_header_messagestack.php create mode 100644 includes/languages/czech/modules/content/header/cm_header_search.php create mode 100644 includes/languages/czech/modules/content/index/cm_i_article_manager.php create mode 100644 includes/languages/czech/modules/content/index/cm_i_card_products.php create mode 100644 includes/languages/czech/modules/content/index/cm_i_customer_greeting.php create mode 100644 includes/languages/czech/modules/content/index/cm_i_text_main.php create mode 100644 includes/languages/czech/modules/content/index/cm_i_title.php create mode 100644 includes/languages/czech/modules/content/index/cm_i_upcoming_products.php create mode 100644 includes/languages/czech/modules/content/index_nested/cm_in_card_products.php create mode 100644 includes/languages/czech/modules/content/index_nested/cm_in_category_description.php create mode 100644 includes/languages/czech/modules/content/index_nested/cm_in_category_listing.php create mode 100644 includes/languages/czech/modules/content/index_nested/cm_in_title.php create mode 100644 includes/languages/czech/modules/content/index_products/cm_ip_category_manufacturer_description.php create mode 100644 includes/languages/czech/modules/content/index_products/cm_ip_product_listing.php create mode 100644 includes/languages/czech/modules/content/index_products/cm_ip_title.php create mode 100644 includes/languages/czech/modules/content/info/cm_info_text.php create mode 100644 includes/languages/czech/modules/content/info/cm_info_title.php create mode 100644 includes/languages/czech/modules/content/login/cm_create_account_link.php create mode 100644 includes/languages/czech/modules/content/login/cm_forgot_password.php create mode 100644 includes/languages/czech/modules/content/login/cm_login_form.php create mode 100644 includes/languages/czech/modules/content/login/cm_login_title.php create mode 100644 includes/languages/czech/modules/content/login/cm_paypal_login.php create mode 100644 includes/languages/czech/modules/content/navigation/cm_navbar.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_also_purchased.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_buy_button.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_date_available.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_description.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_gallery.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_gtin.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_model.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_modular.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_name.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_options_attributes.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_price.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_review_stars.php create mode 100644 includes/languages/czech/modules/content/product_info/cm_pi_reviews.php create mode 100644 includes/languages/czech/modules/content/product_info_not_found/cm_pinf_message.php create mode 100644 includes/languages/czech/modules/content/reviews/write.php create mode 100644 includes/languages/czech/modules/content/shopping_cart/cm_sc_checkout.php create mode 100644 includes/languages/czech/modules/content/shopping_cart/cm_sc_no_products.php create mode 100644 includes/languages/czech/modules/content/shopping_cart/cm_sc_order_subtotal.php create mode 100644 includes/languages/czech/modules/content/shopping_cart/cm_sc_product_listing.php create mode 100644 includes/languages/czech/modules/content/shopping_cart/cm_sc_stock_notice.php create mode 100644 includes/languages/czech/modules/content/shopping_cart/cm_sc_title.php create mode 100644 includes/languages/czech/modules/content/testimonials/cm_t_list.php create mode 100644 includes/languages/czech/modules/content/testimonials/cm_t_title.php create mode 100644 includes/languages/czech/modules/header_tags/ht_canonical.php create mode 100644 includes/languages/czech/modules/header_tags/ht_category_title.php create mode 100644 includes/languages/czech/modules/header_tags/ht_datepicker_jquery.php create mode 100644 includes/languages/czech/modules/header_tags/ht_google_adwords_conversion.php create mode 100644 includes/languages/czech/modules/header_tags/ht_google_analytics.php create mode 100644 includes/languages/czech/modules/header_tags/ht_mailchimp_360.php create mode 100644 includes/languages/czech/modules/header_tags/ht_manufacturer_title.php create mode 100644 includes/languages/czech/modules/header_tags/ht_opensearch.php create mode 100644 includes/languages/czech/modules/header_tags/ht_pages_seo.php create mode 100644 includes/languages/czech/modules/header_tags/ht_product_meta.php create mode 100644 includes/languages/czech/modules/header_tags/ht_product_opengraph.php create mode 100644 includes/languages/czech/modules/header_tags/ht_product_title.php create mode 100644 includes/languages/czech/modules/header_tags/ht_robot_noindex.php create mode 100644 includes/languages/czech/modules/header_tags/ht_table_click_jquery.php create mode 100644 includes/languages/czech/modules/header_tags/ht_twitter_product_card.php create mode 100644 includes/languages/czech/modules/navbar/nb_account.php create mode 100644 includes/languages/czech/modules/navbar/nb_brand.php create mode 100644 includes/languages/czech/modules/navbar/nb_currencies.php create mode 100644 includes/languages/czech/modules/navbar/nb_hamburger_button.php create mode 100644 includes/languages/czech/modules/navbar/nb_home.php create mode 100644 includes/languages/czech/modules/navbar/nb_languages.php create mode 100644 includes/languages/czech/modules/navbar/nb_new_products.php create mode 100644 includes/languages/czech/modules/navbar/nb_shopping_cart.php create mode 100644 includes/languages/czech/modules/navbar/nb_special_offers.php create mode 100644 includes/languages/czech/modules/navbar/nb_testimonials.php create mode 100644 includes/languages/czech/modules/order_total/ot_loworderfee.php create mode 100644 includes/languages/czech/modules/order_total/ot_shipping.php create mode 100644 includes/languages/czech/modules/order_total/ot_subtotal.php create mode 100644 includes/languages/czech/modules/order_total/ot_tax.php create mode 100644 includes/languages/czech/modules/order_total/ot_total.php create mode 100644 includes/languages/czech/modules/payment/braintree_cc.php create mode 100644 includes/languages/czech/modules/payment/cod.php create mode 100644 includes/languages/czech/modules/payment/csob.php create mode 100644 includes/languages/czech/modules/payment/gpwebpay.php create mode 100644 includes/languages/czech/modules/payment/moneyorder.php create mode 100644 includes/languages/czech/modules/payment/nochex.php create mode 100644 includes/languages/czech/modules/payment/paypal_express.php create mode 100644 includes/languages/czech/modules/payment/paypal_pro_dp.php create mode 100644 includes/languages/czech/modules/payment/paypal_pro_hs.php create mode 100644 includes/languages/czech/modules/payment/paypal_pro_payflow_dp.php create mode 100644 includes/languages/czech/modules/payment/paypal_pro_payflow_ec.php create mode 100644 includes/languages/czech/modules/payment/paypal_standard.php create mode 100644 includes/languages/czech/modules/payment/paypoint_secpay.php create mode 100644 includes/languages/czech/modules/payment/pm2checkout.php create mode 100644 includes/languages/czech/modules/payment/psigate.php create mode 100644 includes/languages/czech/modules/payment/rbsworldpay_hosted.php create mode 100644 includes/languages/czech/modules/payment/sage_pay_direct.php create mode 100644 includes/languages/czech/modules/payment/sage_pay_form.php create mode 100644 includes/languages/czech/modules/payment/sage_pay_server.php create mode 100644 includes/languages/czech/modules/pi/product_info/pi_buy_button.php create mode 100644 includes/languages/czech/modules/pi/product_info/pi_gallery.php create mode 100644 includes/languages/czech/modules/pi/product_info/pi_hall.php create mode 100644 includes/languages/czech/modules/pi/product_info/pi_img_disclaimer.php create mode 100644 includes/languages/czech/modules/pi/product_info/pi_model.php create mode 100644 includes/languages/czech/modules/pi/product_info/pi_options_attributes.php create mode 100644 includes/languages/czech/modules/shipping/flat.php create mode 100644 includes/languages/czech/modules/shipping/item.php create mode 100644 includes/languages/czech/modules/shipping/table.php create mode 100644 includes/languages/czech/modules/shipping/zones.php create mode 100644 includes/languages/czech/password_forgotten.php create mode 100644 includes/languages/czech/password_reset.php create mode 100644 includes/languages/czech/privacy.php create mode 100644 includes/languages/czech/product_info.php create mode 100644 includes/languages/czech/products_new.php create mode 100644 includes/languages/czech/shipping.php create mode 100644 includes/languages/czech/shopping_cart.php create mode 100644 includes/languages/czech/specials.php create mode 100644 includes/languages/czech/ssl_check.php create mode 100644 includes/languages/czech/testimonials.php create mode 100644 includes/languages/english/modules/payment/csob.php create mode 100644 includes/modules/payment/csob.php create mode 100644 phinx-adapter.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..698f5dca4 --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +/debian/ce-phoenix-installer.debhelper.log +/debian/ce-phoenix-installer.substvars +/debian/ce-phoenix.debhelper.log +/debian/debhelper-build-stamp +/debian/ce-phoenix.postrm.debhelper +/debian/ce-phoenix.substvars +/debian/.debhelper/ +/debian/ce-phoenix/ +/debian/ce-phoenix-installer/ +/.github/ +/debian/ce-phoenix-admin.debhelper.log +/debian/ce-phoenix-admin.substvars +/debian/ce-phoenix-admin/ +/deb/ + +/vendor/ +/ext/composer/ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..13618ebe6 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "includes/apps/gpwebpay/gp-webpay-php-sdk"] + path = includes/apps/gpwebpay/gp-webpay-php-sdk + url = git@github.com:PureHTML/gp-webpay-php-sdk.git diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..028a76b2c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,25 @@ +FROM debian:latest + +ENV APACHE_DOCUMENT_ROOT /usr/share/ce-phoenix/ +ENV DEBIAN_FRONTEND=noninteractive + +RUN apt update ; apt install -y wget libapache2-mod-php; echo "deb http://repo.vitexsoftware.cz buster main backports" | tee /etc/apt/sources.list.d/vitexsoftware.list ; wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg +RUN apt-get update && apt-get install -y locales php-pdo-sqlite apache2 aptitude cron locales-all && rm -rf /var/lib/apt/lists/* \ + && localedef -i cs_CZ -c -f UTF-8 -A /usr/share/locale/locale.alias cs_CZ.UTF-8 +ENV LANG cs_CZ.utf8 + +RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf +RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf + +ADD deb/* /var/deb/ + +RUN echo "deb [trusted=yes] file:///var/deb ./" > /etc/apt/sources.list.d/local.list +RUN ls -la /var/deb ; apt update + +RUN aptitude -y install mariadb-server + +RUN aptitude -y install ce-phoenix-admin ce-phoenix-installer ; a2enconf ce-phoenix + + +CMD /usr/sbin/cron +CMD [ "/usr/sbin/apache2ctl", "-D", "FOREGROUND" ] diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..96b7b3a47 --- /dev/null +++ b/Makefile @@ -0,0 +1,72 @@ +repoversion=$(shell LANG=C aptitude show ce-phoenix | grep Version: | awk '{print $$2}') +nextversion=$(shell echo $(repoversion) | perl -ne 'chomp; print join(".", splice(@{[split/\./,$$_]}, 0, -1), map {++$$_} pop @{[split/\./,$$_]}), "\n";') + +clean: + rm -rf vendor composer.lock db/*.sqlite src/*/*dataTables* + +migration: + ./vendor/bin/phinx migrate -c ./phinx-adapter.php + +autoload: + composer update + +demodata: + cd src ; ../vendor/bin/phinx seed:run -c ../phinx-adapter.php ; cd .. + +newmigration: + read -p "Enter CamelCase migration name : " migname ; ./vendor/bin/phinx create $$migname -c ./phinx-adapter.php + +newseed: + read -p "Enter CamelCase seed name : " migname ; ./vendor/bin/phinx seed:create $$migname -c ./phinx-adapter.php + +dbreset: + sudo rm -f db/multiflexibee.sqlite + echo > db/multiflexibee.sqlite + chmod 666 db/multiflexibee.sqlite + chmod ugo+rwX db + +demo: dbreset migration demodata + +hourly: + cd lib; php -f executor.php h +daily: + cd lib; php -f executor.php d +monthly: + cd lib; php -f executor.php m + +postinst: + DEBCONF_DEBUG=developer /usr/share/debconf/frontend /var/lib/dpkg/info/ce-phoenix.postinst configure $(nextversion) + +redeb: + sudo apt -y purge ce-phoenix; rm ../ce-phoenix_*_all.deb ; debuild -us -uc ; sudo gdebi -n ../ce-phoenix_*_all.deb ; sudo apache2ctl restart + +deb: + debuild-pbuilder + + +dimage: deb + docker container stop $(docker container ls -q --filter name=ce-phoenix*) + rm -f deb/* ; mv ../ce-phoenix*.deb deb + cd deb ; dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz ; cd .. + docker build -t purehtml/ce-phoenix . + +drun: + docker run -dit --name ce-phoenix -p 8080:80 purehtml/ce-phoenix + firefox http://localhost:8080/ce-phoenix?login=demo\&password=demo + +vagrant: + vagrant destroy -f + vagrant up + firefox http://localhost:8080/ce-phoenix?login=demo\&password=demo + +release: + echo Release v$(nextversion) + docker build -t purehtml/ce-phoenix:$(nextversion) . + dch -v $(nextversion) `git log -1 --pretty=%B | head -n 1` + debuild -i -us -uc -b + git commit -a -m "Release v$(nextversion)" + git tag -a $(nextversion) -m "version $(nextversion)" + docker push purehtml/ce-phoenix:$(nextversion) + docker push purehtml/ce-phoenix:latest + + diff --git a/admin/includes/application_top.php b/admin/includes/application_top.php index d1f7aafae..3429f218b 100644 --- a/admin/includes/application_top.php +++ b/admin/includes/application_top.php @@ -18,6 +18,7 @@ include 'includes/configure.php'; // autoload classes in the classes or modules directories + require '../vendor/autoload.php'; require DIR_FS_CATALOG . 'includes/functions/autoloader.php'; require 'includes/functions/autoloader.php'; spl_autoload_register('tep_autoload_admin'); diff --git a/admin/includes/configure.php b/admin/includes/configure.php old mode 100644 new mode 100755 index 395bf58fc..3db783c79 --- a/admin/includes/configure.php +++ b/admin/includes/configure.php @@ -1,51 +1,29 @@ 0, - 'domain' => '', - 'path' => '', + 'domain' => 'phoenix', + 'path' => '/admin', 'samesite' => 'Lax', - ]); - - define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesn't suit you, replace with your local path. (eg, /usr/local/apache/htdocs) - define('DIR_WS_ADMIN', '/admin/'); - define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); - define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); + ]; + const DIR_WS_ADMIN = '/admin/'; - // leave blank or omit to use MySQL sessions - define('DIR_FS_SESSION', ''); + const DIR_FS_DOCUMENT_ROOT = '/home/vitex/Projects/PureHTML/PhoenixCart/'; + const DIR_FS_ADMIN = '/home/vitex/Projects/PureHTML/PhoenixCart/admin/'; + const DIR_FS_BACKUP = DIR_FS_ADMIN . 'backups/'; - define('HTTP_CATALOG_SERVER', ''); - define('DIR_WS_CATALOG', '/catalog/'); - define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); + const HTTP_CATALOG_SERVER = 'http://phoenix'; + const DIR_WS_CATALOG = '/'; + const DIR_FS_CATALOG = '/home/vitex/Projects/PureHTML/PhoenixCart/'; -// set default timezone if none exists (PHP 5.3 throws an E_WARNING) - date_default_timezone_set(date_default_timezone_get()); + date_default_timezone_set('Europe/Prague'); -// define our database connection - define('DB_SERVER', ''); - define('DB_SERVER_USERNAME', 'mysql'); - define('DB_SERVER_PASSWORD', ''); - define('DB_DATABASE', 'Phoenix'); +// If you are asked to provide configure.php details +// please remove the data below before sharing + const DB_SERVER = 'localhost'; + const DB_SERVER_USERNAME = 'phoenix'; + const DB_SERVER_PASSWORD = 'phoenix'; + const DB_DATABASE = 'phoenix'; diff --git a/admin/includes/languages/czech/index.php b/admin/includes/languages/czech/index.php new file mode 100644 index 000000000..832cfa4d6 --- /dev/null +++ b/admin/includes/languages/czech/index.php @@ -0,0 +1,12 @@ + diff --git a/composer.json b/composer.json new file mode 100644 index 000000000..cdc49da9d --- /dev/null +++ b/composer.json @@ -0,0 +1,33 @@ +{ + "name": "purehtml/ce-phoenix", + "description": "eShop", + "type": "project", + "license": "GNU", + "authors": [ + { + "name": "Vítězslav Dvořák", + "email": "info@vitexsoftware.cz" + } + ], + "minimum-stability": "dev", + "require": { + "chillerlan/php-qrcode": "^4.3", + "vitexsoftware/ease-twbootstrap4-widgets-flexibee": "dev-abraflexi", + "adamstipak/webpay-php": "dev-master", + "vitexsoftware/ease-fluentpdo": "*", + "ondrakoupil/csob-eapi-paygate": "dev-master" + }, + "require-dev": { + "robmorgan/phinx": "dev-master" + }, + "autoload": { + "psr-4": { + "PureOSC\\": "includes/classes/", + "PureOSC\\ui\\": "includes/classes/ui/", + "PureOSC\\AbraFlexi\\": "ext/abraflexi/", + "PureOSC\\Admin\\": "admin/includes/classes/", + "PureOSC\\Admin\\ui\\": "admin/includes/classes/ui/", + "PureOSC\\Admin\\flexibee\\": "admin/ext/flexibee/" + } + } +} diff --git a/composer.lock b/composer.lock new file mode 100644 index 000000000..5ca582968 --- /dev/null +++ b/composer.lock @@ -0,0 +1,2444 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "da2f3c7b05ba285b37b91ceb592c9734", + "packages": [ + { + "name": "adamstipak/webpay-php", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/newPOPE/gp-webpay-php-sdk.git", + "reference": "6b90044e6d60f8f9de6b7c6a395d3ef3de4893d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/newPOPE/gp-webpay-php-sdk/zipball/6b90044e6d60f8f9de6b7c6a395d3ef3de4893d9", + "reference": "6b90044e6d60f8f9de6b7c6a395d3ef3de4893d9", + "shasum": "" + }, + "require": { + "ext-openssl": "*", + "php": "~7.4 || ~8.0" + }, + "require-dev": { + "phpunit/phpunit": "~9.5" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-0": { + "AdamStipak\\Webpay": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Adam Štipák", + "homepage": "http://newpope.org" + } + ], + "description": "GP Webpay API Wrapper", + "homepage": "https://github.com/newPOPE/webpay-php", + "keywords": [ + "php", + "webpay" + ], + "support": { + "source": "https://github.com/newPOPE/gp-webpay-php-sdk/tree/master" + }, + "time": "2021-03-30T13:33:43+00:00" + }, + { + "name": "chillerlan/php-qrcode", + "version": "4.3.0", + "source": { + "type": "git", + "url": "https://github.com/chillerlan/php-qrcode.git", + "reference": "4968063fb3baeedb658293f89f9673fbf2499a3e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/chillerlan/php-qrcode/zipball/4968063fb3baeedb658293f89f9673fbf2499a3e", + "reference": "4968063fb3baeedb658293f89f9673fbf2499a3e", + "shasum": "" + }, + "require": { + "chillerlan/php-settings-container": "^2.1", + "ext-mbstring": "*", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phan/phan": "^3.2.2", + "phpunit/phpunit": "^9.4", + "setasign/fpdf": "^1.8.2" + }, + "suggest": { + "chillerlan/php-authenticator": "Yet another Google authenticator! Also creates URIs for mobile apps.", + "setasign/fpdf": "Required to use the QR FPDF output." + }, + "type": "library", + "autoload": { + "psr-4": { + "chillerlan\\QRCode\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kazuhiko Arase", + "homepage": "https://github.com/kazuhikoarase" + }, + { + "name": "Smiley", + "email": "smiley@chillerlan.net", + "homepage": "https://github.com/codemasher" + }, + { + "name": "Contributors", + "homepage": "https://github.com/chillerlan/php-qrcode/graphs/contributors" + } + ], + "description": "A QR code generator. PHP 7.4+", + "homepage": "https://github.com/chillerlan/php-qrcode", + "keywords": [ + "phpqrcode", + "qr", + "qr code", + "qrcode", + "qrcode-generator" + ], + "support": { + "issues": "https://github.com/chillerlan/php-qrcode/issues", + "source": "https://github.com/chillerlan/php-qrcode/tree/4.3.0" + }, + "funding": [ + { + "url": "https://www.paypal.com/donate?hosted_button_id=WLYUNAT9ZTJZ4", + "type": "custom" + }, + { + "url": "https://ko-fi.com/codemasher", + "type": "ko_fi" + } + ], + "time": "2020-11-18T20:49:20+00:00" + }, + { + "name": "chillerlan/php-settings-container", + "version": "2.1.1", + "source": { + "type": "git", + "url": "https://github.com/chillerlan/php-settings-container.git", + "reference": "98ccc1b31b31a53bcb563465c4961879b2b93096" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/chillerlan/php-settings-container/zipball/98ccc1b31b31a53bcb563465c4961879b2b93096", + "reference": "98ccc1b31b31a53bcb563465c4961879b2b93096", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phan/phan": "^4.0", + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "chillerlan\\Settings\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Smiley", + "email": "smiley@chillerlan.net", + "homepage": "https://github.com/codemasher" + } + ], + "description": "A container class for immutable settings objects. Not a DI container. PHP 7.4+", + "homepage": "https://github.com/chillerlan/php-settings-container", + "keywords": [ + "PHP7", + "Settings", + "container", + "helper" + ], + "support": { + "issues": "https://github.com/chillerlan/php-settings-container/issues", + "source": "https://github.com/chillerlan/php-settings-container" + }, + "funding": [ + { + "url": "https://www.paypal.com/donate?hosted_button_id=WLYUNAT9ZTJZ4", + "type": "custom" + }, + { + "url": "https://ko-fi.com/codemasher", + "type": "ko_fi" + } + ], + "time": "2021-01-06T15:57:03+00:00" + }, + { + "name": "fpdo/fluentpdo", + "version": "v2.2.0", + "source": { + "type": "git", + "url": "https://github.com/envms/fluentpdo.git", + "reference": "8684e2d22ebbcdf4cdcdf7bbe7558459ceb31260" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/envms/fluentpdo/zipball/8684e2d22ebbcdf4cdcdf7bbe7558459ceb31260", + "reference": "8684e2d22ebbcdf4cdcdf7bbe7558459ceb31260", + "shasum": "" + }, + "require-dev": { + "envms/fluent-test": "^1.0", + "phpunit/phpunit": "^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Envms\\FluentPDO\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0", + "GPL-2.0+" + ], + "authors": [ + { + "name": "envms", + "homepage": "https://env.ms" + } + ], + "description": "FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.", + "homepage": "https://github.com/envms/fluentpdo", + "keywords": [ + "builder", + "database", + "db", + "dbal", + "fluent", + "mysql", + "oracle", + "pdo", + "query" + ], + "support": { + "issues": "https://github.com/envms/fluentpdo/issues", + "source": "https://github.com/envms/fluentpdo/tree/v2.2.0" + }, + "time": "2020-09-30T14:24:57+00:00" + }, + { + "name": "ondrakoupil/csob-eapi-paygate", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/ondrakoupil/csob.git", + "reference": "451bb1ed6ab231d0fd22e0dfb8d0231dc70fa9a9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ondrakoupil/csob/zipball/451bb1ed6ab231d0fd22e0dfb8d0231dc70fa9a9", + "reference": "451bb1ed6ab231d0fd22e0dfb8d0231dc70fa9a9", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-openssl": "*", + "ondrakoupil/tools": "~0.0.5", + "php": ">=5.4.8" + }, + "require-dev": { + "nette/tester": "1.7.2", + "ondrakoupil/testing-utils": "~0.0.7" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-4": { + "OndraKoupil\\Csob\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ondrej Koupil", + "email": "ondra@ondrakoupil.cz" + } + ], + "description": "PHP Client library for easy integration of ČSOB payment gateway", + "homepage": "https://github.com/ondrakoupil/csob", + "keywords": [ + "Bank", + "cards", + "commerce", + "csob", + "merchant", + "pay", + "payment" + ], + "support": { + "issues": "https://github.com/ondrakoupil/csob/issues", + "source": "https://github.com/ondrakoupil/csob/tree/master" + }, + "time": "2020-09-03T19:32:54+00:00" + }, + { + "name": "ondrakoupil/tools", + "version": "v0.0.6", + "source": { + "type": "git", + "url": "https://github.com/ondrakoupil/tools.git", + "reference": "778c4931ba883d86a338ea9591d48eb9bb24eb13" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ondrakoupil/tools/zipball/778c4931ba883d86a338ea9591d48eb9bb24eb13", + "reference": "778c4931ba883d86a338ea9591d48eb9bb24eb13", + "shasum": "" + }, + "require-dev": { + "nette/tester": "^1.4@dev", + "ondrakoupil/testing-utils": "^0.0.7" + }, + "type": "library", + "autoload": { + "psr-4": { + "OndraKoupil\\Tools\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ondrej Koupil", + "email": "koupil@optimato.cz" + } + ], + "description": "Just a bunch of tools for myself", + "support": { + "issues": "https://github.com/ondrakoupil/tools/issues", + "source": "https://github.com/ondrakoupil/tools/tree/master" + }, + "time": "2015-07-27T20:41:18+00:00" + }, + { + "name": "pear/console_getopt", + "version": "v1.4.3", + "source": { + "type": "git", + "url": "https://github.com/pear/Console_Getopt.git", + "reference": "a41f8d3e668987609178c7c4a9fe48fecac53fa0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pear/Console_Getopt/zipball/a41f8d3e668987609178c7c4a9fe48fecac53fa0", + "reference": "a41f8d3e668987609178c7c4a9fe48fecac53fa0", + "shasum": "" + }, + "type": "library", + "autoload": { + "psr-0": { + "Console": "./" + } + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "./" + ], + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Andrei Zmievski", + "email": "andrei@php.net", + "role": "Lead" + }, + { + "name": "Stig Bakken", + "email": "stig@php.net", + "role": "Developer" + }, + { + "name": "Greg Beaver", + "email": "cellog@php.net", + "role": "Helper" + } + ], + "description": "More info available on: http://pear.php.net/package/Console_Getopt", + "support": { + "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Console_Getopt", + "source": "https://github.com/pear/Console_Getopt" + }, + "time": "2019-11-20T18:27:48+00:00" + }, + { + "name": "pear/mail", + "version": "v1.4.1", + "source": { + "type": "git", + "url": "https://github.com/pear/Mail.git", + "reference": "9609ed5e42ac5b221dfd9af85de005c59d418ee7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pear/Mail/zipball/9609ed5e42ac5b221dfd9af85de005c59d418ee7", + "reference": "9609ed5e42ac5b221dfd9af85de005c59d418ee7", + "shasum": "" + }, + "require": { + "pear/pear-core-minimal": "~1.9", + "php": ">=5.2.1" + }, + "require-dev": { + "pear/pear": "*" + }, + "suggest": { + "pear/net_smtp": "Install optionally via your project's composer.json" + }, + "type": "library", + "autoload": { + "psr-0": { + "Mail": "./" + } + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "./" + ], + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Chuck Hagenbuch", + "email": "chuck@horde.org", + "role": "Lead" + }, + { + "name": "Richard Heyes", + "email": "richard@phpguru.org", + "role": "Developer" + }, + { + "name": "Aleksander Machniak", + "email": "alec@alec.pl", + "role": "Developer" + } + ], + "description": "Class that provides multiple interfaces for sending emails.", + "homepage": "http://pear.php.net/package/Mail", + "support": { + "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Mail", + "source": "https://github.com/pear/Mail" + }, + "time": "2017-04-11T17:27:29+00:00" + }, + { + "name": "pear/mail_mime", + "version": "1.10.10", + "source": { + "type": "git", + "url": "https://github.com/pear/Mail_Mime.git", + "reference": "ede6128af4c1474394a65f44bf20358c0bf1977f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pear/Mail_Mime/zipball/ede6128af4c1474394a65f44bf20358c0bf1977f", + "reference": "ede6128af4c1474394a65f44bf20358c0bf1977f", + "shasum": "" + }, + "require": { + "pear/pear-core-minimal": "*", + "php": ">=5.2.0" + }, + "type": "library", + "autoload": { + "psr-0": { + "Mail": "./" + } + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "./" + ], + "license": [ + "BSD-3-clause" + ], + "authors": [ + { + "name": "Cipriano Groenendal", + "email": "cipri@php.net", + "role": "Lead" + }, + { + "name": "Aleksander Machniak", + "email": "alec@php.net", + "role": "Lead" + } + ], + "description": "Mail_Mime provides classes to create MIME messages", + "homepage": "http://pear.php.net/package/Mail_Mime", + "support": { + "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Mail_Mime", + "source": "https://github.com/pear/Mail_Mime" + }, + "time": "2021-01-17T08:30:22+00:00" + }, + { + "name": "pear/pear-core-minimal", + "version": "v1.10.10", + "source": { + "type": "git", + "url": "https://github.com/pear/pear-core-minimal.git", + "reference": "625a3c429d9b2c1546438679074cac1b089116a7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pear/pear-core-minimal/zipball/625a3c429d9b2c1546438679074cac1b089116a7", + "reference": "625a3c429d9b2c1546438679074cac1b089116a7", + "shasum": "" + }, + "require": { + "pear/console_getopt": "~1.4", + "pear/pear_exception": "~1.0" + }, + "replace": { + "rsky/pear-core-min": "self.version" + }, + "type": "library", + "autoload": { + "psr-0": { + "": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "src/" + ], + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Christian Weiske", + "email": "cweiske@php.net", + "role": "Lead" + } + ], + "description": "Minimal set of PEAR core files to be used as composer dependency", + "support": { + "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=PEAR", + "source": "https://github.com/pear/pear-core-minimal" + }, + "time": "2019-11-19T19:00:24+00:00" + }, + { + "name": "pear/pear_exception", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/pear/PEAR_Exception.git", + "reference": "b14fbe2ddb0b9f94f5b24cf08783d599f776fff0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pear/PEAR_Exception/zipball/b14fbe2ddb0b9f94f5b24cf08783d599f776fff0", + "reference": "b14fbe2ddb0b9f94f5b24cf08783d599f776fff0", + "shasum": "" + }, + "require": { + "php": ">=5.2.0" + }, + "require-dev": { + "phpunit/phpunit": "<9" + }, + "default-branch": true, + "type": "class", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "PEAR/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "include-path": [ + "." + ], + "license": [ + "BSD-2-Clause" + ], + "authors": [ + { + "name": "Helgi Thormar", + "email": "dufuz@php.net" + }, + { + "name": "Greg Beaver", + "email": "cellog@php.net" + } + ], + "description": "The PEAR Exception base class.", + "homepage": "https://github.com/pear/PEAR_Exception", + "keywords": [ + "exception" + ], + "support": { + "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=PEAR_Exception", + "source": "https://github.com/pear/PEAR_Exception" + }, + "time": "2021-03-21T15:43:46+00:00" + }, + { + "name": "spojenet/flexibee", + "version": "2.0.x-dev", + "source": { + "type": "git", + "url": "https://github.com/Spoje-NET/php-abraflexi.git", + "reference": "6159c26a864340810dfc5066d248ca61ffa3cf5d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Spoje-NET/php-abraflexi/zipball/6159c26a864340810dfc5066d248ca61ffa3cf5d", + "reference": "6159c26a864340810dfc5066d248ca61ffa3cf5d", + "shasum": "" + }, + "require": { + "ext-curl": "*", + "ext-gettext": "*", + "ext-json": "*", + "vitexsoftware/ease-core": ">=1.9" + }, + "replace": { + "spoje.net/flexibee": "*", + "spoje.net/flexipeehp": "*" + }, + "require-dev": { + "phing/phing": "^2", + "phpunit/phpunit": "^9" + }, + "type": "library", + "autoload": { + "psr-4": { + "AbraFlexi\\": "src/AbraFlexi/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vítězslav Dvořák", + "email": "vitex@arachne.cz" + } + ], + "description": "Library for easy interaction with czech accounting system FlexiBee.", + "support": { + "issues": "https://github.com/Spoje-NET/php-abraflexi/issues", + "source": "https://github.com/Spoje-NET/php-abraflexi/tree/2.0" + }, + "funding": [ + { + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" + } + ], + "time": "2021-04-02T09:22:39+00:00" + }, + { + "name": "vitexsoftware/ease-core", + "version": "1.12", + "source": { + "type": "git", + "url": "https://github.com/VitexSoftware/php-ease-core.git", + "reference": "cd2ab87958c5ec73511816a42d13e81ea364102e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/VitexSoftware/php-ease-core/zipball/cd2ab87958c5ec73511816a42d13e81ea364102e", + "reference": "cd2ab87958c5ec73511816a42d13e81ea364102e", + "shasum": "" + }, + "require": { + "pear/mail": "~1.3", + "pear/mail_mime": "~1.10", + "php": ">=7" + }, + "conflict": { + "vitexsoftware/ease-framework": "*" + }, + "require-dev": { + "phpunit/phpunit": "^9", + "roave/security-advisories": "dev-latest" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ease\\": "src/Ease/", + "Ease\\Logger\\": "src/Ease/Logger/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vítězslav Dvořák", + "email": "info@vitexsoftware.cz", + "homepage": "http://v.s.cz/" + } + ], + "description": "An PHP Framework for writing Applications", + "homepage": "http://v.s.cz/ease.php", + "support": { + "issues": "https://github.com/VitexSoftware/php-ease-core/issues", + "source": "https://github.com/VitexSoftware/php-ease-core/tree/1.12" + }, + "funding": [ + { + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" + } + ], + "time": "2021-03-02T10:59:13+00:00" + }, + { + "name": "vitexsoftware/ease-fluentpdo", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/VitexSoftware/php-ease-fluentpdo.git", + "reference": "10bb044f142bb04eb4be6e299611d1151dd19266" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/VitexSoftware/php-ease-fluentpdo/zipball/10bb044f142bb04eb4be6e299611d1151dd19266", + "reference": "10bb044f142bb04eb4be6e299611d1151dd19266", + "shasum": "" + }, + "require": { + "fpdo/fluentpdo": "^2.1", + "vitexsoftware/ease-core": "^1.1" + }, + "conflict": { + "vitexsoftware/ease-framework": "*" + }, + "require-dev": { + "phpunit/phpunit": "^9", + "robmorgan/phinx": "^0.12.3", + "vlucas/phpdotenv": "^3" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-4": { + "Ease\\SQL\\": "src/Ease/SQL" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vitex", + "email": "info@vitexsoftware.cz" + } + ], + "description": "SQL/PDO support for Ease Framework based on FluentPDO", + "support": { + "issues": "https://github.com/VitexSoftware/php-ease-fluentpdo/issues", + "source": "https://github.com/VitexSoftware/php-ease-fluentpdo/tree/main" + }, + "funding": [ + { + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" + } + ], + "time": "2021-04-05T22:22:46+00:00" + }, + { + "name": "vitexsoftware/ease-html", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/VitexSoftware/php-ease-html.git", + "reference": "d980f432b8283420f8ed91da938cf83ce826b2a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/VitexSoftware/php-ease-html/zipball/d980f432b8283420f8ed91da938cf83ce826b2a8", + "reference": "d980f432b8283420f8ed91da938cf83ce826b2a8", + "shasum": "" + }, + "require": { + "vitexsoftware/ease-core": ">= 1.8" + }, + "require-dev": { + "phpunit/phpunit": "*" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-4": { + "Ease\\": "src/Ease/", + "Ease\\Html\\": "src/Ease/Html/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vítězslav Vitex Dvořák", + "email": "info@vitexsoftware.cz" + } + ], + "description": "Set of HTML rendering objects", + "support": { + "issues": "https://github.com/VitexSoftware/php-ease-html/issues", + "source": "https://github.com/VitexSoftware/php-ease-html/tree/main" + }, + "funding": [ + { + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" + } + ], + "time": "2021-03-28T18:25:11+00:00" + }, + { + "name": "vitexsoftware/ease-twbootstrap4", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/VitexSoftware/php-ease-twbootstrap4.git", + "reference": "5d38eed09a14c9d895d9b762abaa5c24fc622268" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/VitexSoftware/php-ease-twbootstrap4/zipball/5d38eed09a14c9d895d9b762abaa5c24fc622268", + "reference": "5d38eed09a14c9d895d9b762abaa5c24fc622268", + "shasum": "" + }, + "require": { + "vitexsoftware/ease-html": ">= 1.25" + }, + "require-dev": { + "phpunit/phpunit": "^8" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-4": { + "Ease\\TWB4\\": "src/Ease/TWB4/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vítězslav Vitex Dvořák", + "email": "info@vitexsoftware.cz" + } + ], + "description": "Set of Twitter Bootstrap 4 rendering objects", + "support": { + "issues": "https://github.com/VitexSoftware/php-ease-twbootstrap4/issues", + "source": "https://github.com/VitexSoftware/php-ease-twbootstrap4/tree/main" + }, + "funding": [ + { + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" + } + ], + "time": "2021-04-04T15:55:23+00:00" + }, + { + "name": "vitexsoftware/ease-twbootstrap4-widgets-flexibee", + "version": "dev-abraflexi", + "source": { + "type": "git", + "url": "https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi.git", + "reference": "b7d4fe49932fd3845542d66996d059f62f23291e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi/zipball/b7d4fe49932fd3845542d66996d059f62f23291e", + "reference": "b7d4fe49932fd3845542d66996d059f62f23291e", + "shasum": "" + }, + "require": { + "vitexsoftware/ease-twbootstrap4": ">=1.1", + "vitexsoftware/flexibee-bricks": "dev-abraflexi" + }, + "require-dev": { + "phpunit/phpunit": "^9" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-4": { + "AbraFlexi\\ui\\TWB4\\": "src/AbraFlexi/ui/TWB4" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vitex", + "email": "info@vitexsoftware.cz" + } + ], + "description": "php-abraflexi extending classes and widgets", + "support": { + "issues": "https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi/issues", + "source": "https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi/tree/abraflexi" + }, + "funding": [ + { + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" + } + ], + "time": "2021-03-06T23:37:26+00:00" + }, + { + "name": "vitexsoftware/flexibee-bricks", + "version": "dev-abraflexi", + "source": { + "type": "git", + "url": "https://github.com/VitexSoftware/php-abraflexi-bricks.git", + "reference": "f3c388284d6358d9f9fae4098bd1808c68309013" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/VitexSoftware/php-abraflexi-bricks/zipball/f3c388284d6358d9f9fae4098bd1808c68309013", + "reference": "f3c388284d6358d9f9fae4098bd1808c68309013", + "shasum": "" + }, + "require": { + "spojenet/flexibee": "2.0.x-dev", + "vitexsoftware/ease-html": ">=1.25" + }, + "require-dev": { + "codeception/codeception": "*", + "phpunit/phpunit": "*" + }, + "type": "library", + "autoload": { + "psr-4": { + "AbraFlexi\\Bricks\\": "src/AbraFlexi/Bricks", + "AbraFlexi\\Bricks\\ConvertRules\\": "src/AbraFlexi/Bricks/ConvertRules", + "AbraFlexi\\ui\\": "src/AbraFlexi/ui" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vitex", + "email": "info@vitexsoftware.cz" + } + ], + "description": "php-abraflexi extending classes and widgets", + "support": { + "issues": "https://github.com/VitexSoftware/php-abraflexi-bricks/issues", + "source": "https://github.com/VitexSoftware/php-abraflexi-bricks/tree/abraflexi" + }, + "funding": [ + { + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" + } + ], + "time": "2021-03-25T10:01:44+00:00" + } + ], + "packages-dev": [ + { + "name": "cakephp/core", + "version": "4.x-dev", + "source": { + "type": "git", + "url": "https://github.com/cakephp/core.git", + "reference": "e4a19ad27b5a3e58db65d5dbb6f9b2e41eeec3ec" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cakephp/core/zipball/e4a19ad27b5a3e58db65d5dbb6f9b2e41eeec3ec", + "reference": "e4a19ad27b5a3e58db65d5dbb6f9b2e41eeec3ec", + "shasum": "" + }, + "require": { + "cakephp/utility": "^4.0", + "php": ">=7.2.0" + }, + "suggest": { + "cakephp/cache": "To use Configure::store() and restore().", + "cakephp/event": "To use PluginApplicationInterface or plugin applications." + }, + "type": "library", + "autoload": { + "psr-4": { + "Cake\\Core\\": "." + }, + "files": [ + "functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/core/graphs/contributors" + } + ], + "description": "CakePHP Framework Core classes", + "homepage": "https://cakephp.org", + "keywords": [ + "cakephp", + "core", + "framework" + ], + "support": { + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "issues": "https://github.com/cakephp/cakephp/issues", + "source": "https://github.com/cakephp/core" + }, + "time": "2019-11-26T02:27:16+00:00" + }, + { + "name": "cakephp/database", + "version": "4.x-dev", + "source": { + "type": "git", + "url": "https://github.com/cakephp/database.git", + "reference": "44b6164a6a22c086f9b26733c7981b8cc378ddb1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cakephp/database/zipball/44b6164a6a22c086f9b26733c7981b8cc378ddb1", + "reference": "44b6164a6a22c086f9b26733c7981b8cc378ddb1", + "shasum": "" + }, + "require": { + "cakephp/core": "^4.0", + "cakephp/datasource": "^4.0", + "php": ">=7.2.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cake\\Database\\": "." + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/database/graphs/contributors" + } + ], + "description": "Flexible and powerful Database abstraction library with a familiar PDO-like API", + "homepage": "https://cakephp.org", + "keywords": [ + "abstraction", + "cakephp", + "database", + "database abstraction", + "pdo" + ], + "support": { + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "issues": "https://github.com/cakephp/cakephp/issues", + "source": "https://github.com/cakephp/database" + }, + "time": "2019-11-21T22:47:36+00:00" + }, + { + "name": "cakephp/datasource", + "version": "4.x-dev", + "source": { + "type": "git", + "url": "https://github.com/cakephp/datasource.git", + "reference": "19c486bd2176bd1d3fa30114492552a8bf9f443c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cakephp/datasource/zipball/19c486bd2176bd1d3fa30114492552a8bf9f443c", + "reference": "19c486bd2176bd1d3fa30114492552a8bf9f443c", + "shasum": "" + }, + "require": { + "cakephp/core": "^4.0", + "php": ">=7.2.0", + "psr/log": "^1.1", + "psr/simple-cache": "^1.0" + }, + "suggest": { + "cakephp/cache": "If you decide to use Query caching.", + "cakephp/collection": "If you decide to use ResultSetInterface.", + "cakephp/utility": "If you decide to use EntityTrait." + }, + "type": "library", + "autoload": { + "psr-4": { + "Cake\\Datasource\\": "." + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/datasource/graphs/contributors" + } + ], + "description": "Provides connection managing and traits for Entities and Queries that can be reused for different datastores", + "homepage": "https://cakephp.org", + "keywords": [ + "cakephp", + "connection management", + "datasource", + "entity", + "query" + ], + "support": { + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "issues": "https://github.com/cakephp/cakephp/issues", + "source": "https://github.com/cakephp/datasource" + }, + "time": "2019-11-20T03:49:13+00:00" + }, + { + "name": "cakephp/utility", + "version": "4.x-dev", + "source": { + "type": "git", + "url": "https://github.com/cakephp/utility.git", + "reference": "4a6ec7e9738a33f4d3fdc267f8a76781384445cc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cakephp/utility/zipball/4a6ec7e9738a33f4d3fdc267f8a76781384445cc", + "reference": "4a6ec7e9738a33f4d3fdc267f8a76781384445cc", + "shasum": "" + }, + "require": { + "cakephp/core": "^4.0", + "php": ">=7.2.0" + }, + "suggest": { + "ext-intl": "To use Text::transliterate() or Text::slug()", + "lib-ICU": "To use Text::transliterate() or Text::slug()" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cake\\Utility\\": "." + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/utility/graphs/contributors" + } + ], + "description": "CakePHP Utility classes such as Inflector, String, Hash, and Security", + "homepage": "https://cakephp.org", + "keywords": [ + "cakephp", + "hash", + "inflector", + "security", + "string", + "utility" + ], + "support": { + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "issues": "https://github.com/cakephp/cakephp/issues", + "source": "https://github.com/cakephp/utility" + }, + "time": "2019-11-23T03:57:00+00:00" + }, + { + "name": "psr/container", + "version": "1.1.x-dev", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", + "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", + "shasum": "" + }, + "require": { + "php": ">=7.2.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/1.1.x" + }, + "time": "2021-03-05T17:36:06+00:00" + }, + { + "name": "psr/log", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "a18c1e692e02b84abbafe4856c3cd7cc6903908c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/a18c1e692e02b84abbafe4856c3cd7cc6903908c", + "reference": "a18c1e692e02b84abbafe4856c3cd7cc6903908c", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/master" + }, + "time": "2021-03-02T15:02:34+00:00" + }, + { + "name": "psr/simple-cache", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "5a7b96b1dda5d957e01bc1bfe77dcca09c5a7474" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/5a7b96b1dda5d957e01bc1bfe77dcca09c5a7474", + "reference": "5a7b96b1dda5d957e01bc1bfe77dcca09c5a7474", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "support": { + "source": "https://github.com/php-fig/simple-cache/tree/master" + }, + "time": "2020-04-21T06:43:17+00:00" + }, + { + "name": "robmorgan/phinx", + "version": "dev-master", + "source": { + "type": "git", + "url": "https://github.com/cakephp/phinx.git", + "reference": "a96c5465a8f3dd64e39c9115a5d383b8d01928ce" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cakephp/phinx/zipball/a96c5465a8f3dd64e39c9115a5d383b8d01928ce", + "reference": "a96c5465a8f3dd64e39c9115a5d383b8d01928ce", + "shasum": "" + }, + "require": { + "cakephp/database": "^4.0", + "php": ">=7.2", + "psr/container": "^1.0 || ^2.0", + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/console": "^3.4|^4.0|^5.0" + }, + "require-dev": { + "cakephp/cakephp-codesniffer": "^3.0", + "ext-json": "*", + "ext-pdo": "*", + "phpunit/phpunit": "^8.5|^9.3", + "sebastian/comparator": ">=1.2.3", + "symfony/yaml": "^3.4|^4.0|^5.0" + }, + "suggest": { + "ext-json": "Install if using JSON configuration format", + "ext-pdo": "PDO extension is needed", + "symfony/yaml": "Install if using YAML configuration format" + }, + "default-branch": true, + "bin": [ + "bin/phinx" + ], + "type": "library", + "autoload": { + "psr-4": { + "Phinx\\": "src/Phinx/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Rob Morgan", + "email": "robbym@gmail.com", + "homepage": "https://robmorgan.id.au", + "role": "Lead Developer" + }, + { + "name": "Woody Gilk", + "email": "woody.gilk@gmail.com", + "homepage": "https://shadowhand.me", + "role": "Developer" + }, + { + "name": "Richard Quadling", + "email": "rquadling@gmail.com", + "role": "Developer" + }, + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/phinx/graphs/contributors", + "role": "Developer" + } + ], + "description": "Phinx makes it ridiculously easy to manage the database migrations for your PHP app.", + "homepage": "https://phinx.org", + "keywords": [ + "database", + "database migrations", + "db", + "migrations", + "phinx" + ], + "support": { + "issues": "https://github.com/cakephp/phinx/issues", + "source": "https://github.com/cakephp/phinx/tree/master" + }, + "time": "2021-03-17T03:50:36+00:00" + }, + { + "name": "symfony/config", + "version": "5.x-dev", + "source": { + "type": "git", + "url": "https://github.com/symfony/config.git", + "reference": "6105c88534b857c14191af17c1fbe60a1abd30ad" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/config/zipball/6105c88534b857c14191af17c1fbe60a1abd30ad", + "reference": "6105c88534b857c14191af17c1fbe60a1abd30ad", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", + "symfony/filesystem": "^4.4|^5.0", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-php80": "^1.15" + }, + "conflict": { + "symfony/finder": "<4.4" + }, + "require-dev": { + "symfony/event-dispatcher": "^4.4|^5.0", + "symfony/finder": "^4.4|^5.0", + "symfony/messenger": "^4.4|^5.0", + "symfony/service-contracts": "^1.1|^2", + "symfony/yaml": "^4.4|^5.0" + }, + "suggest": { + "symfony/yaml": "To use the yaml reference dumper" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Config\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/config/tree/5.x" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-04-07T16:09:00+00:00" + }, + { + "name": "symfony/console", + "version": "5.x-dev", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "5198e2322c7c403048423b5a0b7c134a92630ebe" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/5198e2322c7c403048423b5a0b7c134a92630ebe", + "reference": "5198e2322c7c403048423b5a0b7c134a92630ebe", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.8", + "symfony/polyfill-php80": "^1.15", + "symfony/service-contracts": "^1.1|^2", + "symfony/string": "^5.1" + }, + "conflict": { + "symfony/dependency-injection": "<4.4", + "symfony/dotenv": "<5.1", + "symfony/event-dispatcher": "<4.4", + "symfony/lock": "<4.4", + "symfony/process": "<4.4" + }, + "provide": { + "psr/log-implementation": "1.0" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "^4.4|^5.0", + "symfony/dependency-injection": "^4.4|^5.0", + "symfony/event-dispatcher": "^4.4|^5.0", + "symfony/lock": "^4.4|^5.0", + "symfony/process": "^4.4|^5.0", + "symfony/var-dumper": "^4.4|^5.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/5.x" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-04-07T16:09:00+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5f38c8804a9e97d23e0c8d63341088cd8a22d627", + "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/main" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-03-23T23:28:01+00:00" + }, + { + "name": "symfony/filesystem", + "version": "5.x-dev", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "2a7311756f4ffa7ea39a4c31422c9d08013099d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/2a7311756f4ffa7ea39a4c31422c9d08013099d0", + "reference": "2a7311756f4ffa7ea39a4c31422c9d08013099d0", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides basic utilities for the filesystem", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/filesystem/tree/5.x" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-04-01T10:43:52+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "c6c942b1ac76c82448322025e084cadc56048b4e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e", + "reference": "c6c942b1ac76c82448322025e084cadc56048b4e", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-07T16:49:33+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "5601e09b69f26c1828b13b6bb87cb07cddba3170" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/5601e09b69f26c1828b13b6bb87cb07cddba3170", + "reference": "5601e09b69f26c1828b13b6bb87cb07cddba3170", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.22.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-22T09:19:47+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "43a0283138253ed1d48d352ab6d0bdb3f809f248" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/43a0283138253ed1d48d352ab6d0bdb3f809f248", + "reference": "43a0283138253ed1d48d352ab6d0bdb3f809f248", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-22T09:19:47+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "5232de97ee3b75b0360528dae24e73db49566ab1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/5232de97ee3b75b0360528dae24e73db49566ab1", + "reference": "5232de97ee3b75b0360528dae24e73db49566ab1", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-22T09:19:47+00:00" + }, + { + "name": "symfony/polyfill-php73", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-07T16:49:33+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91", + "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-07T16:49:33+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", + "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/container": "^1.1" + }, + "suggest": { + "symfony/service-implementation": "" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.4-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/main" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-04-01T10:43:52+00:00" + }, + { + "name": "symfony/string", + "version": "5.x-dev", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "01454c66c88a6bb4449dcdeb913e463e075f331b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/01454c66c88a6bb4449dcdeb913e463e075f331b", + "reference": "01454c66c88a6bb4449dcdeb913e463e075f331b", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" + }, + "require-dev": { + "symfony/error-handler": "^4.4|^5.0", + "symfony/http-client": "^4.4|^5.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0" + }, + "default-branch": true, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "files": [ + "Resources/functions.php" + ], + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/5.x" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-03-17T17:12:23+00:00" + } + ], + "aliases": [], + "minimum-stability": "dev", + "stability-flags": { + "vitexsoftware/ease-twbootstrap4-widgets-flexibee": 20, + "adamstipak/webpay-php": 20, + "ondrakoupil/csob-eapi-paygate": 20, + "robmorgan/phinx": 20 + }, + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [], + "plugin-api-version": "2.0.0" +} diff --git a/includes/application_top.php b/includes/application_top.php index ecbca5956..9053b8002 100644 --- a/includes/application_top.php +++ b/includes/application_top.php @@ -19,6 +19,7 @@ // autoload classes in the classes or modules directories require 'includes/functions/autoloader.php'; spl_autoload_register('tep_autoload_catalog'); + require 'vendor/autoload.php'; // include the database functions require 'includes/functions/database.php'; diff --git a/includes/classes/Order.php b/includes/classes/Order.php new file mode 100644 index 000000000..0fa20c2dc --- /dev/null +++ b/includes/classes/Order.php @@ -0,0 +1,66 @@ +customer['id'] = null; + + if ($order_id === false) { + $this->set_id(null); + } else { + parent::__construct($order_id); + $this->set_id($order_id); + self::updateTotals(); + } + } + + public function updateTotals() { + $order_total_modules = new order_total(); + $order->totals = $order_total_modules->process(); + } + + public function getStatus() { + return array_key_exists('orders_status_id', $this->info) ? intval($this->info['orders_status_id']) : 0; + } + + public function setOrderState(int $code) { + if (tep_db_query("UPDATE orders SET orders_status = " . $code . ", last_modified = NOW() WHERE orders_id = " . (int) $this->get_id())) { + $this->info['orders_status_id'] = $code; + } + } + + public function addStatusHistory(int $orderStatusId, $comments = '') { + tep_db_query("INSERT INTO orders_status_history (orders_id, orders_status_id, date_added, comments) VALUES ('" . $this->get_id() . "', '" . $orderStatusId . "', NOW(), '" . tep_db_input($comments) . "')"); + } + + public static function redirectForOrderStatus(int $orderStatusId) { + switch ($orderStatusId) { + case intval(MODULE_PAYMENT_CSOB_CANCELED_ORDER_STATUS_ID): + tep_redirect(tep_href_link('shopping_cart.php', '', 'SSL')); + break; + case intval(MODULE_PAYMENT_CSOB_PROCESSING_ORDER_STATUS_ID): + tep_redirect(tep_href_link('account_history.php', '', 'SSL')); + break; + case intval(MODULE_PAYMENT_CSOB_DONE_ORDER_STATUS_ID): + tep_redirect(tep_href_link('checkout_success.php', '', 'SSL')); + break; + case intval(MODULE_PAYMENT_CSOB_PROBLEM_ORDER_STATUS_ID): + tep_redirect(tep_href_link('checkout_payment.php', 'payment_error=' . 'csob' . '&error=' . $resultCode)); + break; + } + } + +} diff --git a/includes/classes/Payment.php b/includes/classes/Payment.php new file mode 100644 index 000000000..8802721f9 --- /dev/null +++ b/includes/classes/Payment.php @@ -0,0 +1,274 @@ +get_id() ? json_encode(['orderId' => $order->get_id(), 'customerId' => $order->customer['id'], 'payment' => $_SESSION['payment'], 'sessiontoken' => $_SESSION['sessiontoken']]) : []; + parent::__construct($order->get_id(), $merchantData, $order->customer['id'], $oneClickPayment); + + $lang_query = tep_db_query("SELECT code FROM languages WHERE languages_id = " . (int) $_SESSION['languages_id']); + $lang = tep_db_fetch_array($lang_query); + + if ($lang['code'] == 'cs') { + $lang['code'] = 'cz'; + } + + $this->language = strtoupper($lang['code']); + $order_total_modules = new \order_total(); + $order->totals = $order_total_modules->process(); + + if (!empty($order->totals)) { + if (isset($order->totals[0]['value'])) { + $this->addCartItem($order->totals[0]['title'], 1, $order->totals[0]['value']); + } + if (isset($order->totals[1]['value'])) { + $this->addCartItem($order->totals[1]['title'], 1, $order->totals[1]['value']); + } + } + } + + /** + * obtain Current Payment status + * @return int status id + */ + public function getStatus() { + return $this->status; + } + + public function setStatus(int $status) { + $this->status = $status; + } + + /** + * API Client + * @return \OndraKoupil\Csob\Client + */ + public function getApi() { + if (is_null($this->api)) { + $this->api = new \OndraKoupil\Csob\Client(self::apiconfig()); + } + return $this->api; + } + + public function saveNewPayment() { + if ($this->getPayId()) { + tep_db_query("INSERT INTO csob (payId,paymentStatus, orders_id) VALUES ('" . $this->getPayId() . "', " . $this->getStatus() . ", " . $this->orderNo . ")"); + } + } + + public function savePaymentState() { + tep_db_query("UPDATE csob SET paymentStatus = " . $this->getStatus() . " WHERE payId = '" . $this->getPayId() . "'"); + } + + /** + * Initiate card payment + * + * @return array payment gw response + */ + public function requestPayment() { + $paymentData = $this->getApi()->paymentInit($this); + if (array_key_exists('paymentStatus', $paymentData)) { + $this->status = $paymentData['paymentStatus']; + } + $this->saveNewPayment(); + return $paymentData; + } + + /** + * PayGW Configuration helper + * + * @return Config + */ + private static function apiconfig() { + return new Config( + \Ease\Functions::cfg('MODULE_PAYMENT_CSOB_MERCHANT_ID'), + \Ease\Functions::cfg('MODULE_PAYMENT_CSOB_SECRET_KEY'), + \Ease\Functions::cfg('MODULE_PAYMENT_CSOB_PUBLIC_KEY'), + \Ease\Functions::cfg('STORE_NAME'), + tep_href_link('ext/modules/payment/csob/welcomeback.php', 'ceid=' . session_id(), null, true), + // URL adresa API - výchozí je adresa testovacího (integračního) prostředí, + // až budete připraveni přepnout se na ostré rozhraní, sem zadáte + // adresu ostrého API. Nezapomeňte také na ostrý veřejný klíč banky. + GatewayUrl::TEST_LATEST + ); + } + + /** + * Obtain return code meaning + * + * @param int $code + * @return string + * + * @throws Exception + */ + static public function resultCodeMeaning($code) { + switch ($code) { + case 0: + $error = 'OK'; //(operace proběhla korektně, transakce založena, stav aktualizován apod.) + break; + case 100: + $error = 'Missing parameter {name}'; // (chybějící povinný parametr) + break; + case 110 : + $error = 'Invalid parameter {name} '; //(chybný formát parametru) + break; + case 120: + $error = 'Merchant blocked'; // (obchodník nemá povoleny platby) + break; + case 130: + $error = 'Session expired'; //(vypršela platnost požadavku) + break; + case 140: + $error = 'Payment not found'; // (platba nenalezena) + break; + case 150: + $error = 'Payment not in valid state'; //(nesprávný stav platby, operaci nelze provést) + break; + case 160: + $error = 'Payment method disabled'; //(operace není povolena, obchodník si o nastavení musí smluvně zažádat) + break; + case 170: + $error = 'Payment method unavailable'; //(nedostupost poskytovatele metody, služba není v tomto čase dosažitelná) + break; + case 180: + $error = 'Operation not allowed'; //(nepovolená operace) + break; + case 190: + $error = 'Payment method error'; //(chyba ve zpracování u poskytovatele metody) + break; + case 230: + $error = 'Merchant not onboarded for MasterPass'; // (obchodník není registrovaný v MasterPass) + break; + case 240: + $error = 'MasterPass request token already initialized'; // (MasterPass token byl již inicializován) + break; + case 250: + $error = 'MasterPass request token does not exist'; // (nenalezen MasterPass token, nelze dokončit platbu pomocí MasterPass) + break; + case 270: + $error = 'MasterPass canceled by user'; // (zákazník nedokončil výběr karty/adresy v MasterPass wallet) + break; + case 500: + $error = 'EET Rejected'; //(EET hlášení bylo odmítnuto FS) + break; + case 600: + $error = 'MALL Pay payment declined in precheck'; //operaci mallpay/init nelze dokončit z důvodu zamítnutí žádosti v systému MALL Pay + break; + case 700: + $error = 'Oneclick template not found'; //(šablona pro platbu na klik nebyla nalezena) + break; + case 710: + $error = 'Oneclick template payment expired'; //(šablona pro platbu nebyla použita více jak 12 měsíců, platba expirovala) + break; + case 720: + $error = 'Oneclick template card expired'; //(karta pro šablonu pro platbu na klik expirovala) + break; + case 730: + $error = 'Oneclick template customer rejected'; // (šablona pro platbu na klik byla zrušena na pokyn zákazníka) + break; + case 740: + $error = 'Oneclick template payment reversed'; //(šablona pro platbu na klik byla reverzována) + break; + case 800: + $error = 'Customer not found'; //(zákazník identifikovaný pomocí customerId nenalezen) + break; + case 810: + $error = 'Customer found, no saved card(s)'; //(zákazník identifikovaný pomocí customerId byl nalezen, ale nemá žádné dříve uložené karty na platební bráně) + break; + case 820: + $error = 'Customer found, found saved card(s)'; //(zákazník identifikovaný pomocí customerId byl nalezen a má uložené karty na platební bráně) + break; + case 900: + $error = 'Internal error'; // (interní chyba ve zpracování požadavku) + break; + default: + throw new Exception('Unknown Payment response code: ' . $result_array['resultCode']); + break; + } + return $error; + } + + /** + * Meaning of given payment status code + * + * @param int $status + * + * @return string + */ + public static function paymentStatusMeaning(int $status) { + switch ($status) { + case 0: + $meaning = 'Payment does not exist yet'; + break; + case 1: + $meaning = 'Payment established'; + break; + case 2: + $meaning = 'Payment in progress'; + break; + case 3: + $meaning = 'Payment cancelled'; + break; + case 4: + $meaning = 'Payment confirmed'; + break; + case 5: + $meaning = 'Payment canceled'; + break; + case 6: + $meaning = 'Payment denied'; + break; + case 7: + $meaning = 'Wait for Accounting'; + break; + case 8: + $meaning = 'Payment accounted'; + break; + case 9: + $meaning = 'Refund requested'; + break; + case 10: + $meaning = 'Payment refunded'; + break; + } + return $meaning; + } + +} diff --git a/includes/classes/application.php b/includes/classes/application.php index 488d2ce19..476005c09 100644 --- a/includes/classes/application.php +++ b/includes/classes/application.php @@ -83,7 +83,7 @@ public function set_session_language() { } public function set_template_title() { - $GLOBALS['oscTemplate']->setTitle(TITLE); + $GLOBALS['oscTemplate']->setTitle( defined('TITLE') ? TITLE : 'Title not set' ); } public function ensure_navigation_history() { diff --git a/includes/configure.php b/includes/configure.php old mode 100644 new mode 100755 index 11dd26d22..3bcd703f5 --- a/includes/configure.php +++ b/includes/configure.php @@ -1,53 +1,23 @@ 0, - 'domain' => '', - 'path' => '', + 'domain' => 'phoenix', + 'path' => '/', 'samesite' => 'Lax', - ]); - define('DIR_WS_CATALOG', ''); - - define('DIR_FS_CATALOG', dirname($_SERVER['SCRIPT_FILENAME']) . '/'); + ]; + const DIR_WS_CATALOG = '/'; - // leave blank or omit to use MySQL sessions - define('DIR_FS_SESSION', ''); + const DIR_FS_CATALOG = '/home/vitex/Projects/PureHTML/PhoenixCart/'; -// set default timezone if none exists (PHP 5.3 throws an E_WARNING) - date_default_timezone_set(date_default_timezone_get()); + date_default_timezone_set('Europe/Prague'); // If you are asked to provide configure.php details // please remove the data below before sharing - -// define our database connection - define('DB_SERVER', ''); // eg, localhost - should not be empty for production servers - define('DB_SERVER_USERNAME', ''); - define('DB_SERVER_PASSWORD', ''); - define('DB_DATABASE', 'Phoenix'); - - if (DB_SERVER == '' && is_dir('install')) { - header('Location: install/index.php'); - exit(); - } + const DB_SERVER = 'localhost'; + const DB_SERVER_USERNAME = 'phoenix'; + const DB_SERVER_PASSWORD = 'phoenix'; + const DB_DATABASE = 'phoenix'; diff --git a/includes/languages/czech.php b/includes/languages/czech.php new file mode 100644 index 000000000..3d37925a2 --- /dev/null +++ b/includes/languages/czech.php @@ -0,0 +1,414 @@ + tag +const HTML_PARAMS = 'dir="ltr" lang="cs"'; + +// charset for web pages and emails +const CHARSET = 'utf-8'; + +// page title +define('TITLE', STORE_NAME); + +// header text in includes/header.php +const HEADER_TITLE_CREATE_ACCOUNT = 'Založit účet'; +const HEADER_TITLE_MY_ACCOUNT = 'můj účet'; +const HEADER_TITLE_CART_CONTENTS = 'košík'; +const HEADER_TITLE_CHECKOUT = 'pokladna'; +const HEADER_TITLE_TOP = 'shop-name.domain'; +const HEADER_TITLE_CATALOG = 'Home'; +const HEADER_TITLE_LOGOFF = 'Odhlásit'; +const HEADER_TITLE_LOGIN = 'Přihlásit'; + +// text for gender +const MALE = 'M'; +const FEMALE = 'Ž'; +const MALE_ADDRESS = 'Pan'; +const FEMALE_ADDRESS = 'Paní'; + +// text for date of birth example +const DOB_FORMAT_STRING = 'mm/dd/yyyy'; + +// checkout procedure text +const CHECKOUT_BAR_DELIVERY = 'Dodání'; +const CHECKOUT_BAR_PAYMENT = 'Platba'; +const CHECKOUT_BAR_CONFIRMATION = 'Potvrdit'; +const CHECKOUT_BAR_FINISHED = 'Dokončeno!'; + +// pull down default text +const PULL_DOWN_DEFAULT = 'vyberte'; +const TYPE_BELOW = 'Napsat níže'; + +// javascript messages +const JS_ERROR = 'Ve formuláři je chyba.\n\nOpravte následující:\n\n'; + +define('JS_REVIEW_TEXT', '* The \'Review Text\' musí mít nejméně ' . REVIEW_TEXT_MIN_LENGTH . ' znaků.\n'); +const JS_REVIEW_RATING = '* Přepočítat zboží\n'; + +const JS_ERROR_NO_PAYMENT_MODULE_SELECTED = '* Prosíme vyberte typ platby.\n'; + +const JS_ERROR_SUBMITTED = 'Formulář může být odeslán. Zmáčkněte Ok a vyčkejte.'; + +const ERROR_NO_PAYMENT_MODULE_SELECTED = 'Vyberte způsob platby Vaší objednávky.'; + +const CATEGORY_COMPANY = 'Společnost'; +const CATEGORY_PERSONAL = 'Osobní'; +const CATEGORY_ADDRESS = 'Adresa'; +const CATEGORY_CONTACT = 'Napište nám'; +const CATEGORY_OPTIONS = 'Nastavení'; +const CATEGORY_PASSWORD = 'Heslo'; + +const ENTRY_COMPANY = 'Společnost:'; +const ENTRY_COMPANY_TEXT = ''; +const ENTRY_GENDER = 'Pohlaví:'; +const ENTRY_GENDER_ERROR = 'Vyberte pohlaví'; +const ENTRY_GENDER_TEXT = ''; +const ENTRY_FIRST_NAME = 'Jméno:'; +define('ENTRY_FIRST_NAME_ERROR', 'Vaše jméno musí mít nejméně ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' znaků.'); +const ENTRY_FIRST_NAME_TEXT = ''; +const ENTRY_LAST_NAME = 'Příjmení:'; +define('ENTRY_LAST_NAME_ERROR', 'Vaše příjmení musí mít nejméně ' . ENTRY_LAST_NAME_MIN_LENGTH . ' znaků.'); +const ENTRY_LAST_NAME_TEXT = ''; +const ENTRY_DATE_OF_BIRTH = 'Datum narození:'; +const ENTRY_DATE_OF_BIRTH_ERROR = 'Datum narození ve tvaru: MM/DD/YYYY (eg 05/21/1970)'; +const ENTRY_DATE_OF_BIRTH_TEXT = '* (např. 05/21/1970)'; +const ENTRY_EMAIL_ADDRESS = 'E-Mail:'; +define('ENTRY_EMAIL_ADDRESS_ERROR', 'E-Mail musí mít nejméně ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' znaků.'); +const ENTRY_EMAIL_ADDRESS_CHECK_ERROR = 'E-Mail je špatně, opravte jej.'; +const ENTRY_EMAIL_ADDRESS_ERROR_EXISTS = 'Váš E-Mail je již v databázi.'; +const ENTRY_EMAIL_ADDRESS_TEXT = ''; +const ENTRY_STREET_ADDRESS = 'Ulice:'; +define('ENTRY_STREET_ADDRESS_ERROR', 'Ulice musí mít nejméně ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' znaků.'); +const ENTRY_STREET_ADDRESS_TEXT = ''; +const ENTRY_SUBURB = 'Čtvrť:'; +const ENTRY_SUBURB_TEXT = ''; +const ENTRY_POST_CODE = 'PSČ:'; +define('ENTRY_POST_CODE_ERROR', 'PSČ musí mít nejméně ' . ENTRY_POSTCODE_MIN_LENGTH . ' znaků.'); +const ENTRY_POST_CODE_TEXT = ''; +const ENTRY_CITY = 'Město:'; +define('ENTRY_CITY_ERROR', 'Město musí mít nejméně ' . ENTRY_CITY_MIN_LENGTH . ' znaků.'); +const ENTRY_CITY_TEXT = ''; +const ENTRY_STATE = 'Stát:'; +define('ENTRY_STATE_ERROR', 'Stát musí mít nejméně ' . ENTRY_STATE_MIN_LENGTH . ' znaků.'); +const ENTRY_STATE_ERROR_SELECT = 'Please select a state from the States pull down menu.'; +const ENTRY_STATE_TEXT = ''; +const ENTRY_COUNTRY = 'Země:'; +const ENTRY_COUNTRY_ERROR = 'Vyberte zemi v menu.'; +const ENTRY_COUNTRY_TEXT = ''; +const ENTRY_TELEPHONE_NUMBER = 'Telefon:'; +define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Telefonní číslo musí mít nejméně ' . ENTRY_TELEPHONE_MIN_LENGTH . ' znaků.'); +const ENTRY_TELEPHONE_NUMBER_TEXT = ''; +const ENTRY_FAX_NUMBER = 'Fax:'; +const ENTRY_FAX_NUMBER_TEXT = ''; +const ENTRY_NEWSLETTER = 'Newsletter:'; +const ENTRY_NEWSLETTER_TEXT = ''; +const ENTRY_NEWSLETTER_YES = 'Přihlásit k zasílání'; +const ENTRY_NEWSLETTER_NO = 'Odhlásit zasílání'; +const ENTRY_PASSWORD = 'Heslo:'; +define('ENTRY_PASSWORD_ERROR', 'Vaše heslo musí mít nejméně ' . ENTRY_PASSWORD_MIN_LENGTH . ' znaků.'); +const ENTRY_PASSWORD_ERROR_NOT_MATCHING = 'Hesla nejsou stejná.'; +const ENTRY_PASSWORD_TEXT = ''; +const ENTRY_PASSWORD_CONFIRMATION = 'Heslo znovu:'; +const ENTRY_PASSWORD_CONFIRMATION_TEXT = ''; +const ENTRY_PASSWORD_CURRENT = 'Původní heslo:'; +const ENTRY_PASSWORD_CURRENT_TEXT = ''; +define('ENTRY_PASSWORD_CURRENT_ERROR', 'Vaše heslo musí mít nejméně ' . ENTRY_PASSWORD_MIN_LENGTH . ' znaků.'); +const ENTRY_PASSWORD_NEW = 'Nové heslo:'; +const ENTRY_PASSWORD_NEW_TEXT = ''; +define('ENTRY_PASSWORD_NEW_ERROR', 'Vaše nové heslo musí mít nejméně ' . ENTRY_PASSWORD_MIN_LENGTH . ' znaků.'); +const ENTRY_PASSWORD_NEW_ERROR_NOT_MATCHING = 'Hesla nejsou stejná.'; +const PASSWORD_HIDDEN = '--HIDDEN--'; + +// constants for use in tep_prev_next_display function +const TEXT_RESULT_PAGE = 'Celkem stránek:'; +const TEXT_DISPLAY_NUMBER_OF_PRODUCTS = 'Zobrazeno %d to %d (of %d produktů)'; +const TEXT_DISPLAY_NUMBER_OF_ORDERS = 'Zobrazeno %d to %d (of %d objednávek)'; +const TEXT_DISPLAY_NUMBER_OF_REVIEWS = 'Zobrazeno %d to %d (of %d hodnocení)'; +const TEXT_DISPLAY_NUMBER_OF_PRODUCTS_NEW = 'Zobrazeno %d to %d (of %d novinek)'; +const TEXT_DISPLAY_NUMBER_OF_SPECIALS = 'Zobrazeno %d to %d (of %d slev)'; + +const PREVNEXT_TITLE_FIRST_PAGE = 'První stránka'; +const PREVNEXT_TITLE_PREVIOUS_PAGE = 'Předchozí stránka'; +const PREVNEXT_TITLE_NEXT_PAGE = 'Další stránka'; +const PREVNEXT_TITLE_LAST_PAGE = 'Poslední stránka'; +const PREVNEXT_TITLE_PAGE_NO = 'Stránka %d'; +const PREVNEXT_TITLE_PREV_SET_OF_NO_PAGE = 'Předcházejících %d stránek'; +const PREVNEXT_TITLE_NEXT_SET_OF_NO_PAGE = 'Dalších %d stránek'; +const PREVNEXT_BUTTON_FIRST = '<<první'; +const PREVNEXT_BUTTON_PREV = '[<< předchozí]'; +const PREVNEXT_BUTTON_NEXT = '[další >>]'; +const PREVNEXT_BUTTON_LAST = 'poslední>>'; + +const IMAGE_BUTTON_ADD_ADDRESS = 'Přidat adresu'; +const IMAGE_BUTTON_ADDRESS_BOOK = 'Adresář'; +const IMAGE_BUTTON_BACK = 'Zpět'; +const IMAGE_BUTTON_BUY_NOW = 'objednat'; +const IMAGE_BUTTON_CHANGE_ADDRESS = 'Změnit adresu'; +const IMAGE_BUTTON_CHECKOUT = 'Pokladna'; +const IMAGE_BUTTON_CONFIRM_ORDER = 'Potvrdit závaznou objednávku'; +const IMAGE_BUTTON_CONTINUE = 'pokračovat'; +const IMAGE_BUTTON_CONTINUE_SHOPPING = 'Pokračovat v nákupu'; +const IMAGE_BUTTON_DELETE = 'Smazat'; +const IMAGE_BUTTON_EDIT_ACCOUNT = 'Upravit účet'; +const IMAGE_BUTTON_HISTORY = 'Historie objednávek'; +const IMAGE_BUTTON_LOGIN = 'přihlásit'; +const IMAGE_BUTTON_IN_CART = 'Koupit'; +const IMAGE_BUTTON_NOTIFICATIONS = 'Zpráva'; +const IMAGE_BUTTON_QUICK_FIND = 'Rychlé hledání'; +const IMAGE_BUTTON_REMOVE_NOTIFICATIONS = 'Smazat zprávu'; +const IMAGE_BUTTON_REVIEWS = 'Hodnocení'; +const IMAGE_BUTTON_SEARCH = 'Vyhledat'; +const IMAGE_BUTTON_SHIPPING_OPTIONS = 'Doprava'; +const IMAGE_BUTTON_TELL_A_FRIEND = 'Dejte vědět příteli'; +const IMAGE_BUTTON_UPDATE = 'obnovit'; +const IMAGE_BUTTON_UPDATE_CART = 'Obnovit košík'; +const IMAGE_BUTTON_WRITE_REVIEW = 'Zapsat hodnocení'; + +const SMALL_IMAGE_BUTTON_DELETE = 'Smazat'; +const SMALL_IMAGE_BUTTON_EDIT = 'Upravit'; +const SMALL_IMAGE_BUTTON_VIEW = 'Zobrazit'; +const SMALL_IMAGE_BUTTON_BUY = 'Koupit'; + +const ICON_ARROW_RIGHT = 'dále'; +const ICON_CART = 'v košíku'; +const ICON_ERROR = 'chyba'; +const ICON_SUCCESS = 'správně'; +const ICON_WARNING = 'Pozor'; + +const TEXT_GREETING_PERSONAL = 'Vítejte zpět %s! Chcete se podívat jaké máme novinky od Vašeho posledního nákupu?'; +const TEXT_GREETING_PERSONAL_RELOGON = 'Pokud ne, %s, prosíme přihlaste se na váš účet.'; +const TEXT_GREETING_GUEST = 'Vítejte návštěvníku! Chcete se přihlásit? nebo teprve zaregistrovat?'; + +const TEXT_SORT_PRODUCTS = 'seřadit'; +const TEXT_DESCENDINGLY = 'sestupně'; +const TEXT_ASCENDINGLY = 'vzestupně'; +const TEXT_BY = ' by '; + +const TEXT_REVIEW_BY = 'od %s'; +const TEXT_REVIEW_WORD_COUNT = '%s slov'; +const TEXT_REVIEW_RATING = 'hodnocení: %s [%s]'; +const TEXT_REVIEW_DATE_ADDED = 'přidáno: %s'; +const TEXT_NO_REVIEWS = 'žádná nová hodnocení.'; + +const TEXT_NO_NEW_PRODUCTS = 'žádné nové produkty.'; + +const TEXT_UNKNOWN_TAX_RATE = 'Unknown tax rate'; + +const TEXT_REQUIRED = 'je nutné vyplnit'; + +const ERROR_TEP_MAIL = 'TEP ERROR: Cannot send the email through the specified SMTP server. Please check your php.ini setting and correct the SMTP server if necessary.'; + +const TEXT_CCVAL_ERROR_INVALID_DATE = 'The expiry date entered for the credit card is invalid. Please check the date and try again.'; +const TEXT_CCVAL_ERROR_INVALID_NUMBER = 'The credit card number entered is invalid. Please check the number and try again.'; +const TEXT_CCVAL_ERROR_UNKNOWN_CARD = 'The first four digits of the number entered are: %s. If that number is correct, we do not accept that type of credit card. If it is wrong, please try again.'; + +// category views +const TEXT_VIEW = 'Zobrazit: '; +const TEXT_VIEW_LIST = ' Seznam'; +const TEXT_VIEW_GRID = ' Grid'; + +// search placeholder +const TEXT_SEARCH_PLACEHOLDER = 'Vyhledávání'; + +// message for required inputs +const FORM_REQUIRED_INFORMATION = 'Nutno vyplnit'; +const FORM_REQUIRED_INPUT = ''; + +// reviews +const REVIEWS_TEXT_RATED = 'Hodnoceno %s s %s'; +const REVIEWS_TEXT_AVERAGE = 'Hodnocení %s recenzí %s'; +const REVIEWS_TEXT_TITLE = 'Co říkají naši zákazníci...'; + +// grid/list + +// moved from index +const TABLE_HEADING_IMAGE = ''; +const TABLE_HEADING_MODEL = 'Model'; +const TABLE_HEADING_PRODUCTS = 'Název zboží'; +const TABLE_HEADING_MANUFACTURER = 'Výrobce'; +const TABLE_HEADING_QUANTITY = 'Množství'; +const TABLE_HEADING_PRICE = 'Cena'; +const TABLE_HEADING_WEIGHT = 'Váha'; +const TABLE_HEADING_BUY_NOW = 'Koupit'; +const TABLE_HEADING_LATEST_ADDED = 'Poslední zboží'; +const TABLE_HEADING_DATE_AVAILABLE = 'Nejnovější zboží'; +const TABLE_HEADING_CUSTOM_DATE = 'Podle data'; +const TABLE_HEADING_SORT_ORDER = 'Pořadí'; + +// product notifications +const PRODUCT_SUBSCRIBED = '%s bylo přidána do vašeho seznamu'; +const PRODUCT_UNSUBSCRIBED = '%s bylo odebráno z vašeho seznamu'; +const PRODUCT_ADDED = '%s přidáno do vašeho košíku'; +const PRODUCT_REMOVED = '%s odebráno z vašeho košíku'; + +// bootstrap helper +const MODULE_CONTENT_BOOTSTRAP_ROW_DESCRIPTION = ''; + +// sorting product_listing module + +/* +************************************************************************ +************** Custom Filenames can be defined below here ************** +************** Raymond Burns ************** +************************************************************************ +*/ +// SEO Header Tags Reloaded + //header titles +const HEADER_CART_CONTENTS = ' %s kusů'; +const HEADER_CART_NO_CONTENTS = ''; +const HEADER_ACCOUNT_LOGGED_OUT = ' '; +const HEADER_ACCOUNT_LOGGED_IN = ' %s '; +const HEADER_SITE_SETTINGS = ' '; +const HEADER_TOGGLE_NAV = 'Toggle Navigation'; +const HEADER_HOME = ''; +const HEADER_WHATS_NEW = ''; +const HEADER_SPECIALS = ''; +const HEADER_REVIEWS = ''; +// header dropdowns +const HEADER_ACCOUNT_LOGIN = ' Přihlásit'; +const HEADER_ACCOUNT_LOGOFF = ' Odhlásit'; +const HEADER_ACCOUNT = 'Můj účet'; +const HEADER_ACCOUNT_HISTORY = 'Moje objednávky'; +const HEADER_ACCOUNT_EDIT = 'Moje údaje'; +const HEADER_ACCOUNT_ADDRESS_BOOK = 'Můj Adresář'; +const HEADER_ACCOUNT_PASSWORD = 'Heslo'; +const HEADER_ACCOUNT_REGISTER = ' Registrace'; +const HEADER_CART_HAS_CONTENTS = '%s item(s), %s'; +const HEADER_CART_VIEW_CART = 'Košík'; +const HEADER_CART_CHECKOUT = ' Pokladna'; +const USER_LOCALIZATION = 'L: %s C: %s'; + +// CCGV +const VOUCHER_BALANCE = 'Voucher Balance'; +const BOX_HEADING_GIFT_VOUCHER = 'Dárkový poukaz účet'; +const GV_FAQ = 'Gift Voucher FAQ'; +const IMAGE_REDEEM_VOUCHER = 'Redeem'; +const ERROR_REDEEMED_AMOUNT = 'Congratulations, you have redeemed '; +const ERROR_NO_REDEEM_CODE = 'You did not enter a redeem code.'; +const ERROR_NO_INVALID_REDEEM_GV = 'nesprávný kód'; +const TABLE_HEADING_CREDIT = ' '; +const GV_HAS_VOUCHERA = 'Máte finanční prostředky na vašem účtu dárkového poukazu. If you want
you can send those funds by email to someone'; +const ENTRY_AMOUNT_CHECK_ERROR = 'Nemáte dostatek finančních prostředků.'; +const BOX_SEND_TO_FRIEND = 'Zaslat dárkový poukaz'; +const VOUCHER_REDEEMED = 'Voucher Redeemed'; +const CART_COUPON = 'Kupon :'; +const CART_COUPON_INFO = 'další info'; +// MailManager +const BOX_HEADING_MAIL_MANAGER = 'Mail Manager'; +const BOX_MM_BULKMAIL = 'BulkMail Manager'; +const BOX_MM_TEMPLATES = 'Template Manager'; +const BOX_MM_EMAIL = 'Zaslat e-mail'; +const BOX_MM_RESPONSEMAIL = 'Response Mail'; +//pure:new link to advanced search +const IMAGE_BUTTON_ADVANCED_SEARCH_LINK = 'podrobné'; +//VAT numbber +const ENTRY_VAT_NUMBER_TEXT_2 = ''; +const ENTRY_COMPANY_NUMBER_TEXT_2 = ''; + +/**** BEGIN ARTICLE MANAGER ****/ +const BOX_HEADING_ARTICLES = 'Články'; +const BOX_ALL_ARTICLES = 'Všechny články'; +const BOX_ALL_BLOG_ARTICLES = 'Všechny blogy'; +const BOX_ARTICLE_SUBMIT = 'Odeslat článek'; +const BOX_ARTICLE_TOPICS = 'Všechny kategorie'; +const BOX_NEW_ARTICLES = 'Nový článek'; +const TEXT_ARTICLE_SEARCH = 'Vyhledávání v článcích'; +const TEXT_ARTICLE_SEARCH_STRING = 'hledat článek'; +const TEXT_DISPLAY_NUMBER_OF_ARTICLES = 'Zobrazuji %d%d (z %d článků)'; +const TEXT_DISPLAY_NUMBER_OF_ARTICLES_NEW = 'Zobrazuji %d%d (z %d nových článků)'; +const TEXT_ARTICLES = 'Níže je seznam všech článků od nejnovějších k nejstarším.'; +const TABLE_HEADING_AUTHOR = 'Autor'; +const TABLE_HEADING_ABSTRACT = 'Shrnutí'; +const TEXT_PXSELL_ARTICLES = 'Příbuzné články'; +const BOX_HEADING_AUTHORS = 'Články podle autora'; +const BOX_ARTICLES_BLOG_COMMENTS = 'Diskuse k článkům'; +const NAVBAR_TITLE_DEFAULT = 'Články'; +const BOX_RSS_ARTICLES = 'RSS Feed k článkům'; +const BOX_UPCOMING_ARTICLES = 'Připravované články'; +const BOX_HEADING_TELL_A_FRIEND = 'Poslat na e-mail'; +/**** END ARTICLE MANAGER ****/ + +/*** Begin Header Tags SEO ***/ +const BOX_HEADING_HEADERTAGS_TAGCLOUD = 'Populární vyhledávání'; +const TEXT_SEE_MORE = 'více'; +const TEXT_SEE_MORE_FULL = 'více o %s'; +const HTS_OG_AVAILABLE_STOCK = 'Sostupnost skladem'; +const HTS_OG_PRICE = 'Cena'; +/*** End Header Tags SEO ***/ + +//pure +const HEADER_AUTHORS = 'AUTOŘI'; +const HEADER_NEWS = 'AKTUALITY'; +const HEADER_ABOUT_US = 'O NÁS'; +const XHEADER_CONTACT_US = 'KONTAKTY'; +const HEADER_ADVANCED_SEARCH = 'podrobné vyhledávání'; +const SUPPORT = 'Podpora'; +const CART = 'Košík'; +const CHECKOUT = 'Pokladna'; +const ACCOUNT = 'Můj účet'; + +// noscript helper +const TEXT_NOSCRIPT = <<<'EOT' +

Zdá se že máte JavaScript vypnuty ve svém prohlížeč.

+

Musíte mít JavaScript ve svém prohlížeči to utilize the functionality of this website.
+Click here for instructions on enabling javascript in your browser.

+EOT; + + +// sitewide is-product +const IS_PRODUCT_SHOW_PRICE = '%s'; +const IS_PRODUCT_SHOW_PRICE_SPECIAL = '%s now %s'; +const IS_PRODUCT_BUTTON_BUY = ''; +const IS_PRODUCT_BUTTON_VIEW = ' View'; + + + +//static pages +const PRODUCTS_NEW_PAGE = 'novinky'; +const QUICK_SHOP_PAGE = 'quick-shop'; + +const PASSWORD = 'Heslo'; +const LOGIN = 'Přihlášení'; diff --git a/includes/languages/czech/account.php b/includes/languages/czech/account.php new file mode 100644 index 000000000..5f563039e --- /dev/null +++ b/includes/languages/czech/account.php @@ -0,0 +1,64 @@ + diff --git a/includes/languages/czech/account_history_info.php b/includes/languages/czech/account_history_info.php new file mode 100644 index 000000000..7946d5e19 --- /dev/null +++ b/includes/languages/czech/account_history_info.php @@ -0,0 +1,41 @@ + diff --git a/includes/languages/czech/account_newsletters.php b/includes/languages/czech/account_newsletters.php new file mode 100644 index 000000000..ac852037c --- /dev/null +++ b/includes/languages/czech/account_newsletters.php @@ -0,0 +1,23 @@ + diff --git a/includes/languages/czech/account_notifications.php b/includes/languages/czech/account_notifications.php new file mode 100644 index 000000000..e69ebb5e2 --- /dev/null +++ b/includes/languages/czech/account_notifications.php @@ -0,0 +1,37 @@ +
Chcete-li být informováni o všech změnách, vyberte položku Všechny změny.', + true); + +const GLOBAL_NOTIFICATIONS_TITLE = 'Všechny změny'; +define('GLOBAL_NOTIFICATIONS_DESCRIPTION', + 'Upozornit při změnách u všech produktů.'); + +const NOTIFICATIONS_TITLE = 'Vybrané změny'; +define('NOTIFICATIONS_DESCRIPTION', + 'Nechcete-li již být informováni o změnách vybraných produktů, zaškrtněte v menu a pokračujte.', + true); +define('NOTIFICATIONS_NON_EXISTING', + 'Nemáte vybráno žádné upozornění.

Chcete-li přidat konkrétní výrobek, zaškrtněte v menu zasílání informací.', + true); + +define('SUCCESS_NOTIFICATIONS_UPDATED', + 'Změna v zasílání upozornění potvrzena.'); +?> diff --git a/includes/languages/czech/account_password.php b/includes/languages/czech/account_password.php new file mode 100644 index 000000000..aa6c2a866 --- /dev/null +++ b/includes/languages/czech/account_password.php @@ -0,0 +1,23 @@ + diff --git a/includes/languages/czech/address_book.php b/includes/languages/czech/address_book.php new file mode 100644 index 000000000..f826ac6a8 --- /dev/null +++ b/includes/languages/czech/address_book.php @@ -0,0 +1,30 @@ +
Také se použije pro výpočet daně a způsobu dodání.', + true); + +const ADDRESS_BOOK_TITLE = 'Vložené adresy'; + +const PRIMARY_ADDRESS = '(Hlavní adresa)'; + +define('TEXT_MAXIMUM_ENTRIES', + 'POZNÁMKA: Maximálně zde můžete mít uloženo %s addres.', + true); +?> diff --git a/includes/languages/czech/address_book_process.php b/includes/languages/czech/address_book_process.php new file mode 100644 index 000000000..da4bc2651 --- /dev/null +++ b/includes/languages/czech/address_book_process.php @@ -0,0 +1,47 @@ + Pomoc s vyhledáváním', + true); + +const TEXT_ALL_CATEGORIES = 'Všechny kategorie'; +const TEXT_ALL_MANUFACTURERS = 'Všichni výrobci'; + +const HEADING_SEARCH_HELP = 'Pomoc s vyhledáváním'; +const TEXT_SEARCH_HELP = ''; +// 'Klíčová slova můžete oddělovat AND a/nebo OR pro lepší výsledky.

For example, Microsoft AND mouse would generate a result set that contain both words. However, for mouse OR keyboard, the result set returned would contain both or either words.

Exact matches can be searched for by enclosing keywords in double-quotes.

For example, "notebook computer" would generate a result set which match the exact string.

Brackets can be used for further c.

For example, Microsoft and (keyboard or mouse or "visual basic").', true); +const TEXT_CLOSE_WINDOW = 'zavřít okno [x]'; + +define('TEXT_NO_PRODUCTS', + 'Produkt dle zadaných kritérí nebyl nalezen. Zkuste upravit vyhledávací dotaz.', + true); + +const ERROR_AT_LEAST_ONE_INPUT = 'Musíte vyplnit jedno z polí.'; +const ERROR_INVALID_FROM_DATE = 'špatně datum Od.'; +const ERROR_INVALID_TO_DATE = 'špatně datum Do.'; +define('ERROR_TO_DATE_LESS_THAN_FROM_DATE', + 'Datum Do musí být vyšší než datum Od.'); +const ERROR_PRICE_FROM_MUST_BE_NUM = 'cena Od musí být číslo.'; +const ERROR_PRICE_TO_MUST_BE_NUM = 'cena musí být číslo.'; +define('ERROR_PRICE_TO_LESS_THAN_PRICE_FROM', + 'cena Do musí být vyšší než cena Od.'); +const ERROR_INVALID_KEYWORDS = 'špatné klíčové slovo.'; +//pure:new +const IMAGE_BUTTON_BACK_ADVANCED_SEARCH = 'zpět na podrobné vyhledávání'; +?> diff --git a/includes/languages/czech/article_manager/article-submit.php b/includes/languages/czech/article_manager/article-submit.php new file mode 100644 index 000000000..a0a228b56 --- /dev/null +++ b/includes/languages/czech/article_manager/article-submit.php @@ -0,0 +1,43 @@ + diff --git a/includes/languages/czech/article_manager/article-topics.php b/includes/languages/czech/article_manager/article-topics.php new file mode 100644 index 000000000..948e5a7cb --- /dev/null +++ b/includes/languages/czech/article_manager/article-topics.php @@ -0,0 +1,19 @@ + diff --git a/includes/languages/czech/article_manager/article_blog.php b/includes/languages/czech/article_manager/article_blog.php new file mode 100644 index 000000000..2f5d43c60 --- /dev/null +++ b/includes/languages/czech/article_manager/article_blog.php @@ -0,0 +1,48 @@ +web page.'); +define('TEXT_DATE_ADDED', 'This article was published on %s.'); +define('TEXT_DATE_AVAILABLE', 'This article will be published on %s.'); +define('TEXT_BY_AM', 'by '); + +define('BOX_TEXT_TELL_A_FRIEND', 'Tell a friend'); +define('BOX_TEXT_TELL_A_FRIEND_TEXT', 'email address'); +define('TEXT_TELL_A_FRIEND', 'Tell a friend about this article:'); +define('TEXT_TELL_A_FRIEND_SUCCESS', 'The email has been successfully sent to your friend.'); +define('TEXT_TELL_A_FRIEND_SUBJECT', 'Your firend thought you would enjoy this article'); +define('TEXT_TELL_A_FRIEND_MESSAGE', "Hello,\n\n, Your friend, %s, wants to share this article with you.\n\n"); + +define('TEXT_COMMENT', 'Comments:'); +define('TEXT_POST_A_COMMENT', 'Post A Comment'); +define('TEXT_TOTAL_COMMENT', 'comment'); +define('TEXT_TOTAL_COMMENTS', 'comments'); +define('TEXT_TOTAL_COMMENTS_BE_FIRST', 'Be the first to post a comment'); +define('TEXT_XSELL_ARTICLES', 'Products related to this article:'); +define('TEXT_WHO_SAID', '%s said on %s'); + +define('IMAGE_PRINT_ARTICLE', 'Print This Article'); +define('IMAGE_BUTTON_SUBMIT', 'Submit Comment'); +define('IMAGE_BUTTON_SEND_EMAIL', 'Send'); + +define('BLOG_EMAIL_TEXT_BODY', 'A reply has been posted to the blog article %s by %s.'); +define('BLOG_EMAIL_TEXT_SUBJECT', 'A blog article has been submitted for %s'); +define('BLOG_TO_BE_APPROVED', 'Thank you for your comment. We will review it within 24 hours.'); + +define('ERROR_EMAIL_INVALID', 'The entered details for the email are not valid. Please try again.'); +define('ERROR_EMAIL_INVALID_CUSTOMER', 'Please log in to send emails'); +define('ERROR_NO_COMMENT', 'A comment is required.'); diff --git a/includes/languages/czech/article_manager/article_info.php b/includes/languages/czech/article_manager/article_info.php new file mode 100644 index 000000000..e84a210cd --- /dev/null +++ b/includes/languages/czech/article_manager/article_info.php @@ -0,0 +1,35 @@ +web page.'); +define('TEXT_DATE_ADDED', 'This article was published on %s.'); +define('TEXT_DATE_AVAILABLE', 'This article will be published on %s.'); +define('TEXT_BY_AM', 'by '); +define('TEXT_CLOSE_POPUP', 'Close Window'); +define('TEXT_COURTESY_OF', 'Printed with permission from ' . STORE_NAME); +define('TEXT_CURRENT_REVIEWS', 'Current Reviews:'); + +define('BOX_TEXT_TELL_A_FRIEND', 'Tell a friend'); +define('BOX_TEXT_TELL_A_FRIEND_TEXT', 'email address'); +define('TEXT_TELL_A_FRIEND', 'Tell a friend about this article:'); +define('TEXT_TELL_A_FRIEND_SUCCESS', 'The email has been successfully sent to your friend.'); +define('TEXT_TELL_A_FRIEND_SUBJECT', 'Your firend thought you would enjoy this article'); +define('TEXT_TELL_A_FRIEND_MESSAGE', "Hello,\n\n, Your friend, %s, wants to share this article with you.\n\n"); + +define('TEXT_XSELL_ARTICLES', 'Products related to this article:'); +define('IMAGE_PRINT_ARTICLE', 'Print This Article'); +define('IMAGE_BUTTON_SEND_EMAIL', 'Send'); + +define('ERROR_EMAIL_INVALID', 'The entered details for the email are not valid. Please try again.'); +define('ERROR_EMAIL_INVALID_CUSTOMER', 'Please log in to send emails'); diff --git a/includes/languages/czech/article_manager/article_manager.php b/includes/languages/czech/article_manager/article_manager.php new file mode 100644 index 000000000..3d2233ee9 --- /dev/null +++ b/includes/languages/czech/article_manager/article_manager.php @@ -0,0 +1,23 @@ +%d to %d (of %d articles)'); +define('TEXT_DISPLAY_NUMBER_OF_ARTICLES_NEW', 'Displaying %d to %d (of %d new articles)'); +define('TEXT_ARTICLES', 'Below is a list of articles with the most recent ones listed first.'); +define('TABLE_HEADING_AUTHOR', 'Author'); +define('TABLE_HEADING_ABSTRACT', 'Abstract'); +define('TEXT_PXSELL_ARTICLES', 'Related Articles'); +define('BOX_HEADING_AUTHORS', 'Articles by Author'); +define('BOX_ARTICLES_BLOG_COMMENTS', 'Blog Comments'); +define('NAVBAR_TITLE_DEFAULT', 'Articles'); +define('BOX_RSS_ARTICLES', 'Articles RSS Feed'); +define('BOX_UPCOMING_ARTICLES', 'Upcoming Articles'); +define('BOX_HEADING_TELL_A_FRIEND', 'Email Friend'); + +define('ARTICLE_VIEWED_COUNT', '(viewed %d times)'); \ No newline at end of file diff --git a/includes/languages/czech/article_manager/article_manager_search_result.php b/includes/languages/czech/article_manager/article_manager_search_result.php new file mode 100644 index 000000000..2105793d5 --- /dev/null +++ b/includes/languages/czech/article_manager/article_manager_search_result.php @@ -0,0 +1,23 @@ +...more'); +?> diff --git a/includes/languages/czech/article_manager/articles.php b/includes/languages/czech/article_manager/articles.php new file mode 100644 index 000000000..883bdc584 --- /dev/null +++ b/includes/languages/czech/article_manager/articles.php @@ -0,0 +1,59 @@ +web page.'); +} elseif ($topic_depth == 'top') { + define('HEADING_TITLE', 'All Articles'); + define('HEADING_TITLE_BLOG', 'All Blog Articles'); + define('TEXT_ALL_ARTICLES', 'Below is a list of all articles with the most recent ones listed first.'); + define('TEXT_ARTICLES', 'Below is a list of all articles with the most recent ones listed first.'); + define('TEXT_CURRENT_ARTICLES', 'Current Articles'); + define('TEXT_UPCOMING_ARTICLES', 'Upcoming Articles'); + define('TEXT_NO_ARTICLES', 'There are currently no articles listed.'); + define('TEXT_DATE_ADDED', 'Published:'); + define('TEXT_DATE_EXPECTED', 'Expected:'); + define('TEXT_AUTHOR', 'Author:'); + define('TEXT_TOPIC', 'Topic:'); + define('TEXT_BY_AM', 'by'); + define('TEXT_READ_MORE', 'Read More...'); +} elseif ($topic_depth == 'nested') { + define('HEADING_TITLE', 'Articles'); +} + + define('TEXT_CURRENT_BLOG_ARTICLES', 'Current Blog Articles'); diff --git a/includes/languages/czech/article_manager/articles_new.php b/includes/languages/czech/article_manager/articles_new.php new file mode 100644 index 000000000..d59a487fa --- /dev/null +++ b/includes/languages/czech/article_manager/articles_new.php @@ -0,0 +1,24 @@ +.'); +define('TEXT_ARTICLES', sprintf(TEXT_NEW_ARTICLES, NEW_ARTICLES_DAYS_DISPLAY)); +define('TEXT_NO_NEW_ARTICLES', 'No new articles have been added in the last %s days.'); +define('TEXT_DATE_ADDED', 'Published:'); +define('TEXT_AUTHOR', 'Author:'); +define('TEXT_TOPIC', 'Topic:'); +define('TEXT_BY_AM', 'by'); +define('TEXT_READ_MORE', 'Read More'); +?> diff --git a/includes/languages/czech/article_reviews.php b/includes/languages/czech/article_reviews.php new file mode 100644 index 000000000..cb26ba301 --- /dev/null +++ b/includes/languages/czech/article_reviews.php @@ -0,0 +1,21 @@ + diff --git a/includes/languages/czech/article_reviews_info.php b/includes/languages/czech/article_reviews_info.php new file mode 100644 index 000000000..a52eb7cd0 --- /dev/null +++ b/includes/languages/czech/article_reviews_info.php @@ -0,0 +1,21 @@ + diff --git a/includes/languages/czech/article_reviews_write.php b/includes/languages/czech/article_reviews_write.php new file mode 100644 index 000000000..f53a7de1d --- /dev/null +++ b/includes/languages/czech/article_reviews_write.php @@ -0,0 +1,24 @@ +Poor'); +define('TEXT_GOOD', 'Excellent'); + +?> diff --git a/includes/languages/czech/article_rss.php b/includes/languages/czech/article_rss.php new file mode 100644 index 000000000..32cd941cf --- /dev/null +++ b/includes/languages/czech/article_rss.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/checkout_confirmation.php b/includes/languages/czech/checkout_confirmation.php new file mode 100644 index 000000000..465871341 --- /dev/null +++ b/includes/languages/czech/checkout_confirmation.php @@ -0,0 +1,31 @@ + diff --git a/includes/languages/czech/checkout_shipping.php b/includes/languages/czech/checkout_shipping.php new file mode 100644 index 000000000..d58779169 --- /dev/null +++ b/includes/languages/czech/checkout_shipping.php @@ -0,0 +1,37 @@ + diff --git a/includes/languages/czech/checkout_success.php b/includes/languages/czech/checkout_success.php new file mode 100644 index 000000000..83d2a1045 --- /dev/null +++ b/includes/languages/czech/checkout_success.php @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/includes/languages/czech/contact_us.php b/includes/languages/czech/contact_us.php new file mode 100644 index 000000000..1feba4cc5 --- /dev/null +++ b/includes/languages/czech/contact_us.php @@ -0,0 +1,25 @@ + diff --git a/includes/languages/czech/cookie_usage.php b/includes/languages/czech/cookie_usage.php new file mode 100644 index 000000000..1de4435c5 --- /dev/null +++ b/includes/languages/czech/cookie_usage.php @@ -0,0 +1,22 @@ + diff --git a/includes/languages/czech/create_account.php b/includes/languages/czech/create_account.php new file mode 100644 index 000000000..842c12812 --- /dev/null +++ b/includes/languages/czech/create_account.php @@ -0,0 +1,63 @@ +poznámka: Pokud už máte účet, přihlašte se zde.', + true); + +define('EMAIL_SUBJECT', 'Vítáme Vás v eshopu '.STORE_NAME); +define('EMAIL_GREET_MR', 'Vážený pane %s,'."\n\n"); +define('EMAIL_GREET_MS', 'Vážená paní %s,'."\n\n"); +define('EMAIL_GREET_NONE', 'Vážený %s'."\n\n"); +define('EMAIL_WELCOME', + 'Vítáme Vás v eshopu '.STORE_NAME.'.'."\n\n"); +define('EMAIL_TEXT', + 'Nyní můžete využívat veškeré služby našeho obchodu:'."\n\n". + '
  • Trvalý košík - Všechny produkty se automaticky ukádají a zůstanou v košíku, dokud je nekoupíte nebo neodstraníte.'."\n". + '
  • Adresář - Můžeme zaslat naše zboží na jakoukoli adresu! To je ideální pro odeslání dárků přímo obdarovávané osobě.'."\n". + '
  • Historie objednávek - Zobrazení historie nákupů, které jste v našem obchodě udělali.'."\n". + '
  • Recenze produktů - Podělte se o své názory na produkty s ostatními zákazníky.'."\n\n"); +define('EMAIL_CONTACT', + 'Pokud budete potřebovat pomoc, kontaktujte provozovatele obchodu '.STORE_OWNER_EMAIL_ADDRESS.'.'."\n\n"); +define('EMAIL_WARNING', + 'Pozor: Tento e-mail jste dostal(a) na základě registrace v našem obchodě. Pokud jste se v našem obchodě neregistroval(a), napište nám na adresu '.STORE_OWNER_EMAIL_ADDRESS.'.'."\n"); +/* + * *********************************************************************** + * ************* Custom Filenames can be defined below here ************** + * ************* Raymond Burns ************** + * *********************************************************************** + */ +// CCGV +define('EMAIL_GV_INCENTIVE_HEADER', + "\n\n".'As part of our welcome to new customers, we have sent you an e-Gift Voucher worth %s', + true); +define('EMAIL_GV_REDEEM', + 'The redeem code for the e-Gift Voucher is %s, you can enter the redeem code when checking out while making a purchase', + true); +const EMAIL_GV_LINK = 'or by following this link '; +define('EMAIL_COUPON_INCENTIVE_HEADER', + 'Congratulations, to make your first visit to our online shop a more rewarding experience we are sending you an e-Discount Coupon.'."\n".' Below are details of the Discount Coupon created just for you'."\n"); +define('EMAIL_COUPON_REDEEM', + 'To use the coupon enter the redeem code which is %s during checkout while making a purchase', + true); +?> diff --git a/includes/languages/czech/create_account_success.php b/includes/languages/czech/create_account_success.php new file mode 100644 index 000000000..6d9c363c0 --- /dev/null +++ b/includes/languages/czech/create_account_success.php @@ -0,0 +1,19 @@ +kontaktní formulář nebo nám napište '.STORE_OWNER_EMAIL_ADDRESS.'.

    Potvrzení Vám bylo zasláno na e-mail. Pokud jej neobdržíte během jedné hodiny, kontaktujte nás.', + true); +?> diff --git a/includes/languages/czech/download.php b/includes/languages/czech/download.php new file mode 100644 index 000000000..79173b819 --- /dev/null +++ b/includes/languages/czech/download.php @@ -0,0 +1,12 @@ + diff --git a/includes/languages/czech/gdpr.php b/includes/languages/czech/gdpr.php new file mode 100644 index 000000000..0c0fe9c35 --- /dev/null +++ b/includes/languages/czech/gdpr.php @@ -0,0 +1,15 @@ + z8&5-ep_94mke1!r?fUxqEC2ui02lxd000DJun6X!y*T3{1Jz*02>`G#VLF!Pmx>Zw zp6?dRZB?)M?1sEvt3fOpgE)fWkWe_E&cxs*3n&rLtaD1L5)fboI6*Ea5L_AIfH1qw d=v!ck1>5iV^mUBykGV=s2nS4WZwCVr06U&sLOcKf literal 0 HcmV?d00001 diff --git a/includes/languages/czech/index.php b/includes/languages/czech/index.php new file mode 100644 index 000000000..d28c98969 --- /dev/null +++ b/includes/languages/czech/index.php @@ -0,0 +1,39 @@ +vyberte:'; +const TEXT_BUY = 'Koupit '; +const TEXT_NOW = 'nyní'; +const TEXT_ALL_CATEGORIES = 'všechny kategorie'; +const TEXT_ALL_MANUFACTURERS = 'všichni výrobci'; + +// seo +if (($category_depth == 'top') && (!isset($_GET['manufacturers_id']))) { + define('META_SEO_TITLE', 'Index stránka název'); + define('META_SEO_DESCRIPTION', + 'Toto je popis vašeho webu, který se má použít v popisovacím prvku META'); + /* + keywords are USELESS unless you are selling into China and want to be listed in Baidu Search Engine + */ + define('META_SEO_KEYWORDS', + 'tato, čárkami, oddělená, klíčová, slova, použitá v META keywords prvku'); +} + diff --git a/includes/languages/czech/info_shopping_cart.php b/includes/languages/czech/info_shopping_cart.php new file mode 100644 index 000000000..8634dcd69 --- /dev/null +++ b/includes/languages/czech/info_shopping_cart.php @@ -0,0 +1,27 @@ + \ No newline at end of file diff --git a/includes/languages/czech/login.php b/includes/languages/czech/login.php new file mode 100644 index 000000000..8a7f55b0e --- /dev/null +++ b/includes/languages/czech/login.php @@ -0,0 +1,14 @@ +Vaše rozpracované objednávky byly uloženy a můžete se k nim po přihlášení kdykoli vrátit.', + true); +?> diff --git a/includes/languages/czech/modules/action_recorder/ar_admin_login.php b/includes/languages/czech/modules/action_recorder/ar_admin_login.php new file mode 100644 index 000000000..8e057a11f --- /dev/null +++ b/includes/languages/czech/modules/action_recorder/ar_admin_login.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/action_recorder/ar_contact_us.php b/includes/languages/czech/modules/action_recorder/ar_contact_us.php new file mode 100644 index 000000000..4e21a55a1 --- /dev/null +++ b/includes/languages/czech/modules/action_recorder/ar_contact_us.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/action_recorder/ar_reset_password.php b/includes/languages/czech/modules/action_recorder/ar_reset_password.php new file mode 100644 index 000000000..8ffb95717 --- /dev/null +++ b/includes/languages/czech/modules/action_recorder/ar_reset_password.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/boxes/bm_best_sellers.php b/includes/languages/czech/modules/boxes/bm_best_sellers.php new file mode 100644 index 000000000..0429685b7 --- /dev/null +++ b/includes/languages/czech/modules/boxes/bm_best_sellers.php @@ -0,0 +1,16 @@ + diff --git a/includes/languages/czech/modules/boxes/bm_categories.php b/includes/languages/czech/modules/boxes/bm_categories.php new file mode 100644 index 000000000..926890728 --- /dev/null +++ b/includes/languages/czech/modules/boxes/bm_categories.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/boxes/bm_information.php b/includes/languages/czech/modules/boxes/bm_information.php new file mode 100644 index 000000000..1575c5fd8 --- /dev/null +++ b/includes/languages/czech/modules/boxes/bm_information.php @@ -0,0 +1,20 @@ + diff --git a/includes/languages/czech/modules/boxes/bm_languages.php b/includes/languages/czech/modules/boxes/bm_languages.php new file mode 100644 index 000000000..46e0f0377 --- /dev/null +++ b/includes/languages/czech/modules/boxes/bm_languages.php @@ -0,0 +1,16 @@ + diff --git a/includes/languages/czech/modules/boxes/bm_manufacturer_info.php b/includes/languages/czech/modules/boxes/bm_manufacturer_info.php new file mode 100644 index 000000000..349764173 --- /dev/null +++ b/includes/languages/czech/modules/boxes/bm_manufacturer_info.php @@ -0,0 +1,18 @@ + diff --git a/includes/languages/czech/modules/boxes/bm_manufacturers.php b/includes/languages/czech/modules/boxes/bm_manufacturers.php new file mode 100644 index 000000000..4bba429db --- /dev/null +++ b/includes/languages/czech/modules/boxes/bm_manufacturers.php @@ -0,0 +1,16 @@ + diff --git a/includes/languages/czech/modules/boxes/bm_order_history.php b/includes/languages/czech/modules/boxes/bm_order_history.php new file mode 100644 index 000000000..9cf3a777e --- /dev/null +++ b/includes/languages/czech/modules/boxes/bm_order_history.php @@ -0,0 +1,16 @@ + diff --git a/includes/languages/czech/modules/boxes/bm_product_notifications.php b/includes/languages/czech/modules/boxes/bm_product_notifications.php new file mode 100644 index 000000000..2886cc6a9 --- /dev/null +++ b/includes/languages/czech/modules/boxes/bm_product_notifications.php @@ -0,0 +1,18 @@ +%s'; +const MODULE_BOXES_PRODUCT_NOTIFICATIONS_BOX_NOTIFY_REMOVE = 'nechci oznámení o tomto zboží %s'; +?> diff --git a/includes/languages/czech/modules/boxes/bm_reviews.php b/includes/languages/czech/modules/boxes/bm_reviews.php new file mode 100644 index 000000000..ff8a8b9a6 --- /dev/null +++ b/includes/languages/czech/modules/boxes/bm_reviews.php @@ -0,0 +1,19 @@ + diff --git a/includes/languages/czech/modules/boxes/bm_shopping_cart.php b/includes/languages/czech/modules/boxes/bm_shopping_cart.php new file mode 100644 index 000000000..9a8ead836 --- /dev/null +++ b/includes/languages/czech/modules/boxes/bm_shopping_cart.php @@ -0,0 +1,17 @@ + diff --git a/includes/languages/czech/modules/boxes/bm_whats_new.php b/includes/languages/czech/modules/boxes/bm_whats_new.php new file mode 100644 index 000000000..ce01128e8 --- /dev/null +++ b/includes/languages/czech/modules/boxes/bm_whats_new.php @@ -0,0 +1,16 @@ +Co je nového?'); diff --git a/includes/languages/czech/modules/content/account/cm_account_braintree_cards.php b/includes/languages/czech/modules/content/account/cm_account_braintree_cards.php new file mode 100644 index 000000000..336350778 --- /dev/null +++ b/includes/languages/czech/modules/content/account/cm_account_braintree_cards.php @@ -0,0 +1,30 @@ +Saved payment cards are stored securely and safely in a certified and audited PCI DSS compliant environment. This high level of security provides convenience in allowing saved cards to be used for next purchases without the card information having to be re-typed again for each order made.

    New cards can be securely saved during the process of your next order.

    '; + +const MODULE_CONTENT_ACCOUNT_BRAINTREE_CARDS_SAVED_CARDS_TITLE = 'Saved Cards'; +const MODULE_CONTENT_ACCOUNT_BRAINTREE_CARDS_TEXT_NO_CARDS = '

    No cards have been saved yet.

    '; + +const MODULE_CONTENT_ACCOUNT_BRAINTREE_CARDS_SUCCESS_DELETED = 'The card has been successfully deleted.'; +?> diff --git a/includes/languages/czech/modules/content/account/cm_account_gdpr.php b/includes/languages/czech/modules/content/account/cm_account_gdpr.php new file mode 100644 index 000000000..47faa8d20 --- /dev/null +++ b/includes/languages/czech/modules/content/account/cm_account_gdpr.php @@ -0,0 +1,18 @@ +Saved payment cards are stored securely and safely in a certified and audited PCI DSS compliant environment. This high level of security provides convenience in allowing saved cards to be used for next purchases without the card information having to be re-typed again for each order made.

    New cards can be securely saved during the process of your next order.

    '; + +const MODULE_CONTENT_ACCOUNT_SAGE_PAY_CARDS_SAVED_CARDS_TITLE = 'Saved Cards'; +const MODULE_CONTENT_ACCOUNT_SAGE_PAY_CARDS_TEXT_NO_CARDS = '

    No cards have been saved yet.

    '; + +const MODULE_CONTENT_ACCOUNT_SAGE_PAY_CARDS_SUCCESS_DELETED = 'The card has been successfully deleted.'; +?> diff --git a/includes/languages/czech/modules/content/account/cm_account_set_password.php b/includes/languages/czech/modules/content/account/cm_account_set_password.php new file mode 100644 index 000000000..b0ecb4045 --- /dev/null +++ b/includes/languages/czech/modules/content/account/cm_account_set_password.php @@ -0,0 +1,26 @@ + diff --git a/includes/languages/czech/modules/content/account/cm_account_title.php b/includes/languages/czech/modules/content/account/cm_account_title.php new file mode 100644 index 000000000..033d125f5 --- /dev/null +++ b/includes/languages/czech/modules/content/account/cm_account_title.php @@ -0,0 +1,21 @@ + diff --git a/includes/languages/czech/modules/content/checkout_success/cm_cs_product_notifications.php b/includes/languages/czech/modules/content/checkout_success/cm_cs_product_notifications.php new file mode 100644 index 000000000..10ddcf85d --- /dev/null +++ b/includes/languages/czech/modules/content/checkout_success/cm_cs_product_notifications.php @@ -0,0 +1,17 @@ +Prosím upozrňovat na aktualizace vybraných produktů:'; +?> diff --git a/includes/languages/czech/modules/content/checkout_success/cm_cs_redirect_old_order.php b/includes/languages/czech/modules/content/checkout_success/cm_cs_redirect_old_order.php new file mode 100644 index 000000000..9fcb8e65c --- /dev/null +++ b/includes/languages/czech/modules/content/checkout_success/cm_cs_redirect_old_order.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/content/checkout_success/cm_cs_thank_you.php b/includes/languages/czech/modules/content/checkout_success/cm_cs_thank_you.php new file mode 100644 index 000000000..b62155f81 --- /dev/null +++ b/includes/languages/czech/modules/content/checkout_success/cm_cs_thank_you.php @@ -0,0 +1,24 @@ +Your order has been sent to the Store Owner for picking and packing. You will receive an email notification when your parcel is in the post.

    '); + + define('MODULE_CONTENT_CHECKOUT_SUCCESS_TEXT_SEE_ORDERS', 'View the status of this Order by accessing your personal order history.'); + + define('MODULE_CONTENT_CHECKOUT_SUCCESS_TEXT_CONTACT_STORE_OWNER', 'Contact us at any time if you have questions about your Order.'); + + diff --git a/includes/languages/czech/modules/content/checkout_success/cm_cs_title.php b/includes/languages/czech/modules/content/checkout_success/cm_cs_title.php new file mode 100644 index 000000000..b36a7ef83 --- /dev/null +++ b/includes/languages/czech/modules/content/checkout_success/cm_cs_title.php @@ -0,0 +1,22 @@ +Congratulations! Your profile has been successfully created!

    +

    You can now take advantage of member privileges to enhance your online shopping experience with us. If you have any questions about the operation of this online shop, please contact us or view your profile.

    +

    A confirmation has been sent to your email address.

    +EOT; diff --git a/includes/languages/czech/modules/content/create_account_success/cm_cas_title.php b/includes/languages/czech/modules/content/create_account_success/cm_cas_title.php new file mode 100644 index 000000000..42cc869ad --- /dev/null +++ b/includes/languages/czech/modules/content/create_account_success/cm_cas_title.php @@ -0,0 +1,18 @@ +'); + define('MODULE_CONTENT_FOOTER_ARTICLES_MANAGER_MORE', ''); + diff --git a/includes/languages/czech/modules/content/footer/cm_footer_contact_us.php b/includes/languages/czech/modules/content/footer/cm_footer_contact_us.php new file mode 100644 index 000000000..7613be4bc --- /dev/null +++ b/includes/languages/czech/modules/content/footer/cm_footer_contact_us.php @@ -0,0 +1,20 @@ +'; +const MODULE_CONTENT_FOOTER_CONTACT_US_EMAIL= ''; diff --git a/includes/languages/czech/modules/content/footer/cm_footer_information_links.php b/includes/languages/czech/modules/content/footer/cm_footer_information_links.php new file mode 100644 index 000000000..529db8b47 --- /dev/null +++ b/includes/languages/czech/modules/content/footer/cm_footer_information_links.php @@ -0,0 +1,29 @@ + 'Soukromí', + 'conditions.php' => 'Obchodní podmínky', + 'shipping.php' => 'Doprava', + 'contact_us.php' => 'Napište nám' + ); + diff --git a/includes/languages/czech/modules/content/footer/cm_footer_information_pages.php b/includes/languages/czech/modules/content/footer/cm_footer_information_pages.php new file mode 100644 index 000000000..a8bbd98a9 --- /dev/null +++ b/includes/languages/czech/modules/content/footer/cm_footer_information_pages.php @@ -0,0 +1,24 @@ +'); + define('MODULE_CONTENT_FOOTER_INFORMATION_PAGES_MORE', ''); + diff --git a/includes/languages/czech/modules/content/footer/cm_footer_text.php b/includes/languages/czech/modules/content/footer/cm_footer_text.php new file mode 100644 index 000000000..791b35485 --- /dev/null +++ b/includes/languages/czech/modules/content/footer/cm_footer_text.php @@ -0,0 +1,22 @@ +PureHTML'; +const MODULE_CONTENT_FOOTER_TEXT_TITLE = 'Text Block'; +const MODULE_CONTENT_FOOTER_TEXT_DESCRIPTION = 'Adds a Text Block to the Footer Area of your site'; + +const MODULE_CONTENT_FOOTER_TEXT_HEADING_TITLE = 'O nás'; + + +const MODULE_CONTENT_FOOTER_TEXT_TEXT = '

    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.

    '; + diff --git a/includes/languages/czech/modules/content/footer_suffix/cm_footer_extra_copyright.php b/includes/languages/czech/modules/content/footer_suffix/cm_footer_extra_copyright.php new file mode 100644 index 000000000..96cf18064 --- /dev/null +++ b/includes/languages/czech/modules/content/footer_suffix/cm_footer_extra_copyright.php @@ -0,0 +1,21 @@ +Copyright © ' . date('Y') . ' ' . STORE_NAME . ' · Powered by OSCOM CE Phoenix

    '); + diff --git a/includes/languages/czech/modules/content/footer_suffix/cm_footer_extra_icons.php b/includes/languages/czech/modules/content/footer_suffix/cm_footer_extra_icons.php new file mode 100644 index 000000000..5767fb5ad --- /dev/null +++ b/includes/languages/czech/modules/content/footer_suffix/cm_footer_extra_icons.php @@ -0,0 +1,17 @@ +Available Brand Icons are shown here: https://fontawesome.com/icons?d=gallery&s=brands&c=payments-shopping'); + + define('MODULE_CONTENT_FOOTER_EXTRA_ICONS_TEXT', ''); + diff --git a/includes/languages/czech/modules/content/gdpr/cm_gdpr_contact_addresses.php b/includes/languages/czech/modules/content/gdpr/cm_gdpr_contact_addresses.php new file mode 100644 index 000000000..f8300d988 --- /dev/null +++ b/includes/languages/czech/modules/content/gdpr/cm_gdpr_contact_addresses.php @@ -0,0 +1,19 @@ +%s
    more Address(es)'; + \ No newline at end of file diff --git a/includes/languages/czech/modules/content/gdpr/cm_gdpr_contact_details.php b/includes/languages/czech/modules/content/gdpr/cm_gdpr_contact_details.php new file mode 100644 index 000000000..3d9a6e130 --- /dev/null +++ b/includes/languages/czech/modules/content/gdpr/cm_gdpr_contact_details.php @@ -0,0 +1,24 @@ +The General Data Protection Regulation (GDPR) (Regulation (EU) 2016/679) is a regulation by which the European Parliament, the Council of the European Union and the European Commission intend to strengthen and unify data protection for all individuals within the European Union (EU).

    The GDPR states that you are able to review your personal information that we hold. If you are a EU Citizen, you can request deletion of some of this data.

    '; + \ No newline at end of file diff --git a/includes/languages/czech/modules/content/gdpr/cm_gdpr_personal_details.php b/includes/languages/czech/modules/content/gdpr/cm_gdpr_personal_details.php new file mode 100644 index 000000000..9da0adb7e --- /dev/null +++ b/includes/languages/czech/modules/content/gdpr/cm_gdpr_personal_details.php @@ -0,0 +1,28 @@ + Domů' => null, + 'Catalog' => 'index.php', + ]; diff --git a/includes/languages/czech/modules/content/header/cm_header_buttons.php b/includes/languages/czech/modules/content/header/cm_header_buttons.php new file mode 100644 index 000000000..70867f9fd --- /dev/null +++ b/includes/languages/czech/modules/content/header/cm_header_buttons.php @@ -0,0 +1,15 @@ +Welcome back %s! Would you like to see which new products are available to purchase?'; + const MODULE_CONTENT_CUSTOMER_GREETING_GUEST = '

    Welcome Guest!

    Would you like to log yourself in or would you prefer to create a profile for easy checkout'; diff --git a/includes/languages/czech/modules/content/index/cm_i_text_main.php b/includes/languages/czech/modules/content/index/cm_i_text_main.php new file mode 100644 index 000000000..0e94028ae --- /dev/null +++ b/includes/languages/czech/modules/content/index/cm_i_text_main.php @@ -0,0 +1,20 @@ + diff --git a/includes/languages/czech/modules/content/login/cm_login_title.php b/includes/languages/czech/modules/content/login/cm_login_title.php new file mode 100644 index 000000000..b417f90d0 --- /dev/null +++ b/includes/languages/czech/modules/content/login/cm_login_title.php @@ -0,0 +1,21 @@ +
     View Online Documentation

     Visit PayPal Website'; + +const MODULE_CONTENT_PAYPAL_LOGIN_TEMPLATE_TITLE = 'Log In with PayPal'; +const MODULE_CONTENT_PAYPAL_LOGIN_TEMPLATE_CONTENT = 'Have a PayPal account? Securely log in with PayPal to shop even faster!'; +const MODULE_CONTENT_PAYPAL_LOGIN_TEMPLATE_SANDBOX = 'Test Mode: The Sandbox server is currently selected.'; + +const MODULE_CONTENT_PAYPAL_LOGIN_ERROR_ADMIN_CURL = 'This module requires cURL to be enabled in PHP and will not load until it has been enabled on this webserver.'; +const MODULE_CONTENT_PAYPAL_LOGIN_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the Client ID and Secret parameters have been configured. Please edit and configure the settings of this module.'; + +const MODULE_CONTENT_PAYPAL_LOGIN_LANGUAGE_LOCALE = 'en-us'; + +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_GROUP_personal = 'Personal Information'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_GROUP_address = 'Address Information'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_GROUP_account = 'Account Information'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_GROUP_checkout = 'Checkout Express'; + +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_full_name = 'Full Name'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_date_of_birth = 'Date of Birth'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_age_range = 'Age Range'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_gender = 'Gender'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_email_address = 'Email Address'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_street_address = 'Street Address'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_city = 'City'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_state = 'State'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_country = 'Country'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_zip_code = 'Zip Code'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_phone = 'Phone'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_account_status = 'Account Status (verified)'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_account_type = 'Account Type'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_account_creation_date = 'Account Creation Date'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_time_zone = 'Time Zone'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_locale = 'Locale'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_language = 'Language'; +const MODULE_CONTENT_PAYPAL_LOGIN_ATTR_seamless_checkout = 'Seamless Checkout'; + +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_CONNECTION_LINK_TITLE = 'Test API Server Connection'; +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_CONNECTION_TITLE = 'API Server Connection Test'; +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_CONNECTION_GENERAL_TEXT = 'Testing connection to server..'; +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_CONNECTION_BUTTON_CLOSE = 'Close'; +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_CONNECTION_TIME = 'Connection Time:'; +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_CONNECTION_SUCCESS = 'Success!'; +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_CONNECTION_FAILED = 'Failed! Please review the Verify SSL Certificate settings and try again.'; +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_CONNECTION_ERROR = 'An error occurred. Please refresh the page, review your settings, and try again.'; + +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_URLS_LINK_TITLE = 'Show PayPal Application URLs'; +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_URLS_TITLE = 'PayPal Application URLs'; +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_URLS_RETURN_TEXT = 'Redirect/Return URL:'; +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_URLS_PRIVACY_TEXT = 'Privacy Policy URL:'; +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_URLS_TERMS_TEXT = 'User Agreement URL:'; +const MODULE_CONTENT_PAYPAL_LOGIN_DIALOG_URLS_BUTTON_CLOSE = 'Close'; +?> diff --git a/includes/languages/czech/modules/content/navigation/cm_navbar.php b/includes/languages/czech/modules/content/navigation/cm_navbar.php new file mode 100644 index 000000000..41c222938 --- /dev/null +++ b/includes/languages/czech/modules/content/navigation/cm_navbar.php @@ -0,0 +1,40 @@ + %s kusů '; +const HEADER_CART_NO_CONTENTS = ' 0 kusů'; +const HEADER_ACCOUNT_LOGGED_OUT = ' '; +const HEADER_ACCOUNT_LOGGED_IN = ' %s '; +const HEADER_SITE_SETTINGS = ' '; +const HEADER_TOGGLE_NAV = 'Přepnout'; +const HEADER_HOME = ''; +const HEADER_WHATS_NEW = ''; +const HEADER_SPECIALS = ''; +const HEADER_REVIEWS = ''; + // header dropdowns +const HEADER_ACCOUNT_LOGIN = ' Přichlásit'; +const HEADER_ACCOUNT_LOGOFF = ' Odhlásit'; +const HEADER_ACCOUNT = 'Můj účet'; +const HEADER_ACCOUNT_HISTORY = 'Moje objednávky'; +const HEADER_ACCOUNT_EDIT = 'Podrobnosti'; +const HEADER_ACCOUNT_ADDRESS_BOOK = 'Moje adresy'; +const HEADER_ACCOUNT_PASSWORD = 'Moje heslo'; +const HEADER_ACCOUNT_REGISTER = ' Registrace'; +const HEADER_CART_HAS_CONTENTS = '%s kusů, %s'; +const HEADER_CART_VIEW_CART = 'Zobrazit košík'; +const HEADER_CART_CHECKOUT = ' Pokladna'; +const USER_LOCALIZATION = 'L: %s C: %s'; + diff --git a/includes/languages/czech/modules/content/product_info/cm_pi_also_purchased.php b/includes/languages/czech/modules/content/product_info/cm_pi_also_purchased.php new file mode 100644 index 000000000..d2bd618b9 --- /dev/null +++ b/includes/languages/czech/modules/content/product_info/cm_pi_also_purchased.php @@ -0,0 +1,21 @@ +%s'; diff --git a/includes/languages/czech/modules/content/product_info/cm_pi_description.php b/includes/languages/czech/modules/content/product_info/cm_pi_description.php new file mode 100644 index 000000000..e2d60c205 --- /dev/null +++ b/includes/languages/czech/modules/content/product_info/cm_pi_description.php @@ -0,0 +1,19 @@ +%s'; diff --git a/includes/languages/czech/modules/content/product_info/cm_pi_model.php b/includes/languages/czech/modules/content/product_info/cm_pi_model.php new file mode 100644 index 000000000..293690645 --- /dev/null +++ b/includes/languages/czech/modules/content/product_info/cm_pi_model.php @@ -0,0 +1,20 @@ +%s'; diff --git a/includes/languages/czech/modules/content/product_info/cm_pi_modular.php b/includes/languages/czech/modules/content/product_info/cm_pi_modular.php new file mode 100644 index 000000000..4b1fb3980 --- /dev/null +++ b/includes/languages/czech/modules/content/product_info/cm_pi_modular.php @@ -0,0 +1,15 @@ +This module requires the use of π child modules. Any slots that have no child modules...will not display!'; + \ No newline at end of file diff --git a/includes/languages/czech/modules/content/product_info/cm_pi_name.php b/includes/languages/czech/modules/content/product_info/cm_pi_name.php new file mode 100644 index 000000000..256353104 --- /dev/null +++ b/includes/languages/czech/modules/content/product_info/cm_pi_name.php @@ -0,0 +1,21 @@ +%2$s %1$s'; + const MODULE_CONTENT_PI_PRICE_DISPLAY = '%s'; + diff --git a/includes/languages/czech/modules/content/product_info/cm_pi_review_stars.php b/includes/languages/czech/modules/content/product_info/cm_pi_review_stars.php new file mode 100644 index 000000000..ecbfaa57f --- /dev/null +++ b/includes/languages/czech/modules/content/product_info/cm_pi_review_stars.php @@ -0,0 +1,26 @@ +%s'; + diff --git a/includes/languages/czech/modules/content/product_info_not_found/cm_pinf_message.php b/includes/languages/czech/modules/content/product_info_not_found/cm_pinf_message.php new file mode 100644 index 000000000..a964f2667 --- /dev/null +++ b/includes/languages/czech/modules/content/product_info_not_found/cm_pinf_message.php @@ -0,0 +1,21 @@ +%s, please let us know your thoughts and rating on %s - thank you!

    After you press the "Send" button, it will go to the store owner and should appear on site shortly.

    '); + +define('TEXT_NOT_PURCHASED', '%s there appears to be a conflict! You have not purchased this product!'); +define('TEXT_ALREADY_REVIEWED', '%s there appears to be a conflict! You have already reviewed this product!'); diff --git a/includes/languages/czech/modules/content/shopping_cart/cm_sc_checkout.php b/includes/languages/czech/modules/content/shopping_cart/cm_sc_checkout.php new file mode 100644 index 000000000..62412490a --- /dev/null +++ b/includes/languages/czech/modules/content/shopping_cart/cm_sc_checkout.php @@ -0,0 +1,28 @@ +%s'); diff --git a/includes/languages/czech/modules/content/shopping_cart/cm_sc_product_listing.php b/includes/languages/czech/modules/content/shopping_cart/cm_sc_product_listing.php new file mode 100644 index 000000000..2dd3d455d --- /dev/null +++ b/includes/languages/czech/modules/content/shopping_cart/cm_sc_product_listing.php @@ -0,0 +1,34 @@ +'); + define('MODULE_CONTENT_SC_PRODUCT_LISTING_TEXT_BUTTON_REMOVE', ''); + define('MODULE_CONTENT_SC_PRODUCT_LISTING_TEXT_IN_STOCK', ''); diff --git a/includes/languages/czech/modules/content/shopping_cart/cm_sc_stock_notice.php b/includes/languages/czech/modules/content/shopping_cart/cm_sc_stock_notice.php new file mode 100644 index 000000000..711db90ec --- /dev/null +++ b/includes/languages/czech/modules/content/shopping_cart/cm_sc_stock_notice.php @@ -0,0 +1,28 @@ +Products marked ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' don\'t exist in desired quantity in our stock.

    Please alter the quantity of products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ', thank you.

    '); + define('MODULE_CONTENT_SC_STOCK_NOTICE_CAN_CHECKOUT', '

    Products marked ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' don\'t exist in desired quantity in our stock.

    You can buy them anyway and check the quantity we have in stock for immediate delivery in the checkout process.

    '); diff --git a/includes/languages/czech/modules/content/shopping_cart/cm_sc_title.php b/includes/languages/czech/modules/content/shopping_cart/cm_sc_title.php new file mode 100644 index 000000000..5c2cc3f42 --- /dev/null +++ b/includes/languages/czech/modules/content/shopping_cart/cm_sc_title.php @@ -0,0 +1,27 @@ +%s to %s (of %s Testimonials)'); diff --git a/includes/languages/czech/modules/content/testimonials/cm_t_title.php b/includes/languages/czech/modules/content/testimonials/cm_t_title.php new file mode 100644 index 000000000..929cb4073 --- /dev/null +++ b/includes/languages/czech/modules/content/testimonials/cm_t_title.php @@ -0,0 +1,22 @@ + diff --git a/includes/languages/czech/modules/header_tags/ht_category_title.php b/includes/languages/czech/modules/header_tags/ht_category_title.php new file mode 100644 index 000000000..73adcfe7c --- /dev/null +++ b/includes/languages/czech/modules/header_tags/ht_category_title.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/header_tags/ht_datepicker_jquery.php b/includes/languages/czech/modules/header_tags/ht_datepicker_jquery.php new file mode 100644 index 000000000..4fafdc9cf --- /dev/null +++ b/includes/languages/czech/modules/header_tags/ht_datepicker_jquery.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/header_tags/ht_google_adwords_conversion.php b/includes/languages/czech/modules/header_tags/ht_google_adwords_conversion.php new file mode 100644 index 000000000..2f60e5604 --- /dev/null +++ b/includes/languages/czech/modules/header_tags/ht_google_adwords_conversion.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/header_tags/ht_google_analytics.php b/includes/languages/czech/modules/header_tags/ht_google_analytics.php new file mode 100644 index 000000000..45f5c8bee --- /dev/null +++ b/includes/languages/czech/modules/header_tags/ht_google_analytics.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/header_tags/ht_mailchimp_360.php b/includes/languages/czech/modules/header_tags/ht_mailchimp_360.php new file mode 100644 index 000000000..7436c7a50 --- /dev/null +++ b/includes/languages/czech/modules/header_tags/ht_mailchimp_360.php @@ -0,0 +1,15 @@ + Visit MailChimp Website (info)

    The MailChimp E-Commerce 360 module measures the ROI of your MailChimp e-mail campaigns'; +?> diff --git a/includes/languages/czech/modules/header_tags/ht_manufacturer_title.php b/includes/languages/czech/modules/header_tags/ht_manufacturer_title.php new file mode 100644 index 000000000..7ce752a3c --- /dev/null +++ b/includes/languages/czech/modules/header_tags/ht_manufacturer_title.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/header_tags/ht_opensearch.php b/includes/languages/czech/modules/header_tags/ht_opensearch.php new file mode 100644 index 000000000..b50635913 --- /dev/null +++ b/includes/languages/czech/modules/header_tags/ht_opensearch.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/header_tags/ht_pages_seo.php b/includes/languages/czech/modules/header_tags/ht_pages_seo.php new file mode 100644 index 000000000..75b54c7e0 --- /dev/null +++ b/includes/languages/czech/modules/header_tags/ht_pages_seo.php @@ -0,0 +1,18 @@ + diff --git a/includes/languages/czech/modules/header_tags/ht_robot_noindex.php b/includes/languages/czech/modules/header_tags/ht_robot_noindex.php new file mode 100644 index 000000000..59aaae733 --- /dev/null +++ b/includes/languages/czech/modules/header_tags/ht_robot_noindex.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/header_tags/ht_table_click_jquery.php b/includes/languages/czech/modules/header_tags/ht_table_click_jquery.php new file mode 100644 index 000000000..664866f2a --- /dev/null +++ b/includes/languages/czech/modules/header_tags/ht_table_click_jquery.php @@ -0,0 +1,15 @@ + diff --git a/includes/languages/czech/modules/header_tags/ht_twitter_product_card.php b/includes/languages/czech/modules/header_tags/ht_twitter_product_card.php new file mode 100644 index 000000000..3aac5c79f --- /dev/null +++ b/includes/languages/czech/modules/header_tags/ht_twitter_product_card.php @@ -0,0 +1,21 @@ + My Profile '); + define('MODULE_NAVBAR_ACCOUNT_LOGGED_IN', ' %s '); + define('MODULE_NAVBAR_ACCOUNT_LOGIN', ' Log In'); + define('MODULE_NAVBAR_ACCOUNT_LOGOFF', ' Log Off'); + define('MODULE_NAVBAR_ACCOUNT', 'My Profile'); + define('MODULE_NAVBAR_ACCOUNT_HISTORY', 'My Orders'); + define('MODULE_NAVBAR_ACCOUNT_EDIT', 'My Details'); + define('MODULE_NAVBAR_ACCOUNT_ADDRESS_BOOK', 'My Address Book'); + define('MODULE_NAVBAR_ACCOUNT_PASSWORD', 'My Password'); + define('MODULE_NAVBAR_ACCOUNT_REGISTER', ' Register'); + \ No newline at end of file diff --git a/includes/languages/czech/modules/navbar/nb_brand.php b/includes/languages/czech/modules/navbar/nb_brand.php new file mode 100644 index 000000000..8ae992bbe --- /dev/null +++ b/includes/languages/czech/modules/navbar/nb_brand.php @@ -0,0 +1,20 @@ +This can be a simple link or something more complicated such as an image.
    +
    +For more details about using an image, see navbar/#brand +EOT; + + define('MODULE_NAVBAR_BRAND_PUBLIC_TEXT', STORE_NAME); diff --git a/includes/languages/czech/modules/navbar/nb_currencies.php b/includes/languages/czech/modules/navbar/nb_currencies.php new file mode 100644 index 000000000..93ac44791 --- /dev/null +++ b/includes/languages/czech/modules/navbar/nb_currencies.php @@ -0,0 +1,16 @@ +If you have just one Currency in your shop, there is no point installing this module.'); + + define('MODULE_NAVBAR_CURRENCIES_SELECTED_CURRENCY', ' %1$s '); diff --git a/includes/languages/czech/modules/navbar/nb_hamburger_button.php b/includes/languages/czech/modules/navbar/nb_hamburger_button.php new file mode 100644 index 000000000..74759fe6e --- /dev/null +++ b/includes/languages/czech/modules/navbar/nb_hamburger_button.php @@ -0,0 +1,18 @@ +This is a special button that shows when the viewport is small.

    It opens and closes the Main Navbar Menu. You MUST install this.'); + + define('MODULE_NAVBAR_HAMBURGER_BUTTON_PUBLIC_SCREENREADER_TEXT', 'Toggle Navigation'); + define('MODULE_NAVBAR_HAMBURGER_BUTTON_PUBLIC_BUTTON_TEXT', ''); + \ No newline at end of file diff --git a/includes/languages/czech/modules/navbar/nb_home.php b/includes/languages/czech/modules/navbar/nb_home.php new file mode 100644 index 000000000..8bbc791d7 --- /dev/null +++ b/includes/languages/czech/modules/navbar/nb_home.php @@ -0,0 +1,17 @@ +If you wish to have a Home button permanently displayed (even when the rest of the Menu is collapsed, eg in XS viewport) you could use the Brand module instead.'); + + define('MODULE_NAVBAR_HOME_PUBLIC_TEXT', ' Home'); + \ No newline at end of file diff --git a/includes/languages/czech/modules/navbar/nb_languages.php b/includes/languages/czech/modules/navbar/nb_languages.php new file mode 100644 index 000000000..76f9b9948 --- /dev/null +++ b/includes/languages/czech/modules/navbar/nb_languages.php @@ -0,0 +1,16 @@ +If you have just one Language in your shop, there is no point installing this module.'); + + define('MODULE_NAVBAR_LANGUAGES_SELECTED_LANGUAGE', ' English '); diff --git a/includes/languages/czech/modules/navbar/nb_new_products.php b/includes/languages/czech/modules/navbar/nb_new_products.php new file mode 100644 index 000000000..258bdeb21 --- /dev/null +++ b/includes/languages/czech/modules/navbar/nb_new_products.php @@ -0,0 +1,17 @@ + New Products'); + \ No newline at end of file diff --git a/includes/languages/czech/modules/navbar/nb_shopping_cart.php b/includes/languages/czech/modules/navbar/nb_shopping_cart.php new file mode 100644 index 000000000..cf5f11180 --- /dev/null +++ b/includes/languages/czech/modules/navbar/nb_shopping_cart.php @@ -0,0 +1,22 @@ + %1$s item(s) '; + const MODULE_NAVBAR_SHOPPING_CART_NO_CONTENTS = ' 0 items'; + const MODULE_NAVBAR_SHOPPING_CART_HAS_CONTENTS = '%s item(s), %s'; + const MODULE_NAVBAR_SHOPPING_CART_VIEW_CART = 'View Cart'; + const MODULE_NAVBAR_SHOPPING_CART_CHECKOUT = ' Checkout'; + + const MODULE_NAVBAR_SHOPPING_CART_PRODUCT = '%s x %s'; diff --git a/includes/languages/czech/modules/navbar/nb_special_offers.php b/includes/languages/czech/modules/navbar/nb_special_offers.php new file mode 100644 index 000000000..b7392f492 --- /dev/null +++ b/includes/languages/czech/modules/navbar/nb_special_offers.php @@ -0,0 +1,17 @@ + Special Offers'); + \ No newline at end of file diff --git a/includes/languages/czech/modules/navbar/nb_testimonials.php b/includes/languages/czech/modules/navbar/nb_testimonials.php new file mode 100644 index 000000000..73a9a9d17 --- /dev/null +++ b/includes/languages/czech/modules/navbar/nb_testimonials.php @@ -0,0 +1,17 @@ + Testimonials'); + \ No newline at end of file diff --git a/includes/languages/czech/modules/order_total/ot_loworderfee.php b/includes/languages/czech/modules/order_total/ot_loworderfee.php new file mode 100644 index 000000000..d1d023e5d --- /dev/null +++ b/includes/languages/czech/modules/order_total/ot_loworderfee.php @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/includes/languages/czech/modules/order_total/ot_shipping.php b/includes/languages/czech/modules/order_total/ot_shipping.php new file mode 100644 index 000000000..ca36fecd4 --- /dev/null +++ b/includes/languages/czech/modules/order_total/ot_shipping.php @@ -0,0 +1,17 @@ + View Online Documentation

     Visit Braintree Payments Website'; + +const MODULE_PAYMENT_BRAINTREE_CC_ERROR_ADMIN_PHP = 'The minimum PHP version this module supports is %s and will not load until the webserver has been installed with a newer version.'; +const MODULE_PAYMENT_BRAINTREE_CC_ERROR_ADMIN_PHP_EXTENSIONS = 'This module requires the following PHP extensions and will and will not load until PHP has been updated:

    %s'; +const MODULE_PAYMENT_BRAINTREE_CC_ERROR_ADMIN_MERCHANT_ACCOUNTS = 'This module will not load until a merchant account has been defined for the %s currency.'; +const MODULE_PAYMENT_BRAINTREE_CC_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the Merchant ID, Public Key, Private Key, and Client Side Encryption Key parameters have been configured. Please edit and configure the settings of this module.'; + +const MODULE_PAYMENT_BRAINTREE_CC_CREDITCARD_NEW = 'Enter a new Card'; +const MODULE_PAYMENT_BRAINTREE_CC_CREDITCARD_LAST_4 = 'Last 4 Digits:'; +const MODULE_PAYMENT_BRAINTREE_CC_CREDITCARD_OWNER = 'Name on Card:'; +const MODULE_PAYMENT_BRAINTREE_CC_CREDITCARD_NUMBER = 'Card Number:'; +const MODULE_PAYMENT_BRAINTREE_CC_CREDITCARD_EXPIRY = 'Expiry Date:'; +const MODULE_PAYMENT_BRAINTREE_CC_CREDITCARD_CVV = 'Security Code:'; +const MODULE_PAYMENT_BRAINTREE_CC_CREDITCARD_SAVE = 'Save Card for next purchase?'; + +const MODULE_PAYMENT_BRAINTREE_CC_CURRENCY_CHARGE = 'The currency currently used to display prices is in %3$s. Your credit card will be charged a total of %1$s %2$s for this order.'; + +const MODULE_PAYMENT_BRAINTREE_CC_ERROR_TITLE = 'There has been an error processing your credit card'; +const MODULE_PAYMENT_BRAINTREE_CC_ERROR_GENERAL = 'Please try again and if problems persist, please try another payment method.'; +const MODULE_PAYMENT_BRAINTREE_CC_ERROR_CARDOWNER = 'The card owners name must be provided to complete the order. Please try again and if problems persist, please try another payment method.'; +const MODULE_PAYMENT_BRAINTREE_CC_ERROR_CARDNUMBER = 'The card number was not able to be processed. Please try again and if problems persist, please try another payment method.'; +const MODULE_PAYMENT_BRAINTREE_CC_ERROR_CARDEXPIRES = 'The card expiry date was not able to be processed. Please try again and if problems persist, please try another payment method.'; +const MODULE_PAYMENT_BRAINTREE_CC_ERROR_CARDCVV = 'The card security code was not able to be processed. Please try again and if problems persist, please try another payment method.'; +?> diff --git a/includes/languages/czech/modules/payment/cod.php b/includes/languages/czech/modules/payment/cod.php new file mode 100644 index 000000000..dcd7a04be --- /dev/null +++ b/includes/languages/czech/modules/payment/cod.php @@ -0,0 +1,27 @@ + View Online Documentation

     Visit CSOB Payments Website'; + +const MODULE_PAYMENT_CSOB_ERROR_ADMIN_PHP = 'The minimum PHP version this module supports is %s and will not load until the webserver has been installed with a newer version.'; +const MODULE_PAYMENT_CSOB_ERROR_ADMIN_PHP_EXTENSIONS = 'This module requires the following PHP extensions and will and will not load until PHP has been updated:

    %s'; +const MODULE_PAYMENT_CSOB_ERROR_ADMIN_MERCHANT_ACCOUNTS = 'This module will not load until a merchant account has been defined for the %s currency.'; +const MODULE_PAYMENT_CSOB_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the Merchant ID, Public Key, Private Key, and Client Side Encryption Key parameters have been configured. Please edit and configure the settings of this module.'; diff --git a/includes/languages/czech/modules/payment/gpwebpay.php b/includes/languages/czech/modules/payment/gpwebpay.php new file mode 100644 index 000000000..8fb993fa8 --- /dev/null +++ b/includes/languages/czech/modules/payment/gpwebpay.php @@ -0,0 +1,19 @@ + diff --git a/includes/languages/czech/modules/payment/moneyorder.php b/includes/languages/czech/modules/payment/moneyorder.php new file mode 100644 index 000000000..4b32d5a76 --- /dev/null +++ b/includes/languages/czech/modules/payment/moneyorder.php @@ -0,0 +1,16 @@ +
    ' . 'Vaše objednávka bude expedována po připsání platby na náš účet.'); + define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Číslo účtu: ". MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nVe prospěch:\n" . STORE_NAME . "\n" . STORE_ADDRESS . "\n\n" . 'Vaše objednávka bude expedována po připsání platby na náš účet.'); +?> diff --git a/includes/languages/czech/modules/payment/nochex.php b/includes/languages/czech/modules/payment/nochex.php new file mode 100644 index 000000000..6b6088e7e --- /dev/null +++ b/includes/languages/czech/modules/payment/nochex.php @@ -0,0 +1,15 @@ +Requires the GBP currency.'; +?> diff --git a/includes/languages/czech/modules/payment/paypal_express.php b/includes/languages/czech/modules/payment/paypal_express.php new file mode 100644 index 000000000..26ed168b0 --- /dev/null +++ b/includes/languages/czech/modules/payment/paypal_express.php @@ -0,0 +1,39 @@ + View Online Documentation

     Visit PayPal Website'; + +const MODULE_PAYMENT_PAYPAL_EXPRESS_ERROR_ADMIN_CURL = 'This module requires cURL to be enabled in PHP and will not load until it has been enabled on this webserver.'; +const MODULE_PAYMENT_PAYPAL_EXPRESS_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the Seller Account or API Credential parameters have been configured. Please edit and configure the settings of this module.'; + +const MODULE_PAYMENT_PAYPAL_EXPRESS_TEXT_BUTTON = 'Check Out with PayPal'; +const MODULE_PAYMENT_PAYPAL_EXPRESS_TEXT_COMMENTS = 'Comments:'; + define('MODULE_PAYMENT_PAYPAL_EXPRESS_EMAIL_PASSWORD', 'An account has automatically been created for you with the following e-mail address and password:' . "\n\n" . 'Store Account E-Mail Address: %s' . "\n" . 'Store Account Password: %s' . "\n\n"); + +const MODULE_PAYMENT_PAYPAL_EXPRESS_BUTTON = 'https://www.paypalobjects.com/webstatic/en_US/btn/btn_checkout_pp_142x27.png'; +const MODULE_PAYMENT_PAYPAL_EXPRESS_LANGUAGE_LOCALE = 'en_US'; + +const MODULE_PAYMENT_PAYPAL_EXPRESS_DIALOG_CONNECTION_LINK_TITLE = 'Test API Server Connection'; +const MODULE_PAYMENT_PAYPAL_EXPRESS_DIALOG_CONNECTION_TITLE = 'API Server Connection Test'; +const MODULE_PAYMENT_PAYPAL_EXPRESS_DIALOG_CONNECTION_GENERAL_TEXT = 'Testing connection to server..'; +const MODULE_PAYMENT_PAYPAL_EXPRESS_DIALOG_CONNECTION_BUTTON_CLOSE = 'Close'; +const MODULE_PAYMENT_PAYPAL_EXPRESS_DIALOG_CONNECTION_TIME = 'Connection Time:'; +const MODULE_PAYMENT_PAYPAL_EXPRESS_DIALOG_CONNECTION_SUCCESS = 'Success!'; +const MODULE_PAYMENT_PAYPAL_EXPRESS_DIALOG_CONNECTION_FAILED = 'Failed! Please review the Verify SSL Certificate settings and try again.'; +const MODULE_PAYMENT_PAYPAL_EXPRESS_DIALOG_CONNECTION_ERROR = 'An error occurred. Please refresh the page, review your settings, and try again.'; + +const MODULE_PAYMENT_PAYPAL_EXPRESS_ERROR_NO_SHIPPING_AVAILABLE_TO_SHIPPING_ADDRESS = 'Shipping is currently not available for the selected shipping address. Please select or create a new shipping address to use with your purchase.'; +const MODULE_PAYMENT_PAYPAL_EXPRESS_WARNING_LOCAL_LOGIN_REQUIRED = 'Please log into your account to verify the order.'; +const MODULE_PAYMENT_PAYPAL_EXPRESS_NOTICE_CHECKOUT_CONFIRMATION = 'Please review and confirm your order below. Your order will not be processed until it has been confirmed.'; +?> diff --git a/includes/languages/czech/modules/payment/paypal_pro_dp.php b/includes/languages/czech/modules/payment/paypal_pro_dp.php new file mode 100644 index 000000000..788880f73 --- /dev/null +++ b/includes/languages/czech/modules/payment/paypal_pro_dp.php @@ -0,0 +1,40 @@ + View Online Documentation

     Visit PayPal Website'; + +const MODULE_PAYMENT_PAYPAL_PRO_DP_ERROR_EXPRESS_MODULE = 'PayPal mandates the PayPal Express Checkout payment module be enabled if this module is to be activated. This module will not load until the PayPal Express Checkout module has been installed.'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_ERROR_ADMIN_CURL = 'This module requires cURL to be enabled in PHP and will not load until it has been enabled on this webserver.'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the API Credential parameters have been configured. Please edit and configure the settings of this module.'; + +const MODULE_PAYMENT_PAYPAL_PRO_DP_CARD_OWNER = 'Card Owner:'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_CARD_TYPE = 'Card Type:'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_CARD_NUMBER = 'Card Number:'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_CARD_VALID_FROM = 'Card Valid From Date:'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_CARD_VALID_FROM_INFO = '(if available)'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_CARD_EXPIRES = 'Card Expiry Date:'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_CARD_CVC = 'Card Security Code (CVV2):'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_CARD_ISSUE_NUMBER = 'Card Issue Number:'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_CARD_ISSUE_NUMBER_INFO = '(for Maestro cards only)'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_ERROR_ALL_FIELDS_REQUIRED = 'Error: All payment information fields are required.'; + +const MODULE_PAYMENT_PAYPAL_PRO_DP_DIALOG_CONNECTION_LINK_TITLE = 'Test API Server Connection'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_DIALOG_CONNECTION_TITLE = 'API Server Connection Test'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_DIALOG_CONNECTION_GENERAL_TEXT = 'Testing connection to server..'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_DIALOG_CONNECTION_BUTTON_CLOSE = 'Close'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_DIALOG_CONNECTION_TIME = 'Connection Time:'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_DIALOG_CONNECTION_SUCCESS = 'Success!'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_DIALOG_CONNECTION_FAILED = 'Failed! Please review the Verify SSL Certificate settings and try again.'; +const MODULE_PAYMENT_PAYPAL_PRO_DP_DIALOG_CONNECTION_ERROR = 'An error occurred. Please refresh the page, review your settings, and try again.'; +?> diff --git a/includes/languages/czech/modules/payment/paypal_pro_hs.php b/includes/languages/czech/modules/payment/paypal_pro_hs.php new file mode 100644 index 000000000..d7a14002d --- /dev/null +++ b/includes/languages/czech/modules/payment/paypal_pro_hs.php @@ -0,0 +1,34 @@ + View Online Documentation

     Visit PayPal Website'; + +const MODULE_PAYMENT_PAYPAL_PRO_HS_ERROR_ADMIN_CURL = 'This module requires cURL to be enabled in PHP and will not load until it has been enabled on this webserver.'; +const MODULE_PAYMENT_PAYPAL_PRO_HS_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the API Credential and Seller E-Mail Address parameters have been configured. Please edit and configure the settings of this module.'; + + define('MODULE_PAYMENT_PAYPAL_PRO_HS_TEXT_PAYPAL_RETURN_BUTTON', 'Back to ' . STORE_NAME); // Maximum length 60 characters, otherwise it is ignored. +const MODULE_PAYMENT_PAYPAL_PRO_HS_TEXT_INVALID_TRANSACTION = 'Could not verify the PayPal transaction. Please try again.'; + +const MODULE_PAYMENT_PAYPAL_PRO_HS_ERROR_TITLE = 'There has been an error processing your order'; +const MODULE_PAYMENT_PAYPAL_PRO_HS_ERROR_GENERAL = 'Please try again and if problems persist, please try another payment method.'; + +const MODULE_PAYMENT_PAYPAL_PRO_HS_DIALOG_CONNECTION_LINK_TITLE = 'Test API Server Connection'; +const MODULE_PAYMENT_PAYPAL_PRO_HS_DIALOG_CONNECTION_TITLE = 'API Server Connection Test'; +const MODULE_PAYMENT_PAYPAL_PRO_HS_DIALOG_CONNECTION_GENERAL_TEXT = 'Testing connection to server..'; +const MODULE_PAYMENT_PAYPAL_PRO_HS_DIALOG_CONNECTION_BUTTON_CLOSE = 'Close'; +const MODULE_PAYMENT_PAYPAL_PRO_HS_DIALOG_CONNECTION_TIME = 'Connection Time:'; +const MODULE_PAYMENT_PAYPAL_PRO_HS_DIALOG_CONNECTION_SUCCESS = 'Success!'; +const MODULE_PAYMENT_PAYPAL_PRO_HS_DIALOG_CONNECTION_FAILED = 'Failed! Please review the Verify SSL Certificate settings and try again.'; +const MODULE_PAYMENT_PAYPAL_PRO_HS_DIALOG_CONNECTION_ERROR = 'An error occurred. Please refresh the page, review your settings, and try again.'; +?> diff --git a/includes/languages/czech/modules/payment/paypal_pro_payflow_dp.php b/includes/languages/czech/modules/payment/paypal_pro_payflow_dp.php new file mode 100644 index 000000000..b6add0562 --- /dev/null +++ b/includes/languages/czech/modules/payment/paypal_pro_payflow_dp.php @@ -0,0 +1,41 @@ + View Online Documentation

     Visit PayPal Website'; + +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_ERROR_EXPRESS_MODULE = 'PayPal mandates the PayPal Express Checkout (Payflow Edition) payment module be enabled if this module is to be activated. This module will not load until the PayPal Express Checkout (Payflow Edition) module has been installed.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_ERROR_ADMIN_CURL = 'This module requires cURL to be enabled in PHP and will not load until it has been enabled on this webserver.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the Vendor and Password parameters have been configured. Please edit and configure the settings of this module.'; + +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_CARD_OWNER_FIRSTNAME = 'Card Owner First Name:'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_CARD_OWNER_LASTNAME = 'Card Owner Last Name:'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_CARD_NUMBER = 'Card Number:'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_CARD_EXPIRES = 'Card Expiry Date:'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_CARD_CVC = 'Card Security Code (CVV2):'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_ERROR_ALL_FIELDS_REQUIRED = 'Error: All payment information fields are required.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_ERROR_GENERAL = 'Error: A general problem has occurred with the transaction. Please try again.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_ERROR_CFG_ERROR = 'Error: Payment module configuration error. Please verify the login credentials.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_ERROR_ADDRESS = 'Error: A match of the Shipping Address City, State, and Postal Code failed. Please try again.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_ERROR_DECLINED = 'Error: This transaction has been declined. Please try again.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_ERROR_INVALID_CREDIT_CARD = 'Error: The provided credit card information is invalid. Please try again.'; + +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_DIALOG_CONNECTION_LINK_TITLE = 'Test API Server Connection'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_DIALOG_CONNECTION_TITLE = 'API Server Connection Test'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_DIALOG_CONNECTION_GENERAL_TEXT = 'Testing connection to server..'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_DIALOG_CONNECTION_BUTTON_CLOSE = 'Close'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_DIALOG_CONNECTION_TIME = 'Connection Time:'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_DIALOG_CONNECTION_SUCCESS = 'Success!'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_DIALOG_CONNECTION_FAILED = 'Failed! Please review the Verify SSL Certificate settings and try again.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_DP_DIALOG_CONNECTION_ERROR = 'An error occurred. Please refresh the page, review your settings, and try again.'; +?> diff --git a/includes/languages/czech/modules/payment/paypal_pro_payflow_ec.php b/includes/languages/czech/modules/payment/paypal_pro_payflow_ec.php new file mode 100644 index 000000000..32843330e --- /dev/null +++ b/includes/languages/czech/modules/payment/paypal_pro_payflow_ec.php @@ -0,0 +1,46 @@ + View Online Documentation

     Visit PayPal Website'; + +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_ERROR_DIRECT_MODULE = 'PayPal mandates the PayPal Payments Pro (Payflow Edition) payment module be enabled if this module is to be activated. This module will not load until the PayPal Payments Pro (Payflow Edition) module has been installed.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_ERROR_ADMIN_CURL = 'This module requires cURL to be enabled in PHP and will not load until it has been enabled on this webserver.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the Vendor and Password parameters have been configured. Please edit and configure the settings of this module.'; + +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_TEXT_BUTTON = 'Checkout with PayPal'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_BUTTON = 'https://www.paypalobjects.com/webstatic/en_US/btn/btn_checkout_pp_142x27.png'; + +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_TEXT_COMMENTS = 'Comments:'; + + define('MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_EMAIL_PASSWORD', 'An account has automatically been created for you with the following e-mail address and password:' . "\n\n" . 'Store Account E-Mail Address: %s' . "\n" . 'Store Account Password: %s' . "\n\n"); + +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_ERROR_GENERAL = 'Error: A general problem has occurred with the transaction. Please try again.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_ERROR_CFG_ERROR = 'Error: Payment module configuration error. Please verify the login credentials.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_ERROR_ADDRESS = 'Error: A match of the Shipping Address City, State, and Postal Code failed. Please try again.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_ERROR_DECLINED = 'Error: This transaction has been declined. Please try again.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_ERROR_EXPRESS_DISABLED = 'Error: PayPal Express Checkout has been disabled for this merchant. Please contact PayPal Customer Service.'; + +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_DIALOG_CONNECTION_LINK_TITLE = 'Test API Server Connection'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_DIALOG_CONNECTION_TITLE = 'API Server Connection Test'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_DIALOG_CONNECTION_GENERAL_TEXT = 'Testing connection to server..'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_DIALOG_CONNECTION_BUTTON_CLOSE = 'Close'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_DIALOG_CONNECTION_TIME = 'Connection Time:'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_DIALOG_CONNECTION_SUCCESS = 'Success!'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_DIALOG_CONNECTION_FAILED = 'Failed! Please review the Verify SSL Certificate settings and try again.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_DIALOG_CONNECTION_ERROR = 'An error occurred. Please refresh the page, review your settings, and try again.'; + +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_ERROR_NO_SHIPPING_AVAILABLE_TO_SHIPPING_ADDRESS = 'Shipping is currently not available for the selected shipping address. Please select or create a new shipping address to use with your purchase.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_WARNING_LOCAL_LOGIN_REQUIRED = 'Please log into your account to verify the order.'; +const MODULE_PAYMENT_PAYPAL_PRO_PAYFLOW_EC_NOTICE_CHECKOUT_CONFIRMATION = 'Please review and confirm your order below. Your order will not be processed until it has been confirmed.'; +?> diff --git a/includes/languages/czech/modules/payment/paypal_standard.php b/includes/languages/czech/modules/payment/paypal_standard.php new file mode 100644 index 000000000..b8c150565 --- /dev/null +++ b/includes/languages/czech/modules/payment/paypal_standard.php @@ -0,0 +1,31 @@ + View Online Documentation

     Visit PayPal Website'; + +const MODULE_PAYMENT_PAYPAL_STANDARD_ERROR_ADMIN_CURL = 'This module requires cURL to be enabled in PHP and will not load until it has been enabled on this webserver.'; +const MODULE_PAYMENT_PAYPAL_STANDARD_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the Seller E-Mail Address parameter has been configured. Please edit and configure the settings of this module.'; + + define('MODULE_PAYMENT_PAYPAL_STANDARD_TEXT_PAYPAL_RETURN_BUTTON', 'Back to ' . STORE_NAME); // Maximum length 60 characters, otherwise it is ignored. +const MODULE_PAYMENT_PAYPAL_STANDARD_TEXT_INVALID_TRANSACTION = 'Could not verify the PayPal transaction. Please try again.'; + +const MODULE_PAYMENT_PAYPAL_STANDARD_DIALOG_CONNECTION_LINK_TITLE = 'Test API Server Connection'; +const MODULE_PAYMENT_PAYPAL_STANDARD_DIALOG_CONNECTION_TITLE = 'API Server Connection Test'; +const MODULE_PAYMENT_PAYPAL_STANDARD_DIALOG_CONNECTION_GENERAL_TEXT = 'Testing connection to server..'; +const MODULE_PAYMENT_PAYPAL_STANDARD_DIALOG_CONNECTION_BUTTON_CLOSE = 'Close'; +const MODULE_PAYMENT_PAYPAL_STANDARD_DIALOG_CONNECTION_TIME = 'Connection Time:'; +const MODULE_PAYMENT_PAYPAL_STANDARD_DIALOG_CONNECTION_SUCCESS = 'Success!'; +const MODULE_PAYMENT_PAYPAL_STANDARD_DIALOG_CONNECTION_FAILED = 'Failed! Please review the Verify SSL Certificate settings and try again.'; +const MODULE_PAYMENT_PAYPAL_STANDARD_DIALOG_CONNECTION_ERROR = 'An error occurred. Please refresh the page, review your settings, and try again.'; +?> diff --git a/includes/languages/czech/modules/payment/paypoint_secpay.php b/includes/languages/czech/modules/payment/paypoint_secpay.php new file mode 100644 index 000000000..370bec795 --- /dev/null +++ b/includes/languages/czech/modules/payment/paypoint_secpay.php @@ -0,0 +1,20 @@ +
    CC#: 4444333322221111
    Expiry: Any'; +const MODULE_PAYMENT_PAYPOINT_SECPAY_TEXT_ERROR = 'Credit Card Error!'; +const MODULE_PAYMENT_PAYPOINT_SECPAY_TEXT_ERROR_MESSAGE = 'There has been an error processing your credit card. Please try again.'; +const MODULE_PAYMENT_PAYPOINT_SECPAY_TEXT_ERROR_MESSAGE_N = 'Transaction was not authorised. Please try another card.'; +const MODULE_PAYMENT_PAYPOINT_SECPAY_TEXT_ERROR_MESSAGE_C = 'There was a communications problem in contacing the bank, please try again.'; +?> diff --git a/includes/languages/czech/modules/payment/pm2checkout.php b/includes/languages/czech/modules/payment/pm2checkout.php new file mode 100644 index 000000000..b3e40cb84 --- /dev/null +++ b/includes/languages/czech/modules/payment/pm2checkout.php @@ -0,0 +1,20 @@ + Visit 2Checkout Website (info)

    Credit Card Test Info:

    CC#: 4111111111111111
    Expiry: Any'; +const MODULE_PAYMENT_2CHECKOUT_TEXT_ERROR_MESSAGE = 'There has been an error processing your credit card. Please try again.'; +const MODULE_PAYMENT_2CHECKOUT_TEXT_WARNING_DEMO_MODE = 'In Review: Transaction performed in demo mode.'; +const MODULE_PAYMENT_2CHECKOUT_TEXT_WARNING_TRANSACTION_ORDER = 'In Review: Transaction total did not match order total.'; +?> \ No newline at end of file diff --git a/includes/languages/czech/modules/payment/psigate.php b/includes/languages/czech/modules/payment/psigate.php new file mode 100644 index 000000000..ca8186e20 --- /dev/null +++ b/includes/languages/czech/modules/payment/psigate.php @@ -0,0 +1,22 @@ +
    CC#: 4111111111111111
    Expiry: Any'; +const MODULE_PAYMENT_PSIGATE_TEXT_CREDIT_CARD_OWNER = 'Credit Card Owner:'; +const MODULE_PAYMENT_PSIGATE_TEXT_CREDIT_CARD_NUMBER = 'Credit Card Number:'; +const MODULE_PAYMENT_PSIGATE_TEXT_CREDIT_CARD_EXPIRES = 'Credit Card Expiry Date:'; +const MODULE_PAYMENT_PSIGATE_TEXT_TYPE = 'Type:'; + define('MODULE_PAYMENT_PSIGATE_TEXT_JS_CC_NUMBER', '* The credit card number must be at least ' . CC_NUMBER_MIN_LENGTH . ' characters.\n'); +const MODULE_PAYMENT_PSIGATE_TEXT_ERROR_MESSAGE = 'There has been an error processing your credit card. Please try again.'; +const MODULE_PAYMENT_PSIGATE_TEXT_ERROR = 'Credit Card Error!'; +?> \ No newline at end of file diff --git a/includes/languages/czech/modules/payment/rbsworldpay_hosted.php b/includes/languages/czech/modules/payment/rbsworldpay_hosted.php new file mode 100644 index 000000000..51a28b417 --- /dev/null +++ b/includes/languages/czech/modules/payment/rbsworldpay_hosted.php @@ -0,0 +1,23 @@ + View Online Documentation

     Visit WorldPay Website'; + +const MODULE_PAYMENT_RBSWORLDPAY_HOSTED_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the Installation ID parameter has been configured. Please edit and configure the settings of this module.'; + +const MODULE_PAYMENT_RBSWORLDPAY_HOSTED_TEXT_WARNING_DEMO_MODE = 'Transaction performed in test mode.'; + +const MODULE_PAYMENT_RBSWORLDPAY_HOSTED_TEXT_SUCCESSFUL_TRANSACTION = 'The payment has been successfully performed! You will be automatically redirected back to our website in 3 seconds.'; +const MODULE_PAYMENT_RBSWORLDPAY_HOSTED_TEXT_CONTINUE_BUTTON = 'Continue to %s'; +?> diff --git a/includes/languages/czech/modules/payment/sage_pay_direct.php b/includes/languages/czech/modules/payment/sage_pay_direct.php new file mode 100644 index 000000000..ce145f907 --- /dev/null +++ b/includes/languages/czech/modules/payment/sage_pay_direct.php @@ -0,0 +1,54 @@ + View Online Documentation

     Visit Sage Pay Website (info)'; + +const MODULE_PAYMENT_SAGE_PAY_DIRECT_ERROR_ADMIN_CURL = 'This module requires cURL to be enabled in PHP and will not load until it has been enabled on this webserver.'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the Vendor Login Name parameter has been configured. Please edit and configure the settings of this module.'; + +const MODULE_PAYMENT_SAGE_PAY_DIRECT_CREDIT_CARD_NEW = 'Enter a new Card'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_CREDIT_CARD_TYPE = 'Card Type:'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_CREDIT_CARD_OWNER = 'Name on Card:'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_CREDIT_CARD_NUMBER = 'Card Number:'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_CREDIT_CARD_STARTS = 'Start Date:'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_CREDIT_CARD_STARTS_INFO = '(for Maestro and American Express cards only)'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_CREDIT_CARD_EXPIRES = 'Expiry Date:'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_CREDIT_CARD_ISSUE_NUMBER = 'Issue Number:'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_CREDIT_CARD_ISSUE_NUMBER_INFO = '(for Maestro cards only)'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_CREDIT_CARD_CVC = 'Security Code:'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_CREDIT_CARD_SAVE = 'Save Card for next purchase?'; + +const MODULE_PAYMENT_SAGE_PAY_DIRECT_3DAUTH_TITLE = '3D Secure Verification'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_3DAUTH_INFO = 'Please click on the CONTINUE button to authenticate your card at the website of your bank.'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_3DAUTH_BUTTON = 'CONTINUE'; + +const MODULE_PAYMENT_SAGE_PAY_DIRECT_ERROR_TITLE = 'There has been an error processing your credit card'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_ERROR_GENERAL = 'Please try again and if problems persist, please try another payment method.'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_ERROR_CARDTYPE = 'The card type is not supported. Please try again with another card and if problems persist, please try another payment method.'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_ERROR_CARDOWNER = 'The card owners name must be provided to complete the order. Please try again and if problems persist, please try another payment method.'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_ERROR_CARDNUMBER = 'The card number was not able to be processed. Please try again and if problems persist, please try another payment method.'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_ERROR_CARDSTART = 'The card start date was not able to be processed. Please try again and if problems persist, please try another payment method.'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_ERROR_CARDEXPIRES = 'The card expiry date was not able to be processed. Please try again and if problems persist, please try another payment method.'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_ERROR_CARDISSUE = 'The card issue number was not able to be processed. Please try again and if problems persist, please try another payment method.'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_ERROR_CARDCVC = 'The card security code was not able to be processed. Please try again and if problems persist, please try another payment method.'; + +const MODULE_PAYMENT_SAGE_PAY_DIRECT_DIALOG_CONNECTION_LINK_TITLE = 'Test API Server Connection'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_DIALOG_CONNECTION_TITLE = 'API Server Connection Test'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_DIALOG_CONNECTION_GENERAL_TEXT = 'Testing connection to server..'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_DIALOG_CONNECTION_BUTTON_CLOSE = 'Close'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_DIALOG_CONNECTION_TIME = 'Connection Time:'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_DIALOG_CONNECTION_SUCCESS = 'Success!'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_DIALOG_CONNECTION_FAILED = 'Failed! Please review the Verify SSL Certificate settings and try again.'; +const MODULE_PAYMENT_SAGE_PAY_DIRECT_DIALOG_CONNECTION_ERROR = 'An error occurred. Please refresh the page, review your settings, and try again.'; +?> diff --git a/includes/languages/czech/modules/payment/sage_pay_form.php b/includes/languages/czech/modules/payment/sage_pay_form.php new file mode 100644 index 000000000..9502595cb --- /dev/null +++ b/includes/languages/czech/modules/payment/sage_pay_form.php @@ -0,0 +1,22 @@ + View Online Documentation

     Visit Sage Pay Website (info)'; + +const MODULE_PAYMENT_SAGE_PAY_FORM_ERROR_ADMIN_MCRYPT = 'This module requires Mcrypt to be enabled in PHP and will not load until it has been enabled on this webserver.'; +const MODULE_PAYMENT_SAGE_PAY_FORM_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the Vendor Login Name and Encryption Password parameters have been configured. Please edit and configure the settings of this module.'; + +const MODULE_PAYMENT_SAGE_PAY_FORM_ERROR_TITLE = 'There has been an error processing your order transaction'; +const MODULE_PAYMENT_SAGE_PAY_FORM_ERROR_GENERAL = 'Please try again and if problems persist, please try another payment method.'; +?> diff --git a/includes/languages/czech/modules/payment/sage_pay_server.php b/includes/languages/czech/modules/payment/sage_pay_server.php new file mode 100644 index 000000000..ba1015403 --- /dev/null +++ b/includes/languages/czech/modules/payment/sage_pay_server.php @@ -0,0 +1,31 @@ + View Online Documentation

     Visit Sage Pay Website (info)'; + +const MODULE_PAYMENT_SAGE_PAY_SERVER_ERROR_ADMIN_CURL = 'This module requires cURL to be enabled in PHP and will not load until it has been enabled on this webserver.'; +const MODULE_PAYMENT_SAGE_PAY_SERVER_ERROR_ADMIN_CONFIGURATION = 'This module will not load until the Vendor Login Name parameter has been configured. Please edit and configure the settings of this module.'; + +const MODULE_PAYMENT_SAGE_PAY_SERVER_ERROR_TITLE = 'There has been an error processing your credit card'; +const MODULE_PAYMENT_SAGE_PAY_SERVER_ERROR_GENERAL = 'Please try again and if problems persist, please try another payment method.'; + +const MODULE_PAYMENT_SAGE_PAY_SERVER_DIALOG_CONNECTION_LINK_TITLE = 'Test API Server Connection'; +const MODULE_PAYMENT_SAGE_PAY_SERVER_DIALOG_CONNECTION_TITLE = 'API Server Connection Test'; +const MODULE_PAYMENT_SAGE_PAY_SERVER_DIALOG_CONNECTION_GENERAL_TEXT = 'Testing connection to server..'; +const MODULE_PAYMENT_SAGE_PAY_SERVER_DIALOG_CONNECTION_BUTTON_CLOSE = 'Close'; +const MODULE_PAYMENT_SAGE_PAY_SERVER_DIALOG_CONNECTION_TIME = 'Connection Time:'; +const MODULE_PAYMENT_SAGE_PAY_SERVER_DIALOG_CONNECTION_SUCCESS = 'Success!'; +const MODULE_PAYMENT_SAGE_PAY_SERVER_DIALOG_CONNECTION_FAILED = 'Failed! Please review the Verify SSL Certificate settings and try again.'; +const MODULE_PAYMENT_SAGE_PAY_SERVER_DIALOG_CONNECTION_ERROR = 'An error occurred. Please refresh the page, review your settings, and try again.'; +?> diff --git a/includes/languages/czech/modules/pi/product_info/pi_buy_button.php b/includes/languages/czech/modules/pi/product_info/pi_buy_button.php new file mode 100644 index 000000000..278e6f815 --- /dev/null +++ b/includes/languages/czech/modules/pi/product_info/pi_buy_button.php @@ -0,0 +1,16 @@ +This is a child module for use with the π system.'; + + const PI_BUY_BUTTON_TEXT = 'Add To Cart'; diff --git a/includes/languages/czech/modules/pi/product_info/pi_gallery.php b/includes/languages/czech/modules/pi/product_info/pi_gallery.php new file mode 100644 index 000000000..15a594cec --- /dev/null +++ b/includes/languages/czech/modules/pi/product_info/pi_gallery.php @@ -0,0 +1,19 @@ +This is a child module for use with the π system.'; + + const PI_GALLERY_ALBUM_NAME = 'Album for %s'; + const PI_GALLERY_ALBUM_CLOSE = 'Close'; + + \ No newline at end of file diff --git a/includes/languages/czech/modules/pi/product_info/pi_hall.php b/includes/languages/czech/modules/pi/product_info/pi_hall.php new file mode 100644 index 000000000..b00350570 --- /dev/null +++ b/includes/languages/czech/modules/pi/product_info/pi_hall.php @@ -0,0 +1,19 @@ +This is a child module for use with the π system.'; + + const PI_HALL_EVENT_NAME = 'Event %s'; + const PI_HALL_EVENT_CLOSE = 'Zavřít'; + + \ No newline at end of file diff --git a/includes/languages/czech/modules/pi/product_info/pi_img_disclaimer.php b/includes/languages/czech/modules/pi/product_info/pi_img_disclaimer.php new file mode 100644 index 000000000..3949e1fa9 --- /dev/null +++ b/includes/languages/czech/modules/pi/product_info/pi_img_disclaimer.php @@ -0,0 +1,16 @@ +This is a child module for use with the π system.'; + + const PI_IMG_DISCLAIMER_TEXT = 'Product may vary slightly from image representation.'; diff --git a/includes/languages/czech/modules/pi/product_info/pi_model.php b/includes/languages/czech/modules/pi/product_info/pi_model.php new file mode 100644 index 000000000..1b5e1c3e8 --- /dev/null +++ b/includes/languages/czech/modules/pi/product_info/pi_model.php @@ -0,0 +1,16 @@ +This is a child module for use with the π system.'; + + const PI_MODEL_DISPLAY_MODEL = 'Model:%s'; diff --git a/includes/languages/czech/modules/pi/product_info/pi_options_attributes.php b/includes/languages/czech/modules/pi/product_info/pi_options_attributes.php new file mode 100644 index 000000000..d7d6ebf69 --- /dev/null +++ b/includes/languages/czech/modules/pi/product_info/pi_options_attributes.php @@ -0,0 +1,18 @@ +This is a child module for use with the Π system.'; + + const PI_OA_HEADING_TITLE = 'Available Options'; + + const PI_OA_ENFORCE_SELECTION = '--- Please Select ---'; diff --git a/includes/languages/czech/modules/shipping/flat.php b/includes/languages/czech/modules/shipping/flat.php new file mode 100644 index 000000000..0cc86f526 --- /dev/null +++ b/includes/languages/czech/modules/shipping/flat.php @@ -0,0 +1,16 @@ + diff --git a/includes/languages/czech/modules/shipping/item.php b/includes/languages/czech/modules/shipping/item.php new file mode 100644 index 000000000..d3ec697c5 --- /dev/null +++ b/includes/languages/czech/modules/shipping/item.php @@ -0,0 +1,16 @@ + diff --git a/includes/languages/czech/modules/shipping/table.php b/includes/languages/czech/modules/shipping/table.php new file mode 100644 index 000000000..012e8d2fe --- /dev/null +++ b/includes/languages/czech/modules/shipping/table.php @@ -0,0 +1,18 @@ + diff --git a/includes/languages/czech/modules/shipping/zones.php b/includes/languages/czech/modules/shipping/zones.php new file mode 100644 index 000000000..401add8bb --- /dev/null +++ b/includes/languages/czech/modules/shipping/zones.php @@ -0,0 +1,36 @@ + diff --git a/includes/languages/czech/password_reset.php b/includes/languages/czech/password_reset.php new file mode 100644 index 000000000..354d95df4 --- /dev/null +++ b/includes/languages/czech/password_reset.php @@ -0,0 +1,30 @@ + diff --git a/includes/languages/czech/privacy.php b/includes/languages/czech/privacy.php new file mode 100644 index 000000000..463134ad9 --- /dev/null +++ b/includes/languages/czech/privacy.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/includes/languages/czech/product_info.php b/includes/languages/czech/product_info.php new file mode 100644 index 000000000..1d128f5c1 --- /dev/null +++ b/includes/languages/czech/product_info.php @@ -0,0 +1,31 @@ +kliknout zde.'); +const TEXT_DATE_ADDED = 'bylo přidáno do katalogu %s.'; +define('TEXT_DATE_AVAILABLE', + 'bude v prodeji od %s.'); +const TEXT_ALSO_PURCHASED_PRODUCTS = 'Zákazníci zároveň koupili také:'; +const TEXT_RELATED_PRODUCTS = 'Související produkty:'; +const TEXT_PRODUCT_OPTIONS = 'možnosti:'; +const TEXT_CLICK_TO_ENLARGE = 'klikněte pro zvětšení'; + +const DISPLAY_PRODUCTS_DESCRIPTION_LONG = 'zobrazit podrobný popis'; +const DISPLAY_USAGE = 'zobrazit použití'; +const DISPLAY_PROPERTIES = 'zobrazit vlastnosti'; +const DISPLAY_TIPS = 'zobrazit tipy'; +const DISPLAY_COMPONENTS = 'zobrazit složení'; +const DISPLAY_ALSO_PURCHASED = 'zobrazit "Ostatní zákazníci zároveň koupili"'; +const DISPLAY_RELATED = 'zobrazit související produkty'; diff --git a/includes/languages/czech/products_new.php b/includes/languages/czech/products_new.php new file mode 100644 index 000000000..efd7d999f --- /dev/null +++ b/includes/languages/czech/products_new.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/includes/languages/czech/shopping_cart.php b/includes/languages/czech/shopping_cart.php new file mode 100644 index 000000000..ed31bf6af --- /dev/null +++ b/includes/languages/czech/shopping_cart.php @@ -0,0 +1,29 @@ +Please alter the quantity of products marked with ('.STOCK_MARK_PRODUCT_OUT_OF_STOCK.'), Thank you', + true); +define('OUT_OF_STOCK_CAN_CHECKOUT', + 'Zboží označené '.STOCK_MARK_PRODUCT_OUT_OF_STOCK.' dont exist in desired quantity in our stock.
    You can buy them anyway and check the quantity we have in stock for immediate deliver in the checkout process.', + true); + +const TEXT_ALTERNATIVE_CHECKOUT_METHODS = '- OR -'; +const FREE_SHIPPING_REMAINING_1 = 'Nakupte ještě za '; +const FREE_SHIPPING_REMAINING_2 = ' a získejte dopravu zdarma'; +const REMOVE_FROM_CART = 'Odstranit'; diff --git a/includes/languages/czech/specials.php b/includes/languages/czech/specials.php new file mode 100644 index 000000000..2af9ef0db --- /dev/null +++ b/includes/languages/czech/specials.php @@ -0,0 +1,24 @@ +
    Kvůli vaší bezpečnosti se budete muset znovu přihlásit do svého účtu, abyste mohli nakupovat online.

    Některé starší prohlížeče, jako například Konqueror 3.1, nemají schopnost automaticky vytvářet zabezpečené ID relace SSL, které požadujeme. Pokud používáte takový prohlížeč, doporučujeme použít jiný prohlížeč, například Microsoft Internet Explorer, Mozilla Firefox, Chrome, abyste mohli pokračovat v online nákupu.

    Toto ověření bezpečnosti provádíme ve váš prospěch, proto prosíme omluvte, pokud jsme vám tím způsobili něco nepříjemného.

    Prosíme kontaktujte vlastníka obchodu pokud máte nějaké dotazy týkající se tohoto problému, nebo objednejte zboží e-mailem..', + true); + +const BOX_INFORMATION_HEADING = 'Ochrana osobních údajů a zabezpečení'; +define('BOX_INFORMATION', + 'Ověřujeme ID relace SSL automaticky vygenerované vaším prohlížečem při každé žádosti o bezpečnostní stránku na tomto serveru.

    Tímto ověřením zajistíte, že ten kdo používá právě tuto stránku s vaším účtem jste opravdu vy a ne někdo jiný.', + true); +?> diff --git a/includes/languages/czech/testimonials.php b/includes/languages/czech/testimonials.php new file mode 100644 index 000000000..4664eb839 --- /dev/null +++ b/includes/languages/czech/testimonials.php @@ -0,0 +1,17 @@ + \ No newline at end of file diff --git a/includes/modules/payment/csob.php b/includes/modules/payment/csob.php new file mode 100644 index 000000000..8af802a33 --- /dev/null +++ b/includes/modules/payment/csob.php @@ -0,0 +1,353 @@ +'; + const CSOB_ERROR = '!'; + const CSOB_OK = ''; + + /** + * Last GW Response + * @var string + */ + private $lastMessage = ''; + public $logo = ''; + + /** + * Payment's nest + * @var \PureOSC\Payment + */ + public $payment = null; + + /** + * Order's place + * @var PureOSC\Order + */ + public $order = null; + + /** + * CSOB PayGW + */ + public function __construct() { + parent::__construct(); + + //$this->signature = 'purehtml|csob|2.3'; + $this->api_version = '1.8'; + + $this->public_title = MODULE_PAYMENT_CSOB_TEXT_TITLE; + $this->sort_order = $this->sort_order ?? 0; +// $this->order_status = defined('MODULE_PAYMENT_CSOB_PREPARE_ORDER_STATUS_ID') && ((int) MODULE_PAYMENT_CSOB_PREPARE_ORDER_STATUS_ID > 0) ? (int) MODULE_PAYMENT_CSOB_PREPARE_ORDER_STATUS_ID : 0; + + $this->sort_order = defined('MODULE_PAYMENT_CSOB_SORT_ORDER') ? MODULE_PAYMENT_CSOB_SORT_ORDER : 0; + + $this->order_status = defined('MODULE_PAYMENT_CSOB_PREPARE_ORDER_STATUS_ID') && ((int) MODULE_PAYMENT_CSOB_PREPARE_ORDER_STATUS_ID > 0) ? (int) MODULE_PAYMENT_CSOB_PREPARE_ORDER_STATUS_ID : 0; + + $exts = array_filter(['xmlwriter', 'SimpleXML', 'openssl', 'dom', 'hash', 'curl'], function ($extension) { + return !extension_loaded($extension); + }); + + $csob_error = null; + if (!empty($exts)) { + $csob_error = sprintf(self::get_constant('MODULE_PAYMENT_CSOB_ERROR_ADMIN_PHP_EXTENSIONS'), implode('
    ', $exts)); + } + + if (!isset($csob_error) && defined('MODULE_PAYMENT_CSOB_STATUS')) { + if (!tep_not_null(MODULE_PAYMENT_CSOB_MERCHANT_ID) || !tep_not_null(MODULE_PAYMENT_CSOB_PUBLIC_KEY) || !tep_not_null(MODULE_PAYMENT_CSOB_SECRET_KEY) || !tep_not_null(MODULE_PAYMENT_CSOB_PUBLIC_KEY)) { + $csob_error = MODULE_PAYMENT_CSOB_ERROR_ADMIN_CONFIGURATION; + } + } + + if (!isset($csob_error) && defined('MODULE_PAYMENT_CSOB_STATUS')) { + + } + + if (isset($csob_error)) { + $this->description = '
    ' . $csob_error . '
    ' . $this->description; + + $this->enabled = false; + } + + if (array_key_exists('admin', $_SESSION)) { + $this->description .= '
    ' . $this->checkPayGwSatus(); + $this->description .= '
    ' . str_replace('logo); + } + } + + private function prepare_payment() { + //tep_redirect(tep_href_link('checkout_payment.php', 'payment_error=' . 'csob')); + + $response = $this->getPayment()->requestPayment(Guarantor::ensure_global('order')); + $this->lastMessage = $response['resultMessage']; + $_SESSION['csob_error'] = $response['resultMessage']; + if ($response['resultCode'] != 0) { + tep_redirect(tep_href_link('checkout_payment.php', 'payment_error=' . 'csob' . '&error=' . $response['resultCode'])); + } + + tep_redirect(htmlspecialchars($this->payment->getApi()->getPaymentProcessUrl($this->payment))); + } + + /** + * Update payment status + * + * @return null + */ + public function update_status() { + if (!$this->enabled || !isset($GLOBALS['order'])) { + return; + } + + // disable the module if the order only contains virtual products + if ('virtual' === $GLOBALS['order']->content_type) { + $this->enabled = false; + return; + } + + if (isset($GLOBALS['order']->delivery['country']['id'])) { + $this->update_status_by($GLOBALS['order']->delivery); + } + + if (array_key_exists('payId', $_REQUEST)) { + $this->getPayment()->setPayId($_REQUEST['payId']); + $this->getPayment()->setStatus(intval($_REQUEST['paymentStatus'])); + $this->getPayment()->savePaymentState(); + } + + $this->setOrderStatusByPaymentState(); + } + + public function getPayment() { + + if (is_object($this->payment) === false) { + $this->payment = new \PureOSC\Payment(Guarantor::ensure_global('order')); + } else { + + } + + return $this->payment; + } + + public function pre_confirmation_check() { + PureOSC\Order::redirectForOrderStatus($this->getOrder()->getStatus()); + } + + public function confirmation() { + return false; + } + + public function process_button() { + return false; + } + + public function before_process() { + global $order; + $order->info['order_status'] = MODULE_PAYMENT_CSOB_ORDER_STATUS_ID; + + switch (WebPage::getRequestValue('resultCode')) { + case '0': + default: + $order->info['order_status'] = MODULE_PAYMENT_CSOB_PROBLEM_ORDER_STATUS_ID; + break; + } + + tep_db_query("UPDATE orders SET orders_status = " . (int) $order->info['order_status'] . ", last_modified = NOW() WHERE orders_id = " . (int) $order->get_id()); + + return true; + } + + public function after_process() { + $this->prepare_payment(); + return $this->success; + } + + public function get_error() { + global $order; + $message = MODULE_PAYMENT_CSOB_ERROR_GENERAL; + + if (isset($_SESSION['csob_error'])) { + $message = $_SESSION['csob_error'] . ' ' . $message; + unset($_SESSION['csob_error']); + } else { + if (!empty($_GET['error'])) { + $message .= "\n" . self::resultCodeMeaning($_GET['error']) . "\n"; + } + } + + + $nextOrderid = current(tep_db_fetch_array(tep_db_query('SELECT MAX(orders_id) FROM orders'))) + 1; + + tep_db_query("UPDATE orders SET orders_id = " . (int) $nextOrderid . ", last_modified = NOW() WHERE orders_id = " . (int) $order->get_id()); + $order->info['orders_id'] = $nextOrderid; + + $error = [ + 'title' => MODULE_PAYMENT_CSOB_ERROR_TITLE, + 'error' => $message, + ]; + + return $error; + } + + public function getOrder($orderId = null) { + $this->order = Guarantor::ensure_global('PureOSC\Order', $orderId ? $orderId : false); + return $this->order; + } + + /** + * Check payment gate api availbility + * + * @return string + */ + public function checkPayGwSatus() { + try { + $this->getPayment()->getApi()->testGetConnection(); + $this->getPayment()->getApi()->testPostConnection(); + $this->logo = self::CSOB_OK; + $status = 'PayGW Online'; + } catch (Exception $e) { + $status = new Ease\TWB4\Label('warning', 'CSOB PayGW problem ' . $e->getMessage()); + $this->logo = self::CSOB_ERROR; + } + return $status; + } + + public function setOrderStatusByPaymentState($forceStatus = null) { + $paymentStatus = is_null($forceStatus) ? $this->getPayment()->getStatus() : $forceStatus; + $newOrderStatus = 0; + $currentOrderStatus = $this->getOrder()->getStatus(); + + switch ($paymentStatus) { + case 3: // Payment cancelled + $newOrderStatus = intval(MODULE_PAYMENT_CSOB_CANCELED_ORDER_STATUS_ID); + break; + case 4: // wait for process + case 7: // Wait for Accounting + $newOrderStatus = intval(MODULE_PAYMENT_CSOB_PROCESSING_ORDER_STATUS_ID); + $_SESSION['cart'] = new shoppingCart(); + break; + case 8: // Payment Accounted + $newOrderStatus = intval(MODULE_PAYMENT_CSOB_DONE_ORDER_STATUS_ID); + $_SESSION['cart'] = new shoppingCart(); + break; + case 5: + case 6: + $newOrderStatus = intval(MODULE_PAYMENT_CSOB_PROBLEM_ORDER_STATUS_ID); + break; + } + + if ($newOrderStatus && ($newOrderStatus != $currentOrderStatus)) { + $this->getOrder()->setOrderState($newOrderStatus); + if ($paymentStatus) { + $this->getOrder()->addStatusHistory($newOrderStatus, \PureOSC\Payment::paymentStatusMeaning($paymentStatus) . true); + } + } + } + + /** + * Payment method configuration keys definitoin + * + * @return array + */ + protected function get_parameters() { + return [ + 'MODULE_PAYMENT_CSOB_STATUS' => [ + 'title' => 'Enable CSOB Payment gateway Module', + 'value' => 'True', + 'desc' => 'Do you want to accept CSOB Payment gateway payments?', + 'set_func' => "tep_cfg_select_option(['True', 'False'], ", + ], + 'MODULE_PAYMENT_CSOB_ZONE' => [ + 'title' => 'Payment Zone', + 'value' => '0', + 'desc' => 'If a zone is selected, only enable this payment method for that zone.', + 'use_func' => 'tep_get_zone_class_title', + 'set_func' => 'tep_cfg_pull_down_zone_classes(', + ], + 'MODULE_PAYMENT_CSOB_SORT_ORDER' => [ + 'title' => 'Sort order of display.', + 'value' => '0', + 'desc' => 'Sort order of display. Lowest is displayed first.', + ], + 'MODULE_PAYMENT_CSOB_ORDER_STATUS_ID' => [ + 'title' => 'Set Order Status', + 'value' => self::ensure_order_status('MODULE_PAYMENT_CSOB_PROCESSING_ORDER_STATUS_ID', 'Card payment pending'), + 'desc' => 'Set the status of orders made with this payment module to this value', + 'set_func' => 'tep_cfg_pull_down_order_statuses(', + 'use_func' => 'tep_get_order_status_name', + ], + 'MODULE_PAYMENT_CSOB_MERCHANT_ID' => [ + 'title' => _('Your merchant id'), + 'value' => '00000000', + 'desc' => _('Your merchant unique identifier (supplied by csob)') + ], + 'MODULE_PAYMENT_CSOB_SECRET_KEY' => [ + 'title' => _('Your secret key'), + 'desc' => _('Your secret key (supplied by csob on https://platebnibrana.csob.cz/keygen/)') + ], + 'MODULE_PAYMENT_CSOB_PUBLIC_KEY' => [ + 'title' => _('Your public key'), + 'value' => 'mips_iplatebnibrana.csob.cz.pub', + 'desc' => _('Your public key (supplied by csob)') + ], + 'MODULE_PAYMENT_CSOB_PROCESSING_ORDER_STATUS_ID' => [ + 'title' => 'Wait for payment Order Status', + 'desc' => 'Include transaction information in this order status level', + 'value' => self::ensure_order_status('MODULE_PAYMENT_CSOB_PROCESSING_ORDER_STATUS_ID', 'Card payment pending'), + 'set_func' => 'tep_cfg_pull_down_order_statuses(', + 'use_func' => 'tep_get_order_status_name', + 'public' => true + ], + 'MODULE_PAYMENT_CSOB_DONE_ORDER_STATUS_ID' => [ + 'title' => 'All OK settled payment Order Status', + 'desc' => 'Include transaction information in this order status level', + 'value' => self::ensure_order_status('MODULE_PAYMENT_CSOB_DONE_ORDER_STATUS_ID', 'Settled by Card'), + 'set_func' => 'tep_cfg_pull_down_order_statuses(', + 'use_func' => 'tep_get_order_status_name', + 'public' => true + ], + 'MODULE_PAYMENT_CSOB_CANCELED_ORDER_STATUS_ID' => [ + 'title' => 'Canceled payment Order Status', + 'desc' => 'State for orders with cancelled paymen', + 'value' => self::ensure_order_status('MODULE_PAYMENT_CSOB_CANCELED_ORDER_STATUS_ID', 'Payment canceled'), + 'set_func' => 'tep_cfg_pull_down_order_statuses(', + 'use_func' => 'tep_get_order_status_name', + 'public' => true + ], + 'MODULE_PAYMENT_CSOB_PROCESSING_ORDER_STATUS_ID' => [ + 'title' => 'Payment in progress Order Status', + 'desc' => 'State for orders with payment in progress', + 'value' => self::ensure_order_status('MODULE_PAYMENT_CSOB_PROCESSING_ORDER_STATUS_ID', 'Payment processing'), + 'set_func' => 'tep_cfg_pull_down_order_statuses(', + 'use_func' => 'tep_get_order_status_name', + 'public' => true + ], + 'MODULE_PAYMENT_CSOB_PROBLEM_ORDER_STATUS_ID' => [ + 'title' => 'Card payment problem Order Status', + 'desc' => 'Include transaction information in this order status level', + 'value' => self::ensure_order_status('MODULE_PAYMENT_CSOB_PROBLEM_ORDER_STATUS_ID', 'Card payment problem'), + 'set_func' => 'tep_cfg_pull_down_order_statuses(', + 'use_func' => 'tep_get_order_status_name', + 'public' => true + ], + ]; + } + +} diff --git a/includes/system/versioned/1.0.7.10/cart_order_builder.php b/includes/system/versioned/1.0.7.10/cart_order_builder.php index 6a375509c..2a5fa01dc 100644 --- a/includes/system/versioned/1.0.7.10/cart_order_builder.php +++ b/includes/system/versioned/1.0.7.10/cart_order_builder.php @@ -159,7 +159,7 @@ public static function build(&$order) { $builder = new cart_order_builder($order); $builder->build_info(); - $order->content_type = $_SESSION['cart']->get_content_type(); + $order->content_type = array_key_exists('cart', $_SESSION) ? $_SESSION['cart']->get_content_type() : 'n/a' ; $builder->build_addresses(); $builder->build_products(); diff --git a/phinx-adapter.php b/phinx-adapter.php new file mode 100644 index 000000000..889703fbf --- /dev/null +++ b/phinx-adapter.php @@ -0,0 +1,54 @@ + + * @copyright 2020 Vitex Software + */ +if (file_exists('./vendor/autoload.php')) { + include_once './vendor/autoload.php'; +} else { + include_once '../vendor/autoload.php'; +} + +include 'includes/configure.php'; + +$prefix = file_exists('./db/') ? './db/' : '../db/'; + +$sqlOptions = [ + 'dbType' => constant('DB_CONNECTION'), + 'server' => constant('DB_SERVER'), + 'username' => constant('DB_SERVER_USERNAME'), + 'password' => constant('DB_SERVER_PASSWORD'), + 'database' => constant('DB_DATABASE'), + 'port' => constant('DB_SERVER_PORT') +]; + +if (strstr(Ease\Functions::cfg('DB_CONNECTION'), 'sqlite')) { + $sqlOptions['database'] = $prefix . basename(Ease\Functions::cfg('DB_DATABASE')); +} +$engine = new \Ease\SQL\Engine(null, $sqlOptions); +$cfg = [ + 'paths' => [ + 'migrations' => [$prefix . 'migrations'], + 'seeds' => [$prefix . 'seeds'] + ], + 'environments' => + [ + 'default_database' => 'development', + 'development' => [ + 'adapter' => Ease\Functions::cfg('DB_CONNECTION'), + 'name' => $engine->database, + 'connection' => $engine->getPdo($sqlOptions) + ], + 'default_database' => 'production', + 'production' => [ + 'adapter' => Ease\Functions::cfg('DB_CONNECTION'), + 'name' => $engine->database, + 'connection' => $engine->getPdo($sqlOptions) + ], + ] +]; + +return $cfg; From a4b92459f5d2f3d41690f71dba56b8f5aececb15 Mon Sep 17 00:00:00 2001 From: Borbina <72229003+Borbina@users.noreply.github.com> Date: Thu, 8 Apr 2021 18:53:20 +0200 Subject: [PATCH 02/29] error hunt error hunt --- includes/languages/czech.php | 94 +++++++++++-------- .../languages/czech/account_notifications.php | 9 +- includes/languages/czech/address_book.php | 6 +- .../languages/czech/address_book_process.php | 15 +-- .../languages/czech/checkout_confirmation.php | 9 +- includes/languages/czech/checkout_payment.php | 5 +- .../languages/czech/checkout_shipping.php | 8 +- includes/languages/czech/contact_us.php | 9 +- .../czech/hooks/shop/siteWide/MATC.php | 18 ++++ .../modules/header_tags/ht_category_title.php | 7 +- .../header_tags/ht_manufacturer_title.php | 1 + .../modules/header_tags/ht_product_title.php | 1 + includes/languages/czech/shopping_cart.php | 6 +- 13 files changed, 111 insertions(+), 77 deletions(-) create mode 100644 includes/languages/czech/hooks/shop/siteWide/MATC.php diff --git a/includes/languages/czech.php b/includes/languages/czech.php index 3d37925a2..bf9d01f4a 100644 --- a/includes/languages/czech.php +++ b/includes/languages/czech.php @@ -24,7 +24,7 @@ const DATE_FORMAT_SHORT = '%d.%m.%Y'; const DATE_FORMAT_LONG = '%A %d %B, %Y'; const DATE_FORMAT = 'd.m.Y'; -define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); +// define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); const JQUERY_DATEPICKER_I18N_CODE = 'cs'; const JQUERY_DATEPICKER_FORMAT = 'mm.dd.yy'; @@ -50,7 +50,7 @@ function tep_date_raw($date, $reverse = false) { const CHARSET = 'utf-8'; // page title -define('TITLE', STORE_NAME); +// define('TITLE', STORE_NAME); // header text in includes/header.php const HEADER_TITLE_CREATE_ACCOUNT = 'Založit účet'; @@ -84,7 +84,7 @@ function tep_date_raw($date, $reverse = false) { // javascript messages const JS_ERROR = 'Ve formuláři je chyba.\n\nOpravte následující:\n\n'; -define('JS_REVIEW_TEXT', '* The \'Review Text\' musí mít nejméně ' . REVIEW_TEXT_MIN_LENGTH . ' znaků.\n'); +// define('JS_REVIEW_TEXT', '* The \'Review Text\' musí mít nejméně ' . REVIEW_TEXT_MIN_LENGTH . ' znaků.\n'); const JS_REVIEW_RATING = '* Přepočítat zboží\n'; const JS_ERROR_NO_PAYMENT_MODULE_SELECTED = '* Prosíme vyberte typ platby.\n'; @@ -106,39 +106,39 @@ function tep_date_raw($date, $reverse = false) { const ENTRY_GENDER_ERROR = 'Vyberte pohlaví'; const ENTRY_GENDER_TEXT = ''; const ENTRY_FIRST_NAME = 'Jméno:'; -define('ENTRY_FIRST_NAME_ERROR', 'Vaše jméno musí mít nejméně ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' znaků.'); +// define('ENTRY_FIRST_NAME_ERROR', 'Vaše jméno musí mít nejméně ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' znaků.'); const ENTRY_FIRST_NAME_TEXT = ''; const ENTRY_LAST_NAME = 'Příjmení:'; -define('ENTRY_LAST_NAME_ERROR', 'Vaše příjmení musí mít nejméně ' . ENTRY_LAST_NAME_MIN_LENGTH . ' znaků.'); +// define('ENTRY_LAST_NAME_ERROR', 'Vaše příjmení musí mít nejméně ' . ENTRY_LAST_NAME_MIN_LENGTH . ' znaků.'); const ENTRY_LAST_NAME_TEXT = ''; const ENTRY_DATE_OF_BIRTH = 'Datum narození:'; const ENTRY_DATE_OF_BIRTH_ERROR = 'Datum narození ve tvaru: MM/DD/YYYY (eg 05/21/1970)'; const ENTRY_DATE_OF_BIRTH_TEXT = '* (např. 05/21/1970)'; const ENTRY_EMAIL_ADDRESS = 'E-Mail:'; -define('ENTRY_EMAIL_ADDRESS_ERROR', 'E-Mail musí mít nejméně ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' znaků.'); +// define('ENTRY_EMAIL_ADDRESS_ERROR', 'E-Mail musí mít nejméně ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' znaků.'); const ENTRY_EMAIL_ADDRESS_CHECK_ERROR = 'E-Mail je špatně, opravte jej.'; const ENTRY_EMAIL_ADDRESS_ERROR_EXISTS = 'Váš E-Mail je již v databázi.'; const ENTRY_EMAIL_ADDRESS_TEXT = ''; const ENTRY_STREET_ADDRESS = 'Ulice:'; -define('ENTRY_STREET_ADDRESS_ERROR', 'Ulice musí mít nejméně ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' znaků.'); +// define('ENTRY_STREET_ADDRESS_ERROR', 'Ulice musí mít nejméně ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' znaků.'); const ENTRY_STREET_ADDRESS_TEXT = ''; const ENTRY_SUBURB = 'Čtvrť:'; const ENTRY_SUBURB_TEXT = ''; const ENTRY_POST_CODE = 'PSČ:'; -define('ENTRY_POST_CODE_ERROR', 'PSČ musí mít nejméně ' . ENTRY_POSTCODE_MIN_LENGTH . ' znaků.'); +// define('ENTRY_POST_CODE_ERROR', 'PSČ musí mít nejméně ' . ENTRY_POSTCODE_MIN_LENGTH . ' znaků.'); const ENTRY_POST_CODE_TEXT = ''; const ENTRY_CITY = 'Město:'; -define('ENTRY_CITY_ERROR', 'Město musí mít nejméně ' . ENTRY_CITY_MIN_LENGTH . ' znaků.'); +// define('ENTRY_CITY_ERROR', 'Město musí mít nejméně ' . ENTRY_CITY_MIN_LENGTH . ' znaků.'); const ENTRY_CITY_TEXT = ''; const ENTRY_STATE = 'Stát:'; -define('ENTRY_STATE_ERROR', 'Stát musí mít nejméně ' . ENTRY_STATE_MIN_LENGTH . ' znaků.'); +// define('ENTRY_STATE_ERROR', 'Stát musí mít nejméně ' . ENTRY_STATE_MIN_LENGTH . ' znaků.'); const ENTRY_STATE_ERROR_SELECT = 'Please select a state from the States pull down menu.'; const ENTRY_STATE_TEXT = ''; const ENTRY_COUNTRY = 'Země:'; const ENTRY_COUNTRY_ERROR = 'Vyberte zemi v menu.'; const ENTRY_COUNTRY_TEXT = ''; const ENTRY_TELEPHONE_NUMBER = 'Telefon:'; -define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Telefonní číslo musí mít nejméně ' . ENTRY_TELEPHONE_MIN_LENGTH . ' znaků.'); +// define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Telefonní číslo musí mít nejméně ' . ENTRY_TELEPHONE_MIN_LENGTH . ' znaků.'); const ENTRY_TELEPHONE_NUMBER_TEXT = ''; const ENTRY_FAX_NUMBER = 'Fax:'; const ENTRY_FAX_NUMBER_TEXT = ''; @@ -147,17 +147,17 @@ function tep_date_raw($date, $reverse = false) { const ENTRY_NEWSLETTER_YES = 'Přihlásit k zasílání'; const ENTRY_NEWSLETTER_NO = 'Odhlásit zasílání'; const ENTRY_PASSWORD = 'Heslo:'; -define('ENTRY_PASSWORD_ERROR', 'Vaše heslo musí mít nejméně ' . ENTRY_PASSWORD_MIN_LENGTH . ' znaků.'); +// define('ENTRY_PASSWORD_ERROR', 'Vaše heslo musí mít nejméně ' . ENTRY_PASSWORD_MIN_LENGTH . ' znaků.'); const ENTRY_PASSWORD_ERROR_NOT_MATCHING = 'Hesla nejsou stejná.'; const ENTRY_PASSWORD_TEXT = ''; const ENTRY_PASSWORD_CONFIRMATION = 'Heslo znovu:'; const ENTRY_PASSWORD_CONFIRMATION_TEXT = ''; const ENTRY_PASSWORD_CURRENT = 'Původní heslo:'; const ENTRY_PASSWORD_CURRENT_TEXT = ''; -define('ENTRY_PASSWORD_CURRENT_ERROR', 'Vaše heslo musí mít nejméně ' . ENTRY_PASSWORD_MIN_LENGTH . ' znaků.'); +// define('ENTRY_PASSWORD_CURRENT_ERROR', 'Vaše heslo musí mít nejméně ' . ENTRY_PASSWORD_MIN_LENGTH . ' znaků.'); const ENTRY_PASSWORD_NEW = 'Nové heslo:'; const ENTRY_PASSWORD_NEW_TEXT = ''; -define('ENTRY_PASSWORD_NEW_ERROR', 'Vaše nové heslo musí mít nejméně ' . ENTRY_PASSWORD_MIN_LENGTH . ' znaků.'); +// define('ENTRY_PASSWORD_NEW_ERROR', 'Vaše nové heslo musí mít nejméně ' . ENTRY_PASSWORD_MIN_LENGTH . ' znaků.'); const ENTRY_PASSWORD_NEW_ERROR_NOT_MATCHING = 'Hesla nejsou stejná.'; const PASSWORD_HIDDEN = '--HIDDEN--'; @@ -205,6 +205,7 @@ function tep_date_raw($date, $reverse = false) { const IMAGE_BUTTON_UPDATE = 'obnovit'; const IMAGE_BUTTON_UPDATE_CART = 'Obnovit košík'; const IMAGE_BUTTON_WRITE_REVIEW = 'Zapsat hodnocení'; +const IMAGE_BUTTON_UPDATE_PREFERENCES = 'Obnov preference'; const SMALL_IMAGE_BUTTON_DELETE = 'Smazat'; const SMALL_IMAGE_BUTTON_EDIT = 'Upravit'; @@ -225,6 +226,8 @@ function tep_date_raw($date, $reverse = false) { const TEXT_DESCENDINGLY = 'sestupně'; const TEXT_ASCENDINGLY = 'vzestupně'; const TEXT_BY = ' by '; +// grid/list +const TEXT_SORT_BY = 'seřadit podle'; const TEXT_REVIEW_BY = 'od %s'; const TEXT_REVIEW_WORD_COUNT = '%s slov'; @@ -276,6 +279,7 @@ function tep_date_raw($date, $reverse = false) { const TABLE_HEADING_DATE_AVAILABLE = 'Nejnovější zboží'; const TABLE_HEADING_CUSTOM_DATE = 'Podle data'; const TABLE_HEADING_SORT_ORDER = 'Pořadí'; +const TABLE_HEADING_ORDERED = 'Nejprodávanější'; // product notifications const PRODUCT_SUBSCRIBED = '%s bylo přidána do vašeho seznamu'; @@ -287,41 +291,55 @@ function tep_date_raw($date, $reverse = false) { const MODULE_CONTENT_BOOTSTRAP_ROW_DESCRIPTION = ''; // sorting product_listing module +// sitewide product listing +const LISTING_SORT_DOWN = ''; +const LISTING_SORT_UP = ''; +const LISTING_SORT_UNSELECTED = ''; + +// for new style internal pages +const LINK_TEXT_EDIT = 'Edit'; +const SHIPPING_FA_ICON = ''; +const PAYMENT_FA_ICON = ''; + +const ENTRY_COMMENTS = 'Měli bychom něco vědět?'; +const ENTRY_COMMENTS_PLACEHOLDER = 'Přidejte komentář'; +const TABLE_HEADING_OR = '-nebo-'; + /* ************************************************************************ -************** Custom Filenames can be defined below here ************** +************** Custom Filenames can be // defined below here ************** ************** Raymond Burns ************** ************************************************************************ */ // SEO Header Tags Reloaded //header titles -const HEADER_CART_CONTENTS = ' %s kusů'; -const HEADER_CART_NO_CONTENTS = ''; -const HEADER_ACCOUNT_LOGGED_OUT = ' '; -const HEADER_ACCOUNT_LOGGED_IN = ' %s '; -const HEADER_SITE_SETTINGS = ' '; -const HEADER_TOGGLE_NAV = 'Toggle Navigation'; -const HEADER_HOME = ''; -const HEADER_WHATS_NEW = ''; -const HEADER_SPECIALS = ''; -const HEADER_REVIEWS = ''; +//const HEADER_CART_CONTENTS = ' %s kusů'; +//const HEADER_CART_NO_CONTENTS = ''; +//const HEADER_ACCOUNT_LOGGED_OUT = ' '; +//const HEADER_ACCOUNT_LOGGED_IN = ' %s '; +//const HEADER_SITE_SETTINGS = ' '; +//const HEADER_TOGGLE_NAV = 'Toggle Navigation'; +//const HEADER_HOME = ''; +//const HEADER_WHATS_NEW = ''; +//const HEADER_SPECIALS = ''; +//const HEADER_REVIEWS = ''; // header dropdowns -const HEADER_ACCOUNT_LOGIN = ' Přihlásit'; -const HEADER_ACCOUNT_LOGOFF = ' Odhlásit'; -const HEADER_ACCOUNT = 'Můj účet'; -const HEADER_ACCOUNT_HISTORY = 'Moje objednávky'; -const HEADER_ACCOUNT_EDIT = 'Moje údaje'; -const HEADER_ACCOUNT_ADDRESS_BOOK = 'Můj Adresář'; -const HEADER_ACCOUNT_PASSWORD = 'Heslo'; -const HEADER_ACCOUNT_REGISTER = ' Registrace'; -const HEADER_CART_HAS_CONTENTS = '%s item(s), %s'; -const HEADER_CART_VIEW_CART = 'Košík'; -const HEADER_CART_CHECKOUT = ' Pokladna'; -const USER_LOCALIZATION = 'L: %s C: %s'; +//const HEADER_ACCOUNT_LOGIN = ' Přihlásit'; +//const HEADER_ACCOUNT_LOGOFF = ' Odhlásit'; +//const HEADER_ACCOUNT = 'Můj účet'; +//const HEADER_ACCOUNT_HISTORY = 'Moje objednávky'; +//const HEADER_ACCOUNT_EDIT = 'Moje údaje'; +//const HEADER_ACCOUNT_ADDRESS_BOOK = 'Můj Adresář'; +//const HEADER_ACCOUNT_PASSWORD = 'Heslo'; +//const HEADER_ACCOUNT_REGISTER = ' Registrace'; +//const HEADER_CART_HAS_CONTENTS = '%s item(s), %s'; +//const HEADER_CART_VIEW_CART = 'Košík'; +//const HEADER_CART_CHECKOUT = ' Pokladna'; +//const USER_LOCALIZATION = 'L: %s C: %s'; // CCGV -const VOUCHER_BALANCE = 'Voucher Balance'; +const VOUCHER_BALANCE = 'Voucher Balanc'; const BOX_HEADING_GIFT_VOUCHER = 'Dárkový poukaz účet'; const GV_FAQ = 'Gift Voucher FAQ'; const IMAGE_REDEEM_VOUCHER = 'Redeem'; diff --git a/includes/languages/czech/account_notifications.php b/includes/languages/czech/account_notifications.php index e69ebb5e2..3d32ed415 100644 --- a/includes/languages/czech/account_notifications.php +++ b/includes/languages/czech/account_notifications.php @@ -17,8 +17,7 @@ const MY_NOTIFICATIONS_TITLE = 'Moje upozornění na změny'; define('MY_NOTIFICATIONS_DESCRIPTION', - 'Zde můžete nastavit zasílání změn vybraných produktů, které Vás zajímají.

    Chcete-li být informováni o všech změnách, vyberte položku Všechny změny.', - true); + 'Zde můžete nastavit zasílání změn vybraných produktů, které Vás zajímají.

    Chcete-li být informováni o všech změnách, vyberte položku Všechny změny.'); const GLOBAL_NOTIFICATIONS_TITLE = 'Všechny změny'; define('GLOBAL_NOTIFICATIONS_DESCRIPTION', @@ -26,11 +25,9 @@ const NOTIFICATIONS_TITLE = 'Vybrané změny'; define('NOTIFICATIONS_DESCRIPTION', - 'Nechcete-li již být informováni o změnách vybraných produktů, zaškrtněte v menu a pokračujte.', - true); + 'Nechcete-li již být informováni o změnách vybraných produktů, zaškrtněte v menu a pokračujte.'); define('NOTIFICATIONS_NON_EXISTING', - 'Nemáte vybráno žádné upozornění.

    Chcete-li přidat konkrétní výrobek, zaškrtněte v menu zasílání informací.', - true); + 'Nemáte vybráno žádné upozornění.

    Chcete-li přidat konkrétní výrobek, zaškrtněte v menu zasílání informací.'); define('SUCCESS_NOTIFICATIONS_UPDATED', 'Změna v zasílání upozornění potvrzena.'); diff --git a/includes/languages/czech/address_book.php b/includes/languages/czech/address_book.php index f826ac6a8..253749cd1 100644 --- a/includes/languages/czech/address_book.php +++ b/includes/languages/czech/address_book.php @@ -17,14 +17,12 @@ const PRIMARY_ADDRESS_TITLE = 'Hlavní adresa'; define('PRIMARY_ADDRESS_DESCRIPTION', - 'Tato adresa je nastavena pro zasílání a fakturování objednaného zboží.

    Také se použije pro výpočet daně a způsobu dodání.', - true); + 'Tato adresa je nastavena pro zasílání a fakturování objednaného zboží.

    Také se použije pro výpočet daně a způsobu dodání.'); const ADDRESS_BOOK_TITLE = 'Vložené adresy'; const PRIMARY_ADDRESS = '(Hlavní adresa)'; define('TEXT_MAXIMUM_ENTRIES', - 'POZNÁMKA: Maximálně zde můžete mít uloženo %s addres.', - true); + 'POZNÁMKA: Maximálně zde můžete mít uloženo %s adres.'); ?> diff --git a/includes/languages/czech/address_book_process.php b/includes/languages/czech/address_book_process.php index da4bc2651..bf3687ddf 100644 --- a/includes/languages/czech/address_book_process.php +++ b/includes/languages/czech/address_book_process.php @@ -22,26 +22,21 @@ const HEADING_TITLE_DELETE_ENTRY = 'Smazat vybranou adresu'; const DELETE_ADDRESS_TITLE = 'Smazat adresu'; -define('DELETE_ADDRESS_DESCRIPTION', 'Chcete opravdu smazat vybranou adresu?', - true); +define('DELETE_ADDRESS_DESCRIPTION', 'Chcete opravdu smazat vybranou adresu?'); const NEW_ADDRESS_TITLE = 'Přidat novou adresu'; const SELECTED_ADDRESS = 'Vybrat adresu'; const SET_AS_PRIMARY = 'Nastavit jako hlavní.'; -define('SUCCESS_ADDRESS_BOOK_ENTRY_DELETED', 'Vybraná adresa byla vymazána.', - true); +define('SUCCESS_ADDRESS_BOOK_ENTRY_DELETED', 'Vybraná adresa byla vymazána.'); define('SUCCESS_ADDRESS_BOOK_ENTRY_UPDATED', 'Váš adresář byl úspěšně aktualizován.'); define('WARNING_PRIMARY_ADDRESS_DELETION', - 'Hlavní adresu nelze smazat. Nastavte jinou jako výchozí a pokračujte.', - true); + 'Hlavní adresu nelze smazat. Nastavte jinou jako výchozí a pokračujte.'); -define('ERROR_NONEXISTING_ADDRESS_BOOK_ENTRY', 'Tato adresa v adresáři není.', - true); +define('ERROR_NONEXISTING_ADDRESS_BOOK_ENTRY', 'Tato adresa v adresáři není.'); define('ERROR_ADDRESS_BOOK_FULL', - 'Váš adresář je plný. Smažte některou nepoužívanou adresu a potom přidejte novou.', - true); + 'Váš adresář je plný. Smažte některou nepoužívanou adresu a potom přidejte novou.'); const ENTRY_COMPANY_NUMBER = 'IČ'; diff --git a/includes/languages/czech/checkout_confirmation.php b/includes/languages/czech/checkout_confirmation.php index 465871341..94a9f83bc 100644 --- a/includes/languages/czech/checkout_confirmation.php +++ b/includes/languages/czech/checkout_confirmation.php @@ -28,4 +28,11 @@ const HEADING_ORDER_COMMENTS = 'Poznámka'; const TEXT_EDIT = 'Upravit'; -const EDIT_ITEM = '[upravit]'; +//const EDIT_ITEM = '[upravit]'; + +const IMAGE_BUTTON_FINALISE_ORDER ='Zaplatit %s'; + +const HEADING_QTY = 'Množství'; + +const LIST_PRODUCTS = 'Produkty'; +const ORDER_DETAILS = 'Detaily objednávky'; \ No newline at end of file diff --git a/includes/languages/czech/checkout_payment.php b/includes/languages/czech/checkout_payment.php index 1ebeaf48f..eca2900cf 100644 --- a/includes/languages/czech/checkout_payment.php +++ b/includes/languages/czech/checkout_payment.php @@ -17,8 +17,7 @@ const TABLE_HEADING_BILLING_ADDRESS = 'Hlavní adresa'; define('TEXT_SELECTED_BILLING_DESTINATION', - 'Vyberte nebo vytvořte hlavní adresu, je-li odlišná od adresy dodání.', - true); + 'Vyberte nebo vytvořte hlavní adresu, je-li odlišná od adresy dodání.'); const TITLE_BILLING_ADDRESS = 'Hlavní adresa:'; const TABLE_HEADING_PAYMENT_METHOD = 'Vyberte způsob platby'; @@ -31,5 +30,5 @@ const TITLE_CONTINUE_CHECKOUT_PROCEDURE = 'Pokračujte v nákupu'; const TEXT_CONTINUE_CHECKOUT_PROCEDURE = 'potvrďte objednávku'; - +const BUTTON_CONTINUE_CHECKOUT_PROCEDURE = 'Potvrďte objednávku'; const IMAGE_BUTTON_CONFIRMATION = 'souhrn'; diff --git a/includes/languages/czech/checkout_shipping.php b/includes/languages/czech/checkout_shipping.php index d58779169..ad7b5af9f 100644 --- a/includes/languages/czech/checkout_shipping.php +++ b/includes/languages/czech/checkout_shipping.php @@ -28,10 +28,8 @@ const TABLE_HEADING_COMMENTS = 'Poznámka'; const TITLE_CONTINUE_CHECKOUT_PROCEDURE = 'pokračujte v nákupu'; -define('TEXT_CONTINUE_CHECKOUT_PROCEDURE', 'máte-li vybraný způsob dodání.', - true); - +define('TEXT_CONTINUE_CHECKOUT_PROCEDURE', 'máte-li vybraný způsob dodání.'); +const BUTTON_CONTINUE_CHECKOUT_PROCEDURE = 'Pokračujte k platbě'; define('ERROR_NO_SHIPPING_AVAILABLE_TO_SHIPPING_ADDRESS', - 'Na tuto dodací adresu nelze zboží doručit. Prosíme vyberte nebo vytvořte novou dodací adresu.', - true); + 'Na tuto dodací adresu nelze zboží doručit. Prosíme vyberte nebo vytvořte novou dodací adresu.'); const IMAGE_BUTTON_PAYMENT = 'platba'; diff --git a/includes/languages/czech/contact_us.php b/includes/languages/czech/contact_us.php index 1feba4cc5..473f7e0ab 100644 --- a/includes/languages/czech/contact_us.php +++ b/includes/languages/czech/contact_us.php @@ -13,13 +13,16 @@ const HEADING_TITLE = 'Kontaktujte nás'; const NAVBAR_TITLE = 'Kontaktujte nás'; const TEXT_SUCCESS = 'Váš dotaz byl odeslán provozovateli obchodu.'; -define('EMAIL_SUBJECT', 'Dotaz ze serveru '.STORE_NAME); +define('EMAIL_SUBJECT', 'Dotaz ze serveru %s'); const ENTRY_NAME = 'Jméno:'; const ENTRY_EMAIL = 'E-Mail:'; const ENTRY_ENQUIRY = 'Dotaz/zpráva:'; +const ENTRY_NAME_TEXT = ''; +const ENTRY_EMAIL_TEXT = ''; + +const ENTRY_ENQUIRY_TEXT = ''; define('ERROR_ACTION_RECORDER', - 'Vaše zpráva nebyla odeslána! Chcete-li odeslat dotaz, zkuste to znovu za %s minut. Omlouváme se za případné nepohodlí, toto opatření slouží jako ochrana před automatizovanými útoky na poštovní server.', - true); + 'Vaše zpráva nebyla odeslána! Chcete-li odeslat dotaz, zkuste to znovu za %s minut. Omlouváme se za případné nepohodlí, toto opatření slouží jako ochrana před automatizovanými útoky na poštovní server.'); ?> diff --git a/includes/languages/czech/hooks/shop/siteWide/MATC.php b/includes/languages/czech/hooks/shop/siteWide/MATC.php new file mode 100644 index 000000000..062dc4b5b --- /dev/null +++ b/includes/languages/czech/hooks/shop/siteWide/MATC.php @@ -0,0 +1,18 @@ +T&C and Privacy policies.'; + +// for the modal popup +const MATC_BUTTON_CLOSE = 'Close'; diff --git a/includes/languages/czech/modules/header_tags/ht_category_title.php b/includes/languages/czech/modules/header_tags/ht_category_title.php index 73adcfe7c..4267e1e35 100644 --- a/includes/languages/czech/modules/header_tags/ht_category_title.php +++ b/includes/languages/czech/modules/header_tags/ht_category_title.php @@ -10,6 +10,7 @@ Released under the GNU General Public License */ -const MODULE_HEADER_TAGS_CATEGORY_TITLE_TITLE = 'Category Title'; -const MODULE_HEADER_TAGS_CATEGORY_TITLE_DESCRIPTION = 'Add the title of the current category to the page title'; -?> +const MODULE_HEADER_TAGS_CATEGORY_TITLE_TITLE = 'Kategorie'; +const MODULE_HEADER_TAGS_CATEGORY_TITLE_DESCRIPTION = 'Popis kategorie'; +const MODULE_HEADER_TAGS_CATEGORY_SEO_SEPARATOR = ' | '; +?> \ No newline at end of file diff --git a/includes/languages/czech/modules/header_tags/ht_manufacturer_title.php b/includes/languages/czech/modules/header_tags/ht_manufacturer_title.php index 7ce752a3c..5a52df5c2 100644 --- a/includes/languages/czech/modules/header_tags/ht_manufacturer_title.php +++ b/includes/languages/czech/modules/header_tags/ht_manufacturer_title.php @@ -12,4 +12,5 @@ const MODULE_HEADER_TAGS_MANUFACTURER_TITLE_TITLE = 'Manufacturer Title'; const MODULE_HEADER_TAGS_MANUFACTURER_TITLE_DESCRIPTION = 'Add the title of the current manufacturer to the page title'; +const MODULE_HEADER_TAGS_MANUFACTURER_SEO_SEPARATOR = ' | '; ?> diff --git a/includes/languages/czech/modules/header_tags/ht_product_title.php b/includes/languages/czech/modules/header_tags/ht_product_title.php index ec4149d2e..c7fdd7897 100644 --- a/includes/languages/czech/modules/header_tags/ht_product_title.php +++ b/includes/languages/czech/modules/header_tags/ht_product_title.php @@ -12,4 +12,5 @@ const MODULE_HEADER_TAGS_PRODUCT_TITLE_TITLE = 'Product Title'; const MODULE_HEADER_TAGS_PRODUCT_TITLE_DESCRIPTION = 'Add the title of the current product to the page title'; +const MODULE_HEADER_TAGS_PRODUCT_SEO_SEPARATOR = ' | '; ?> diff --git a/includes/languages/czech/shopping_cart.php b/includes/languages/czech/shopping_cart.php index ed31bf6af..a2a970cea 100644 --- a/includes/languages/czech/shopping_cart.php +++ b/includes/languages/czech/shopping_cart.php @@ -17,11 +17,9 @@ const SUB_TITLE_TOTAL = 'Celkem k úhradě:'; define('OUT_OF_STOCK_CANT_CHECKOUT', - 'Zboží označené '.STOCK_MARK_PRODUCT_OUT_OF_STOCK.' dont exist in desired quantity in our stock.
    Please alter the quantity of products marked with ('.STOCK_MARK_PRODUCT_OUT_OF_STOCK.'), Thank you', - true); + 'Zboží označené '.STOCK_MARK_PRODUCT_OUT_OF_STOCK.' dont exist in desired quantity in our stock.
    Please alter the quantity of products marked with ('.STOCK_MARK_PRODUCT_OUT_OF_STOCK.'), Thank you'); define('OUT_OF_STOCK_CAN_CHECKOUT', - 'Zboží označené '.STOCK_MARK_PRODUCT_OUT_OF_STOCK.' dont exist in desired quantity in our stock.
    You can buy them anyway and check the quantity we have in stock for immediate deliver in the checkout process.', - true); + 'Zboží označené '.STOCK_MARK_PRODUCT_OUT_OF_STOCK.' dont exist in desired quantity in our stock.
    You can buy them anyway and check the quantity we have in stock for immediate deliver in the checkout process.'); const TEXT_ALTERNATIVE_CHECKOUT_METHODS = '- OR -'; const FREE_SHIPPING_REMAINING_1 = 'Nakupte ještě za '; From a64388a3331d67ea32e560544584696e7ee66d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=C4=9Bzslav=20Dvo=C5=99=C3=A1k?= Date: Sat, 17 Apr 2021 08:29:51 +0200 Subject: [PATCH 03/29] Czech Localization fix for create account. --- .gitignore | 1 + composer.lock | 111 ++++++++---------- includes/languages/czech.php | 46 +------- includes/languages/czech/create_account.php | 8 +- .../customer_data/cd_address_book_id.php | 14 +++ .../czech/modules/customer_data/cd_city.php | 18 +++ .../modules/customer_data/cd_company.php | 18 +++ .../modules/customer_data/cd_country.php | 19 +++ .../customer_data/cd_date_account_created.php | 14 +++ .../customer_data/cd_default_address_id.php | 14 +++ .../czech/modules/customer_data/cd_dob.php | 26 ++++ .../customer_data/cd_email_address.php | 23 ++++ .../customer_data/cd_email_username.php | 14 +++ .../czech/modules/customer_data/cd_fax.php | 18 +++ .../modules/customer_data/cd_firstname.php | 18 +++ .../czech/modules/customer_data/cd_gender.php | 21 ++++ .../czech/modules/customer_data/cd_id.php | 14 +++ .../customer_data/cd_informal_short_name.php | 14 +++ .../modules/customer_data/cd_lastname.php | 19 +++ .../czech/modules/customer_data/cd_name_2.php | 14 +++ .../modules/customer_data/cd_newsletter.php | 21 ++++ .../modules/customer_data/cd_password.php | 25 ++++ .../cd_password_confirmation.php | 19 +++ .../customer_data/cd_password_reset.php | 14 +++ .../modules/customer_data/cd_postcode.php | 19 +++ .../customer_data/cd_sortable_name_2.php | 14 +++ .../czech/modules/customer_data/cd_state.php | 19 +++ .../customer_data/cd_street_address.php | 18 +++ .../czech/modules/customer_data/cd_suburb.php | 18 +++ .../modules/customer_data/cd_telephone.php | 18 +++ .../customer_data/cd_traditional_address.php | 14 +++ .../cd_traditional_short_name.php | 18 +++ nbproject/project.properties | 7 ++ nbproject/project.xml | 9 ++ 34 files changed, 573 insertions(+), 104 deletions(-) create mode 100644 includes/languages/czech/modules/customer_data/cd_address_book_id.php create mode 100644 includes/languages/czech/modules/customer_data/cd_city.php create mode 100644 includes/languages/czech/modules/customer_data/cd_company.php create mode 100644 includes/languages/czech/modules/customer_data/cd_country.php create mode 100644 includes/languages/czech/modules/customer_data/cd_date_account_created.php create mode 100644 includes/languages/czech/modules/customer_data/cd_default_address_id.php create mode 100644 includes/languages/czech/modules/customer_data/cd_dob.php create mode 100644 includes/languages/czech/modules/customer_data/cd_email_address.php create mode 100644 includes/languages/czech/modules/customer_data/cd_email_username.php create mode 100644 includes/languages/czech/modules/customer_data/cd_fax.php create mode 100644 includes/languages/czech/modules/customer_data/cd_firstname.php create mode 100644 includes/languages/czech/modules/customer_data/cd_gender.php create mode 100644 includes/languages/czech/modules/customer_data/cd_id.php create mode 100644 includes/languages/czech/modules/customer_data/cd_informal_short_name.php create mode 100644 includes/languages/czech/modules/customer_data/cd_lastname.php create mode 100644 includes/languages/czech/modules/customer_data/cd_name_2.php create mode 100644 includes/languages/czech/modules/customer_data/cd_newsletter.php create mode 100644 includes/languages/czech/modules/customer_data/cd_password.php create mode 100644 includes/languages/czech/modules/customer_data/cd_password_confirmation.php create mode 100644 includes/languages/czech/modules/customer_data/cd_password_reset.php create mode 100644 includes/languages/czech/modules/customer_data/cd_postcode.php create mode 100644 includes/languages/czech/modules/customer_data/cd_sortable_name_2.php create mode 100644 includes/languages/czech/modules/customer_data/cd_state.php create mode 100644 includes/languages/czech/modules/customer_data/cd_street_address.php create mode 100644 includes/languages/czech/modules/customer_data/cd_suburb.php create mode 100644 includes/languages/czech/modules/customer_data/cd_telephone.php create mode 100644 includes/languages/czech/modules/customer_data/cd_traditional_address.php create mode 100644 includes/languages/czech/modules/customer_data/cd_traditional_short_name.php create mode 100644 nbproject/project.properties create mode 100644 nbproject/project.xml diff --git a/.gitignore b/.gitignore index 698f5dca4..f94631086 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /vendor/ /ext/composer/ +/nbproject/private/ diff --git a/composer.lock b/composer.lock index 5ca582968..8e4b193a8 100644 --- a/composer.lock +++ b/composer.lock @@ -198,18 +198,22 @@ }, { "name": "fpdo/fluentpdo", - "version": "v2.2.0", + "version": "v2.2.1", "source": { "type": "git", "url": "https://github.com/envms/fluentpdo.git", - "reference": "8684e2d22ebbcdf4cdcdf7bbe7558459ceb31260" + "reference": "90048d9ae637278ccde922f197b11483df3a48ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/envms/fluentpdo/zipball/8684e2d22ebbcdf4cdcdf7bbe7558459ceb31260", - "reference": "8684e2d22ebbcdf4cdcdf7bbe7558459ceb31260", + "url": "https://api.github.com/repos/envms/fluentpdo/zipball/90048d9ae637278ccde922f197b11483df3a48ea", + "reference": "90048d9ae637278ccde922f197b11483df3a48ea", "shasum": "" }, + "require": { + "ext-pdo": "*", + "php": "^7.1" + }, "require-dev": { "envms/fluent-test": "^1.0", "phpunit/phpunit": "^8.0" @@ -246,9 +250,9 @@ ], "support": { "issues": "https://github.com/envms/fluentpdo/issues", - "source": "https://github.com/envms/fluentpdo/tree/v2.2.0" + "source": "https://github.com/envms/fluentpdo/tree/v2.2.1" }, - "time": "2020-09-30T14:24:57+00:00" + "time": "2021-02-22T23:26:57+00:00" }, { "name": "ondrakoupil/csob-eapi-paygate", @@ -742,12 +746,12 @@ "source": { "type": "git", "url": "https://github.com/VitexSoftware/php-ease-fluentpdo.git", - "reference": "10bb044f142bb04eb4be6e299611d1151dd19266" + "reference": "dd791f11e7e28cc5a9e706bf93237453dd2c877d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/VitexSoftware/php-ease-fluentpdo/zipball/10bb044f142bb04eb4be6e299611d1151dd19266", - "reference": "10bb044f142bb04eb4be6e299611d1151dd19266", + "url": "https://api.github.com/repos/VitexSoftware/php-ease-fluentpdo/zipball/dd791f11e7e28cc5a9e706bf93237453dd2c877d", + "reference": "dd791f11e7e28cc5a9e706bf93237453dd2c877d", "shasum": "" }, "require": { @@ -790,7 +794,7 @@ "type": "patreon" } ], - "time": "2021-04-05T22:22:46+00:00" + "time": "2021-04-11T09:45:46+00:00" }, { "name": "vitexsoftware/ease-html", @@ -849,12 +853,12 @@ "source": { "type": "git", "url": "https://github.com/VitexSoftware/php-ease-twbootstrap4.git", - "reference": "5d38eed09a14c9d895d9b762abaa5c24fc622268" + "reference": "bf5b68270580c1f3ecd54596d88e964028d0c51b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/VitexSoftware/php-ease-twbootstrap4/zipball/5d38eed09a14c9d895d9b762abaa5c24fc622268", - "reference": "5d38eed09a14c9d895d9b762abaa5c24fc622268", + "url": "https://api.github.com/repos/VitexSoftware/php-ease-twbootstrap4/zipball/bf5b68270580c1f3ecd54596d88e964028d0c51b", + "reference": "bf5b68270580c1f3ecd54596d88e964028d0c51b", "shasum": "" }, "require": { @@ -891,7 +895,7 @@ "type": "patreon" } ], - "time": "2021-04-04T15:55:23+00:00" + "time": "2021-04-15T20:09:42+00:00" }, { "name": "vitexsoftware/ease-twbootstrap4-widgets-flexibee", @@ -1226,22 +1230,28 @@ }, { "name": "psr/container", - "version": "1.1.x-dev", + "version": "dev-master", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" + "reference": "2ae37329ee82f91efadc282cc2d527fd6065a5ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", - "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", + "url": "https://api.github.com/repos/php-fig/container/zipball/2ae37329ee82f91efadc282cc2d527fd6065a5ef", + "reference": "2ae37329ee82f91efadc282cc2d527fd6065a5ef", "shasum": "" }, "require": { "php": ">=7.2.0" }, + "default-branch": true, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, "autoload": { "psr-4": { "Psr\\Container\\": "src/" @@ -1268,9 +1278,9 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.x" + "source": "https://github.com/php-fig/container/tree/2.0.1" }, - "time": "2021-03-05T17:36:06+00:00" + "time": "2021-03-24T13:40:57+00:00" }, { "name": "psr/log", @@ -1381,12 +1391,12 @@ "source": { "type": "git", "url": "https://github.com/cakephp/phinx.git", - "reference": "a96c5465a8f3dd64e39c9115a5d383b8d01928ce" + "reference": "bdd8f337fcdf24c20d0b708664a85ca9b8d5dbe2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/phinx/zipball/a96c5465a8f3dd64e39c9115a5d383b8d01928ce", - "reference": "a96c5465a8f3dd64e39c9115a5d383b8d01928ce", + "url": "https://api.github.com/repos/cakephp/phinx/zipball/bdd8f337fcdf24c20d0b708664a85ca9b8d5dbe2", + "reference": "bdd8f337fcdf24c20d0b708664a85ca9b8d5dbe2", "shasum": "" }, "require": { @@ -1460,7 +1470,7 @@ "issues": "https://github.com/cakephp/phinx/issues", "source": "https://github.com/cakephp/phinx/tree/master" }, - "time": "2021-03-17T03:50:36+00:00" + "time": "2021-04-16T14:27:37+00:00" }, { "name": "symfony/config", @@ -1468,12 +1478,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "6105c88534b857c14191af17c1fbe60a1abd30ad" + "reference": "39e6039cd5081176ed1d6c4fa7cfde22a236788b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/6105c88534b857c14191af17c1fbe60a1abd30ad", - "reference": "6105c88534b857c14191af17c1fbe60a1abd30ad", + "url": "https://api.github.com/repos/symfony/config/zipball/39e6039cd5081176ed1d6c4fa7cfde22a236788b", + "reference": "39e6039cd5081176ed1d6c4fa7cfde22a236788b", "shasum": "" }, "require": { @@ -1539,7 +1549,7 @@ "type": "tidelift" } ], - "time": "2021-04-07T16:09:00+00:00" + "time": "2021-04-14T15:38:26+00:00" }, { "name": "symfony/console", @@ -1547,12 +1557,12 @@ "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "5198e2322c7c403048423b5a0b7c134a92630ebe" + "reference": "1d077bd682f7c0794d5f5b794b16e2b30febec6b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/5198e2322c7c403048423b5a0b7c134a92630ebe", - "reference": "5198e2322c7c403048423b5a0b7c134a92630ebe", + "url": "https://api.github.com/repos/symfony/console/zipball/1d077bd682f7c0794d5f5b794b16e2b30febec6b", + "reference": "1d077bd682f7c0794d5f5b794b16e2b30febec6b", "shasum": "" }, "require": { @@ -1638,7 +1648,7 @@ "type": "tidelift" } ], - "time": "2021-04-07T16:09:00+00:00" + "time": "2021-04-16T17:36:28+00:00" }, { "name": "symfony/deprecation-contracts", @@ -2265,34 +2275,29 @@ }, { "name": "symfony/service-contracts", - "version": "dev-main", + "version": "v1.1.2", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb" + "reference": "191afdcb5804db960d26d8566b7e9a2843cab3a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", - "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/191afdcb5804db960d26d8566b7e9a2843cab3a0", + "reference": "191afdcb5804db960d26d8566b7e9a2843cab3a0", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/container": "^1.1" + "php": "^7.1.3" }, "suggest": { + "psr/container": "", "symfony/service-implementation": "" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" + "dev-master": "1.1-dev" } }, "autoload": { @@ -2325,23 +2330,9 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/main" + "source": "https://github.com/symfony/service-contracts/tree/v1.1.2" }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2021-04-01T10:43:52+00:00" + "time": "2019-05-28T07:50:59+00:00" }, { "name": "symfony/string", diff --git a/includes/languages/czech.php b/includes/languages/czech.php index bf9d01f4a..cf0ac440c 100644 --- a/includes/languages/czech.php +++ b/includes/languages/czech.php @@ -105,60 +105,26 @@ function tep_date_raw($date, $reverse = false) { const ENTRY_GENDER = 'Pohlaví:'; const ENTRY_GENDER_ERROR = 'Vyberte pohlaví'; const ENTRY_GENDER_TEXT = ''; -const ENTRY_FIRST_NAME = 'Jméno:'; +//const ENTRY_FIRST_NAME = 'Jméno:'; // define('ENTRY_FIRST_NAME_ERROR', 'Vaše jméno musí mít nejméně ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' znaků.'); -const ENTRY_FIRST_NAME_TEXT = ''; -const ENTRY_LAST_NAME = 'Příjmení:'; -// define('ENTRY_LAST_NAME_ERROR', 'Vaše příjmení musí mít nejméně ' . ENTRY_LAST_NAME_MIN_LENGTH . ' znaků.'); -const ENTRY_LAST_NAME_TEXT = ''; +//const ENTRY_FIRST_NAME_TEXT = ''; +//const ENTRY_LAST_NAME_TEXT = ''; const ENTRY_DATE_OF_BIRTH = 'Datum narození:'; const ENTRY_DATE_OF_BIRTH_ERROR = 'Datum narození ve tvaru: MM/DD/YYYY (eg 05/21/1970)'; const ENTRY_DATE_OF_BIRTH_TEXT = '* (např. 05/21/1970)'; -const ENTRY_EMAIL_ADDRESS = 'E-Mail:'; +//const ENTRY_EMAIL_ADDRESS = 'E-Mail:'; // define('ENTRY_EMAIL_ADDRESS_ERROR', 'E-Mail musí mít nejméně ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' znaků.'); -const ENTRY_EMAIL_ADDRESS_CHECK_ERROR = 'E-Mail je špatně, opravte jej.'; -const ENTRY_EMAIL_ADDRESS_ERROR_EXISTS = 'Váš E-Mail je již v databázi.'; -const ENTRY_EMAIL_ADDRESS_TEXT = ''; -const ENTRY_STREET_ADDRESS = 'Ulice:'; +// const ENTRY_EMAIL_ADDRESS_CHECK_ERROR = 'E-Mail je špatně, opravte jej.'; +//const ENTRY_STREET_ADDRESS = 'Ulice:'; // define('ENTRY_STREET_ADDRESS_ERROR', 'Ulice musí mít nejméně ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' znaků.'); -const ENTRY_STREET_ADDRESS_TEXT = ''; -const ENTRY_SUBURB = 'Čtvrť:'; -const ENTRY_SUBURB_TEXT = ''; -const ENTRY_POST_CODE = 'PSČ:'; -// define('ENTRY_POST_CODE_ERROR', 'PSČ musí mít nejméně ' . ENTRY_POSTCODE_MIN_LENGTH . ' znaků.'); -const ENTRY_POST_CODE_TEXT = ''; -const ENTRY_CITY = 'Město:'; // define('ENTRY_CITY_ERROR', 'Město musí mít nejméně ' . ENTRY_CITY_MIN_LENGTH . ' znaků.'); -const ENTRY_CITY_TEXT = ''; -const ENTRY_STATE = 'Stát:'; // define('ENTRY_STATE_ERROR', 'Stát musí mít nejméně ' . ENTRY_STATE_MIN_LENGTH . ' znaků.'); -const ENTRY_STATE_ERROR_SELECT = 'Please select a state from the States pull down menu.'; -const ENTRY_STATE_TEXT = ''; -const ENTRY_COUNTRY = 'Země:'; -const ENTRY_COUNTRY_ERROR = 'Vyberte zemi v menu.'; -const ENTRY_COUNTRY_TEXT = ''; const ENTRY_TELEPHONE_NUMBER = 'Telefon:'; // define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Telefonní číslo musí mít nejméně ' . ENTRY_TELEPHONE_MIN_LENGTH . ' znaků.'); const ENTRY_TELEPHONE_NUMBER_TEXT = ''; const ENTRY_FAX_NUMBER = 'Fax:'; const ENTRY_FAX_NUMBER_TEXT = ''; -const ENTRY_NEWSLETTER = 'Newsletter:'; -const ENTRY_NEWSLETTER_TEXT = ''; -const ENTRY_NEWSLETTER_YES = 'Přihlásit k zasílání'; -const ENTRY_NEWSLETTER_NO = 'Odhlásit zasílání'; -const ENTRY_PASSWORD = 'Heslo:'; // define('ENTRY_PASSWORD_ERROR', 'Vaše heslo musí mít nejméně ' . ENTRY_PASSWORD_MIN_LENGTH . ' znaků.'); -const ENTRY_PASSWORD_ERROR_NOT_MATCHING = 'Hesla nejsou stejná.'; -const ENTRY_PASSWORD_TEXT = ''; -const ENTRY_PASSWORD_CONFIRMATION = 'Heslo znovu:'; -const ENTRY_PASSWORD_CONFIRMATION_TEXT = ''; -const ENTRY_PASSWORD_CURRENT = 'Původní heslo:'; -const ENTRY_PASSWORD_CURRENT_TEXT = ''; -// define('ENTRY_PASSWORD_CURRENT_ERROR', 'Vaše heslo musí mít nejméně ' . ENTRY_PASSWORD_MIN_LENGTH . ' znaků.'); -const ENTRY_PASSWORD_NEW = 'Nové heslo:'; -const ENTRY_PASSWORD_NEW_TEXT = ''; -// define('ENTRY_PASSWORD_NEW_ERROR', 'Vaše nové heslo musí mít nejméně ' . ENTRY_PASSWORD_MIN_LENGTH . ' znaků.'); -const ENTRY_PASSWORD_NEW_ERROR_NOT_MATCHING = 'Hesla nejsou stejná.'; const PASSWORD_HIDDEN = '--HIDDEN--'; // constants for use in tep_prev_next_display function diff --git a/includes/languages/czech/create_account.php b/includes/languages/czech/create_account.php index 842c12812..387c9de1b 100644 --- a/includes/languages/czech/create_account.php +++ b/includes/languages/czech/create_account.php @@ -23,7 +23,7 @@ define('TEXT_ORIGIN_LOGIN', 'poznámka: Pokud už máte účet, přihlašte se zde.', - true); +); define('EMAIL_SUBJECT', 'Vítáme Vás v eshopu '.STORE_NAME); define('EMAIL_GREET_MR', 'Vážený pane %s,'."\n\n"); @@ -50,14 +50,14 @@ // CCGV define('EMAIL_GV_INCENTIVE_HEADER', "\n\n".'As part of our welcome to new customers, we have sent you an e-Gift Voucher worth %s', - true); +); define('EMAIL_GV_REDEEM', 'The redeem code for the e-Gift Voucher is %s, you can enter the redeem code when checking out while making a purchase', - true); +); const EMAIL_GV_LINK = 'or by following this link '; define('EMAIL_COUPON_INCENTIVE_HEADER', 'Congratulations, to make your first visit to our online shop a more rewarding experience we are sending you an e-Discount Coupon.'."\n".' Below are details of the Discount Coupon created just for you'."\n"); define('EMAIL_COUPON_REDEEM', 'To use the coupon enter the redeem code which is %s during checkout while making a purchase', - true); +); ?> diff --git a/includes/languages/czech/modules/customer_data/cd_address_book_id.php b/includes/languages/czech/modules/customer_data/cd_address_book_id.php new file mode 100644 index 000000000..547904aad --- /dev/null +++ b/includes/languages/czech/modules/customer_data/cd_address_book_id.php @@ -0,0 +1,14 @@ + + + org.netbeans.modules.php.project + + + purehtml/ce-phoenix + + + From bcc63ef861eb745cf3e4e65930cc311a76b300c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=C4=9Bzslav=20Dvo=C5=99=C3=A1k?= Date: Wed, 21 Apr 2021 04:18:50 +0200 Subject: [PATCH 04/29] Initial aplha of CSOB payment --- composer.json | 4 +- composer.lock | 1860 ++++++++--------- .../20210126180402_csob_to_order.php | 20 + .../20210420040259_last_api_request.php | 25 + ext/modules/payment/csob/welcomeback.php | 36 + includes/apps/csob/PUREHTML_CSOB.php | 863 ++++++++ .../apps/csob/hooks/admin/orders/action.php | 26 + includes/apps/csob/hooks/admin/orders/tab.php | 336 +++ .../english/hooks/admin/orders/tab.php | 25 + .../apps/paypal/hooks/admin/orders/action.php | 2 +- includes/classes/Order.php | 27 +- includes/classes/Payment.php | 112 +- includes/functions/database.php | 2 +- includes/hooks/admin/orders/csob.php | 38 + includes/languages/czech/account_history.php | 5 + .../modules/notifications/n_checkout.php | 25 + .../notifications/n_create_account.php | 20 + .../modules/notifications/n_update_order.php | 30 + .../english/modules/payment/csob.php | 10 +- includes/modules/order_total/ot_subtotal.php | 2 +- includes/modules/payment/csob.php | 41 +- .../system/versioned/1.0.0.0/order_total.php | 5 +- .../versioned/1.0.7.10/cart_order_builder.php | 12 +- includes/system/versioned/1.0.7.10/order.php | 2 +- .../system/versioned/1.0.7.3/order_total.php | 4 +- nbproject/project.xml | 2 +- phinx-adapter.php | 5 +- .../ext/modules/payment/csob/welcomeback.php | 0 .../includes/hooks/shop/siteWide/csob.php | 54 + 29 files changed, 2619 insertions(+), 974 deletions(-) create mode 100644 db/migrations/20210126180402_csob_to_order.php create mode 100644 db/migrations/20210420040259_last_api_request.php create mode 100644 ext/modules/payment/csob/welcomeback.php create mode 100644 includes/apps/csob/PUREHTML_CSOB.php create mode 100644 includes/apps/csob/hooks/admin/orders/action.php create mode 100644 includes/apps/csob/hooks/admin/orders/tab.php create mode 100644 includes/apps/csob/languages/english/hooks/admin/orders/tab.php create mode 100644 includes/hooks/admin/orders/csob.php create mode 100644 includes/languages/czech/modules/notifications/n_checkout.php create mode 100644 includes/languages/czech/modules/notifications/n_create_account.php create mode 100644 includes/languages/czech/modules/notifications/n_update_order.php create mode 100644 templates/default/includes/ext/modules/payment/csob/welcomeback.php create mode 100644 templates/default/includes/hooks/shop/siteWide/csob.php diff --git a/composer.json b/composer.json index cdc49da9d..0cd5c9111 100644 --- a/composer.json +++ b/composer.json @@ -15,9 +15,7 @@ "vitexsoftware/ease-twbootstrap4-widgets-flexibee": "dev-abraflexi", "adamstipak/webpay-php": "dev-master", "vitexsoftware/ease-fluentpdo": "*", - "ondrakoupil/csob-eapi-paygate": "dev-master" - }, - "require-dev": { + "ondrakoupil/csob-eapi-paygate": "dev-master", "robmorgan/phinx": "dev-master" }, "autoload": { diff --git a/composer.lock b/composer.lock index 8e4b193a8..62b36712f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "da2f3c7b05ba285b37b91ceb592c9734", + "content-hash": "989ca3700f40f322e3a5388bc869a3b8", "packages": [ { "name": "adamstipak/webpay-php", @@ -55,6 +55,231 @@ }, "time": "2021-03-30T13:33:43+00:00" }, + { + "name": "cakephp/core", + "version": "4.x-dev", + "source": { + "type": "git", + "url": "https://github.com/cakephp/core.git", + "reference": "e4a19ad27b5a3e58db65d5dbb6f9b2e41eeec3ec" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cakephp/core/zipball/e4a19ad27b5a3e58db65d5dbb6f9b2e41eeec3ec", + "reference": "e4a19ad27b5a3e58db65d5dbb6f9b2e41eeec3ec", + "shasum": "" + }, + "require": { + "cakephp/utility": "^4.0", + "php": ">=7.2.0" + }, + "suggest": { + "cakephp/cache": "To use Configure::store() and restore().", + "cakephp/event": "To use PluginApplicationInterface or plugin applications." + }, + "type": "library", + "autoload": { + "psr-4": { + "Cake\\Core\\": "." + }, + "files": [ + "functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/core/graphs/contributors" + } + ], + "description": "CakePHP Framework Core classes", + "homepage": "https://cakephp.org", + "keywords": [ + "cakephp", + "core", + "framework" + ], + "support": { + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "issues": "https://github.com/cakephp/cakephp/issues", + "source": "https://github.com/cakephp/core" + }, + "time": "2019-11-26T02:27:16+00:00" + }, + { + "name": "cakephp/database", + "version": "4.x-dev", + "source": { + "type": "git", + "url": "https://github.com/cakephp/database.git", + "reference": "44b6164a6a22c086f9b26733c7981b8cc378ddb1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cakephp/database/zipball/44b6164a6a22c086f9b26733c7981b8cc378ddb1", + "reference": "44b6164a6a22c086f9b26733c7981b8cc378ddb1", + "shasum": "" + }, + "require": { + "cakephp/core": "^4.0", + "cakephp/datasource": "^4.0", + "php": ">=7.2.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cake\\Database\\": "." + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/database/graphs/contributors" + } + ], + "description": "Flexible and powerful Database abstraction library with a familiar PDO-like API", + "homepage": "https://cakephp.org", + "keywords": [ + "abstraction", + "cakephp", + "database", + "database abstraction", + "pdo" + ], + "support": { + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "issues": "https://github.com/cakephp/cakephp/issues", + "source": "https://github.com/cakephp/database" + }, + "time": "2019-11-21T22:47:36+00:00" + }, + { + "name": "cakephp/datasource", + "version": "4.x-dev", + "source": { + "type": "git", + "url": "https://github.com/cakephp/datasource.git", + "reference": "19c486bd2176bd1d3fa30114492552a8bf9f443c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cakephp/datasource/zipball/19c486bd2176bd1d3fa30114492552a8bf9f443c", + "reference": "19c486bd2176bd1d3fa30114492552a8bf9f443c", + "shasum": "" + }, + "require": { + "cakephp/core": "^4.0", + "php": ">=7.2.0", + "psr/log": "^1.1", + "psr/simple-cache": "^1.0" + }, + "suggest": { + "cakephp/cache": "If you decide to use Query caching.", + "cakephp/collection": "If you decide to use ResultSetInterface.", + "cakephp/utility": "If you decide to use EntityTrait." + }, + "type": "library", + "autoload": { + "psr-4": { + "Cake\\Datasource\\": "." + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/datasource/graphs/contributors" + } + ], + "description": "Provides connection managing and traits for Entities and Queries that can be reused for different datastores", + "homepage": "https://cakephp.org", + "keywords": [ + "cakephp", + "connection management", + "datasource", + "entity", + "query" + ], + "support": { + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "issues": "https://github.com/cakephp/cakephp/issues", + "source": "https://github.com/cakephp/datasource" + }, + "time": "2019-11-20T03:49:13+00:00" + }, + { + "name": "cakephp/utility", + "version": "4.x-dev", + "source": { + "type": "git", + "url": "https://github.com/cakephp/utility.git", + "reference": "4a6ec7e9738a33f4d3fdc267f8a76781384445cc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cakephp/utility/zipball/4a6ec7e9738a33f4d3fdc267f8a76781384445cc", + "reference": "4a6ec7e9738a33f4d3fdc267f8a76781384445cc", + "shasum": "" + }, + "require": { + "cakephp/core": "^4.0", + "php": ">=7.2.0" + }, + "suggest": { + "ext-intl": "To use Text::transliterate() or Text::slug()", + "lib-ICU": "To use Text::transliterate() or Text::slug()" + }, + "type": "library", + "autoload": { + "psr-4": { + "Cake\\Utility\\": "." + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/utility/graphs/contributors" + } + ], + "description": "CakePHP Utility classes such as Inflector, String, Hash, and Security", + "homepage": "https://cakephp.org", + "keywords": [ + "cakephp", + "hash", + "inflector", + "security", + "string", + "utility" + ], + "support": { + "forum": "https://stackoverflow.com/tags/cakephp", + "irc": "irc://irc.freenode.org/cakephp", + "issues": "https://github.com/cakephp/cakephp/issues", + "source": "https://github.com/cakephp/utility" + }, + "time": "2019-11-23T03:57:00+00:00" + }, { "name": "chillerlan/php-qrcode", "version": "4.3.0", @@ -626,37 +851,32 @@ "time": "2021-03-21T15:43:46+00:00" }, { - "name": "spojenet/flexibee", - "version": "2.0.x-dev", + "name": "psr/container", + "version": "dev-master", "source": { "type": "git", - "url": "https://github.com/Spoje-NET/php-abraflexi.git", - "reference": "6159c26a864340810dfc5066d248ca61ffa3cf5d" + "url": "https://github.com/php-fig/container.git", + "reference": "2ae37329ee82f91efadc282cc2d527fd6065a5ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Spoje-NET/php-abraflexi/zipball/6159c26a864340810dfc5066d248ca61ffa3cf5d", - "reference": "6159c26a864340810dfc5066d248ca61ffa3cf5d", + "url": "https://api.github.com/repos/php-fig/container/zipball/2ae37329ee82f91efadc282cc2d527fd6065a5ef", + "reference": "2ae37329ee82f91efadc282cc2d527fd6065a5ef", "shasum": "" }, "require": { - "ext-curl": "*", - "ext-gettext": "*", - "ext-json": "*", - "vitexsoftware/ease-core": ">=1.9" - }, - "replace": { - "spoje.net/flexibee": "*", - "spoje.net/flexipeehp": "*" - }, - "require-dev": { - "phing/phing": "^2", - "phpunit/phpunit": "^9" + "php": ">=7.2.0" }, + "default-branch": true, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, "autoload": { "psr-4": { - "AbraFlexi\\": "src/AbraFlexi/" + "Psr\\Container\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -665,54 +885,52 @@ ], "authors": [ { - "name": "Vítězslav Dvořák", - "email": "vitex@arachne.cz" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "Library for easy interaction with czech accounting system FlexiBee.", + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], "support": { - "issues": "https://github.com/Spoje-NET/php-abraflexi/issues", - "source": "https://github.com/Spoje-NET/php-abraflexi/tree/2.0" + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.1" }, - "funding": [ - { - "url": "https://www.patreon.com/VitexSoftware", - "type": "patreon" - } - ], - "time": "2021-04-02T09:22:39+00:00" + "time": "2021-03-24T13:40:57+00:00" }, { - "name": "vitexsoftware/ease-core", - "version": "1.12", + "name": "psr/log", + "version": "dev-master", "source": { "type": "git", - "url": "https://github.com/VitexSoftware/php-ease-core.git", - "reference": "cd2ab87958c5ec73511816a42d13e81ea364102e" + "url": "https://github.com/php-fig/log.git", + "reference": "a18c1e692e02b84abbafe4856c3cd7cc6903908c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/VitexSoftware/php-ease-core/zipball/cd2ab87958c5ec73511816a42d13e81ea364102e", - "reference": "cd2ab87958c5ec73511816a42d13e81ea364102e", + "url": "https://api.github.com/repos/php-fig/log/zipball/a18c1e692e02b84abbafe4856c3cd7cc6903908c", + "reference": "a18c1e692e02b84abbafe4856c3cd7cc6903908c", "shasum": "" }, "require": { - "pear/mail": "~1.3", - "pear/mail_mime": "~1.10", - "php": ">=7" - }, - "conflict": { - "vitexsoftware/ease-framework": "*" - }, - "require-dev": { - "phpunit/phpunit": "^9", - "roave/security-advisories": "dev-latest" + "php": ">=5.3.0" }, + "default-branch": true, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, "autoload": { "psr-4": { - "Ease\\": "src/Ease/", - "Ease\\Logger\\": "src/Ease/Logger/" + "Psr\\Log\\": "Psr/Log/" } }, "notification-url": "https://packagist.org/downloads/", @@ -721,56 +939,49 @@ ], "authors": [ { - "name": "Vítězslav Dvořák", - "email": "info@vitexsoftware.cz", - "homepage": "http://v.s.cz/" + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" } ], - "description": "An PHP Framework for writing Applications", - "homepage": "http://v.s.cz/ease.php", + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], "support": { - "issues": "https://github.com/VitexSoftware/php-ease-core/issues", - "source": "https://github.com/VitexSoftware/php-ease-core/tree/1.12" + "source": "https://github.com/php-fig/log/tree/master" }, - "funding": [ - { - "url": "https://www.patreon.com/VitexSoftware", - "type": "patreon" - } - ], - "time": "2021-03-02T10:59:13+00:00" + "time": "2021-03-02T15:02:34+00:00" }, { - "name": "vitexsoftware/ease-fluentpdo", - "version": "dev-main", + "name": "psr/simple-cache", + "version": "dev-master", "source": { "type": "git", - "url": "https://github.com/VitexSoftware/php-ease-fluentpdo.git", - "reference": "dd791f11e7e28cc5a9e706bf93237453dd2c877d" + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "5a7b96b1dda5d957e01bc1bfe77dcca09c5a7474" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/VitexSoftware/php-ease-fluentpdo/zipball/dd791f11e7e28cc5a9e706bf93237453dd2c877d", - "reference": "dd791f11e7e28cc5a9e706bf93237453dd2c877d", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/5a7b96b1dda5d957e01bc1bfe77dcca09c5a7474", + "reference": "5a7b96b1dda5d957e01bc1bfe77dcca09c5a7474", "shasum": "" }, "require": { - "fpdo/fluentpdo": "^2.1", - "vitexsoftware/ease-core": "^1.1" - }, - "conflict": { - "vitexsoftware/ease-framework": "*" - }, - "require-dev": { - "phpunit/phpunit": "^9", - "robmorgan/phinx": "^0.12.3", - "vlucas/phpdotenv": "^3" + "php": ">=5.3.0" }, "default-branch": true, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, "autoload": { "psr-4": { - "Ease\\SQL\\": "src/Ease/SQL" + "Psr\\SimpleCache\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -779,49 +990,65 @@ ], "authors": [ { - "name": "Vitex", - "email": "info@vitexsoftware.cz" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "SQL/PDO support for Ease Framework based on FluentPDO", + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], "support": { - "issues": "https://github.com/VitexSoftware/php-ease-fluentpdo/issues", - "source": "https://github.com/VitexSoftware/php-ease-fluentpdo/tree/main" + "source": "https://github.com/php-fig/simple-cache/tree/master" }, - "funding": [ - { - "url": "https://www.patreon.com/VitexSoftware", - "type": "patreon" - } - ], - "time": "2021-04-11T09:45:46+00:00" + "time": "2020-04-21T06:43:17+00:00" }, { - "name": "vitexsoftware/ease-html", - "version": "dev-main", + "name": "robmorgan/phinx", + "version": "dev-master", "source": { "type": "git", - "url": "https://github.com/VitexSoftware/php-ease-html.git", - "reference": "d980f432b8283420f8ed91da938cf83ce826b2a8" + "url": "https://github.com/cakephp/phinx.git", + "reference": "bdd8f337fcdf24c20d0b708664a85ca9b8d5dbe2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/VitexSoftware/php-ease-html/zipball/d980f432b8283420f8ed91da938cf83ce826b2a8", - "reference": "d980f432b8283420f8ed91da938cf83ce826b2a8", + "url": "https://api.github.com/repos/cakephp/phinx/zipball/bdd8f337fcdf24c20d0b708664a85ca9b8d5dbe2", + "reference": "bdd8f337fcdf24c20d0b708664a85ca9b8d5dbe2", "shasum": "" }, "require": { - "vitexsoftware/ease-core": ">= 1.8" + "cakephp/database": "^4.0", + "php": ">=7.2", + "psr/container": "^1.0 || ^2.0", + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/console": "^3.4|^4.0|^5.0" }, "require-dev": { - "phpunit/phpunit": "*" + "cakephp/cakephp-codesniffer": "^3.0", + "ext-json": "*", + "ext-pdo": "*", + "phpunit/phpunit": "^8.5|^9.3", + "sebastian/comparator": ">=1.2.3", + "symfony/yaml": "^3.4|^4.0|^5.0" + }, + "suggest": { + "ext-json": "Install if using JSON configuration format", + "ext-pdo": "PDO extension is needed", + "symfony/yaml": "Install if using YAML configuration format" }, "default-branch": true, + "bin": [ + "bin/phinx" + ], "type": "library", "autoload": { "psr-4": { - "Ease\\": "src/Ease/", - "Ease\\Html\\": "src/Ease/Html/" + "Phinx\\": "src/Phinx/" } }, "notification-url": "https://packagist.org/downloads/", @@ -830,48 +1057,76 @@ ], "authors": [ { - "name": "Vítězslav Vitex Dvořák", - "email": "info@vitexsoftware.cz" + "name": "Rob Morgan", + "email": "robbym@gmail.com", + "homepage": "https://robmorgan.id.au", + "role": "Lead Developer" + }, + { + "name": "Woody Gilk", + "email": "woody.gilk@gmail.com", + "homepage": "https://shadowhand.me", + "role": "Developer" + }, + { + "name": "Richard Quadling", + "email": "rquadling@gmail.com", + "role": "Developer" + }, + { + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/phinx/graphs/contributors", + "role": "Developer" } ], - "description": "Set of HTML rendering objects", + "description": "Phinx makes it ridiculously easy to manage the database migrations for your PHP app.", + "homepage": "https://phinx.org", + "keywords": [ + "database", + "database migrations", + "db", + "migrations", + "phinx" + ], "support": { - "issues": "https://github.com/VitexSoftware/php-ease-html/issues", - "source": "https://github.com/VitexSoftware/php-ease-html/tree/main" + "issues": "https://github.com/cakephp/phinx/issues", + "source": "https://github.com/cakephp/phinx/tree/master" }, - "funding": [ - { - "url": "https://www.patreon.com/VitexSoftware", - "type": "patreon" - } - ], - "time": "2021-03-28T18:25:11+00:00" + "time": "2021-04-16T14:27:37+00:00" }, { - "name": "vitexsoftware/ease-twbootstrap4", - "version": "dev-main", + "name": "spojenet/flexibee", + "version": "2.0.x-dev", "source": { "type": "git", - "url": "https://github.com/VitexSoftware/php-ease-twbootstrap4.git", - "reference": "bf5b68270580c1f3ecd54596d88e964028d0c51b" + "url": "https://github.com/Spoje-NET/php-abraflexi.git", + "reference": "e4c3420b524d3b213bec12c4dc052ff0423a34ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/VitexSoftware/php-ease-twbootstrap4/zipball/bf5b68270580c1f3ecd54596d88e964028d0c51b", - "reference": "bf5b68270580c1f3ecd54596d88e964028d0c51b", + "url": "https://api.github.com/repos/Spoje-NET/php-abraflexi/zipball/e4c3420b524d3b213bec12c4dc052ff0423a34ca", + "reference": "e4c3420b524d3b213bec12c4dc052ff0423a34ca", "shasum": "" }, "require": { - "vitexsoftware/ease-html": ">= 1.25" + "ext-curl": "*", + "ext-gettext": "*", + "ext-json": "*", + "vitexsoftware/ease-core": ">=1.9" + }, + "replace": { + "spoje.net/flexibee": "*", + "spoje.net/flexipeehp": "*" }, "require-dev": { - "phpunit/phpunit": "^8" + "ext-iconv": "*", + "phing/phing": "^2", + "phpunit/phpunit": "^9" }, - "default-branch": true, "type": "library", "autoload": { "psr-4": { - "Ease\\TWB4\\": "src/Ease/TWB4/" + "AbraFlexi\\": "src/AbraFlexi/" } }, "notification-url": "https://packagist.org/downloads/", @@ -880,14 +1135,14 @@ ], "authors": [ { - "name": "Vítězslav Vitex Dvořák", - "email": "info@vitexsoftware.cz" + "name": "Vítězslav Dvořák", + "email": "vitex@arachne.cz" } ], - "description": "Set of Twitter Bootstrap 4 rendering objects", + "description": "Library for easy interaction with czech accounting system FlexiBee.", "support": { - "issues": "https://github.com/VitexSoftware/php-ease-twbootstrap4/issues", - "source": "https://github.com/VitexSoftware/php-ease-twbootstrap4/tree/main" + "issues": "https://github.com/Spoje-NET/php-abraflexi/issues", + "source": "https://github.com/Spoje-NET/php-abraflexi/tree/2.0" }, "funding": [ { @@ -895,586 +1150,11 @@ "type": "patreon" } ], - "time": "2021-04-15T20:09:42+00:00" + "time": "2021-04-18T13:12:30+00:00" }, { - "name": "vitexsoftware/ease-twbootstrap4-widgets-flexibee", - "version": "dev-abraflexi", - "source": { - "type": "git", - "url": "https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi.git", - "reference": "b7d4fe49932fd3845542d66996d059f62f23291e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi/zipball/b7d4fe49932fd3845542d66996d059f62f23291e", - "reference": "b7d4fe49932fd3845542d66996d059f62f23291e", - "shasum": "" - }, - "require": { - "vitexsoftware/ease-twbootstrap4": ">=1.1", - "vitexsoftware/flexibee-bricks": "dev-abraflexi" - }, - "require-dev": { - "phpunit/phpunit": "^9" - }, - "default-branch": true, - "type": "library", - "autoload": { - "psr-4": { - "AbraFlexi\\ui\\TWB4\\": "src/AbraFlexi/ui/TWB4" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Vitex", - "email": "info@vitexsoftware.cz" - } - ], - "description": "php-abraflexi extending classes and widgets", - "support": { - "issues": "https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi/issues", - "source": "https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi/tree/abraflexi" - }, - "funding": [ - { - "url": "https://www.patreon.com/VitexSoftware", - "type": "patreon" - } - ], - "time": "2021-03-06T23:37:26+00:00" - }, - { - "name": "vitexsoftware/flexibee-bricks", - "version": "dev-abraflexi", - "source": { - "type": "git", - "url": "https://github.com/VitexSoftware/php-abraflexi-bricks.git", - "reference": "f3c388284d6358d9f9fae4098bd1808c68309013" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/VitexSoftware/php-abraflexi-bricks/zipball/f3c388284d6358d9f9fae4098bd1808c68309013", - "reference": "f3c388284d6358d9f9fae4098bd1808c68309013", - "shasum": "" - }, - "require": { - "spojenet/flexibee": "2.0.x-dev", - "vitexsoftware/ease-html": ">=1.25" - }, - "require-dev": { - "codeception/codeception": "*", - "phpunit/phpunit": "*" - }, - "type": "library", - "autoload": { - "psr-4": { - "AbraFlexi\\Bricks\\": "src/AbraFlexi/Bricks", - "AbraFlexi\\Bricks\\ConvertRules\\": "src/AbraFlexi/Bricks/ConvertRules", - "AbraFlexi\\ui\\": "src/AbraFlexi/ui" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Vitex", - "email": "info@vitexsoftware.cz" - } - ], - "description": "php-abraflexi extending classes and widgets", - "support": { - "issues": "https://github.com/VitexSoftware/php-abraflexi-bricks/issues", - "source": "https://github.com/VitexSoftware/php-abraflexi-bricks/tree/abraflexi" - }, - "funding": [ - { - "url": "https://www.patreon.com/VitexSoftware", - "type": "patreon" - } - ], - "time": "2021-03-25T10:01:44+00:00" - } - ], - "packages-dev": [ - { - "name": "cakephp/core", - "version": "4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/cakephp/core.git", - "reference": "e4a19ad27b5a3e58db65d5dbb6f9b2e41eeec3ec" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/cakephp/core/zipball/e4a19ad27b5a3e58db65d5dbb6f9b2e41eeec3ec", - "reference": "e4a19ad27b5a3e58db65d5dbb6f9b2e41eeec3ec", - "shasum": "" - }, - "require": { - "cakephp/utility": "^4.0", - "php": ">=7.2.0" - }, - "suggest": { - "cakephp/cache": "To use Configure::store() and restore().", - "cakephp/event": "To use PluginApplicationInterface or plugin applications." - }, - "type": "library", - "autoload": { - "psr-4": { - "Cake\\Core\\": "." - }, - "files": [ - "functions.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "CakePHP Community", - "homepage": "https://github.com/cakephp/core/graphs/contributors" - } - ], - "description": "CakePHP Framework Core classes", - "homepage": "https://cakephp.org", - "keywords": [ - "cakephp", - "core", - "framework" - ], - "support": { - "forum": "https://stackoverflow.com/tags/cakephp", - "irc": "irc://irc.freenode.org/cakephp", - "issues": "https://github.com/cakephp/cakephp/issues", - "source": "https://github.com/cakephp/core" - }, - "time": "2019-11-26T02:27:16+00:00" - }, - { - "name": "cakephp/database", - "version": "4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/cakephp/database.git", - "reference": "44b6164a6a22c086f9b26733c7981b8cc378ddb1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/cakephp/database/zipball/44b6164a6a22c086f9b26733c7981b8cc378ddb1", - "reference": "44b6164a6a22c086f9b26733c7981b8cc378ddb1", - "shasum": "" - }, - "require": { - "cakephp/core": "^4.0", - "cakephp/datasource": "^4.0", - "php": ">=7.2.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Cake\\Database\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "CakePHP Community", - "homepage": "https://github.com/cakephp/database/graphs/contributors" - } - ], - "description": "Flexible and powerful Database abstraction library with a familiar PDO-like API", - "homepage": "https://cakephp.org", - "keywords": [ - "abstraction", - "cakephp", - "database", - "database abstraction", - "pdo" - ], - "support": { - "forum": "https://stackoverflow.com/tags/cakephp", - "irc": "irc://irc.freenode.org/cakephp", - "issues": "https://github.com/cakephp/cakephp/issues", - "source": "https://github.com/cakephp/database" - }, - "time": "2019-11-21T22:47:36+00:00" - }, - { - "name": "cakephp/datasource", - "version": "4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/cakephp/datasource.git", - "reference": "19c486bd2176bd1d3fa30114492552a8bf9f443c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/cakephp/datasource/zipball/19c486bd2176bd1d3fa30114492552a8bf9f443c", - "reference": "19c486bd2176bd1d3fa30114492552a8bf9f443c", - "shasum": "" - }, - "require": { - "cakephp/core": "^4.0", - "php": ">=7.2.0", - "psr/log": "^1.1", - "psr/simple-cache": "^1.0" - }, - "suggest": { - "cakephp/cache": "If you decide to use Query caching.", - "cakephp/collection": "If you decide to use ResultSetInterface.", - "cakephp/utility": "If you decide to use EntityTrait." - }, - "type": "library", - "autoload": { - "psr-4": { - "Cake\\Datasource\\": "." - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "CakePHP Community", - "homepage": "https://github.com/cakephp/datasource/graphs/contributors" - } - ], - "description": "Provides connection managing and traits for Entities and Queries that can be reused for different datastores", - "homepage": "https://cakephp.org", - "keywords": [ - "cakephp", - "connection management", - "datasource", - "entity", - "query" - ], - "support": { - "forum": "https://stackoverflow.com/tags/cakephp", - "irc": "irc://irc.freenode.org/cakephp", - "issues": "https://github.com/cakephp/cakephp/issues", - "source": "https://github.com/cakephp/datasource" - }, - "time": "2019-11-20T03:49:13+00:00" - }, - { - "name": "cakephp/utility", - "version": "4.x-dev", - "source": { - "type": "git", - "url": "https://github.com/cakephp/utility.git", - "reference": "4a6ec7e9738a33f4d3fdc267f8a76781384445cc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/cakephp/utility/zipball/4a6ec7e9738a33f4d3fdc267f8a76781384445cc", - "reference": "4a6ec7e9738a33f4d3fdc267f8a76781384445cc", - "shasum": "" - }, - "require": { - "cakephp/core": "^4.0", - "php": ">=7.2.0" - }, - "suggest": { - "ext-intl": "To use Text::transliterate() or Text::slug()", - "lib-ICU": "To use Text::transliterate() or Text::slug()" - }, - "type": "library", - "autoload": { - "psr-4": { - "Cake\\Utility\\": "." - }, - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "CakePHP Community", - "homepage": "https://github.com/cakephp/utility/graphs/contributors" - } - ], - "description": "CakePHP Utility classes such as Inflector, String, Hash, and Security", - "homepage": "https://cakephp.org", - "keywords": [ - "cakephp", - "hash", - "inflector", - "security", - "string", - "utility" - ], - "support": { - "forum": "https://stackoverflow.com/tags/cakephp", - "irc": "irc://irc.freenode.org/cakephp", - "issues": "https://github.com/cakephp/cakephp/issues", - "source": "https://github.com/cakephp/utility" - }, - "time": "2019-11-23T03:57:00+00:00" - }, - { - "name": "psr/container", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "2ae37329ee82f91efadc282cc2d527fd6065a5ef" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/2ae37329ee82f91efadc282cc2d527fd6065a5ef", - "reference": "2ae37329ee82f91efadc282cc2d527fd6065a5ef", - "shasum": "" - }, - "require": { - "php": ">=7.2.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.1" - }, - "time": "2021-03-24T13:40:57+00:00" - }, - { - "name": "psr/log", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "a18c1e692e02b84abbafe4856c3cd7cc6903908c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/a18c1e692e02b84abbafe4856c3cd7cc6903908c", - "reference": "a18c1e692e02b84abbafe4856c3cd7cc6903908c", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "Psr/Log/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/master" - }, - "time": "2021-03-02T15:02:34+00:00" - }, - { - "name": "psr/simple-cache", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/php-fig/simple-cache.git", - "reference": "5a7b96b1dda5d957e01bc1bfe77dcca09c5a7474" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/5a7b96b1dda5d957e01bc1bfe77dcca09c5a7474", - "reference": "5a7b96b1dda5d957e01bc1bfe77dcca09c5a7474", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "default-branch": true, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\SimpleCache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2020-04-21T06:43:17+00:00" - }, - { - "name": "robmorgan/phinx", - "version": "dev-master", - "source": { - "type": "git", - "url": "https://github.com/cakephp/phinx.git", - "reference": "bdd8f337fcdf24c20d0b708664a85ca9b8d5dbe2" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/cakephp/phinx/zipball/bdd8f337fcdf24c20d0b708664a85ca9b8d5dbe2", - "reference": "bdd8f337fcdf24c20d0b708664a85ca9b8d5dbe2", - "shasum": "" - }, - "require": { - "cakephp/database": "^4.0", - "php": ">=7.2", - "psr/container": "^1.0 || ^2.0", - "symfony/config": "^3.4|^4.0|^5.0", - "symfony/console": "^3.4|^4.0|^5.0" - }, - "require-dev": { - "cakephp/cakephp-codesniffer": "^3.0", - "ext-json": "*", - "ext-pdo": "*", - "phpunit/phpunit": "^8.5|^9.3", - "sebastian/comparator": ">=1.2.3", - "symfony/yaml": "^3.4|^4.0|^5.0" - }, - "suggest": { - "ext-json": "Install if using JSON configuration format", - "ext-pdo": "PDO extension is needed", - "symfony/yaml": "Install if using YAML configuration format" - }, - "default-branch": true, - "bin": [ - "bin/phinx" - ], - "type": "library", - "autoload": { - "psr-4": { - "Phinx\\": "src/Phinx/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Rob Morgan", - "email": "robbym@gmail.com", - "homepage": "https://robmorgan.id.au", - "role": "Lead Developer" - }, - { - "name": "Woody Gilk", - "email": "woody.gilk@gmail.com", - "homepage": "https://shadowhand.me", - "role": "Developer" - }, - { - "name": "Richard Quadling", - "email": "rquadling@gmail.com", - "role": "Developer" - }, - { - "name": "CakePHP Community", - "homepage": "https://github.com/cakephp/phinx/graphs/contributors", - "role": "Developer" - } - ], - "description": "Phinx makes it ridiculously easy to manage the database migrations for your PHP app.", - "homepage": "https://phinx.org", - "keywords": [ - "database", - "database migrations", - "db", - "migrations", - "phinx" - ], - "support": { - "issues": "https://github.com/cakephp/phinx/issues", - "source": "https://github.com/cakephp/phinx/tree/master" - }, - "time": "2021-04-16T14:27:37+00:00" - }, - { - "name": "symfony/config", - "version": "5.x-dev", + "name": "symfony/config", + "version": "5.x-dev", "source": { "type": "git", "url": "https://github.com/symfony/config.git", @@ -1533,7 +1213,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/config/tree/5.x" + "source": "https://github.com/symfony/config/tree/v5.3.0-BETA1" }, "funding": [ { @@ -1632,7 +1312,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/5.x" + "source": "https://github.com/symfony/console/tree/v5.3.0-BETA1" }, "funding": [ { @@ -1763,7 +1443,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/5.x" + "source": "https://github.com/symfony/filesystem/tree/v5.3.0-BETA1" }, "funding": [ { @@ -1960,9 +1640,252 @@ "require": { "php": ">=7.1" }, - "suggest": { - "ext-intl": "For best performance" - }, + "suggest": { + "ext-intl": "For best performance" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-22T09:19:47+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "5232de97ee3b75b0360528dae24e73db49566ab1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/5232de97ee3b75b0360528dae24e73db49566ab1", + "reference": "5232de97ee3b75b0360528dae24e73db49566ab1", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-22T09:19:47+00:00" + }, + { + "name": "symfony/polyfill-php73", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "default-branch": true, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.22-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-01-07T16:49:33+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91", + "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, "default-branch": true, "type": "library", "extra": { @@ -1976,7 +1899,7 @@ }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + "Symfony\\Polyfill\\Php80\\": "" }, "files": [ "bootstrap.php" @@ -1990,6 +1913,10 @@ "MIT" ], "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, { "name": "Nicolas Grekas", "email": "p@tchwork.com" @@ -1999,18 +1926,16 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for intl's Normalizer class and related functions", + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", "homepage": "https://symfony.com", "keywords": [ "compatibility", - "intl", - "normalizer", "polyfill", "portable", "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.22.1" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.1" }, "funding": [ { @@ -2026,45 +1951,108 @@ "type": "tidelift" } ], - "time": "2021-01-22T09:19:47+00:00" + "time": "2021-01-07T16:49:33+00:00" }, { - "name": "symfony/polyfill-mbstring", - "version": "dev-main", + "name": "symfony/service-contracts", + "version": "v1.1.2", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "5232de97ee3b75b0360528dae24e73db49566ab1" + "url": "https://github.com/symfony/service-contracts.git", + "reference": "191afdcb5804db960d26d8566b7e9a2843cab3a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/5232de97ee3b75b0360528dae24e73db49566ab1", - "reference": "5232de97ee3b75b0360528dae24e73db49566ab1", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/191afdcb5804db960d26d8566b7e9a2843cab3a0", + "reference": "191afdcb5804db960d26d8566b7e9a2843cab3a0", "shasum": "" }, "require": { - "php": ">=7.1" + "php": "^7.1.3" }, "suggest": { - "ext-mbstring": "For best performance" + "psr/container": "", + "symfony/service-implementation": "" }, - "default-branch": true, "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } + ], + "description": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/v1.1.2" + }, + "time": "2019-05-28T07:50:59+00:00" + }, + { + "name": "symfony/string", + "version": "5.x-dev", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "01454c66c88a6bb4449dcdeb913e463e075f331b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/01454c66c88a6bb4449dcdeb913e463e075f331b", + "reference": "01454c66c88a6bb4449dcdeb913e463e075f331b", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" + }, + "require-dev": { + "symfony/error-handler": "^4.4|^5.0", + "symfony/http-client": "^4.4|^5.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0" }, + "default-branch": true, + "type": "library", "autoload": { "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" + "Symfony\\Component\\String\\": "" }, "files": [ - "bootstrap.php" + "Resources/functions.php" + ], + "exclude-from-classmap": [ + "/Tests/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -2081,17 +2069,18 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for the Mbstring extension", + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.1" + "source": "https://github.com/symfony/string/tree/v5.3.0-BETA1" }, "funding": [ { @@ -2107,46 +2096,149 @@ "type": "tidelift" } ], - "time": "2021-01-22T09:19:47+00:00" + "time": "2021-03-17T17:12:23+00:00" }, { - "name": "symfony/polyfill-php73", + "name": "vitexsoftware/ease-core", + "version": "1.12", + "source": { + "type": "git", + "url": "https://github.com/VitexSoftware/php-ease-core.git", + "reference": "cd2ab87958c5ec73511816a42d13e81ea364102e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/VitexSoftware/php-ease-core/zipball/cd2ab87958c5ec73511816a42d13e81ea364102e", + "reference": "cd2ab87958c5ec73511816a42d13e81ea364102e", + "shasum": "" + }, + "require": { + "pear/mail": "~1.3", + "pear/mail_mime": "~1.10", + "php": ">=7" + }, + "conflict": { + "vitexsoftware/ease-framework": "*" + }, + "require-dev": { + "phpunit/phpunit": "^9", + "roave/security-advisories": "dev-latest" + }, + "type": "library", + "autoload": { + "psr-4": { + "Ease\\": "src/Ease/", + "Ease\\Logger\\": "src/Ease/Logger/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vítězslav Dvořák", + "email": "info@vitexsoftware.cz", + "homepage": "http://v.s.cz/" + } + ], + "description": "An PHP Framework for writing Applications", + "homepage": "http://v.s.cz/ease.php", + "support": { + "issues": "https://github.com/VitexSoftware/php-ease-core/issues", + "source": "https://github.com/VitexSoftware/php-ease-core/tree/1.12" + }, + "funding": [ + { + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" + } + ], + "time": "2021-03-02T10:59:13+00:00" + }, + { + "name": "vitexsoftware/ease-fluentpdo", "version": "dev-main", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" + "url": "https://github.com/VitexSoftware/php-ease-fluentpdo.git", + "reference": "dd791f11e7e28cc5a9e706bf93237453dd2c877d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", - "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "url": "https://api.github.com/repos/VitexSoftware/php-ease-fluentpdo/zipball/dd791f11e7e28cc5a9e706bf93237453dd2c877d", + "reference": "dd791f11e7e28cc5a9e706bf93237453dd2c877d", "shasum": "" }, "require": { - "php": ">=7.1" + "fpdo/fluentpdo": "^2.1", + "vitexsoftware/ease-core": "^1.1" + }, + "conflict": { + "vitexsoftware/ease-framework": "*" + }, + "require-dev": { + "phpunit/phpunit": "^9", + "robmorgan/phinx": "^0.12.3", + "vlucas/phpdotenv": "^3" }, "default-branch": true, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.22-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" + "autoload": { + "psr-4": { + "Ease\\SQL\\": "src/Ease/SQL" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Vitex", + "email": "info@vitexsoftware.cz" + } + ], + "description": "SQL/PDO support for Ease Framework based on FluentPDO", + "support": { + "issues": "https://github.com/VitexSoftware/php-ease-fluentpdo/issues", + "source": "https://github.com/VitexSoftware/php-ease-fluentpdo/tree/main" + }, + "funding": [ + { + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" } + ], + "time": "2021-04-11T09:45:46+00:00" + }, + { + "name": "vitexsoftware/ease-html", + "version": "dev-main", + "source": { + "type": "git", + "url": "https://github.com/VitexSoftware/php-ease-html.git", + "reference": "d980f432b8283420f8ed91da938cf83ce826b2a8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/VitexSoftware/php-ease-html/zipball/d980f432b8283420f8ed91da938cf83ce826b2a8", + "reference": "d980f432b8283420f8ed91da938cf83ce826b2a8", + "shasum": "" + }, + "require": { + "vitexsoftware/ease-core": ">= 1.8" + }, + "require-dev": { + "phpunit/phpunit": "*" }, + "default-branch": true, + "type": "library", "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] + "Ease\\": "src/Ease/", + "Ease\\Html\\": "src/Ease/Html/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2154,79 +2246,49 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Vítězslav Vitex Dvořák", + "email": "info@vitexsoftware.cz" } ], - "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], + "description": "Set of HTML rendering objects", "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.1" + "issues": "https://github.com/VitexSoftware/php-ease-html/issues", + "source": "https://github.com/VitexSoftware/php-ease-html/tree/main" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2021-03-28T18:25:11+00:00" }, { - "name": "symfony/polyfill-php80", + "name": "vitexsoftware/ease-twbootstrap4", "version": "dev-main", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91" + "url": "https://github.com/VitexSoftware/php-ease-twbootstrap4.git", + "reference": "bf5b68270580c1f3ecd54596d88e964028d0c51b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91", - "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91", + "url": "https://api.github.com/repos/VitexSoftware/php-ease-twbootstrap4/zipball/bf5b68270580c1f3ecd54596d88e964028d0c51b", + "reference": "bf5b68270580c1f3ecd54596d88e964028d0c51b", "shasum": "" }, "require": { - "php": ">=7.1" + "vitexsoftware/ease-html": ">= 1.25" + }, + "require-dev": { + "phpunit/phpunit": "^8" }, "default-branch": true, "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.22-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "files": [ - "bootstrap.php" - ], - "classmap": [ - "Resources/stubs" - ] + "Ease\\TWB4\\": "src/Ease/TWB4/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2234,75 +2296,49 @@ ], "authors": [ { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Vítězslav Vitex Dvořák", + "email": "info@vitexsoftware.cz" } ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], + "description": "Set of Twitter Bootstrap 4 rendering objects", "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.1" + "issues": "https://github.com/VitexSoftware/php-ease-twbootstrap4/issues", + "source": "https://github.com/VitexSoftware/php-ease-twbootstrap4/tree/main" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2021-04-15T20:09:42+00:00" }, { - "name": "symfony/service-contracts", - "version": "v1.1.2", + "name": "vitexsoftware/ease-twbootstrap4-widgets-flexibee", + "version": "dev-abraflexi", "source": { "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "191afdcb5804db960d26d8566b7e9a2843cab3a0" + "url": "https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi.git", + "reference": "b7d4fe49932fd3845542d66996d059f62f23291e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/191afdcb5804db960d26d8566b7e9a2843cab3a0", - "reference": "191afdcb5804db960d26d8566b7e9a2843cab3a0", + "url": "https://api.github.com/repos/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi/zipball/b7d4fe49932fd3845542d66996d059f62f23291e", + "reference": "b7d4fe49932fd3845542d66996d059f62f23291e", "shasum": "" }, "require": { - "php": "^7.1.3" + "vitexsoftware/ease-twbootstrap4": ">=1.1", + "vitexsoftware/flexibee-bricks": "dev-abraflexi" }, - "suggest": { - "psr/container": "", - "symfony/service-implementation": "" + "require-dev": { + "phpunit/phpunit": "^9" }, + "default-branch": true, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, "autoload": { "psr-4": { - "Symfony\\Contracts\\Service\\": "" + "AbraFlexi\\ui\\TWB4\\": "src/AbraFlexi/ui/TWB4" } }, "notification-url": "https://packagist.org/downloads/", @@ -2311,69 +2347,52 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Vitex", + "email": "info@vitexsoftware.cz" } ], - "description": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], + "description": "php-abraflexi extending classes and widgets", "support": { - "source": "https://github.com/symfony/service-contracts/tree/v1.1.2" + "issues": "https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi/issues", + "source": "https://github.com/VitexSoftware/php-ease-twbootstrap4-widgets-abraflexi/tree/abraflexi" }, - "time": "2019-05-28T07:50:59+00:00" + "funding": [ + { + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" + } + ], + "time": "2021-03-06T23:37:26+00:00" }, { - "name": "symfony/string", - "version": "5.x-dev", + "name": "vitexsoftware/flexibee-bricks", + "version": "dev-abraflexi", "source": { "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "01454c66c88a6bb4449dcdeb913e463e075f331b" + "url": "https://github.com/VitexSoftware/php-abraflexi-bricks.git", + "reference": "f3c388284d6358d9f9fae4098bd1808c68309013" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/01454c66c88a6bb4449dcdeb913e463e075f331b", - "reference": "01454c66c88a6bb4449dcdeb913e463e075f331b", + "url": "https://api.github.com/repos/VitexSoftware/php-abraflexi-bricks/zipball/f3c388284d6358d9f9fae4098bd1808c68309013", + "reference": "f3c388284d6358d9f9fae4098bd1808c68309013", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php80": "~1.15" + "spojenet/flexibee": "2.0.x-dev", + "vitexsoftware/ease-html": ">=1.25" }, "require-dev": { - "symfony/error-handler": "^4.4|^5.0", - "symfony/http-client": "^4.4|^5.0", - "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0" + "codeception/codeception": "*", + "phpunit/phpunit": "*" }, - "default-branch": true, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "files": [ - "Resources/functions.php" - ], - "exclude-from-classmap": [ - "/Tests/" - ] + "AbraFlexi\\Bricks\\": "src/AbraFlexi/Bricks", + "AbraFlexi\\Bricks\\ConvertRules\\": "src/AbraFlexi/Bricks/ConvertRules", + "AbraFlexi\\ui\\": "src/AbraFlexi/ui" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2381,44 +2400,25 @@ ], "authors": [ { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Vitex", + "email": "info@vitexsoftware.cz" } ], - "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], + "description": "php-abraflexi extending classes and widgets", "support": { - "source": "https://github.com/symfony/string/tree/5.x" + "issues": "https://github.com/VitexSoftware/php-abraflexi-bricks/issues", + "source": "https://github.com/VitexSoftware/php-abraflexi-bricks/tree/abraflexi" }, "funding": [ { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" + "url": "https://www.patreon.com/VitexSoftware", + "type": "patreon" } ], - "time": "2021-03-17T17:12:23+00:00" + "time": "2021-03-25T10:01:44+00:00" } ], + "packages-dev": [], "aliases": [], "minimum-stability": "dev", "stability-flags": { diff --git a/db/migrations/20210126180402_csob_to_order.php b/db/migrations/20210126180402_csob_to_order.php new file mode 100644 index 000000000..4e7cb2457 --- /dev/null +++ b/db/migrations/20210126180402_csob_to_order.php @@ -0,0 +1,20 @@ +table('csob', ['id' => false, 'primary_key' => 'payId']); + $table->addColumn('payId', 'string', ['length' => 15]) + ->addColumn('paymentStatus', 'integer', ['default' => 1]) + ->addColumn('orders_id', 'integer', ['null' => false,'signed'=>false]) + ->addColumn('created', 'datetime', ['default' => 'CURRENT_TIMESTAMP']) + ->create(); + } + +} diff --git a/db/migrations/20210420040259_last_api_request.php b/db/migrations/20210420040259_last_api_request.php new file mode 100644 index 000000000..f133aa266 --- /dev/null +++ b/db/migrations/20210420040259_last_api_request.php @@ -0,0 +1,25 @@ +table('csob'); + $table->addColumn('updated', 'timestamp', ['after' => 'created','null'=>'true']) + ->update(); + } +} diff --git a/ext/modules/payment/csob/welcomeback.php b/ext/modules/payment/csob/welcomeback.php new file mode 100644 index 000000000..7542901e5 --- /dev/null +++ b/ext/modules/payment/csob/welcomeback.php @@ -0,0 +1,36 @@ +update_status(); + +if (( is_array($payment_modules->modules) && (count($payment_modules->modules) > 1) && !is_object(${$_SESSION['payment']}) ) || (is_object(${$_SESSION['payment']}) && (${$_SESSION['payment']}->enabled == false))) { + tep_redirect(tep_href_link('checkout_payment.php', 'error_message=' . urlencode(ERROR_NO_PAYMENT_MODULE_SELECTED), 'SSL')); +} + +if (is_array($payment_modules->modules)) { + $payment_modules->pre_confirmation_check(); +} diff --git a/includes/apps/csob/PUREHTML_CSOB.php b/includes/apps/csob/PUREHTML_CSOB.php new file mode 100644 index 000000000..8ebf23e6d --- /dev/null +++ b/includes/apps/csob/PUREHTML_CSOB.php @@ -0,0 +1,863 @@ + $value) { + if ((strpos($key, '_nh-dns') !== false) || in_array($key, $filter)) { + $value = '**********'; + } + + $request_string .= $key . ': ' . $value . "\n"; + } + } else { + $request_string = $request; + } + + $response_string = ''; + + if (is_array($response)) { + foreach ($response as $key => $value) { + if (is_array($value)) { + $value = http_build_query($value); + } elseif ((strpos($key, '_nh-dns') !== false) || in_array($key, $filter)) { + $value = '**********'; + } + + $response_string .= $key . ': ' . $value . "\n"; + } + } else { + $response_string = $response; + } + + $data = [ + 'customers_id' => ($_SESSION['customer_id'] ?? 0), + 'module' => $module, + 'action' => $action . (($is_ipn === true) ? ' [IPN]' : ''), + 'result' => $result, + 'server' => ($server == 'live') ? 1 : -1, + 'request' => trim($request_string), + 'response' => trim($response_string), + 'ip_address' => sprintf('%u', ip2long(tep_get_ip_address())), + 'date_added' => 'NOW()', + ]; + + tep_db_perform('PUREHTML_APP_CSOB_log', $data); + } + + function migrate() { + $migrated = false; + + foreach ($this->getModules() as $module) { + if (!defined('PUREHTML_APP_CSOB_' . $module . '_STATUS')) { + $this->saveParameter('PUREHTML_APP_CSOB_' . $module . '_STATUS', ''); + + $class = 'OSCOM_CSOB_' . $module; + + if (!class_exists($class)) { + $this->loadLanguageFile("modules/$module/$module.php"); + + include(DIR_FS_CATALOG . "includes/apps/csob/modules/$module/$module.php"); + } + + $m = new $class(); + + if (method_exists($m, 'canMigrate') && $m->canMigrate()) { + $m->migrate($this); + + if ($migrated === false) { + $migrated = true; + } + } + } + } + + return $migrated; + } + + function getModules() { + static $result; + + if (!isset($result)) { + $result = []; + + $d = DIR_FS_CATALOG . 'includes/apps/csob/modules/'; + if ($dir = @dir($d)) { + while ($file = $dir->read()) { + if (in_array($file, ['.', '..'])) { + continue; + } + + if (is_dir("$d/$file") && file_exists("$d/$file/$file.php")) { + $sort_order = $this->getModuleInfo($file, 'sort_order'); + + if (is_numeric($sort_order)) { + $counter = (int) $sort_order; + } else { + $counter = count($result); + } + + while (true) { + if (isset($result[$counter])) { + $counter++; + + continue; + } + + $result[$counter] = $file; + + break; + } + } + } + + ksort($result, SORT_NUMERIC); + } + } + + return $result; + } + + function isInstalled($module) { + if (file_exists(DIR_FS_CATALOG . 'includes/apps/csob/modules/' . basename($module) . '/' . basename($module) . '.php')) { + return defined('PUREHTML_APP_CSOB_' . basename($module) . '_STATUS') && tep_not_null(constant('PUREHTML_APP_CSOB_' . basename($module) . '_STATUS')); + } + + return false; + } + + function getModuleInfo($module, $info) { + $class = 'OSCOM_CSOB_' . $module; + + if (!class_exists($class)) { + $this->loadLanguageFile("modules/$module/$module.php"); + + include DIR_FS_CATALOG . "includes/apps/csob/modules/$module/$module.php"; + } + + $m = new $class(); + + return $m->{'_' . $info}; + } + + function hasCredentials($module, $type = null) { + if (!defined('PUREHTML_APP_CSOB_' . $module . '_STATUS')) { + return false; + } + + $server = constant('PUREHTML_APP_CSOB_' . $module . '_STATUS'); + + if (!in_array($server, ['1', '0'])) { + return false; + } + + $server = ($server == '1') ? 'LIVE' : 'SANDBOX'; + + if ($type == 'email') { + $creds = ['PUREHTML_APP_CSOB_' . $server . '_SELLER_EMAIL']; + } elseif (substr($type, 0, 7) == 'payflow') { + if (strlen($type) > 7) { + $creds = ['PUREHTML_APP_CSOB_PF_' . $server . '_' . strtoupper(substr($type, 8))]; + } else { + $creds = [ + 'PUREHTML_APP_CSOB_PF_' . $server . '_VENDOR', + 'PUREHTML_APP_CSOB_PF_' . $server . '_PASSWORD', + 'PUREHTML_APP_CSOB_PF_' . $server . '_PARTNER', + ]; + } + } else { + $creds = [ + 'PUREHTML_APP_CSOB_' . $server . '_API_USERNAME', + 'PUREHTML_APP_CSOB_' . $server . '_API_PASSWORD', + 'PUREHTML_APP_CSOB_' . $server . '_API_SIGNATURE', + ]; + } + + foreach ($creds as $c) { + if (!defined($c) || (strlen(trim(constant($c))) < 1)) { + return false; + } + } + + return true; + } + + function getCredentials($module, $type) { + if (constant('PUREHTML_APP_CSOB_' . $module . '_STATUS') == '1') { + if ($type == 'email') { + return constant('PUREHTML_APP_CSOB_LIVE_SELLER_EMAIL'); + } elseif ($type == 'email_primary') { + return constant('PUREHTML_APP_CSOB_LIVE_SELLER_EMAIL_PRIMARY'); + } elseif (substr($type, 0, 7) == 'payflow') { + return constant('PUREHTML_APP_CSOB_PF_LIVE_' . strtoupper(substr($type, 8))); + } else { + return constant('PUREHTML_APP_CSOB_LIVE_API_' . strtoupper($type)); + } + } + + if ($type == 'email') { + return constant('PUREHTML_APP_CSOB_SANDBOX_SELLER_EMAIL'); + } elseif ($type == 'email_primary') { + return constant('PUREHTML_APP_CSOB_SANDBOX_SELLER_EMAIL_PRIMARY'); + } elseif (substr($type, 0, 7) == 'payflow') { + return constant('PUREHTML_APP_CSOB_PF_SANDBOX_' . strtoupper(substr($type, 8))); + } else { + return constant('PUREHTML_APP_CSOB_SANDBOX_API_' . strtoupper($type)); + } + } + + function hasApiCredentials($server, $type = null) { + $server = ($server == 'live') ? 'LIVE' : 'SANDBOX'; + + if ($type == 'email') { + $creds = ['PUREHTML_APP_CSOB_' . $server . '_SELLER_EMAIL']; + } elseif (substr($type, 0, 7) == 'payflow') { + $creds = ['PUREHTML_APP_CSOB_PF_' . $server . '_' . strtoupper(substr($type, 8))]; + } else { + $creds = [ + 'PUREHTML_APP_CSOB_' . $server . '_API_USERNAME', + 'PUREHTML_APP_CSOB_' . $server . '_API_PASSWORD', + 'PUREHTML_APP_CSOB_' . $server . '_API_SIGNATURE', + ]; + } + + foreach ($creds as $c) { + if (!defined($c) || (strlen(trim(constant($c))) < 1)) { + return false; + } + } + + return true; + } + + function getApiCredentials($server, $type) { + if (($server == 'live') && defined('PUREHTML_APP_CSOB_LIVE_API_' . strtoupper($type))) { + return constant('PUREHTML_APP_CSOB_LIVE_API_' . strtoupper($type)); + } elseif (defined('PUREHTML_APP_CSOB_SANDBOX_API_' . strtoupper($type))) { + return constant('PUREHTML_APP_CSOB_SANDBOX_API_' . strtoupper($type)); + } + } + + function getParameters($module) { + $result = []; + + if ($module == 'G') { + if ($dir = @dir(DIR_FS_CATALOG . 'includes/apps/csob/cfg_params/')) { + while ($file = $dir->read()) { + if (!is_dir(DIR_FS_CATALOG . 'includes/apps/csob/cfg_params/' . $file) && (substr($file, strrpos($file, '.')) == '.php')) { + $result[] = 'PUREHTML_APP_CSOB_' . strtoupper(substr($file, 0, strrpos($file, '.'))); + } + } + } + } else { + if ($dir = @dir(DIR_FS_CATALOG . 'includes/apps/csob/modules/' . $module . '/cfg_params/')) { + while ($file = $dir->read()) { + if (!is_dir(DIR_FS_CATALOG . 'includes/apps/csob/modules/' . $module . '/cfg_params/' . $file) && (substr($file, strrpos($file, '.')) == '.php')) { + $result[] = 'PUREHTML_APP_CSOB_' . $module . '_' . strtoupper(substr($file, 0, strrpos($file, '.'))); + } + } + } + } + + return $result; + } + + function getInputParameters($module) { + $result = []; + + if ($module == 'G') { + $cut = 'PUREHTML_APP_CSOB_'; + } else { + $cut = 'PUREHTML_APP_CSOB_' . $module . '_'; + } + + $cut_length = strlen($cut); + + foreach ($this->getParameters($module) as $key) { + $p = strtolower(substr($key, $cut_length)); + + if ($module == 'G') { + $cfg_class = 'OSCOM_CSOB_Cfg_' . $p; + + if (!class_exists($cfg_class)) { + $this->loadLanguageFile('cfg_params/' . $p . '.php'); + + include(DIR_FS_CATALOG . 'includes/apps/csob/cfg_params/' . $p . '.php'); + } + } else { + $cfg_class = 'OSCOM_CSOB_' . $module . '_Cfg_' . $p; + + if (!class_exists($cfg_class)) { + $this->loadLanguageFile('modules/' . $module . '/cfg_params/' . $p . '.php'); + + include(DIR_FS_CATALOG . 'includes/apps/csob/modules/' . $module . '/cfg_params/' . $p . '.php'); + } + } + + $cfg = new $cfg_class(); + + if (!defined($key)) { + $this->saveParameter($key, $cfg->default, ($cfg->title ?? null), ($cfg->description ?? null), ($cfg->set_func ?? null)); + } + + if (!isset($cfg->app_configured) || ($cfg->app_configured !== false)) { + if (isset($cfg->sort_order) && is_numeric($cfg->sort_order)) { + $counter = (int) $cfg->sort_order; + } else { + $counter = count($result); + } + + while (true) { + if (isset($result[$counter])) { + $counter++; + + continue; + } + + $set_field = $cfg->getSetField(); + + if (!empty($set_field)) { + $result[$counter] = $set_field; + } + + break; + } + } + } + + ksort($result, SORT_NUMERIC); + + return $result; + } + +// APP calls require $server to be "live" or "sandbox" + function getApiResult($module, $call, $extra_params = null, $server = null, $is_ipn = false) { + if ($module == 'APP') { + $function = 'OSCOM_CSOB_Api_' . $call; + + if (!function_exists($function)) { + require DIR_FS_CATALOG . 'includes/apps/csob/api/' . $call . '.php'; + } + } else { + if (!isset($server)) { + $server = (constant('PUREHTML_APP_CSOB_' . $module . '_STATUS') == '1') ? 'live' : 'sandbox'; + } + + $function = 'OSCOM_CSOB_' . $module . '_Api_' . $call; + + if (!function_exists($function)) { + include(DIR_FS_CATALOG . 'includes/apps/csob/modules/' . $module . '/api/' . $call . '.php'); + } + } + + $result = $function($this, $server, $extra_params); + + $this->log($module, $call, ($result['success'] === true) ? 1 : -1, $result['req'], $result['res'], $server, $is_ipn); + + return $result['res']; + } + + function makeApiCall($url, $parameters = null, $headers = null, $opts = null) { + $server = parse_url($url); + + if (!isset($server['port'])) { + $server['port'] = ($server['scheme'] == 'https') ? 443 : 80; + } + + if (!isset($server['path'])) { + $server['path'] = '/'; + } + + $curl = curl_init($server['scheme'] . '://' . $server['host'] . $server['path'] . (isset($server['query']) ? '?' . $server['query'] : '')); + curl_setopt($curl, CURLOPT_PORT, $server['port']); + curl_setopt($curl, CURLOPT_HEADER, false); + curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); + curl_setopt($curl, CURLOPT_FORBID_REUSE, true); + curl_setopt($curl, CURLOPT_FRESH_CONNECT, true); + curl_setopt($curl, CURLOPT_ENCODING, ''); // disable gzip + + if (isset($parameters)) { + curl_setopt($curl, CURLOPT_POST, true); + curl_setopt($curl, CURLOPT_POSTFIELDS, $parameters); + } + + if (isset($headers) && is_array($headers) && !empty($headers)) { + curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); + } + + if (isset($server['user']) && isset($server['pass'])) { + curl_setopt($curl, CURLOPT_USERPWD, $server['user'] . ':' . $server['pass']); + } + + if (defined('PUREHTML_APP_CSOB_VERIFY_SSL') && (PUREHTML_APP_CSOB_VERIFY_SSL == '1')) { + curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, true); + curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2); + + if ((substr($server['host'], -10) == 'csob.com') && file_exists(DIR_FS_CATALOG . 'ext/modules/payment/csob/csob.com.crt')) { + curl_setopt($curl, CURLOPT_CAINFO, DIR_FS_CATALOG . 'ext/modules/payment/csob/csob.com.crt'); + } elseif (file_exists(DIR_FS_CATALOG . 'includes/cacert.pem')) { + curl_setopt($curl, CURLOPT_CAINFO, DIR_FS_CATALOG . 'includes/cacert.pem'); + } + } else { + curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); + } + + if (substr($server['host'], -10) == 'csob.com') { + $ssl_version = 0; + + if (defined('PUREHTML_APP_CSOB_SSL_VERSION') && (PUREHTML_APP_CSOB_SSL_VERSION == '1')) { + $ssl_version = 6; + } + + if (isset($opts['sslVersion']) && is_int($opts['sslVersion'])) { + $ssl_version = $opts['sslVersion']; + } + + if ($ssl_version !== 0) { + curl_setopt($curl, CURLOPT_SSLVERSION, $ssl_version); + } + } + + if (defined('PUREHTML_APP_CSOB_PROXY') && tep_not_null(PUREHTML_APP_CSOB_PROXY)) { + curl_setopt($curl, CURLOPT_HTTPPROXYTUNNEL, true); + curl_setopt($curl, CURLOPT_PROXY, PUREHTML_APP_CSOB_PROXY); + } + + $result = curl_exec($curl); + + if (isset($opts['returnFull']) && ($opts['returnFull'] === true)) { + $result = [ + 'response' => $result, + 'error' => curl_error($curl), + 'info' => curl_getinfo($curl), + ]; + } + + curl_close($curl); + + return $result; + } + + function drawButton($title = null, $link = null, $type = null, $params = null, $force_css = false) { + $colours = [ + 'success' => 'success', + 'error' => 'danger', + 'warning' => 'warning', + 'info' => 'info', + 'primary' => 'primary', + ]; + + if (!isset($type) || !in_array($type, array_keys($colours))) { + $type = 'info'; + } + + $button = ''; + + if (isset($link)) { + $button .= ''; + } else { + $button .= '