Plugin Directory

Changeset 2733658


Ignore:
Timestamp:
05/30/2022 04:23:09 AM (4 years ago)
Author:
vabtopic
Message:

Upload Version: 1.1.7

Location:
vab-forms-with-chart
Files:
34 added
7 edited

Legend:

Unmodified
Added
Removed
  • vab-forms-with-chart/trunk/includes/SHORTCODE.php

    r2721098 r2733658  
    8989    $message_VABFWC             =   false;
    9090    $message_after_VABFWC   =   false;
     91    $hasErrorAdMassage      =   '';
    9192    if ( ! empty( $VABFWC_FORMSA ) ) {
    9293        $VABFWC_FORMSA      = $VABFWC_FORMSA[$id];
     
    100101    if ( isset( $_POST['submitres'] ) ) {
    101102        $CheckFieldsErorAd  =   $VABFWC_AD->CheckFields();
    102         if ( $CheckFieldsErorAd == true ) {
     103        if ( $CheckFieldsErorAd == true || empty( $_POST['resTable'] ) ) {
    103104            $hasErrorAd = true;
     105            $hasErrorAdMassage = esc_html__( 'Confirm the reset by checking the box', 'VABFWC' );
    104106        }
    105107        if ( $hasErrorAd !== true ) {
     
    733735            ECHO    '<div class="contact_message"><span class="VABFWCotrazhenie" title="' . esc_attr( $sentYN ) . '">' . esc_html( $sentYN ) . '</span></div>';
    734736            if ( !empty($VABFWC_FORMSA) ) {
     737                ECHO !empty( $hasErrorAdMassage ) ? '<br /><span class="er">***</span> ' . esc_html( $hasErrorAdMassage ) . '<br />' : '';
    735738                $VABFWC = new VABFWC_Class_Adm( $id );
    736739                ECHO    '<br>' . wp_kses( $VABFWC->ShoW(), $Class_Adm_Arg );
  • vab-forms-with-chart/trunk/includes/css/vabfwc-styles.css

    r2712936 r2733658  
    5353    padding:4px;
    5454}
    55 .vabfwc_spoiler-body, .formInput, .FormSContact input[type="text"].formInput{
     55.vabfwc_spoiler-body,
     56.formInput,
     57.FormSContact input[type="text"].formInput,
     58.FormSContact input[type="checkbox"].formInput{
    5659    display:none;
    5760}
    58 .vabfwc_spoiler-body, .vabfwc_spoiler-body input{
    59     background:#000;
     61.vabfwc_spoiler-body,
     62.vabfwc_spoiler-body input{
    6063    color:#FFF;
    6164    border-radius:4px;
     
    6871    overflow:auto;
    6972}
     73.vabfwc_spoiler-body input[type="submit"]{
     74    background:#000;
     75}
    7076.vabfwc_spoiler-body a{
    7177    color:#FFF!important;
  • vab-forms-with-chart/trunk/languages/VABFWC-ru_RU.po

    r2719930 r2733658  
    22msgstr ""
    33"Project-Id-Version: Forms with chart from VAB\n"
    4 "POT-Creation-Date: 2022-05-07 22:16+0500\n"
    5 "PO-Revision-Date: 2022-05-07 22:16+0500\n"
     4"POT-Creation-Date: 2022-05-30 09:07+0500\n"
     5"PO-Revision-Date: 2022-05-30 09:08+0500\n"
    66"Last-Translator: \n"
    77"Language-Team: VAB Team <m@it-vab.ru>\n"
     
    299299msgstr "Размер загруженного файла байт/Mb"
    300300
    301 #: includes/SHORTCODE.php:134
     301#: includes/SHORTCODE.php:105
     302msgid "Confirm the reset by checking the box"
     303msgstr "Подтвердите сброс, поставив галочку"
     304
     305#: includes/SHORTCODE.php:137
    302306msgid "Message from the site"
    303307msgstr "Сообщение с сайта"
    304308
    305 #: includes/SHORTCODE.php:138
     309#: includes/SHORTCODE.php:141
    306310msgid "Form"
    307311msgstr "Форма"
    308312
    309 #: includes/SHORTCODE.php:142
     313#: includes/SHORTCODE.php:145
    310314msgid "Questionnaire content"
    311315msgstr "Содержание анкеты"
    312316
    313 #: includes/SHORTCODE.php:143
     317#: includes/SHORTCODE.php:146
    314318msgid "IP address"
    315319msgstr "IP-адрес"
    316320
    317 #: includes/SHORTCODE.php:145
     321#: includes/SHORTCODE.php:148
    318322msgid "The form author Vladimir Anatolyevich Brumer"
    319323msgstr "Автор формы Владимир Анатольевич Брумер"
    320324
    321 #: includes/SHORTCODE.php:154
     325#: includes/SHORTCODE.php:157
    322326msgid "Question"
    323327msgstr "Вопрос"
    324328
    325 #: includes/SHORTCODE.php:155
     329#: includes/SHORTCODE.php:158
    326330msgid "Possible answer"
    327331msgstr "Вариант ответа"
    328332
    329 #: includes/SHORTCODE.php:156
     333#: includes/SHORTCODE.php:159
    330334msgid "Your own answer"
    331335msgstr "Свой вариант ответа"
    332336
    333 #: includes/SHORTCODE.php:338
     337#: includes/SHORTCODE.php:341
    334338msgid "Links not allowed"
    335339msgstr "Ссылки запрещены"
    336340
    337 #: includes/SHORTCODE.php:482
     341#: includes/SHORTCODE.php:485
    338342msgid " One or more files exceed the allowed size "
    339343msgstr " Один или несколько файлов превышают допустимый размер "
    340344
    341 #: includes/SHORTCODE.php:482 includes/SHORTCODE.php:503
     345#: includes/SHORTCODE.php:485 includes/SHORTCODE.php:506
    342346msgid " Мб"
    343347msgstr "Mb"
    344348
    345 #: includes/SHORTCODE.php:487
     349#: includes/SHORTCODE.php:490
    346350msgid " One or more files are not in a valid format"
    347351msgstr " Один или несколько файлов имеют недопустимый формат"
    348352
    349 #: includes/SHORTCODE.php:488
     353#: includes/SHORTCODE.php:491
    350354msgid "File"
    351355msgstr "Файл"
    352356
    353 #: includes/SHORTCODE.php:489
     357#: includes/SHORTCODE.php:492
    354358msgid "have extension"
    355359msgstr "имеет расширение"
    356360
    357 #: includes/SHORTCODE.php:503
     361#: includes/SHORTCODE.php:506
    358362msgid " The total size of files exceeds the allowed size "
    359363msgstr " Общий размер файлов превышает допустимый размер"
    360364
    361 #: includes/SHORTCODE.php:543
     365#: includes/SHORTCODE.php:546
    362366msgid "Data array is empty"
    363367msgstr "Массив с данными пуст"
    364368
    365 #: includes/SHORTCODE.php:545
     369#: includes/SHORTCODE.php:548
    366370msgid "Text input field..."
    367371msgstr "Поле для ввода текста..."
    368372
    369 #: includes/SHORTCODE.php:546
     373#: includes/SHORTCODE.php:549
    370374msgid "Write your answer"
    371375msgstr "Напишите Ваш вариант ответа"
    372376
    373 #: includes/SHORTCODE.php:548
     377#: includes/SHORTCODE.php:551
    374378msgid "Your message was successfully sent"
    375379msgstr "Ваше сообщение успешно отправлено"
    376380
    377 #: includes/SHORTCODE.php:549
     381#: includes/SHORTCODE.php:552
    378382msgid "Message not sent"
    379383msgstr "Сообщение не отправлено"
    380384
    381 #: includes/SHORTCODE.php:559
     385#: includes/SHORTCODE.php:562
    382386msgid "The results are displayed at the end of the questionnaire"
    383387msgstr "Результаты отображаются в конце анкеты"
    384388
    385 #: includes/SHORTCODE.php:560
     389#: includes/SHORTCODE.php:563
    386390msgid ""
    387391"Results will be displayed after filling out and sending the questionnaire"
    388392msgstr "Результаты будут отображены после заполнения и отправки анкеты"
    389393
    390 #: includes/SHORTCODE.php:592
     394#: includes/SHORTCODE.php:599
    391395msgid "URL input field"
    392396msgstr "Поле для ввода URL"
    393397
    394 #: includes/SHORTCODE.php:598
     398#: includes/SHORTCODE.php:605
    395399msgid "Phone input field"
    396400msgstr "Поле для ввода телефона"
    397401
    398 #: includes/SHORTCODE.php:604
     402#: includes/SHORTCODE.php:611
    399403msgid "Email input field"
    400404msgstr "Поле для ввода Email"
    401405
    402 #: includes/SHORTCODE.php:610
     406#: includes/SHORTCODE.php:617
    403407msgid "Input field type «Date»"
    404408msgstr "Тип поля для ввода «Дата»"
    405409
    406 #: includes/SHORTCODE.php:616
     410#: includes/SHORTCODE.php:623
    407411msgid "Input field type «Range»"
    408412msgstr "Тип поля ввода «Слайдер»"
    409413
    410 #: includes/SHORTCODE.php:616
     414#: includes/SHORTCODE.php:623
    411415msgid "Input field type «Number»"
    412416msgstr "Тип поля ввода «Номер»"
    413417
    414 #: includes/SHORTCODE.php:639
     418#: includes/SHORTCODE.php:646
    415419msgid "Input field type «Dropdown list»"
    416420msgstr "Тип поля «Раскрывающийся список»"
    417421
    418 #: includes/SHORTCODE.php:641
     422#: includes/SHORTCODE.php:648
    419423msgid "Choose a variant"
    420424msgstr "Выберите вариант"
    421425
    422 #: includes/SHORTCODE.php:670 includes/SHORTCODE.php:674
    423 #: includes/SHORTCODE.php:675 includes/VABFWC_CLASS/VABFWC_Class_Graphic.php:50
     426#: includes/SHORTCODE.php:677 includes/SHORTCODE.php:681
     427#: includes/SHORTCODE.php:682 includes/VABFWC_CLASS/VABFWC_Class_Graphic.php:50
    424428#: includes/VABFWC_CLASS/VABFWC_Class_Graphic.php:69
    425429#: includes/VABFWC_CLASS/VABFWC_Class_Graphic.php:87
     
    427431msgstr "Другое"
    428432
    429 #: includes/SHORTCODE.php:697
     433#: includes/SHORTCODE.php:704
    430434msgid " Sorry, the message was not sent."
    431435msgstr " Извините, сообщение не было отправлено."
    432436
    433 #: includes/SHORTCODE.php:701 includes/controller.php:14
     437#: includes/SHORTCODE.php:708 includes/controller.php:14
    434438msgid "Select files"
    435439msgstr "Выберите файлы"
    436440
    437 #: includes/SHORTCODE.php:702
     441#: includes/SHORTCODE.php:709
    438442msgid "Valid File Format"
    439443msgstr "Допустимый формат файлов"
    440444
    441 #: includes/SHORTCODE.php:715
     445#: includes/SHORTCODE.php:722
    442446msgid "Resetting the filled fields"
    443447msgstr "Сброс заполненных полей"
    444448
    445 #: includes/SHORTCODE.php:717 includes/VABFWC_CLASS/VABFWC_Class_Adm.php:46
     449#: includes/SHORTCODE.php:724 includes/VABFWC_CLASS/VABFWC_Class_Adm.php:46
    446450msgid "Send"
    447451msgstr "Отправить"
    448452
    449 #: includes/SHORTCODE.php:726
     453#: includes/SHORTCODE.php:733
    450454msgid "Table deleted successfully"
    451455msgstr "Таблица успешно удалена"
  • vab-forms-with-chart/trunk/languages/VABFWC.pot

    r2719930 r2733658  
    44"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    55"Project-Id-Version: Forms with chart from VAB\n"
    6 "POT-Creation-Date: 2022-05-07 22:16+0500\n"
     6"POT-Creation-Date: 2022-05-30 09:07+0500\n"
    77"PO-Revision-Date: 2022-02-22 15:05+0500\n"
    88"Last-Translator: \n"
     
    295295msgstr ""
    296296
    297 #: includes/SHORTCODE.php:134
     297#: includes/SHORTCODE.php:105
     298msgid "Confirm the reset by checking the box"
     299msgstr ""
     300
     301#: includes/SHORTCODE.php:137
    298302msgid "Message from the site"
    299303msgstr ""
    300304
    301 #: includes/SHORTCODE.php:138
     305#: includes/SHORTCODE.php:141
    302306msgid "Form"
    303307msgstr ""
    304308
    305 #: includes/SHORTCODE.php:142
     309#: includes/SHORTCODE.php:145
    306310msgid "Questionnaire content"
    307311msgstr ""
    308312
    309 #: includes/SHORTCODE.php:143
     313#: includes/SHORTCODE.php:146
    310314msgid "IP address"
    311315msgstr ""
    312316
    313 #: includes/SHORTCODE.php:145
     317#: includes/SHORTCODE.php:148
    314318msgid "The form author Vladimir Anatolyevich Brumer"
    315319msgstr ""
    316320
    317 #: includes/SHORTCODE.php:154
     321#: includes/SHORTCODE.php:157
    318322msgid "Question"
    319323msgstr ""
    320324
    321 #: includes/SHORTCODE.php:155
     325#: includes/SHORTCODE.php:158
    322326msgid "Possible answer"
    323327msgstr ""
    324328
    325 #: includes/SHORTCODE.php:156
     329#: includes/SHORTCODE.php:159
    326330msgid "Your own answer"
    327331msgstr ""
    328332
    329 #: includes/SHORTCODE.php:338
     333#: includes/SHORTCODE.php:341
    330334msgid "Links not allowed"
    331335msgstr ""
    332336
    333 #: includes/SHORTCODE.php:482
     337#: includes/SHORTCODE.php:485
    334338msgid " One or more files exceed the allowed size "
    335339msgstr ""
    336340
    337 #: includes/SHORTCODE.php:482 includes/SHORTCODE.php:503
     341#: includes/SHORTCODE.php:485 includes/SHORTCODE.php:506
    338342msgid " Мб"
    339343msgstr ""
    340344
    341 #: includes/SHORTCODE.php:487
     345#: includes/SHORTCODE.php:490
    342346msgid " One or more files are not in a valid format"
    343347msgstr ""
    344348
    345 #: includes/SHORTCODE.php:488
     349#: includes/SHORTCODE.php:491
    346350msgid "File"
    347351msgstr ""
    348352
    349 #: includes/SHORTCODE.php:489
     353#: includes/SHORTCODE.php:492
    350354msgid "have extension"
    351355msgstr ""
    352356
    353 #: includes/SHORTCODE.php:503
     357#: includes/SHORTCODE.php:506
    354358msgid " The total size of files exceeds the allowed size "
    355359msgstr ""
    356360
    357 #: includes/SHORTCODE.php:543
     361#: includes/SHORTCODE.php:546
    358362msgid "Data array is empty"
    359363msgstr ""
    360364
    361 #: includes/SHORTCODE.php:545
     365#: includes/SHORTCODE.php:548
    362366msgid "Text input field..."
    363367msgstr ""
    364368
    365 #: includes/SHORTCODE.php:546
     369#: includes/SHORTCODE.php:549
    366370msgid "Write your answer"
    367371msgstr ""
    368372
    369 #: includes/SHORTCODE.php:548
     373#: includes/SHORTCODE.php:551
    370374msgid "Your message was successfully sent"
    371375msgstr ""
    372376
    373 #: includes/SHORTCODE.php:549
     377#: includes/SHORTCODE.php:552
    374378msgid "Message not sent"
    375379msgstr ""
    376380
    377 #: includes/SHORTCODE.php:559
     381#: includes/SHORTCODE.php:562
    378382msgid "The results are displayed at the end of the questionnaire"
    379383msgstr ""
    380384
    381 #: includes/SHORTCODE.php:560
     385#: includes/SHORTCODE.php:563
    382386msgid ""
    383387"Results will be displayed after filling out and sending the questionnaire"
    384388msgstr ""
    385389
    386 #: includes/SHORTCODE.php:592
     390#: includes/SHORTCODE.php:599
    387391msgid "URL input field"
    388392msgstr ""
    389393
    390 #: includes/SHORTCODE.php:598
     394#: includes/SHORTCODE.php:605
    391395msgid "Phone input field"
    392396msgstr ""
    393397
    394 #: includes/SHORTCODE.php:604
     398#: includes/SHORTCODE.php:611
    395399msgid "Email input field"
    396400msgstr ""
    397401
    398 #: includes/SHORTCODE.php:610
     402#: includes/SHORTCODE.php:617
    399403msgid "Input field type «Date»"
    400404msgstr ""
    401405
    402 #: includes/SHORTCODE.php:616
     406#: includes/SHORTCODE.php:623
    403407msgid "Input field type «Range»"
    404408msgstr ""
    405409
    406 #: includes/SHORTCODE.php:616
     410#: includes/SHORTCODE.php:623
    407411msgid "Input field type «Number»"
    408412msgstr ""
    409413
    410 #: includes/SHORTCODE.php:639
     414#: includes/SHORTCODE.php:646
    411415msgid "Input field type «Dropdown list»"
    412416msgstr ""
    413417
    414 #: includes/SHORTCODE.php:641
     418#: includes/SHORTCODE.php:648
    415419msgid "Choose a variant"
    416420msgstr ""
    417421
    418 #: includes/SHORTCODE.php:670 includes/SHORTCODE.php:674
    419 #: includes/SHORTCODE.php:675
     422#: includes/SHORTCODE.php:677 includes/SHORTCODE.php:681
     423#: includes/SHORTCODE.php:682
    420424#: includes/VABFWC_CLASS/VABFWC_Class_Graphic.php:50
    421425#: includes/VABFWC_CLASS/VABFWC_Class_Graphic.php:69
     
    424428msgstr ""
    425429
    426 #: includes/SHORTCODE.php:697
     430#: includes/SHORTCODE.php:704
    427431msgid " Sorry, the message was not sent."
    428432msgstr ""
    429433
    430 #: includes/SHORTCODE.php:701 includes/controller.php:14
     434#: includes/SHORTCODE.php:708 includes/controller.php:14
    431435msgid "Select files"
    432436msgstr ""
    433437
    434 #: includes/SHORTCODE.php:702
     438#: includes/SHORTCODE.php:709
    435439msgid "Valid File Format"
    436440msgstr ""
    437441
    438 #: includes/SHORTCODE.php:715
     442#: includes/SHORTCODE.php:722
    439443msgid "Resetting the filled fields"
    440444msgstr ""
    441445
    442 #: includes/SHORTCODE.php:717 includes/VABFWC_CLASS/VABFWC_Class_Adm.php:46
     446#: includes/SHORTCODE.php:724 includes/VABFWC_CLASS/VABFWC_Class_Adm.php:46
    443447msgid "Send"
    444448msgstr ""
    445449
    446 #: includes/SHORTCODE.php:726
     450#: includes/SHORTCODE.php:733
    447451msgid "Table deleted successfully"
    448452msgstr ""
  • vab-forms-with-chart/trunk/readme.txt

    r2723657 r2733658  
    77Requires PHP: 5.6.20
    88Tested up to: 6.0
    9 Stable tag: 1.1.6
     9Stable tag: 1.1.7
    1010License: GPLv2
    1111License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    207207== Changelog ==
    208208
     209= 1.1.7 =
     210
     211* Minor styles tweaks;
     212* Bugfix - table reset for administrator was performed without checkbox set;
     213
    209214= 1.1.6 =
    210215
  • vab-forms-with-chart/trunk/vab-forms-with-chart.php

    r2721098 r2733658  
    77 * Author:                  Vladimir Anatol`evich Brumer
    88 * License:                     GPLv2
    9  * Version:                 1.1.6
     9 * Version:                 1.1.7
    1010 *
    1111 * Text Domain:             VABFWC
     
    1919}
    2020if ( ! defined( 'VABFWC_VERSION' ) ) {
    21     define( 'VABFWC_VERSION','1.1.6' );
     21    define( 'VABFWC_VERSION', '1.1.7' );
    2222}
    2323if ( ! defined( 'VABFWCGSU' ) ) {
Note: See TracChangeset for help on using the changeset viewer.