From 420bb7a19a80881565b9825a927ecfe8d81ed4ea Mon Sep 17 00:00:00 2001 From: saparatayev Date: Thu, 12 Aug 2021 16:58:08 +0500 Subject: [PATCH 01/15] fix: when send message from contact form, fill up your balance-show success message --- plugins/tps/birzha/components/Balance.php | 5 +++-- plugins/tps/birzha/components/ContactForm.php | 5 +++-- plugins/tps/birzha/components/balance/default.htm | 4 +--- .../tps/birzha/components/balance/payment_finish.htm | 11 +++++++++++ plugins/tps/birzha/components/contactForm/default.htm | 6 ++---- .../birzha/components/contactForm/message_sent.htm | 11 +++++++++++ 6 files changed, 31 insertions(+), 11 deletions(-) create mode 100644 plugins/tps/birzha/components/balance/payment_finish.htm create mode 100644 plugins/tps/birzha/components/contactForm/message_sent.htm diff --git a/plugins/tps/birzha/components/Balance.php b/plugins/tps/birzha/components/Balance.php index acbcd0a75..7728fa0d9 100644 --- a/plugins/tps/birzha/components/Balance.php +++ b/plugins/tps/birzha/components/Balance.php @@ -90,8 +90,9 @@ class Balance extends ComponentBase $newPayment->bank_file = \Input::file('bank_file'); $newPayment->save(); - \Flash::success('Администратор просмотрит ваш документ оплаты, и средства перейдут на ваш баланс. Спасибо'); - return \Redirect::back(); + return [ + '#form-steps' => $this->renderPartial('@payment_finish') + ]; } protected function validateForm($data, $rules) { diff --git a/plugins/tps/birzha/components/ContactForm.php b/plugins/tps/birzha/components/ContactForm.php index cd18ac4d8..5f55b5bec 100644 --- a/plugins/tps/birzha/components/ContactForm.php +++ b/plugins/tps/birzha/components/ContactForm.php @@ -40,8 +40,9 @@ class ContactForm extends ComponentBase $message->subject('Birzha web site contact form'); }); - \Flash::success('Сообщение отправлено'); - return \Redirect::back(); + return [ + '#form-steps' => $this->renderPartial('@message_sent') + ]; } } } \ No newline at end of file diff --git a/plugins/tps/birzha/components/balance/default.htm b/plugins/tps/birzha/components/balance/default.htm index bb6bbef61..139fc2d0b 100644 --- a/plugins/tps/birzha/components/balance/default.htm +++ b/plugins/tps/birzha/components/balance/default.htm @@ -12,9 +12,7 @@ Пополнение баланса - {% flash success %} -

{{ message }}

- {% endflash %} +
+
+
+ +
+ Администратор просмотрит ваш документ оплаты, и средства перейдут на ваш баланс. Спасибо +
+ +
+
+ \ No newline at end of file diff --git a/plugins/tps/birzha/components/contactForm/default.htm b/plugins/tps/birzha/components/contactForm/default.htm index c5780ce12..985ccbd73 100644 --- a/plugins/tps/birzha/components/contactForm/default.htm +++ b/plugins/tps/birzha/components/contactForm/default.htm @@ -3,14 +3,12 @@
-
+
Обратная связь
- {% flash success %} -

{{ message }}

- {% endflash %} +
diff --git a/plugins/tps/birzha/components/contactForm/message_sent.htm b/plugins/tps/birzha/components/contactForm/message_sent.htm new file mode 100644 index 000000000..138c570cb --- /dev/null +++ b/plugins/tps/birzha/components/contactForm/message_sent.htm @@ -0,0 +1,11 @@ +
+
+
+ +
+ Сообщение отправлено +
+ +
+
+
\ No newline at end of file From 14301c0de5e2a1871057d085c1afd61b3910e3ee Mon Sep 17 00:00:00 2001 From: saparatayev Date: Thu, 12 Aug 2021 16:58:43 +0500 Subject: [PATCH 02/15] translate validaiton messages-balance,add post --- modules/system/lang/en/validation.php | 25 +- modules/system/lang/ru/validation.php | 25 +- modules/system/lang/tm/client.php | 102 ++++ modules/system/lang/tm/lang.php | 458 ++++++++++++++++++ modules/system/lang/tm/validation.php | 175 +++++++ plugins/tps/birzha/components/OfferForm.php | 6 +- .../components/balance/bank_transfer_pay.htm | 2 +- 7 files changed, 787 insertions(+), 6 deletions(-) create mode 100644 modules/system/lang/tm/client.php create mode 100644 modules/system/lang/tm/lang.php create mode 100644 modules/system/lang/tm/validation.php diff --git a/modules/system/lang/en/validation.php b/modules/system/lang/en/validation.php index ad6561c9e..e0febd53e 100644 --- a/modules/system/lang/en/validation.php +++ b/modules/system/lang/en/validation.php @@ -116,6 +116,9 @@ return [ 'uploaded' => 'The :attribute failed to upload.', 'url' => 'The :attribute format is invalid.', 'uuid' => 'The :attribute must be a valid UUID.', + 'atleast_1_image' => 'You have to upload at least 1 image.', + 'image_type' => 'You must upload :image_type!', + 'image_size' => 'Max file size :size Mb!', /* |-------------------------------------------------------------------------- @@ -145,6 +148,26 @@ return [ | */ - 'attributes' => [], + 'attributes' => [ + 'name_en' => 'Lot title EN', + 'name_ru' => 'Lot title RU', + 'name_tm' => 'Lot title TM', + 'mark' => 'Product mark', + 'manufacturer' => 'Vendor', + 'category_id' => 'Category', + 'country_id' => "Vendor's country", + 'measure_id' => 'Measure', + 'quantity' => 'Quantity', + 'currency_id' => 'Currency', + 'price' => 'Price', + 'delivery_term_id' => 'Delivery term', + 'place' => 'Destination', + 'packaging' => 'Packaging', + 'payment_term_id' => 'Payment term', + 'description_ru' => 'Description RU', + 'description_en' => 'Description EN', + 'description_tm' => 'Description TM', + 'bank_file' => 'File from bank', + ], ]; diff --git a/modules/system/lang/ru/validation.php b/modules/system/lang/ru/validation.php index ece8c3dd9..c6ff3a901 100644 --- a/modules/system/lang/ru/validation.php +++ b/modules/system/lang/ru/validation.php @@ -116,6 +116,9 @@ return [ 'uploaded' => ':attribute не удалось загрузить.', "url" => "Поле :attribute имеет ошибочный формат.", 'uuid' => 'Поле :attribute должно быть действительным UUID.', + 'atleast_1_image' => 'Загрузите хотя бы 1 фото.', + 'image_type' => 'Тип изображания должен быть :image_type!', + 'image_size' => 'Изображение не больше :size Mб!', /* |-------------------------------------------------------------------------- @@ -145,6 +148,26 @@ return [ | */ - 'attributes' => [], + 'attributes' => [ + 'name_en' => 'Наименование лота EN', + 'name_ru' => 'Наименование лота RU', + 'name_tm' => 'Наименование лота TM', + 'mark' => 'Марка товара', + 'manufacturer' => 'Производитель', + 'category_id' => 'Категория', + 'country_id' => 'Страна производителя', + 'measure_id' => 'Единицы измерения', + 'quantity' => 'Количество товара', + 'currency_id' => 'Валюта', + 'price' => 'Цена за единицу', + 'delivery_term_id' => 'Условия поставки', + 'place' => 'Пункт', + 'packaging' => 'Упаковка', + 'payment_term_id' => 'Условия оплаты', + 'description_ru' => 'Описание RU', + 'description_en' => 'Описание EN', + 'description_tm' => 'Описание TM', + 'bank_file' => 'Файл из банка', + ], ]; diff --git a/modules/system/lang/tm/client.php b/modules/system/lang/tm/client.php new file mode 100644 index 000000000..ef0f98ef6 --- /dev/null +++ b/modules/system/lang/tm/client.php @@ -0,0 +1,102 @@ + [ + 'formatting' => 'Formatlama', + 'quote' => 'Alıntı', + 'code' => 'Kod', + 'header1' => 'Başlık 1', + 'header2' => 'Başlık 2', + 'header3' => 'Başlık 3', + 'header4' => 'Başlık 4', + 'header5' => 'Başlık 5', + 'header6' => 'Başlık 6', + 'bold' => 'Kalın', + 'italic' => 'İtalik', + 'unorderedlist' => 'Sırasız Liste', + 'orderedlist' => 'Sıralı Liste', + 'video' => 'Video', + 'image' => 'Görsel/Resim', + 'link' => 'Link', + 'horizontalrule' => 'Yatay Çizgi Ekle', + 'fullscreen' => 'Tam Ekran', + 'preview' => 'Önizleme', + ], + 'mediamanager' => [ + 'insert_link' => "Medya Linki Ekle", + 'insert_image' => "Medya Resim Ekle", + 'insert_video' => "Medya Video Ekle", + 'insert_audio' => "Medya Ses Ekle", + 'invalid_file_empty_insert' => "Lütfen link verilecek dosyayı seçin.", + 'invalid_file_single_insert' => "Lütfen tek bir dosya seçin.", + 'invalid_image_empty_insert' => "Lütfen eklenecek resim(ler)i seçin.", + 'invalid_video_empty_insert' => "Lütfen eklenecek video dosyasını seçin.", + 'invalid_audio_empty_insert' => "Lütfen eklenecek ses dosyasını seçin.", + ], + 'alert' => [ + 'confirm_button_text' => 'Evet', + 'cancel_button_text' => 'İptal', + 'widget_remove_confirm' => 'Bu eklentiyi kaldırma istediğinize emin misiniz?', + ], + 'datepicker' => [ + 'previousMonth' => 'Önceki Ay', + 'nextMonth' => 'Sonraki Ay', + 'months' => ['Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'], + 'weekdays' => ['Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi'], + 'weekdaysShort' => ['Paz', 'Pzt', 'Sal', 'Çar', 'Per', 'Cum', 'Cmt'], + ], + 'colorpicker' => [ + 'choose' => 'Seç', + ], + 'filter' => [ + 'group' => [ + 'all' => 'tümü', + ], + 'scopes' => [ + 'apply_button_text' => 'Uygula', + 'clear_button_text' => 'Temizle', + ], + 'dates' => [ + 'all' => 'tümü', + 'filter_button_text' => 'Filtrele', + 'reset_button_text' => 'Sıfırla', + 'date_placeholder' => 'Tarih', + 'after_placeholder' => 'Sonra', + 'before_placeholder' => 'Önce', + ], + 'numbers' => [ + 'all' => 'all', + 'filter_button_text' => 'Filtrele', + 'reset_button_text' => 'Sıfırla', + 'min_placeholder' => 'Min', + 'max_placeholder' => 'Max', + ], + ], + 'eventlog' => [ + 'show_stacktrace' => 'Veri yığınını göster', + 'hide_stacktrace' => 'Veri yığınını gizle', + 'tabs' => [ + 'formatted' => 'Formatlı', + 'raw' => 'Ham Veri', + ], + 'editor' => [ + 'title' => 'Kaynak kod editörü', + 'description' => 'İşletim sisteminiz URL şemalarına yanıt verecek şekilde yapılandırılmalıdır.', + 'openWith' => 'Birlikte aç', + 'remember_choice' => 'Bu oturum için seçenekleri hatırla', + 'open' => 'Aç', + 'cancel' => 'İptal', + ], + ], +]; diff --git a/modules/system/lang/tm/lang.php b/modules/system/lang/tm/lang.php new file mode 100644 index 000000000..ee57995ad --- /dev/null +++ b/modules/system/lang/tm/lang.php @@ -0,0 +1,458 @@ + [ + 'name' => 'OctoberCMS', + 'tagline' => 'Sadeliğe dönüş...', + ], + 'locale' => [ + 'ar' => 'العربية', + 'be' => 'Беларуская', + 'bg' => 'Български', + 'ca' => 'Català', + 'cs' => 'Čeština', + 'da' => 'Dansk', + 'en' => 'English (United States)', + 'en-au' => 'English (Australia)', + 'en-ca' => 'English (Canada)', + 'en-gb' => 'English (United Kingdom)', + 'et' => 'Eesti', + 'de' => 'Deutsch', + 'el' => 'Ελληνικά', + 'es' => 'Español', + 'es-ar' => 'Español (Argentina)', + 'fa' => 'فارسی', + 'fr' => 'Français', + 'fr-ca' => 'Français (Canada)', + 'hu' => 'Magyar', + 'id' => 'Bahasa Indonesia', + 'it' => 'Italiano', + 'ja' => '日本語', + 'kr' => '한국어', + 'lt' => 'Lietuvių', + 'lv' => 'Latviešu', + 'nb-no' => 'Norsk (Bokmål)', + 'nl' => 'Nederlands', + 'pl' => 'Polski', + 'pt-br' => 'Português (Brasil)', + 'pt-pt' => 'Português (Portugal)', + 'ro' => 'Română', + 'rs' => 'Srpski', + 'ru' => 'Русский', + 'fi' => 'Suomi', + 'sv' => 'Svenska', + 'sk' => 'Slovenský', + 'sl' => 'Slovenščina', + 'tr' => 'Türkçe', + 'uk' => 'Українська мова', + 'zh-cn' => '简体中文', + 'zh-tw' => '繁體中文', + 'vn' => 'Tiếng việt', + ], + 'directory' => [ + 'create_fail' => "Klasör oluşturulamıyor: :name", + ], + 'file' => [ + 'create_fail' => "Dosya oluşturulamıyor: :name", + ], + 'page' => [ + 'invalid_token' => [ + 'label' => 'Geçersiz güvenlik anahtarı', + ], + ], + 'combiner' => [ + 'not_found' => "Kombine dosyası: ':name' bulunamadı.", + ], + 'system' => [ + 'name' => 'Sistem', + 'menu_label' => 'Sistem', + 'categories' => [ + 'cms' => 'CMS', + 'misc' => 'Çeşitli', + 'logs' => 'Kayıtlar', + 'mail' => 'E-Mail', + 'shop' => 'Mağaza', + 'team' => 'Takım', + 'users' => 'Kullanıcılar', + 'system' => 'Sistem', + 'social' => 'Sosyal', + 'backend' => 'Backend', + 'events' => 'Olaylar', + 'customers' => 'Müşteriler', + 'my_settings' => 'Ayarlarım', + 'notifications' => 'Bildirimler', + ], + ], + 'theme' => [ + 'label' => 'Tema', + 'unnamed' => 'İsimsiz tema', + 'name' => [ + 'label' => 'Tema Adı', + 'help' => 'Temaya benzersiz bir isim verin. Örn: RainLab.Vanilla', + ], + ], + 'themes' => [ + 'install' => 'Temaları yükle', + 'search' => 'tema ara...', + 'installed' => 'Yüklü temalar', + 'no_themes' => 'Mağazadan yüklenmiş bir tema bulunmamaktadır.', + 'recommended' => 'Tavsiye edilen', + 'remove_confirm' => 'Bu temayı silmek istediğinize emin misiniz?', + ], + 'plugin' => [ + 'label' => 'Eklenti', + 'unnamed' => 'İsimsiz eklenti', + 'name' => [ + 'label' => 'Eklenti Adı', + 'help' => 'Eklenti adı eşsiz olmalıdır. Örneğin, RainLab.Blog', + ], + 'by_author' => ':name ile filtrele' + ], + 'plugins' => [ + 'manage' => 'Eklentileri yönet', + 'install' => 'Eklentileri yükle', + 'install_products' => 'Ürünleri yükle', + 'search' => 'eklenti ara...', + 'installed' => 'Yüklü eklentiler', + 'no_plugins' => 'Mağazadan yüklenmiş bir eklenti bulunmamaktadır.', + 'recommended' => 'Tavsiye edilen', + 'plugin_label' => 'Eklenti', + 'unknown_plugin' => 'Eklenti sistemden kaldırıldı.', + 'select_label' => 'Eylem Seçin...', + 'bulk_actions_label' => 'Toplu eylemler', + 'check_yes' => 'Evet', + 'check_no' => 'Hayır', + 'unfrozen' => 'Güncellemeler Aktif', + 'enabled' => 'Eklenti Aktif', + 'freeze' => 'için güncellemeleri devre dışı bırak', + 'unfreeze' => 'için güncellemeleri aktifleştir', + 'enable' => 'aktifleştir', + 'disable' => 'pasifleştir', + 'refresh' => 'yenile', + 'remove' => 'Kaldır', + 'freeze_label' => 'Güncellemeleri Pasifleştir', + 'unfreeze_label' => 'Güncellemeleri Aktifleştir', + 'enable_label' => 'Eklentileri Aktifleştir', + 'disable_label' => 'Eklentileri Pasifleştir', + 'refresh_label' => 'Eklenti Verilerini Sıfırla', + 'action_confirm' => 'Seçili eklentileri :action etmek istediğinize emin misiniz?', + 'freeze_success' => 'Seçilen eklentiler için güncellemeler pasifleştirildi.', + 'unfreeze_success' => 'Seçilen eklentiler için güncellemeler aktifleştirildi.', + 'enable_success' => 'Seçilen eklentiler etkinleştirildi.', + 'disable_success' => 'Seçilen eklentiler pasifleştirildi.', + 'refresh_confirm' => 'Seçili eklentileri sıfırlamak istediğinize emin misiniz? Bu işlem, her eklentinin verilerini sıfırlayarak ilk yükleme durumuna geri getirir.', + 'refresh_success' => 'Eklentiler başarıyla yenilendi.', + 'remove_confirm' => 'Seçili eklentileri kaldırmak istediğinize emin misiniz? Bu işlem, ilişkili tüm verileri de kaldıracaktır.', + 'remove_success' => 'Eklentiler sistemden başarıyla kaldırıldı.', + ], + 'project' => [ + 'name' => 'Proje', + 'owner_label' => 'Proje Sahibi', + 'attach' => 'Projeyi Eşle', + 'detach' => 'Projeyi Ayır', + 'none' => 'Hiçbiri', + 'id' => [ + 'label' => 'Proje ID', + 'help' => 'Proje ID\'sini nasıl bulurum?', + 'missing' => 'Lütfen kullanılacak Proje ID\'sini belirleyin.', + ], + 'detach_confirm' => 'Bu projeyi ayırmak istediğinizden emin misiniz?', + 'unbind_success' => 'Proje ayırma işlemi tamamlandı.', + ], + 'settings' => [ + 'menu_label' => 'Ayarlar', + 'not_found' => 'Belirtilen ayarlar bulunamadı.', + 'missing_model' => 'Ayarlar sayfasında Model tanımı eksik.', + 'update_success' => ':name için ayarlar güncellendi.', + 'return' => 'Sistem ayarları sayfasına dön', + 'search' => 'Ara', + ], + 'mail' => [ + 'log_file' => 'Günlük kayıt dosyası', + 'menu_label' => 'Mail ayarları', + 'menu_description' => 'Email ayarlarını düzenle.', + 'general' => 'Genel', + 'method' => 'Mail Metodu', + 'sender_name' => 'Gönderici Adı', + 'sender_email' => 'Gönderici Email', + 'php_mail' => 'PHP mail', + 'smtp' => 'SMTP', + 'smtp_address' => 'SMTP Adresi', + 'smtp_authorization' => 'SMTP yetkilendirmesi kullan', + 'smtp_authorization_comment' => 'SMTP sunucusu yetkilendirme gerektiriyorsa bu onay kutusunu işaretleyin.', + 'smtp_username' => 'Kullanıcı Adı', + 'smtp_password' => 'Şifre', + 'smtp_port' => 'SMTP Port', + 'smtp_ssl' => 'SSL bağlantısı kullan', + 'smtp_encryption' => 'SMTP şifreleme protokolü', + 'smtp_encryption_none' => 'Şifreleme yok', + 'smtp_encryption_tls' => 'TLS', + 'smtp_encryption_ssl' => 'SSL', + 'sendmail' => 'Sendmail', + 'sendmail_path' => 'Sendmail Yolu', + 'sendmail_path_comment' => 'Sendmail programının yolunu belirtin.', + 'mailgun' => 'Mailgun', + 'mailgun_domain' => 'Mailgun Domain', + 'mailgun_domain_comment' => 'Mailgun domain belirtin.', + 'mailgun_secret' => 'Mailgun Gizli Anahtarı', + 'mailgun_secret_comment' => 'Mailgun API anahtarını girin.', + 'mandrill' => 'Mandrill', + 'mandrill_secret' => 'Mandrill Gizli Anahtarı', + 'mandrill_secret_comment' => 'Mandrill API anahtarını girin.', + 'ses' => 'SES', + 'ses_key' => 'SES key', + 'ses_key_comment' => 'SES API keyi girin', + 'ses_secret' => 'SES secret', + 'ses_secret_comment' => 'SES API secret keyi girin', + 'ses_region' => 'SES bölgesi', + 'ses_region_comment' => 'SES bölgenizi girin (örnek: us-east-1)', + 'drivers_hint_header' => 'Sürücüler yüklenmemiş', + 'drivers_hint_content' => 'Bu eposta yöntemiyle eposta gönderebilmeniz için ":plugin" eklentisinin kurulmuş olması gerekir.', + ], + 'mail_templates' => [ + 'menu_label' => 'Mail şablonları', + 'menu_description' => 'Kullanıcılar ve yöneticiler için gönderilen e-posta şablonları düzenleyin.', + 'new_template' => 'Yeni Şablon', + 'new_layout' => 'Yeni Layout', + 'new_partial' => 'Yeni Partial', + 'template' => 'Şablon', + 'templates' => 'Şablonlar', + 'partial' => 'Partial', + 'partials' => 'Partialler', + 'menu_layouts_label' => 'Mail Layoutları', + 'menu_partials_label' => 'Mail Partialleri', + 'layout' => 'Layout', + 'layouts' => 'Layoutlar', + 'no_layout' => '-- Şablon Yok --', + 'name' => 'İsim', + 'name_comment' => 'Bu şablona referans için benzersiz bir isim verin', + 'code' => 'Kod', + 'code_comment' => 'Bu şablona referans için benzersiz bir kod verin', + 'subject' => 'Konu', + 'subject_comment' => 'Email mesaj konusu', + 'description' => 'Tanım', + 'content_html' => 'HTML', + 'content_css' => 'CSS', + 'content_text' => 'Düzyazı', + 'test_send' => 'Test mesajı gönder', + 'test_success' => 'Test mesajı başarılı şekilde gönderildi.', + 'test_confirm' => 'Deneme mesajı :email eposta adresine gönderilecek. Devam etmek istiyor musunuz?', + 'creating' => 'Şablon Oluşturuluyor...', + 'creating_layout' => 'Layout Oluşturuluyor...', + 'saving' => 'Şablon kaydediliyor...', + 'saving_layout' => 'Layout kaydediliyor...', + 'delete_confirm' => 'Bu şablonu silmek istediğinize emin misiniz?', + 'delete_layout_confirm' => 'Bu layout\'u silmek istediğinize emin misiniz?', + 'deleting' => 'Şablon Siliniyor...', + 'deleting_layout' => 'Layout Siliniyor...', + 'sending' => 'Deneme mesajı gönderiliyor...', + 'return' => 'Şablon listesine geri dön', + 'options' => 'Seçenekler', + 'disable_auto_inline_css' => 'Otomatik satır içi CSS\'yi devre dışı bırak', + ], + 'mail_brand' => [ + 'menu_label' => 'Mail yapılandırma', + 'menu_description' => 'Posta şablonlarının renklerini ve görünümünü değiştirin.', + 'page_title' => 'Posta görünümünü özelleştir', + 'sample_template' => [ + 'heading' => 'Başlık', + 'paragraph' => 'Bu Lorem Ipsum ile doldurulmuş bir paragraf ve bir linktir. Cumque dicta doloremque eaque, enim error laboriosam pariatur possimus tenetur veritatis voluptas.', + 'table' => [ + 'item' => 'Nesne', + 'description' => 'Açıklama', + 'price' => 'Fiyat', + 'centered' => 'Ortalanmış', + 'right_aligned' => 'Sağa Hizalı', + ], + 'buttons' => [ + 'primary' => 'Ana buton', + 'positive' => 'Positif buton', + 'negative' => 'Negatif buton', + ], + 'panel' => 'Bu panel ne kadar harika..', + 'more' => 'Biraz daha metin', + 'promotion' => 'Kupon Kodu: OCTOBER', + 'subcopy' => 'Bu e-postanın alt yazısıdır', + 'thanks' => 'Teşekkürler', + ], + 'fields' => [ + '_section_background' => 'Arkaplan', + 'body_bg' => 'Body arkaplanı', + 'content_bg' => 'İçerik arkaplanı', + 'content_inner_bg' => 'İç içerik arkaplanı', + '_section_buttons' => 'Butonlar', + 'button_text_color' => 'Buton metni rengi', + 'button_primary_bg' => 'Ana düğme arkaplanı', + 'button_positive_bg' => 'Positif düğme arkaplanı', + 'button_negative_bg' => 'Negatif düğme arkaplanı', + '_section_type' => 'Tipografi', + 'header_color' => 'Başlık rengi', + 'heading_color' => 'Başlıkların rengi', + 'text_color' => 'Metin rengi', + 'link_color' => 'Link rengi', + 'footer_color' => 'Footer rengi', + '_section_borders' => 'Borderlar', + 'body_border_color' => 'Body border rengi', + 'subcopy_border_color' => 'Altyazı border rengi', + 'table_border_color' => 'Tablo border rengi', + '_section_components' => 'Eklentiler', + 'panel_bg' => 'Panel arkaplanı', + 'promotion_bg' => 'Promosyon arkaplanı', + 'promotion_border_color' => 'Promosyon border rengi', + ], + ], + 'install' => [ + 'project_label' => 'Projeye bağla', + 'plugin_label' => 'Eklenti Yükle', + 'theme_label' => 'Temayı yükle', + 'missing_plugin_name' => 'Yüklemek istediğiniz eklentinin adını giriniz.', + 'missing_theme_name' => 'Lütfen yüklemek için bir tema ismi giriniz.', + 'install_completing' => 'Kurulumu tamamla', + 'install_success' => 'Eklenti kurulumu tamamlandı.', + ], + 'updates' => [ + 'title' => 'Güncellemeleri Yönet', + 'name' => 'Sistemi Güncelle', + 'menu_label' => 'Güncellemeler', + 'menu_description' => 'Sistemi güncelleyin, temaları ve eklentileri yönetin.', + 'return_link' => 'Sistem güncellemelerine geri dön', + 'check_label' => 'Güncellemeleri kontrol et', + 'retry_label' => 'Tekrar dene', + 'plugin_name' => 'Adı', + 'plugin_code' => 'Kod', + 'plugin_description' => 'Açıklama', + 'plugin_version' => 'Versiyon', + 'plugin_author' => 'Yazar', + 'plugin_not_found' => 'Plugin not found', + 'core_current_build' => 'Mevcut versiyon', + 'core_build' => 'Versiyon :build', + 'core_build_help' => 'Son versiyon kullanılabilir.', + 'core_downloading' => 'Uygulama dosyaları indiriliyor', + 'core_extracting' => 'Uygulama dosyaları çıkarılıyor', + 'core_set_build' => 'Build numarası güncelleniyor', + 'plugins' => 'Modüller', + 'themes' => 'Temalar', + 'disabled' => 'Devre dışı', + 'plugin_downloading' => 'Modül indiriliyor: :name', + 'plugin_extracting' => 'Modül dosyaları çıkarılıyor: :name', + 'plugin_version_none' => 'Yeni eklenti', + 'plugin_current_version' => 'Mevcut sürüm', + 'theme_new_install' => 'Yeni tema kur.', + 'theme_downloading' => 'Tema indiriliyor: :name', + 'theme_extracting' => 'Tema paketten çıkarılıyor: :name', + 'update_label' => 'Sistemi güncelle', + 'update_completing' => 'Güncelleme işlemi tamamlanıyor', + 'update_loading' => 'Kullanılabilir güncellemeler kontrol ediliyor...', + 'update_success' => 'Güncelleme işlemi başarıyla tamamlandı.', + 'update_failed_label' => 'Güncelleme hatası', + 'force_label' => 'Güncellemeye zorla', + 'found' => [ + 'label' => 'Güncellemeler bulundu!', + 'help' => 'Sistemi güncelleye tıklayarak güncelleme işlemini başlatabilirsiniz.', + ], + 'none' => [ + 'label' => 'Güncelleme yok', + 'help' => 'Yeni güncelleme bulunamadı.', + ], + 'important_action' => [ + 'empty' => 'Eylem seçin', + 'confirm' => 'Güncellemeyi onayla', + 'skip' => 'Eklentiyi geç (tek seferlik)', + 'ignore' => 'Eklentiyi geç (her zaman)', + ], + 'important_action_required' => 'Eylem gerekli', + 'important_view_guide' => 'Yükseltme kılavuzuna göz atın', + 'important_view_release_notes' => 'Sürüm notlarını göster', + 'important_alert_text' => 'Bazı eklentiler işlem gerektirebilir.', + 'details_title' => 'Eklenti detayları', + 'details_view_homepage' => 'Anasayfa', + 'details_readme' => 'Kılavuz', + 'details_readme_missing' => 'Herhangi bir kılavuz bulunamadı.', + 'details_changelog' => 'Değişiklikler', + 'details_changelog_missing' => 'Değişiklik geçmişi yok.', + 'details_upgrades' => 'Yükseltme Kılavuzu', + 'details_upgrades_missing' => 'Yükseltme talimatı bulunamadı.', + 'details_licence' => 'Lisans', + 'details_licence_missing' => 'Lisans bilgisi yok.', + 'details_current_version' => 'Mevcut sürüm', + 'details_author' => 'Geliştirici', + ], + 'server' => [ + 'connect_error' => 'Sunucuyla bağlantı kurulamadı.', + 'response_not_found' => 'Güncelleme sunucusu bulunamadı.', + 'response_invalid' => 'Sunucudan hatalı cevap geldi.', + 'response_empty' => 'Sunucudan boş cevap geldi.', + 'file_error' => 'Paket teslim edilirken sunucuda hata meydana geldi.', + 'file_corrupt' => 'Sunucudaki dosya bozulmuş.', + ], + 'behavior' => [ + 'missing_property' => ':class sınıfı :behavior davranışı tarafından kullanılan $:property özelliğini tanımlamalı.', + ], + 'config' => [ + 'not_found' => ':location için tanımlanan :file adlı ayar dosyası bulunamadı.', + 'required' => ':location konumunda kullanılan :property ayarı bir değer içermelidir.', + ], + 'zip' => [ + 'extract_failed' => "':file' adlı çekirdek dosyası dosya paketinden çıkarılamadı.", + ], + 'event_log' => [ + 'hint' => 'Bu kayıtlar, uygulamada ortaya çıkan potansiyel hataları, istisnaları ve hata ayıklama bilgilerini görüntüler.', + 'menu_label' => 'Olay kaydı', + 'menu_description' => 'Olay kayıtlarının zamanlarını ve detaylarını görüntüler.', + 'empty_link' => 'Olay kaydını temizle', + 'empty_loading' => 'Olay kaydı temizleniyor...', + 'empty_success' => 'Olay kaydı temizlendi.', + 'return_link' => 'Olay kayıtlarına dön', + 'id' => 'ID', + 'id_label' => 'Olay Numarası', + 'created_at' => 'Tarih & Saat', + 'message' => 'Mesaj', + 'level' => 'Seviye', + 'preview_title' => 'Olay', + ], + 'request_log' => [ + 'hint' => 'Bu günlük dikkat edilmesi gereken tarayıcı isteklerinin bir listesini görüntüler. Örneğin, bir ziyaretçi bulunmayan bir CMS sayfasını açarsa 404 kodu ile bir kayıt oluşturulur.', + 'menu_label' => 'İstek günlüğü', + 'menu_description' => '(404) sayfası gibi kötü ya da yeniden yönlendirilmiş istekleri görüntüler.', + 'empty_link' => 'İstek günlüğünü temizle', + 'empty_loading' => 'İstek günlüğü temizleniyor...', + 'empty_success' => 'İstek günlüğü temizlendi.', + 'return_link' => 'İstek günlüğüne dön', + 'id' => 'ID', + 'id_label' => 'İstek Numarası', + 'count' => 'Sayaç', + 'referer' => 'Referer', + 'url' => 'URL', + 'status_code' => 'Durum', + 'preview_title' => 'İstek', + ], + 'permissions' => [ + 'name' => 'Sistem', + 'manage_system_settings' => 'Sistem ayarlarını düzenleyebilir', + 'manage_software_updates' => 'Sistem güncellemelerini yönetebilir', + 'access_logs' => 'Sistem günlüğünü görüntüleyebilir', + 'manage_mail_templates' => 'E-posta şablonları yönetebilir', + 'manage_mail_settings' => 'E-posta ayarlarını yönetebilir', + 'manage_other_administrators' => 'Diğer yöneticileri düzenleyebilir', + 'manage_preferences' => 'Yönetim paneli seçeneklerini düzenleyebilir', + 'manage_editor' => 'Kod editör ayarlarını düzenleyebilir', + 'view_the_dashboard' => 'Panoyu görüntüleyebilir', + 'manage_default_dashboard' => 'Varsayılan kontrol panelini yönetebilir', + 'manage_branding' => 'Yönetim Panelini özelleştirebilir', + ], + 'log' => [ + 'menu_label' => 'Log ayarları', + 'menu_description' => 'Hangi alanlar için log kayıtları tutulacağını belirtin.', + 'default_tab' => 'Log kaydetme', + 'log_events' => 'Sistem olaylarını kaydet', + 'log_events_comment' => 'Dosya tabanlı loglara ek olarak, sistem olaylarını veritabanında da tutar.', + 'log_requests' => 'Hatalı istekleri kaydet', + 'log_requests_comment' => '404 hataları gibi dikkat gerektirebilecek tarayıcı istekleri.', + 'log_theme' => 'Tema değişikliklerini kaydet', + 'log_theme_comment' => 'Tema dosyalarında backend üzerinden bir değişiklik yapıldığında tutulan kayıtlar.', + ], + 'media' => [ + 'invalid_path' => "Geçersiz dosya dizini belirtildi: ':path'.", + 'folder_size_items' => 'öğe(ler)', + ], +]; diff --git a/modules/system/lang/tm/validation.php b/modules/system/lang/tm/validation.php new file mode 100644 index 000000000..19a2b8cec --- /dev/null +++ b/modules/system/lang/tm/validation.php @@ -0,0 +1,175 @@ + ':attribute kabul edilmelidir.', + 'active_url' => ':attribute dogry URL bolmalydyr.', + 'after' => ':attribute şundan has köne sene bolmalydyr :date.', + 'after_or_equal' => 'The :attribute must be a date after or equal to :date.', + 'alpha' => ':attribute dine harplardan durmalydyr.', + 'alpha_dash' => ':attribute dine harplardan, sanlardan we tirelerden durmalydyr.', + 'alpha_num' => ':attribute dine harplardan we sanlardan durmalydyr.', + 'array' => ':attribute ýygyndy bolmalydyr.', + 'before' => ':attribute şundan has irki sene bolmalydyr :date.', + 'before_or_equal' => 'The :attribute must be a date before or equal to :date.', + 'between' => [ + 'numeric' => ':attribute :min - :max arasynda bolmalydyr.', + 'file' => ':attribute :min - :max kilobaýt arasynda bolmalydyr.', + 'string' => ':attribute :min - :max harplar arasynda bolmalydyr.', + 'array' => ':attribute :min - :max arasynda madda eýe bolmalydyr.', + ], + 'boolean' => ':attribute diňe dogry ýada ýalňyş bolmalydyr.', + 'confirmed' => ':attribute tassyklamasy deň däl.', + 'date' => ':attribute dogry sene bolmalydyr.', + 'date_equals' => 'The :attribute must be a date equal to :date.', + 'date_format' => ':attribute :format formatyna deň däl.', + 'different' => ':attribute bilen :other birbirinden tapawutly bolmalydyr.', + 'digits' => ':attribute :digits san bolmalydyr.', + 'digits_between' => ':attribute :min bilen :max arasynda san bolmalydyr.', + 'dimensions' => 'The :attribute has invalid image dimensions.', + 'distinct' => 'The :attribute field has a duplicate value.', + 'email' => ':attribute formaty ýalňyş.', + 'ends_with' => 'The :attribute must end with one of the following: :values.', + 'exists' => 'Saýlanan :attribute ýalňyş.', + 'file' => 'The :attribute must be a file.', + 'filled' => ':attribute meýdany zerur.', + 'gt' => [ + 'numeric' => 'The :attribute must be greater than :value.', + 'file' => 'The :attribute must be greater than :value kilobytes.', + 'string' => 'The :attribute must be greater than :value characters.', + 'array' => 'The :attribute must have more than :value items.', + ], + 'gte' => [ + 'numeric' => 'The :attribute must be greater than or equal :value.', + 'file' => 'The :attribute must be greater than or equal :value kilobytes.', + 'string' => 'The :attribute must be greater than or equal :value characters.', + 'array' => 'The :attribute must have :value items or more.', + ], + 'image' => ':attribute surat bolmalydyr.', + 'in' => ':attribute mukdary ýalňyş.', + 'in_array' => 'The :attribute field does not exist in :other.', + 'integer' => ':attribute san bolmalydyr.', + 'ip' => ':attribute dogry IP adres bolmalydyr.', + 'ipv4' => 'The :attribute must be a valid IPv4 address.', + 'ipv6' => 'The :attribute must be a valid IPv6 address.', + 'json' => 'The :attribute must be a valid JSON string.', + 'lt' => [ + 'numeric' => 'The :attribute must be less than :value.', + 'file' => 'The :attribute must be less than :value kilobytes.', + 'string' => 'The :attribute must be less than :value characters.', + 'array' => 'The :attribute must have less than :value items.', + ], + 'lte' => [ + 'numeric' => 'The :attribute must be less than or equal :value.', + 'file' => 'The :attribute must be less than or equal :value kilobytes.', + 'string' => 'The :attribute must be less than or equal :value characters.', + 'array' => 'The :attribute must not have more than :value items.', + ], + 'max' => [ + 'numeric' => ':attribute :max den kiçi bolmalydyr.', + 'file' => 'Faýl :max kilobaýtdan kiçi bolmalydyr.', + 'string' => ':attribute :max harpdan kiçi bolmalydyr.', + 'array' => ':attribute iň az :max maddadan ybarat bolmalydyr.', + ], + 'mimes' => 'Faýlyň formaty :values bolmalydyr.', + 'mimetypes' => ':attribute faýlň formaty :values bolmalydyr.', + 'min' => [ + 'numeric' => ':attribute mukdary :min dan köp bolmalydyr.', + 'file' => ':attribute mukdary :min kilobaýtdan köp bolmalydyr.', + 'string' => ':attribute mukdary :min harpdan köp bolmalydyr.', + 'array' => ':attribute iň az :min harpdan bolmalydyr.', + ], + 'multiple_of' => 'The :attribute must be a multiple of :value', + 'not_in' => 'Saýlanan :attribute geçersiz.', + 'not_regex' => 'The :attribute format is invalid.', + 'numeric' => ':attribute san bolmalydyr.', + 'password' => 'The password is incorrect.', + 'present' => 'The :attribute field must be present.', + 'regex' => ':attribute formaty ýalňyş.', + 'required' => ':attribute meýdany zerur.', + 'required_if' => ':attribute meýdany, :other :value hümmetine eýe bolanynda zerurdyr.', + 'required_unless' => 'The :attribute field is required unless :other is in :values.', + 'required_with' => ':attribute meýdany :values bar bolanda zerurdyr.', + 'required_with_all' => ':attribute meýdany haýsyda bolsa bir :values bar bolanda zerurdyr.', + 'required_without' => ':attribute meýdany :values ýok bolanda zerurdyr.', + 'required_without_all' => ':attribute meýdany :values dan haýsyda bolsa biri ýok bolanda zerurdyr.', + 'same' => ':attribute bilen :other deň bolmalydyr.', + 'size' => [ + 'numeric' => ':attribute :size sandan ybarat bolmalydyr.', + 'file' => ':attribute :size kilobaýt bolmalydyr.', + 'string' => ':attribute :size harp bolmalydyr.', + 'array' => ':attribute :size madda eýe bolmalydyr.', + ], + 'starts_with' => 'The :attribute must start with one of the following: :values.', + 'string' => 'The :attribute must be a string.', + 'timezone' => ':attribute dogry zolak bolmalydyr.', + 'unique' => ':attribute önden hasaba alyndy.', + 'uploaded' => 'The :attribute failed to upload.', + 'url' => ':attribute formaty ýalňyş.', + 'uuid' => 'The :attribute must be a valid UUID.', + 'atleast_1_image' => 'Azyndan 1 surat ýüklemeli.', + 'image_type' => 'Diňe :image_type ýüklemek bolýar!', + 'image_size' => 'Surat :size Mb-dan uly bolmaly däl!', + + /* + |-------------------------------------------------------------------------- + | Custom Validation Language Lines + |-------------------------------------------------------------------------- + | + | Here you may specify custom validation messages for attributes using the + | convention 'attribute.rule' to name the lines. This makes it quick to + | specify a specific custom language line for a given attribute rule. + | + */ + + 'custom' => [ + 'attribute-name' => [ + 'rule-name' => 'custom-message', + ], + ], + + /* + |-------------------------------------------------------------------------- + | Custom Validation Attributes + |-------------------------------------------------------------------------- + | + | The following language lines are used to swap attribute place-holders + | with something more reader friendly such as E-Mail Address instead + | of 'email'. This simply helps us make messages a little cleaner. + | + */ + + 'attributes' => [ + 'name_en' => 'Lotyň ady EN', + 'name_ru' => 'Lotyň ady RU', + 'name_tm' => 'Lotyň ady TM', + 'mark' => 'Harydyň markasy', + 'manufacturer' => 'Öndüriji', + 'category_id' => 'Kategoriýa', + 'country_id' => 'Öndürijiniň yurdy', + 'measure_id' => 'Birlikler', + 'quantity' => 'Harydyň mukdary', + 'currency_id' => 'Pul birligi', + 'price' => 'Bahasy', + 'delivery_term_id' => 'Üpjün etmegiň şertleri', + 'place' => 'Barmaly ýeri', + 'packaging' => 'Gaplama', + 'payment_term_id' => 'Töleg şertleri', + 'description_ru' => 'Beýany RU', + 'description_en' => 'Beýany EN', + 'description_tm' => 'Beýany TM', + 'bank_file' => 'Bankdan faýl', + ], + +]; diff --git a/plugins/tps/birzha/components/OfferForm.php b/plugins/tps/birzha/components/OfferForm.php index dfd6b9e4a..ecd2686ad 100644 --- a/plugins/tps/birzha/components/OfferForm.php +++ b/plugins/tps/birzha/components/OfferForm.php @@ -146,7 +146,7 @@ class OfferForm extends ComponentBase // validate if no old images and new images if(!isset($data['new_img']) && !isset($data['old_img'])) { - throw new ValidationException(['no_images' => 'Хотя бы 1 фото должно быть']); + throw new ValidationException(['no_images' => trans('validation.atleast_1_image')]); } // seaparate validation for file type @@ -225,7 +225,7 @@ class OfferForm extends ComponentBase $validator = Validator::make($data, $rules); if($validator->fails()) { - throw new ValidationException(['new_img_type_error' => 'You must upload jpg,png!']); + throw new ValidationException(['new_img_type_error' => trans('validation.image_type', ['image_type' => 'jpg,png'])]); } } @@ -233,7 +233,7 @@ class OfferForm extends ComponentBase $validator = Validator::make($data, $rules); if($validator->fails()) { - throw new ValidationException(['new_img_size_error' => 'Max file size 1 Mb!']); + throw new ValidationException(['new_img_size_error' => trans('validation.image_size', ['size'=> 1])]); } } diff --git a/plugins/tps/birzha/components/balance/bank_transfer_pay.htm b/plugins/tps/birzha/components/balance/bank_transfer_pay.htm index 8dd34ed6b..2ed19bb0b 100644 --- a/plugins/tps/birzha/components/balance/bank_transfer_pay.htm +++ b/plugins/tps/birzha/components/balance/bank_transfer_pay.htm @@ -22,7 +22,6 @@
-
@@ -36,6 +35,7 @@ />
+
From a8d41815b58a58f8efc4a75e2a3f08848da54ab0 Mon Sep 17 00:00:00 2001 From: Meylis Gazakow Date: Thu, 12 Aug 2021 15:45:57 +0300 Subject: [PATCH 03/15] some update in css file --- themes/birzha/assets/css/main.css | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/themes/birzha/assets/css/main.css b/themes/birzha/assets/css/main.css index a9f83dc40..73e5718f8 100644 --- a/themes/birzha/assets/css/main.css +++ b/themes/birzha/assets/css/main.css @@ -2220,9 +2220,11 @@ li { } .error_span { - position: absolute; + /* position: absolute; left: 0; - bottom: 0; + bottom: 0; */ + margin-top: 5px; + display: block; } .show_span { @@ -2272,7 +2274,7 @@ li { -o-flex-wrap: wrap; -webkit-flex-wrap: wrap; -moz-flex-wrap: wrap; - + position: relative; margin: -25px -20px 0; } @@ -2291,7 +2293,7 @@ li { width: calc(33.33% - 40px); margin: 25px 20px 0; position: relative; - padding-bottom: 25px; + /* padding-bottom: 25px; */ } .post_input input { @@ -2593,7 +2595,7 @@ li { .my-select { width: 100%; position: relative; - padding-bottom: 25px; + /* padding-bottom: 25px; */ } .p-b { @@ -2603,15 +2605,17 @@ li { .my-select::after { position: absolute; content: ""; - top: 37%; + top: 30px; right: 30px; transform: translateY(-30%); width: 0; height: 0; + /* display: ; */ border: 6px solid #000; border-color: #000 transparent transparent transparent; } + .my-select select { width: 100%; border: 1px solid rgba(0, 0, 0, .5); @@ -4378,7 +4382,7 @@ li { } .post_form { - margin: -25px 0; + margin: 0px 0; } .post_input label { @@ -4820,7 +4824,7 @@ li { } .logo_text { - font-size: 14px; + font-size: 13px; } .footer_img { @@ -4857,6 +4861,10 @@ li { font-size: 14px; } + .error_span { + font-size: 12px; + } + .contact_input { margin: 10px 0; } From efa482b6ff7dbaa58842bed50f979ea4a82ae31b Mon Sep 17 00:00:00 2001 From: saparatayev Date: Thu, 12 Aug 2021 18:02:07 +0500 Subject: [PATCH 04/15] vendor contacts btn - offer page --- .../tps/birzha/components/singleoffer/default.htm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/tps/birzha/components/singleoffer/default.htm b/plugins/tps/birzha/components/singleoffer/default.htm index 288a118d0..35bb91ad5 100644 --- a/plugins/tps/birzha/components/singleoffer/default.htm +++ b/plugins/tps/birzha/components/singleoffer/default.htm @@ -167,40 +167,40 @@
- icon + icon
ФИО
- Аман Аманов + {{offer.vendor.name}} {{offer.vendor.surname}}
- icon + icon
Телефон:
- +99312446015 + {{offer.vendor.iu_telephone}}
- icon + icon
E-mail:
- info@exchange.gov.tm + {{offer.vendor.email}}
From 321aa1663a7196db8d64be4f4876e74bff42c207 Mon Sep 17 00:00:00 2001 From: Meylis Gazakow Date: Fri, 13 Aug 2021 11:55:24 +0300 Subject: [PATCH 05/15] my change --- themes/birzha/assets/css/main.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/birzha/assets/css/main.css b/themes/birzha/assets/css/main.css index 73e5718f8..00c759dfe 100644 --- a/themes/birzha/assets/css/main.css +++ b/themes/birzha/assets/css/main.css @@ -2336,7 +2336,7 @@ li { width: calc(100% - 40px); margin: 25px 20px; position: relative; - padding-bottom: 25px; + /* padding-bottom: 25px; */ } .post_comment textarea { From a85794ff65c0c41b82d1af987d1872c1828edd61 Mon Sep 17 00:00:00 2001 From: Meylis Gazakow Date: Fri, 13 Aug 2021 13:44:52 +0300 Subject: [PATCH 06/15] update bank page css --- plugins/tps/birzha/components/OfferForm.php | 2 +- .../components/balance/bank_transfer_pay.htm | 71 +++++--- .../tps/birzha/components/balance/default.htm | 16 +- .../components/offerForm/second_step_form.htm | 6 +- themes/birzha/assets/css/main.css | 169 +++++++++++++++++- 5 files changed, 220 insertions(+), 44 deletions(-) diff --git a/plugins/tps/birzha/components/OfferForm.php b/plugins/tps/birzha/components/OfferForm.php index 507ea0754..8bed71c1e 100644 --- a/plugins/tps/birzha/components/OfferForm.php +++ b/plugins/tps/birzha/components/OfferForm.php @@ -141,7 +141,7 @@ class OfferForm extends ComponentBase 'delivery_term_id' => 'required', 'currency_id' => 'required', 'measure_id' => 'required', - 'new_img' => 'required' + // 'new_img' => 'required' ]; $this->validateForm($data, $rules); diff --git a/plugins/tps/birzha/components/balance/bank_transfer_pay.htm b/plugins/tps/birzha/components/balance/bank_transfer_pay.htm index 2ed19bb0b..33a472363 100644 --- a/plugins/tps/birzha/components/balance/bank_transfer_pay.htm +++ b/plugins/tps/birzha/components/balance/bank_transfer_pay.htm @@ -1,16 +1,41 @@
Bank transfer payment
- - -

Банковские реквизиты:

-

Банковские реквизиты:

- + +
+
+
+ Банковские реквизиты: +
+
+ - 1234-1234-1234-1234 +
+
+ - 1234-1234-1234-1234 +
+
+
+
+ Bank address +
+
+ 744000, Туркменистан г.Ашгабат, Арчабиль шаелы 52 +
+
+
+
+ Our реквизиты: +
+
+ - 1234-1234-1234-1234 +
+
+
+ + +
@@ -19,24 +44,18 @@
- -
- -
- -
- - -
+ +
+ +
+ +
-
+
@@ -47,4 +66,4 @@ - \ No newline at end of file + diff --git a/plugins/tps/birzha/components/balance/default.htm b/plugins/tps/birzha/components/balance/default.htm index 139fc2d0b..c627c7e45 100644 --- a/plugins/tps/birzha/components/balance/default.htm +++ b/plugins/tps/birzha/components/balance/default.htm @@ -12,22 +12,20 @@ Пополнение баланса
- -
- -
- +
- +
@@ -38,8 +36,6 @@
- -
- +
{% else %}
diff --git a/plugins/tps/birzha/components/offerForm/second_step_form.htm b/plugins/tps/birzha/components/offerForm/second_step_form.htm index 7e8e9dd46..32b9e9399 100644 --- a/plugins/tps/birzha/components/offerForm/second_step_form.htm +++ b/plugins/tps/birzha/components/offerForm/second_step_form.htm @@ -135,9 +135,6 @@
- - -
{% for i in 0..2 %} @@ -178,6 +175,9 @@ {% endfor %}
+ + +
- {{ 'page.prod_amount'|_ }}: + {{ 'page.prod_amount'|_ }}
- {{ 'page.prod_price'|_ }}: + {{ 'page.prod_price'|_ }}
- {{ 'page.prod_finishdate'|_ }}: + {{ 'page.prod_finishdate'|_ }}
{% component 'offers' %} diff --git a/themes/birzha/partials/footer.htm b/themes/birzha/partials/footer.htm index 55528e177..3cbfacbe6 100644 --- a/themes/birzha/partials/footer.htm +++ b/themes/birzha/partials/footer.htm @@ -1,3 +1,10 @@ +[categories categories3] +active = 1 +slug = "{{ :slug }}" +renderFeatures = "footer" + +[viewBag] +==