Plugin Directory

Changeset 2923307


Ignore:
Timestamp:
06/08/2023 10:41:53 AM (3 years ago)
Author:
nirweb
Message:

3.0.2

Location:
nirweb-support/trunk
Files:
28 edited

Legend:

Unmodified
Added
Removed
  • nirweb-support/trunk/assets/settings/settings.css

    r2817187 r2923307  
    231231    color: #aaa
    232232}
     233.plugin_name_nwallet{
     234        display: flex;
     235    align-items: center;
     236    justify-content: space-between;
     237}
     238.logo_support{
     239      display: flex;
     240    align-items: center;
     241}
     242.premium_support,.premium_support:hover,.premium_support:focus{
     243        background-color: #d63638;
     244    font-weight: 900;
     245    font-size: 19px;
     246    color: #fff;
     247    padding: 10px;
     248    border-radius: 4px;
     249}
  • nirweb-support/trunk/core/core.php

    r2848972 r2923307  
    4242                'ajax_url' => admin_url('admin-ajax.php'),
    4343                'nonce' => wp_create_nonce('media-form'),
    44                 'reset_form_title' => esc_html__('Are you sure you want to reset?', 'nirweb-support'),
     44                'reset_form_title' => esc_html__('Are you sure you want to reset this from?', 'nirweb-support'),
    4545                'reset_form_subtitle' => esc_html__('This will cause data loss.', 'nirweb-support'),
    46                 'reset_form_success' => esc_html__('Form successfully reset.', 'nirweb-support'),
    47                 'attach_file' => esc_html__('Attachment File', 'nirweb-support'),
    48                 'closed_ticket' => esc_html__('Attachment File', 'nirweb-support'),
    49                 'recv_info' => esc_html__('Receiving information ...', 'nirweb-support'),
     46                'reset_form_success' => esc_html__('Form is successfully reset.', 'nirweb-support'),
     47                'attach_file' => esc_html__('attachment file', 'nirweb-support'),
     48                'closed_ticket' => esc_html__('attachment file', 'nirweb-support'),
     49                'recv_info' => esc_html__('receiving information ...', 'nirweb-support'),
    5050                'nes_field' => esc_html__('complete all stared sections Please', 'nirweb-support'),
    5151                'max_size_file' => esc_html__("maximum Size Of File $size MB", 'nirweb-support'),
    52                 'nvalid_file' => esc_html__('File is not valid.', 'nirweb-support'),
     52                'nvalid_file' => esc_html__('file is not valid.', 'nirweb-support'),
    5353                'necessary' => esc_html__('necessary', 'nirweb-support'),
    5454                'normal' => esc_html__('normal', 'nirweb-support'),
    5555                'low' => esc_html__('low', 'nirweb-support'),
    5656                'new' => esc_html__('new', 'nirweb-support'),
    57                 'inprogress' => esc_html__('inprogress', 'nirweb-support'),
     57                'inprogress' => esc_html__('in progress', 'nirweb-support'),
    5858                'answerede' => esc_html__('answerede', 'nirweb-support'),
    5959                'closed' => esc_html__('closed', 'nirweb-support'),
    6060                'ok_text' => esc_html__('Ok', 'nirweb-support'),
    61                 'cancel_text' => esc_html__('Cancel', 'nirweb-support'),
     61                'cancel_text' => esc_html__('cancel', 'nirweb-support'),
    6262            )
    6363        );
     
    9595        add_submenu_page(
    9696            'nirweb_ticket_manage_tickets',
    97             esc_html__('Send ticket', 'nirweb-support'),
    98             esc_html__('Send ticket', 'nirweb-support'),
     97            esc_html__('Create ticket', 'nirweb-support'),
     98            esc_html__('Create ticket', 'nirweb-support'),
    9999            'upload_files',
    100100            'nirweb_ticket_send_ticket',
     
    103103        add_submenu_page(
    104104            'nirweb_ticket_manage_tickets',
    105             esc_html__('Department', 'nirweb-support'),
    106             esc_html__('Department', 'nirweb-support'),
     105            esc_html__('Departments', 'nirweb-support'),
     106            esc_html__('Departments', 'nirweb-support'),
    107107            'manage_options',
    108108            'nirweb_ticket_department_ticket',
     
    111111        add_submenu_page(
    112112            'nirweb_ticket_manage_tickets',
    113             esc_html__('Pre answer', 'nirweb-support'),
    114             esc_html__('Pre answer', 'nirweb-support'),
     113            esc_html__('Canned replies', 'nirweb-support'),
     114            esc_html__('Canned replies', 'nirweb-support'),
    115115            'manage_options',
    116116            'edit.php?post_type=pre_answer_wpyticket'
     
    232232    function () {
    233233        $labels = array(
    234             'name' => esc_html__('pre answer', 'nirweb-support'),
    235             'singular_name' => esc_html__('pre answer', 'nirweb-support'),
    236             'add_new' => esc_html__('New Answer', 'nirweb-support'),
    237             'add_new_item' => esc_html__('New Answer', 'nirweb-support'),
    238             'edit_item' => esc_html__('Edit Answer', 'nirweb-support'),
    239             'new_item' => esc_html__('New Answer', 'nirweb-support'),
    240             'all_items' => esc_html__('pre answer', 'nirweb-support'),
    241             'view_item' => esc_html__('Show Answer', 'nirweb-support'),
    242             'menu_name' => esc_html__('pre answer', 'nirweb-support'),
     234            'name' => esc_html__('Canned replies', 'nirweb-support'),
     235            'singular_name' => esc_html__('Canned replies', 'nirweb-support'),
     236            'add_new' => esc_html__('Add a canned reply', 'nirweb-support'),
     237            'add_new_item' => esc_html__('Add a canned reply', 'nirweb-support'),
     238            'edit_item' => esc_html__('Edit a canned reply', 'nirweb-support'),
     239            'new_item' => esc_html__('Add a canned reply', 'nirweb-support'),
     240            'all_items' => esc_html__('Canned replies', 'nirweb-support'),
     241            'view_item' => esc_html__('View canned replies', 'nirweb-support'),
     242            'menu_name' => esc_html__('Canned replies', 'nirweb-support'),
    243243        );
    244244        $args = array(
     
    452452
    453453
    454 add_action('admin_init', function () {
     454add_action('wp_update_plugins', function () {
    455455    $resp = wp_remote_get('https://nirweb.ir/wp-json/nirweb/ads_img', array('sslverify' => false));
    456456    if (!is_wp_error($resp) && 200 === wp_remote_retrieve_response_code($resp)) {
    457457        $result = json_decode($resp['body']);
    458458        if (strlen($result) > 0) {
    459             add_action( 'admin_notices', function () use ($result) {
    460                 $user_id = get_current_user_id();
    461                 if ( !get_user_meta( $user_id, 'nirweb_ads_ticket',true) || current_time('timestamp') > intval(get_user_meta( $user_id, 'nirweb_ads_ticket',true))){ ?>
    462                     <div class="notice notice-warning is-dismissible nirweb_ads_ticket-dismissed" style="text-align: center">
    463                        <?= $result ?>
    464                     </div>
    465                     <script>
    466                         jQuery('body').on('click','.nirweb_ads_ticket-dismissed .notice-dismiss',function (e){
    467                             e.preventDefault();
    468                             jQuery.ajax({
    469                                url:"<?= admin_url('admin-ajax.php') ?>",
    470                                data:{
    471                                    action:'nirweb_ads_ticket_dismissed'
    472                                },
    473                                Type:"POST",
    474                                success:function (data){
    475                                    jQuery('.nirweb_ads_ticket-dismissed').remove()
    476                                }
    477                             });
    478                         })
    479                     </script>
    480               <?php  }
    481 
    482             } );
    483 
    484 
    485         }
    486     }
    487 
    488 
     459          update_option('nadurl',$result);
     460        }else{
     461            delete_option('nadurl');
     462        }
     463    }
    489464});
     465
     466add_action('admin_init',function(){
     467    add_action( 'admin_notices', function () {
     468        $user_id = get_current_user_id();
     469        $imgUrl = get_option('nadurl');
     470        if ( $imgUrl && (!get_user_meta( $user_id, 'nirweb_ads_ticket',true) || current_time('timestamp') > intval(get_user_meta( $user_id, 'nirweb_ads_ticket',true)))){ ?>
     471            <div class="notice notice-warning is-dismissible nirweb_ads_ticket-dismissed" style="text-align: center">
     472               <?= $imgUrl ?>
     473            </div>
     474            <script>
     475                jQuery('body').on('click','.nirweb_ads_ticket-dismissed .notice-dismiss',function (e){
     476                    e.preventDefault();
     477                    jQuery.ajax({
     478                       url:"<?= admin_url('admin-ajax.php') ?>",
     479                       data:{
     480                           action:'nirweb_ads_ticket_dismissed'
     481                       },
     482                       Type:"POST",
     483                       success:function (data){
     484                           jQuery('.nirweb_ads_ticket-dismissed').remove()
     485                       }
     486                    });
     487                })
     488            </script>
     489      <?php  }
     490
     491    } );
     492});
  • nirweb-support/trunk/core/settings.php

    r2817187 r2923307  
    1515
    1616    echo '<div class ="info_set_text_body">';
    17     echo '<h2 style="margin-bottom:20px;color:#ff0000">' . esc_html__('Help to create email text', 'nirweb-support') . '</h2>';
    18     echo '<p><span style="width:120px;display:inline-block">' . esc_html__('ticket number', 'nirweb-support') . '</span> <code>{{ticket_id}}</code></p>';
     17    echo '<h2 style="margin-bottom:20px;color:#ff0000">' . esc_html__('Email template placeholders', 'nirweb-support') . '</h2>';
     18    echo '<p><span style="width:120px;display:inline-block">' . esc_html__('ticket ID', 'nirweb-support') . '</span> <code>{{ticket_id}}</code></p>';
    1919    echo '<p><span style="width:120px;display:inline-block">' . esc_html__('ticket title', 'nirweb-support') . '</span><code>{{ticket_title}}</code></p>';
    20     echo '<p><span style="width:120px;display:inline-block">' . esc_html__('name support', 'nirweb-support') . '</span><code>{{ticket_poshtiban}}</code></p>';
    21     echo '<p><span style="width:120px;display:inline-block">' . esc_html__('name department', 'nirweb-support') . '</span><code>{{ticket_dep}}</code></p>';
    22     echo '<p><span style="width:120px;display:inline-block">' . esc_html__('Priority', 'nirweb-support') . '</span> <code>{{ticket_pri}}</code></p>';
     20    echo '<p><span style="width:120px;display:inline-block">' . esc_html__('support agent name', 'nirweb-support') . '</span><code>{{ticket_poshtiban}}</code></p>';
     21    echo '<p><span style="width:120px;display:inline-block">' . esc_html__('department name', 'nirweb-support') . '</span><code>{{ticket_dep}}</code></p>';
     22    echo '<p><span style="width:120px;display:inline-block">' . esc_html__('priority', 'nirweb-support') . '</span> <code>{{ticket_pri}}</code></p>';
    2323    echo '<p><span style="width:120px;display:inline-block">' . esc_html__('status', 'nirweb-support') . '</span> <code>{{ticket_stu}}</code></p>';
    2424    echo '</div>';
     
    2727{
    2828    echo '<div class ="info_set_text_body">';
    29     echo '<h2 style="margin-bottom:20px;color:#ff0000">' . __('Help to create text', 'nirweb-support') . '</h2>';
    30     echo '<p><span style="width:120px;display:inline-block">' . __('Ticket ID', 'nirweb-support') . '</span> <code class="tooltipe">
     29    echo '<h2 style="margin-bottom:20px;color:#ff0000">' . __('Email template placeholders', 'nirweb-support') . '</h2>';
     30    echo '<p><span style="width:120px;display:inline-block">' . __('ticket ID', 'nirweb-support') . '</span> <code class="tooltipe">
    3131        <span class="text">{{ticket_id}}</span>
    3232    </code></p>';
    33     echo '<p><span style="width:120px;display:inline-block">' . __('Title', 'nirweb-support') . ' </span><code class="tooltipe">
     33    echo '<p><span style="width:120px;display:inline-block">' . __('title', 'nirweb-support') . ' </span><code class="tooltipe">
    3434        <span class="text">{{ticket_title}}</span>
    3535    </code></p>';
    36     echo '<p><span style="width:120px;display:inline-block">' . __('Support Name', 'nirweb-support') . '</span><code class="tooltipe">
     36    echo '<p><span style="width:120px;display:inline-block">' . __('support agent Name', 'nirweb-support') . '</span><code class="tooltipe">
    3737        <span class="text">{{ticket_poshtiban}}</span>
    3838    </code></p>';
    39     echo '<p><span style="width:120px;display:inline-block">' . __('Sender Name', 'nirweb-support') . '</span> <code class="tooltipe">
     39    echo '<p><span style="width:120px;display:inline-block">' . __('sender Name', 'nirweb-support') . '</span> <code class="tooltipe">
    4040        <span class="text">{{user_name}}</span>
    4141    </code></p>';
    42     echo '<p><span style="width:120px;display:inline-block">' . __('Department', 'nirweb-support') . ' </span><code class="tooltipe">
     42    echo '<p><span style="width:120px;display:inline-block">' . __('department', 'nirweb-support') . ' </span><code class="tooltipe">
    4343        <span class="text">{{ticket_dep}}</span>
    4444    </code></p>';
     
    6161                <ul class="uk-list uk-list-divider list_tabs_settings">
    6262                    <li class="plugin_name_nwallet">
    63                         <img src="<?= NIRWEB_SUPPORT_URL_TICKET . '/assets/images/defualt-logo.png' ?>" width="50"
     63                        <div class="logo_support">
     64                            <img src="<?= NIRWEB_SUPPORT_URL_TICKET . '/assets/images/defualt-logo.png' ?>" width="50"
    6465                             alt="nirweb wallet">
    6566                        <div class="">
     
    6768                            <small><?= esc_html__('Version', 'nirweb-support') . ' ' . NIRWEB_SUPPORT_TICKET_VER ?></small>
    6869                        </div>
    69                     </li>
    70 
     70                        </div>
     71                        <a class="premium_support" href="https://nirwp.com/shop/wordpress-plugins/advanced-support-ticket-plugin/" >GO PREMIUM</a>
     72                    </li>
    7173
    7274                    <li class="n_s_ticket_item">
     
    7577                            <div>
    7678                                <div class="menu_title"><?php echo esc_html__('General settings', 'nirweb-support') ?></div>
    77                                 <div class="menu_description"><?= esc_html__('Configure General', 'nirweb-support') ?></div>
    78                             </div>
    79                         </a>
    80                     </li>
    81                     <li class="n_s_ticket_item">
     79                                <div class="menu_description"><?= esc_html__('Configure General Settings', 'nirweb-support') ?></div>
     80                            </div>
     81                        </a>
     82                    </li>
     83
     84                     <li class="n_s_ticket_item">
     85                        <a  data-toggle="box_4">
     86                            <i uk-icon="lifesaver"></i>
     87                            <div>
     88                                <div class="menu_title"><?php echo esc_html__('Ticket', 'nirweb-support'); ?></div>
     89                                <div class="menu_description"><?= esc_html__('Configure ticket Settings', 'nirweb-support') ?></div>
     90                            </div>
     91                        </a>
     92                    </li>
     93
     94
     95                    <li class="n_s_ticket_item">
     96                        <a  data-toggle="box_5">
     97                            <i uk-icon="cloud-upload"></i>
     98                            <div>
     99                                <div class="menu_title"><?php echo esc_html__('File', 'nirweb-support'); ?></div>
     100                                <div class="menu_description"><?= esc_html__('Configure file Settings', 'nirweb-support') ?></div>
     101                            </div>
     102                        </a>
     103                    </li>
     104
     105                   
     106                 
     107                    <li class="n_s_ticket_item">
     108                        <a  data-toggle="box_2">
     109                            <i uk-icon="user"></i>
     110                            <div>
     111                                <div class="menu_title"><?php echo esc_html__('Support staff notifications', 'nirweb-support'); ?></div>
     112                                <div class="menu_description"><?= esc_html__('Configure notifications the for support agent', 'nirweb-support') ?></div>
     113                            </div>
     114                        </a>
     115                    </li>
     116
     117
     118                    <li class="n_s_ticket_item">
     119                        <a  data-toggle="box_3">
     120                            <i uk-icon="happy"></i>
     121                            <div>
     122                                <div class="menu_title"><?php echo esc_html__('User notifications', 'nirweb-support'); ?></div>
     123                                <div class="menu_description"><?= esc_html__('Configure notifications for the user', 'nirweb-support') ?></div>
     124                            </div>
     125                        </a>
     126                    </li>
     127
     128
     129                     <li class="n_s_ticket_item">
    82130                        <a  data-toggle="box_1_p">
    83131                            <i uk-icon="link"></i>
    84132                            <div>
    85                                 <div class="menu_title"><?php echo esc_html__('Payment Link (Pro)', 'nirweb-support') ?></div>
    86                                 <div class="menu_description"><?= esc_html__('Configure Payment Link', 'nirweb-support') ?></div>
    87                             </div>
    88                         </a>
    89                     </li>
    90                     <li class="n_s_ticket_item">
    91                         <a  data-toggle="box_2">
    92                             <i uk-icon="user"></i>
    93                             <div>
    94                                 <div class="menu_title"><?php echo esc_html__('Support notification', 'nirweb-support'); ?></div>
    95                                 <div class="menu_description"><?= esc_html__('Configure notification for support', 'nirweb-support') ?></div>
    96                             </div>
    97                         </a>
    98                     </li>
    99 
    100 
    101                     <li class="n_s_ticket_item">
    102                         <a  data-toggle="box_3">
    103                             <i uk-icon="happy"></i>
    104                             <div>
    105                                 <div class="menu_title"><?php echo esc_html__('User notification', 'nirweb-support'); ?></div>
    106                                 <div class="menu_description"><?= esc_html__('Configure notification for user', 'nirweb-support') ?></div>
    107                             </div>
    108                         </a>
    109                     </li>
    110 
     133                                <div class="menu_title"><?php echo esc_html__('Payment Links (Pro)', 'nirweb-support') ?></div>
     134                                <div class="menu_description"><?= esc_html__('Configure Payment Links', 'nirweb-support') ?></div>
     135                            </div>
     136                        </a>
     137                    </li>
     138                   
     139                   
    111140                    <li class="n_s_ticket_item">
    112141                        <a  data-toggle="box_2_p">
    113142                            <i uk-icon="question"></i>
    114143                            <div>
    115                                 <div class="menu_title"><?php echo esc_html__('Basic Field (Pro)', 'nirweb-support'); ?></div>
    116                                 <div class="menu_description"><?= esc_html__('Configure Basic Field', 'nirweb-support') ?></div>
    117                             </div>
    118                         </a>
    119                     </li>
    120 
    121                     <li class="n_s_ticket_item">
    122                         <a  data-toggle="box_3_p">
    123                             <i uk-icon="question"></i>
    124                             <div>
    125                                 <div class="menu_title"><?php echo esc_html__('PRIORITY FIELD (Pro)', 'nirweb-support'); ?></div>
    126                                 <div class="menu_description"><?= esc_html__('Add infinity Field', 'nirweb-support') ?></div>
    127                             </div>
    128                         </a>
    129                     </li>
    130 
    131 
    132                     <li class="n_s_ticket_item">
    133                         <a  data-toggle="box_4">
    134                             <i uk-icon="lifesaver"></i>
    135                             <div>
    136                                 <div class="menu_title"><?php echo esc_html__('Ticket', 'nirweb-support'); ?></div>
    137                                 <div class="menu_description"><?= esc_html__('Configuration ticket', 'nirweb-support') ?></div>
    138                             </div>
    139                         </a>
    140                     </li>
    141 
    142                     <li class="n_s_ticket_item">
     144                                <div class="menu_title"><?php echo esc_html__('Basic Fields (Pro)', 'nirweb-support'); ?></div>
     145                                <div class="menu_description"><?= esc_html__('Configure Basic Fields', 'nirweb-support') ?></div>
     146                            </div>
     147                        </a>
     148                    </li>
     149                   
     150                   
     151                  <li class="n_s_ticket_item">
    143152                            <a  data-toggle="box_1_e">
    144153                                <i uk-icon="question"></i>
    145154                                <div>
    146                                     <div class="menu_title"><?php echo esc_html__('Extra Field', 'nirweb-support'); ?> (Pro)</div>
    147                                     <div class="menu_description"><?= esc_html__('Configuration Extra Field', 'nirweb-support') ?></div>
     155                                    <div class="menu_title"><?php echo esc_html__('Extra Fields (Pro)', 'nirweb-support'); ?> </div>
     156                                    <div class="menu_description"><?= esc_html__('Configure Extra Fields', 'nirweb-support') ?></div>
    148157                                </div>
    149158                            </a>
    150                         </li>
    151 
    152                     <li class="n_s_ticket_item">
    153                         <a  data-toggle="box_5">
    154                             <i uk-icon="cloud-upload"></i>
    155                             <div>
    156                                 <div class="menu_title"><?php echo esc_html__('File', 'nirweb-support'); ?></div>
    157                                 <div class="menu_description"><?= esc_html__('Configuration file', 'nirweb-support') ?></div>
     159                    </li>
     160
     161                    <li class="n_s_ticket_item">
     162                        <a  data-toggle="box_3_p">
     163                            <i uk-icon="question"></i>
     164                            <div>
     165                                <div class="menu_title"><?php echo esc_html__('Priority fields (Pro)', 'nirweb-support'); ?></div>
     166                                <div class="menu_description"><?= esc_html__('Add infinite Fields', 'nirweb-support') ?></div>
    158167                            </div>
    159168                        </a>
     
    166175                            <div>
    167176                                <div class="menu_title"><?php echo esc_html__('Telegram (Pro)', 'nirweb-support'); ?></div>
    168                                 <div class="menu_description"><?= esc_html__('Configuration Telegram', 'nirweb-support') ?></div>
     177                                <div class="menu_description"><?= esc_html__('Configure Telegram settings', 'nirweb-support') ?></div>
    169178                            </div>
    170179                        </a>
     
    177186                            <div>
    178187                                <div class="menu_title"><?php echo esc_html__('SMS Notification (Pro)', 'nirweb-support'); ?></div>
    179                                 <div class="menu_description"><?= esc_html__('Configuration SMS Notification', 'nirweb-support') ?></div>
     188                                <div class="menu_description"><?= esc_html__('Configure SMS Notifications', 'nirweb-support') ?></div>
    180189                            </div>
    181190                        </a>
     
    188197                            <div>
    189198                                <div class="menu_title"><?php echo esc_html__('CUSTOM STYLE (Pro)', 'nirweb-support'); ?></div>
    190                                 <div class="menu_description"><?= esc_html__('Editor code for type css', 'nirweb-support') ?></div>
     199                                <div class="menu_description"><?= esc_html__('CSS editor', 'nirweb-support') ?></div>
    191200                            </div>
    192201                        </a>
  • nirweb-support/trunk/core/settings/box_1_p.php

    r2817187 r2923307  
    22    <h2 class="nwallet_set_title">
    33        <span class="nwallet_set_title_icon"><span uk-icon="link"></span></span>
    4         <strong><?php echo esc_html__('Payment Link', 'nirweb-support') ?></strong>
     4        <strong><?php echo esc_html__('Payment Links', 'nirweb-support') ?></strong>
    55        <div class="pro_ver_txt">   <i uk-icon="lock"></i> Pro Version</div>
    66    </h2>
     
    1212
    1313        <label class="uk-form-label pro_ver"
    14                for="select_page_ticket"><strong><?php echo esc_html__('View list of paid links', 'nirweb-support'); ?></strong>
     14               for="select_page_ticket"><strong><?php echo esc_html__('Show a list of paid links', 'nirweb-support'); ?></strong>
    1515
    1616        </label>
     
    1818            <select disabled>
    1919                <option value="0" >
    20                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
     20                    <?php echo esc_html__('off', 'nirweb-support'); ?>
    2121                </option>
    2222            </select>
     
    4848
    4949        <label class="uk-form-label pro_ver"
    50                for="select_page_ticket"><strong><?php echo esc_html__('Explanation of payment gateway', 'nirweb-support'); ?></strong>
     50               for="select_page_ticket"><strong><?php echo esc_html__('Description of payment gateway', 'nirweb-support'); ?></strong>
    5151         </label>
    5252
     
    6161    <div class="uk-margin">
    6262        <label class="uk-form-label"
    63                for="select_page_ticket"><strong><?php echo esc_html__('Thanks page after payment', 'nirweb-support'); ?></strong></label>
     63               for="select_page_ticket"><strong><?php echo esc_html__('Select thank you page', 'nirweb-support'); ?></strong></label>
    6464        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    6565            <select disabled>
    66                 <option value="0"><?php echo esc_html__('Please Select Page', 'nirweb-support'); ?></option>
     66                <option value="0"><?php echo esc_html__('Please Select A Page', 'nirweb-support'); ?></option>
    6767            </select>
    6868            <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
  • nirweb-support/trunk/core/settings/box_2_p.php

    r2817187 r2923307  
    22    <h2 class="nwallet_set_title">
    33        <span class="nwallet_set_title_icon"><span uk-icon="question"></span></span>
    4         <strong><?php echo esc_html__('Basic Field', 'nirweb-support') ?></strong>
     4        <strong><?php echo esc_html__('Basic Fields', 'nirweb-support') ?></strong>
    55        <div class="pro_ver_txt">   <i uk-icon="lock"></i> Pro Version</div>
    66    </h2>
     
    1212
    1313        <label class="uk-form-label pro_ver"
    14                for="select_page_ticket"><strong><?php echo esc_html__('Disabled product field', 'nirweb-support'); ?></strong>
     14               for="select_page_ticket"><strong><?php echo esc_html__('Disable product field', 'nirweb-support'); ?></strong>
    1515
    1616        </label>
     
    1818            <select disabled>
    1919                <option value="0" >
    20                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
     20                    <?php echo esc_html__('off', 'nirweb-support'); ?>
    2121                </option>
    2222            </select>
     
    3737
    3838        <label class="uk-form-label pro_ver"
    39                for="select_page_ticket"><strong><?php echo esc_html__('Disabled priority field', 'nirweb-support'); ?></strong>
     39               for="select_page_ticket"><strong><?php echo esc_html__('Disable priority field', 'nirweb-support'); ?></strong>
    4040
    4141        </label>
     
    4343            <select disabled>
    4444                <option value="0" >
    45                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
     45                    <?php echo esc_html__('off', 'nirweb-support'); ?>
    4646                </option>
    4747            </select>
  • nirweb-support/trunk/core/settings/box_3_p.php

    r2817187 r2923307  
    1010
    1111        <label class="uk-form-label pro_ver"
    12                for="select_page_ticket"><strong><?php echo esc_html__("PRIORITY FIELD'S", 'nirweb-support'); ?></strong>
     12               for="select_page_ticket"><strong><?php echo esc_html__("Priority fields", 'nirweb-support'); ?></strong>
    1313
    1414        </label>
  • nirweb-support/trunk/core/settings/box_e.php

    r2817187 r2923307  
    22    <h2 class="nwallet_set_title">
    33        <span class="nwallet_set_title_icon"><span uk-icon="question"></span></span>
    4         <strong><?php echo esc_html__('Extra Field', 'nirweb-support'); ?> </strong>
     4        <strong><?php echo esc_html__('Extra fields', 'nirweb-support'); ?> </strong>
    55        <div class="pro_ver_txt">   <i uk-icon="lock"></i> Pro Version</div>
    66    </h2>
     
    99
    1010        <label class="uk-form-label pro_ver"
    11                for="select_page_ticket"><strong><?php echo esc_html__('Enabled Extra Field', 'nirweb-support'); ?> </strong>
     11               for="select_page_ticket"><strong><?php echo esc_html__('Enable extra fields', 'nirweb-support'); ?> </strong>
    1212
    1313        </label>
     
    1515            <select disabled>
    1616                <option value="0" >
    17                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
     17                    <?php echo esc_html__('off', 'nirweb-support'); ?>
    1818                </option>
    1919            </select>
     
    3131
    3232        <label class="uk-form-label pro_ver"
    33                for="select_page_ticket"><strong><?php echo esc_html__('Name Extra Field', 'nirweb-support'); ?> </strong>
     33               for="select_page_ticket"><strong><?php echo esc_html__('Field name', 'nirweb-support'); ?> </strong>
    3434        </label>
    3535
     
    4343    <div class="uk-margin">
    4444        <label class="uk-form-label"
    45                for="select_page_ticket"><strong><?php echo esc_html__('Type Extra Field', 'nirweb-support'); ?> </strong></label>
     45               for="select_page_ticket"><strong><?php echo esc_html__('Field type', 'nirweb-support'); ?> </strong></label>
    4646        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    4747            <select disabled>
  • nirweb-support/trunk/core/settings/file.php

    r2817187 r2923307  
    77    <div class="uk-margin">
    88        <label class="uk-form-label"
    9                for="size_of_file_wpyartik"><?= esc_html__('Upload volume in MB', 'nirweb-support') ?></label>
     9               for="size_of_file_wpyartik"><?= esc_html__('Maximum upload volume in MB', 'nirweb-support') ?></label>
    1010        <div class="uk-form-controls">
    1111            <input class="uk-input" type="text" name="size_of_file_wpyartik" id="size_of_file_wpyartik"
     
    1616    <div class="uk-margin">
    1717        <label class="uk-form-label"
    18                for="size_of_file_wpyartik"><?= esc_html__('Authorized file extensions', 'nirweb-support') ?></label>
     18               for="size_of_file_wpyartik"><?= esc_html__('Allowed file extensions', 'nirweb-support') ?></label>
    1919        <div class="uk-form-controls">
    2020            <input class="uk-input" type="text" name="mojaz_file_upload_user_wpyar" id="mojaz_file_upload_user_wpyar"
  • nirweb-support/trunk/core/settings/general.php

    r2817187 r2923307  
    66    <div class="uk-margin">
    77        <label class="uk-form-label"
    8                for="active_auto_partial"><strong><?php echo esc_html__('Display Icon', 'nirweb-support'); ?></strong></label>
     8               for="active_auto_partial"><strong><?php echo esc_html__('Display floating action button', 'nirweb-support'); ?></strong></label>
    99        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    1010            <select name="display_icon_send_ticket">
    11                 <option value="0" <?= get_option('display_icon_send_ticket') == '0' ? 'selected' : '' ?> ><?php echo esc_html__('deactivate', 'nirweb-support'); ?></option>
    12                 <option value="1" <?= get_option('display_icon_send_ticket') == '1' ? 'selected' : '' ?> ><?php echo esc_html__('active', 'nirweb-support'); ?></option>
     11                <option value="0" <?= get_option('display_icon_send_ticket') == '0' ? 'selected' : '' ?> ><?php echo esc_html__('off', 'nirweb-support'); ?></option>
     12                <option value="1" <?= get_option('display_icon_send_ticket') == '1' ? 'selected' : '' ?> ><?php echo esc_html__('on', 'nirweb-support'); ?></option>
    1313            </select>
    1414            <button class="uk-button uk-button-default" type="button" tabindex="-1">
     
    1818        </div>
    1919    </div>
    20 
    21     <div class="uk-margin">
    22         <label class="uk-form-label"
    23                for="select_page_ticket"><strong><?php echo esc_html__('If you do not have the WooCommerce plugin installed, select a Page', 'nirweb-support'); ?></strong></label>
    24         <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    25             <select name="select_page_ticket">
    26                 <option value="0"><?php echo esc_html__('Please Select Page', 'nirweb-support'); ?></option>
    27                 <?php foreach (get_pages() as $page): ?>
    28                     <option value="<?php echo esc_html($page->ID) ?>" <?= get_option('select_page_ticket') == $page->ID ? 'selected' : '' ?> ><?php echo esc_html($page->post_title) ?></option>
    29                 <?php endforeach; ?>
    30             </select>
    31             <button class="uk-button uk-button-default" type="button" tabindex="-1">
    32                 <span></span>
    33                 <span uk-icon="icon: chevron-down" class="uk-icon"></span>
    34             </button>
    35         </div>
    36         <div class="set_description">
    37             <i uk-icon="info"></i>
    38             <?= esc_html__('short code : [nirweb_ticket]', 'nirweb-support') ?>
    39         </div>
    40     </div>
    41     <div class="uk-margin">
    42 
    43         <label class="uk-form-label pro_ver"
    44                for="select_page_ticket"><strong><?php echo esc_html__('Login Page', 'nirweb-support'); ?></strong>
    45             <div class="pro_ver_txt">   <i uk-icon="lock"></i> Pro</div>
    46         </label>
    47         <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    48             <select disabled>
    49                 <option value="0"><?php echo esc_html__('Please Select Page', 'nirweb-support'); ?></option>
    50             </select>
    51             <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
    52                 <span></span>
    53                 <span uk-icon="icon: chevron-down" class="uk-icon"></span>
    54             </button>
    55         </div>
    56 
    57     </div>
    58 
    59     <div class="uk-margin">
    60 
    61         <label class="uk-form-label pro_ver"
    62                for="select_page_ticket"><strong><?php echo esc_html__('activate auto close ticket', 'nirweb-support'); ?></strong>
    63             <div class="pro_ver_txt">   <i uk-icon="lock"></i> Pro</div>
    64         </label>
    65         <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    66             <select disabled>
    67                 <option value="0" >
    68                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
    69                 </option>
    70                 <option value="1">
    71                     <?php echo esc_html__('active', 'nirweb-support'); ?>
    72                 </option>
    73             </select>
    74             <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
    75                 <span></span>
    76                 <span uk-icon="icon: chevron-down" class="uk-icon"></span>
    77             </button>
    78         </div>
    79 
    80     </div>
    81     <div class="uk-margin">
    82 
    83         <label class="uk-form-label pro_ver"
    84                for="select_page_ticket"><strong><?php echo esc_html__('Display Info Support', 'nirweb-support'); ?></strong>
    85             <div class="pro_ver_txt">   <i uk-icon="lock"></i> Pro</div>
    86         </label>
    87         <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    88             <select disabled>
    89                 <option value="0" >
    90                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
    91                 </option>
    92                 <option value="1">
    93                     <?php echo esc_html__('active', 'nirweb-support'); ?>
    94                 </option>
    95             </select>
    96             <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
    97                 <span></span>
    98                 <span uk-icon="icon: chevron-down" class="uk-icon"></span>
    99             </button>
    100         </div>
    101 
    102     </div>
    103 
    104     <div class="uk-margin">
    105         <label class="uk-form-label"
    106                for="icon_nirweb_ticket_front"><?= esc_html__('Enter the icon address', 'nirweb-support') ?></label>
     20   
     21   
     22    <div class="uk-margin">
     23        <label class="uk-form-label"
     24               for="icon_nirweb_ticket_front"><strong><?= esc_html__('Input the URL for the floating action button icon', 'nirweb-support') ?></strong></label>
    10725        <div class="uk-form-controls">
    10826            <input class="uk-input" name="icon_nirweb_ticket_front"
     
    11533    <div class="uk-margin">
    11634        <label class="uk-form-label"
    117                for="position_icon_nirweb_ticket_front"><strong><?php echo esc_html__('Posotion Icon', 'nirweb-support'); ?></strong></label>
     35               for="position_icon_nirweb_ticket_front"><strong><?php echo esc_html__('Floating action button x-axis position', 'nirweb-support'); ?></strong></label>
    11836        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    11937            <select name="position_icon_nirweb_ticket_front">
     
    13048
    13149    <div class="uk-margin">
     50        <label class="uk-form-label"
     51               for="select_page_ticket"><strong><?php echo esc_html__('If you do not have the WooCommerce plugin installed, select a Page', 'nirweb-support'); ?></strong></label>
     52        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
     53            <select name="select_page_ticket">
     54                <option value="0"><?php echo esc_html__('Please Select A Page', 'nirweb-support'); ?></option>
     55                <?php foreach (get_pages() as $page): ?>
     56                    <option value="<?php echo esc_html($page->ID) ?>" <?= get_option('select_page_ticket') == $page->ID ? 'selected' : '' ?> ><?php echo esc_html($page->post_title) ?></option>
     57                <?php endforeach; ?>
     58            </select>
     59            <button class="uk-button uk-button-default" type="button" tabindex="-1">
     60                <span></span>
     61                <span uk-icon="icon: chevron-down" class="uk-icon"></span>
     62            </button>
     63        </div>
     64        <div class="set_description">
     65            <i uk-icon="info"></i>
     66            <?= esc_html__('short code : [nirweb_ticket]', 'nirweb-support') ?>
     67        </div>
     68    </div>
     69    <div class="uk-margin">
     70
     71        <label class="uk-form-label pro_ver"
     72               for="select_page_ticket"><strong><?php echo esc_html__('Login Page', 'nirweb-support'); ?></strong>
     73            <div class="pro_ver_txt">   <i uk-icon="lock"></i> Pro</div>
     74        </label>
     75        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
     76            <select disabled>
     77                <option value="0"><?php echo esc_html__('Please Select A Page', 'nirweb-support'); ?></option>
     78            </select>
     79            <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
     80                <span></span>
     81                <span uk-icon="icon: chevron-down" class="uk-icon"></span>
     82            </button>
     83        </div>
     84
     85    </div>
     86
     87    <div class="uk-margin">
     88
     89        <label class="uk-form-label pro_ver"
     90               for="select_page_ticket"><strong><?php echo esc_html__('Enable automatic ticket closure', 'nirweb-support'); ?></strong>
     91            <div class="pro_ver_txt">   <i uk-icon="lock"></i> Pro</div>
     92        </label>
     93        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
     94            <select disabled>
     95                <option value="0" >
     96                    <?php echo esc_html__('off', 'nirweb-support'); ?>
     97                </option>
     98                <option value="1">
     99                    <?php echo esc_html__('on', 'nirweb-support'); ?>
     100                </option>
     101            </select>
     102            <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
     103                <span></span>
     104                <span uk-icon="icon: chevron-down" class="uk-icon"></span>
     105            </button>
     106        </div>
     107
     108    </div>
     109    <div class="uk-margin">
     110
     111        <label class="uk-form-label pro_ver"
     112               for="select_page_ticket"><strong><?php echo esc_html__('Show support agent\'s information', 'nirweb-support'); ?></strong>
     113            <div class="pro_ver_txt">   <i uk-icon="lock"></i> Pro</div>
     114        </label>
     115        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
     116            <select disabled>
     117                <option value="0" >
     118                    <?php echo esc_html__('off', 'nirweb-support'); ?>
     119                </option>
     120                <option value="1">
     121                    <?php echo esc_html__('on', 'nirweb-support'); ?>
     122                </option>
     123            </select>
     124            <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
     125                <span></span>
     126                <span uk-icon="icon: chevron-down" class="uk-icon"></span>
     127            </button>
     128        </div>
     129
     130    </div>
     131
     132
     133
     134    <div class="uk-margin">
    132135
    133136        <label class="uk-form-label pro_ver"
     
    156159
    157160        <label class="uk-form-label pro_ver"
    158                for="select_page_ticket"><strong><?php echo esc_html__('Product support by the seller (for Dokan plugin)', 'nirweb-support'); ?></strong>
    159             <div class="pro_ver_txt">   <i uk-icon="lock"></i> Pro</div>
    160         </label>
    161         <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    162             <select disabled>
    163                 <option value="0" >
    164                     <?php echo esc_html__('active', 'nirweb-support'); ?>
    165                 </option>
    166             </select>
    167             <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
    168                 <span></span>
    169                 <span uk-icon="icon: chevron-down" class="uk-icon"></span>
    170             </button>
    171         </div>
    172 
    173     </div>
    174 
    175 
    176 
    177     <div class="uk-margin">
    178 
    179         <label class="uk-form-label pro_ver"
    180                for="select_page_ticket"><strong><?php echo esc_html__('Automatic response to the ticket sent', 'nirweb-support'); ?></strong>
     161               for="select_page_ticket"><strong><?php echo esc_html__('Assign the vendor as the product\'s support agent (Dokan plugin) ', 'nirweb-support'); ?></strong>
     162            <div class="pro_ver_txt">   <i uk-icon="lock"></i> Pro</div>
     163        </label>
     164        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
     165            <select disabled>
     166                <option value="0" >
     167                    <?php echo esc_html__('on', 'nirweb-support'); ?>
     168                </option>
     169            </select>
     170            <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
     171                <span></span>
     172                <span uk-icon="icon: chevron-down" class="uk-icon"></span>
     173            </button>
     174        </div>
     175
     176    </div>
     177
     178
     179
     180    <div class="uk-margin">
     181
     182        <label class="uk-form-label pro_ver"
     183               for="select_page_ticket"><strong><?php echo esc_html__('Auto-reply to the sent ticket', 'nirweb-support'); ?></strong>
    181184            <div class="pro_ver_txt">   <i uk-icon="lock"></i> Pro</div>
    182185        </label>
     
    184187            <select disabled>
    185188                <option value="1">
    186                     <?php echo esc_html__('active', 'nirweb-support'); ?>
    187                 </option>
    188             </select>
    189             <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
    190                 <span></span>
    191                 <span uk-icon="icon: chevron-down" class="uk-icon"></span>
    192             </button>
    193         </div>
    194 
    195     </div>
    196 
    197     <div class="uk-margin">
    198         <label class="uk-form-label"
    199                for="template_send_ticket_email"><strong><?php echo esc_html__('Email Template For Send Ticket By Admin', 'nirweb-support'); ?></strong></label>
     189                    <?php echo esc_html__('on', 'nirweb-support'); ?>
     190                </option>
     191            </select>
     192            <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
     193                <span></span>
     194                <span uk-icon="icon: chevron-down" class="uk-icon"></span>
     195            </button>
     196        </div>
     197
     198    </div>
     199
     200    <div class="uk-margin">
     201        <label class="uk-form-label"
     202               for="template_send_ticket_email"><strong><?php echo esc_html__('Email template for tickets sent by the administrator', 'nirweb-support'); ?></strong></label>
    200203        <div  class="uk-form-custom">
    201204            <?php esc_html(wp_editor(get_option('template_send_ticket_email'), 'template_send_ticket_email')); ?>
  • nirweb-support/trunk/core/settings/sms_notification.php

    r2817187 r2923307  
    1010
    1111        <label class="uk-form-label pro_ver"
    12                for="select_page_ticket"><strong><?php echo esc_html__('Activate sending SMS to the user', 'nirweb-support'); ?></strong>
    13 
    14         </label>
    15         <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    16             <select disabled>
    17                 <option value="0">
    18                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
    19                 </option>
    20             </select>
    21             <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
    22                 <span></span>
    23                 <span uk-icon="icon: chevron-down" class="uk-icon"></span>
    24             </button>
    25         </div>
    26 
    27     </div>
    28 
    29     <div class="uk-margin">
    30 
    31         <label class="uk-form-label pro_ver"
    32                for="select_page_ticket"><strong><?php echo esc_html__('Activate sending SMS to Support', 'nirweb-support'); ?></strong>
    33 
    34         </label>
    35         <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    36             <select disabled>
    37                 <option value="0">
    38                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
    39                 </option>
    40             </select>
    41             <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
    42                 <span></span>
    43                 <span uk-icon="icon: chevron-down" class="uk-icon"></span>
    44             </button>
    45         </div>
    46 
    47     </div>
    48 
    49 
    50     <div class="uk-margin">
    51 
    52         <label class="uk-form-label pro_ver"
    53                for="select_page_ticket"><strong><?php echo esc_html__('Activate sending SMS to Admin', 'nirweb-support'); ?></strong>
    54 
    55         </label>
    56         <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    57             <select disabled>
    58                 <option value="0">
    59                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
    60                 </option>
    61             </select>
    62             <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
    63                 <span></span>
    64                 <span uk-icon="icon: chevron-down" class="uk-icon"></span>
    65             </button>
    66         </div>
    67 
    68     </div>
    69 
    70 
    71     <div class="uk-margin">
    72 
    73         <label class="uk-form-label pro_ver"
    74                for="select_page_ticket"><strong><?php echo esc_html__('Activate the reply SMS to the user', 'nirweb-support'); ?></strong>
    75 
    76         </label>
    77         <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    78             <select disabled>
    79                 <option value="0">
    80                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
    81                 </option>
    82             </select>
    83             <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
    84                 <span></span>
    85                 <span uk-icon="icon: chevron-down" class="uk-icon"></span>
    86             </button>
    87         </div>
    88 
    89     </div>
    90 
    91     <div class="uk-margin">
    92 
    93         <label class="uk-form-label pro_ver"
    94                for="select_page_ticket"><strong><?php echo esc_html__('Activate the reply SMS to the Admin', 'nirweb-support'); ?></strong>
    95 
    96         </label>
    97         <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    98             <select disabled>
    99                 <option value="0">
    100                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
    101                 </option>
    102             </select>
    103             <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
    104                 <span></span>
    105                 <span uk-icon="icon: chevron-down" class="uk-icon"></span>
    106             </button>
    107         </div>
    108 
    109     </div>
    110 
    111 
    112     <div class="uk-margin">
    113 
    114         <label class="uk-form-label pro_ver"
    115                for="select_page_ticket"><strong><?php echo esc_html__('Activate the reply SMS to the Support', 'nirweb-support'); ?></strong>
    116 
    117         </label>
    118         <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    119             <select disabled>
    120                 <option value="0">
    121                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
    122                 </option>
    123             </select>
    124             <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
    125                 <span></span>
    126                 <span uk-icon="icon: chevron-down" class="uk-icon"></span>
    127             </button>
    128         </div>
    129 
    130     </div>
    131 
    132     <div class="uk-margin">
    133 
    134         <label class="uk-form-label pro_ver"
    135                for="select_page_ticket"><strong><?php echo esc_html__('Activate status change', 'nirweb-support'); ?></strong>
    136 
    137         </label>
    138         <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    139             <select disabled>
    140                 <option value="0">
    141                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
     12               for="select_page_ticket"><strong><?php echo esc_html__('Enable sending SMS to the user', 'nirweb-support'); ?></strong>
     13
     14        </label>
     15        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
     16            <select disabled>
     17                <option value="0">
     18                    <?php echo esc_html__('off', 'nirweb-support'); ?>
     19                </option>
     20            </select>
     21            <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
     22                <span></span>
     23                <span uk-icon="icon: chevron-down" class="uk-icon"></span>
     24            </button>
     25        </div>
     26
     27    </div>
     28
     29    <div class="uk-margin">
     30
     31        <label class="uk-form-label pro_ver"
     32               for="select_page_ticket"><strong><?php echo esc_html__('Enable sending SMS to Support agent', 'nirweb-support'); ?></strong>
     33
     34        </label>
     35        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
     36            <select disabled>
     37                <option value="0">
     38                    <?php echo esc_html__('off', 'nirweb-support'); ?>
     39                </option>
     40            </select>
     41            <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
     42                <span></span>
     43                <span uk-icon="icon: chevron-down" class="uk-icon"></span>
     44            </button>
     45        </div>
     46
     47    </div>
     48
     49
     50    <div class="uk-margin">
     51
     52        <label class="uk-form-label pro_ver"
     53               for="select_page_ticket"><strong><?php echo esc_html__('Enable sending SMS to Admin', 'nirweb-support'); ?></strong>
     54
     55        </label>
     56        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
     57            <select disabled>
     58                <option value="0">
     59                    <?php echo esc_html__('off', 'nirweb-support'); ?>
     60                </option>
     61            </select>
     62            <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
     63                <span></span>
     64                <span uk-icon="icon: chevron-down" class="uk-icon"></span>
     65            </button>
     66        </div>
     67
     68    </div>
     69
     70
     71    <div class="uk-margin">
     72
     73        <label class="uk-form-label pro_ver"
     74               for="select_page_ticket"><strong><?php echo esc_html__('Enable sms notification to user when the ticket is replied.', 'nirweb-support'); ?></strong>
     75
     76        </label>
     77        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
     78            <select disabled>
     79                <option value="0">
     80                    <?php echo esc_html__('off', 'nirweb-support'); ?>
     81                </option>
     82            </select>
     83            <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
     84                <span></span>
     85                <span uk-icon="icon: chevron-down" class="uk-icon"></span>
     86            </button>
     87        </div>
     88
     89    </div>
     90
     91    <div class="uk-margin">
     92
     93        <label class="uk-form-label pro_ver"
     94               for="select_page_ticket"><strong><?php echo esc_html__('Enable sms notification to admin when the ticket is replied.', 'nirweb-support'); ?></strong>
     95
     96        </label>
     97        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
     98            <select disabled>
     99                <option value="0">
     100                    <?php echo esc_html__('off', 'nirweb-support'); ?>
     101                </option>
     102            </select>
     103            <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
     104                <span></span>
     105                <span uk-icon="icon: chevron-down" class="uk-icon"></span>
     106            </button>
     107        </div>
     108
     109    </div>
     110
     111
     112    <div class="uk-margin">
     113
     114        <label class="uk-form-label pro_ver"
     115               for="select_page_ticket"><strong><?php echo esc_html__('Enable sms notification to support agent when the ticket is replied.', 'nirweb-support'); ?></strong>
     116
     117        </label>
     118        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
     119            <select disabled>
     120                <option value="0">
     121                    <?php echo esc_html__('off', 'nirweb-support'); ?>
     122                </option>
     123            </select>
     124            <button class="uk-button uk-button-default disabled" type="button" tabindex="-1">
     125                <span></span>
     126                <span uk-icon="icon: chevron-down" class="uk-icon"></span>
     127            </button>
     128        </div>
     129
     130    </div>
     131
     132    <div class="uk-margin">
     133
     134        <label class="uk-form-label pro_ver"
     135               for="select_page_ticket"><strong><?php echo esc_html__('Enable sms notification when the ticked status is changed.', 'nirweb-support'); ?></strong>
     136
     137        </label>
     138        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
     139            <select disabled>
     140                <option value="0">
     141                    <?php echo esc_html__('off', 'nirweb-support'); ?>
    142142                </option>
    143143            </select>
     
    167167
    168168        <label class="uk-form-label pro_ver"
    169                for="select_page_ticket"><strong><?php echo esc_html__('Mobile number key', 'nirweb-support'); ?></strong>
     169               for="select_page_ticket"><strong><?php echo esc_html__('Phone number meta key', 'nirweb-support'); ?></strong>
    170170
    171171        </label>
     
    187187
    188188        <label class="uk-form-label pro_ver"
    189                for="select_page_ticket"><strong><?php echo esc_html__('Variable sent in the text of the message', 'nirweb-support'); ?></strong>
     189               for="select_page_ticket"><strong><?php echo esc_html__('Variable used in text message', 'nirweb-support'); ?></strong>
    190190
    191191        </label>
     
    193193            <select disabled>
    194194                <option value="0" >
    195                     <?php echo esc_html__('Title Ticket', 'nirweb-support'); ?>
     195                    <?php echo esc_html__('Ticket Title', 'nirweb-support'); ?>
    196196                </option>
    197197            </select>
  • nirweb-support/trunk/core/settings/support.php

    r2817187 r2923307  
    22    <h2 class="nwallet_set_title">
    33        <span class="nwallet_set_title_icon"><span uk-icon="user"></span></span>
    4         <strong><?php echo esc_html__('Support notification', 'nirweb-support') ?></strong>
     4        <strong><?php echo esc_html__('Support staff notifications', 'nirweb-support') ?></strong>
    55    </h2>
    66
    77    <div class="uk-margin">
    88        <label class="uk-form-label"
    9                for="active_send_mail_to_poshtiban"><strong><?php echo esc_html__('Send Email To Support', 'nirweb-support'); ?></strong></label>
     9               for="active_send_mail_to_poshtiban"><strong><?php echo esc_html__('Enable Sending Email To support agent', 'nirweb-support'); ?></strong></label>
    1010        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    1111            <select name="active_send_mail_to_poshtiban">
    1212                <option value="0" <?= get_option('active_send_mail_to_poshtiban') == '0' ? 'selected' : '' ?> >
    13                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
     13                    <?php echo esc_html__('off', 'nirweb-support'); ?>
    1414                </option>
    1515                <option value="1" <?= get_option('active_send_mail_to_poshtiban') == '1' ? 'selected' : '' ?> >
    16                     <?php echo esc_html__('active', 'nirweb-support'); ?>
     16                    <?php echo esc_html__('on', 'nirweb-support'); ?>
    1717                </option>
    1818            </select>
     
    2424    </div>
    2525    <hr>
    26     <h3><?php echo esc_html__('Send Ticket', 'nirweb-support'); ?></h3>
     26    <h3><?php echo esc_html__('Email template ( used when a ticket is sent )', 'nirweb-support'); ?></h3>
    2727    <div class="uk-margin">
    2828        <label class="uk-form-label"
     
    4646
    4747    <hr>
    48     <h3><?php echo esc_html__('Answer Ticket', 'nirweb-support'); ?></h3>
     48    <h3><?php echo esc_html__('Email template ( used when a ticket is replied. )', 'nirweb-support'); ?></h3>
    4949    <div class="uk-margin">
    5050        <label class="uk-form-label"
  • nirweb-support/trunk/core/settings/telegram.php

    r2817187 r2923307  
    1212
    1313        <label class="uk-form-label pro_ver"
    14                for="select_page_ticket"><strong><?php echo esc_html__('Send Message To Telegram', 'nirweb-support'); ?></strong>
     14               for="select_page_ticket"><strong><?php echo esc_html__('Enable sending a notification via Telegram', 'nirweb-support'); ?></strong>
    1515
    1616        </label>
     
    1818            <select disabled>
    1919                <option value="0" >
    20                     <?php echo esc_html__('deactivate', 'nirweb-support'); ?>
     20                    <?php echo esc_html__('off', 'nirweb-support'); ?>
    2121                </option>
    2222            </select>
     
    6060
    6161        <label class="uk-form-label pro_ver"
    62                for="select_page_ticket"><strong><?php echo esc_html__('Notice After sending ticket', 'nirweb-support'); ?></strong>
     62               for="select_page_ticket"><strong><?php echo esc_html__('Message template ( used when a ticket is sent.)', 'nirweb-support'); ?></strong>
    6363        </label>
    6464
     
    7474
    7575        <label class="uk-form-label pro_ver"
    76                for="select_page_ticket"><strong><?php echo esc_html__('Notice After sending reply', 'nirweb-support'); ?></strong>
     76               for="select_page_ticket"><strong><?php echo esc_html__('Message template ( used when a ticket is replied.)', 'nirweb-support'); ?></strong>
    7777        </label>
    7878
  • nirweb-support/trunk/core/settings/ticket.php

    r2817187 r2923307  
    88    <div class="uk-margin">
    99        <label class="uk-form-label"
    10                for="require_procut_user_wpyar"><strong><?php echo esc_html__('Select Product Required', 'nirweb-support'); ?></strong></label>
     10               for="require_procut_user_wpyar"><strong><?php echo esc_html__('Make product selection mandatory', 'nirweb-support'); ?></strong></label>
    1111        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    1212            <select name="require_procut_user_wpyar">
     
    2323    <div class="uk-margin">
    2424        <label class="uk-form-label"
    25                for="poshtiban_text_email_send"><strong><?php echo esc_html__('Text above the Send Ticket', 'nirweb-support'); ?></strong></label>
     25               for="poshtiban_text_email_send"><strong><?php echo esc_html__('Guidance for customers prior to ticket submission ', 'nirweb-support'); ?></strong></label>
    2626        <div  class="uk-form-custom">
    2727            <?php esc_html(wp_editor(get_option('text_top_send_mail_nirweb_ticket'), 'text_top_send_mail_nirweb_ticket')); ?>
  • nirweb-support/trunk/core/settings/user.php

    r2817187 r2923307  
    33    <h2 class="nwallet_set_title">
    44        <span class="nwallet_set_title_icon"><span uk-icon="happy"></span></span>
    5         <strong><?php echo esc_html__('Send Email To User', 'nirweb-support') ?></strong>
     5        <strong><?php echo esc_html__('User notifications', 'nirweb-support') ?></strong>
    66    </h2>
    77
    88    <div class="uk-margin">
    99        <label class="uk-form-label"
    10                for="active_send_mail_to_user"><strong><?php echo esc_html__('Send Email To User', 'nirweb-support'); ?></strong></label>
     10               for="active_send_mail_to_user"><strong><?php echo esc_html__('Enable Sending Email To user', 'nirweb-support'); ?></strong></label>
    1111        <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom">
    1212            <select name="active_send_mail_to_user">
    13                 <option value="0" <?= get_option('active_send_mail_to_user') == '0' ? 'selected' : '' ?> ><?php echo esc_html__('deactivate', 'nirweb-support'); ?></option>
    14                 <option value="1" <?= get_option('active_send_mail_to_user') == '1' ? 'selected' : '' ?> ><?php echo esc_html__('active', 'nirweb-support'); ?></option>
     13                <option value="0" <?= get_option('active_send_mail_to_user') == '0' ? 'selected' : '' ?> ><?php echo esc_html__('off', 'nirweb-support'); ?></option>
     14                <option value="1" <?= get_option('active_send_mail_to_user') == '1' ? 'selected' : '' ?> ><?php echo esc_html__('on', 'nirweb-support'); ?></option>
    1515            </select>
    1616            <button class="uk-button uk-button-default" type="button" tabindex="-1">
     
    2222    <hr>
    2323
    24     <h3><?php echo esc_html__('Send Ticket', 'nirweb-support'); ?></h3>
     24    <h3><?php echo esc_html__('Email template (used after the ticket is sent.)', 'nirweb-support'); ?></h3>
    2525    <div class="uk-margin">
    2626        <label class="uk-form-label"
     
    4444
    4545    <hr>
    46     <h3><?php echo esc_html__('Answer Ticket', 'nirweb-support'); ?></h3>
     46    <h3><?php echo esc_html__('Email template (used when the ticket is replied.)', 'nirweb-support'); ?></h3>
    4747    <div class="uk-margin">
    4848        <label class="uk-form-label"
  • nirweb-support/trunk/inc/admin/functions/func_answerd_ticket.php

    r2817187 r2923307  
    3939            $to               = $user;
    4040            $headers          = array( 'Content-Type: text/html; charset=UTF-8' );
    41             $subject          = get_option( 'subject_mail_user_answer');
    4241            $body             = wpautop( str_replace( $search, $replace,wp_kses_post( get_option('user_text_email_send_answer')) ) );
     42            $subject             = str_replace( $search, $replace,get_option('subject_mail_user_answer') ) ;
    4343
    4444            wp_mail( $to, $subject, html_entity_decode($body, ENT_COMPAT, 'UTF-8'), $headers );
  • nirweb-support/trunk/inc/admin/functions/func_number_tab_ticktes.php

    r2710705 r2923307  
    1010    function nirweb_ticket_count_new_ticket() {
    1111        global $wpdb;
    12         $count_all = intval( $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->prefix}nirweb_ticket_ticket WHERE status=%d", 1 ) ) );
     12
     13        $table_name = $wpdb->prefix . 'nirweb_ticket_ticket';
     14        $table_exists = $wpdb->get_var( "SHOW TABLES LIKE '$table_name'" ) == $table_name;
     15        if ( $table_exists ) {
     16                $count_all = intval( $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->prefix}nirweb_ticket_ticket WHERE status=%d", 1 ) ) );
    1317        return esc_html( $count_all );
     18        }
     19       
     20        return 0;
    1421    }
    1522}
  • nirweb-support/trunk/inc/admin/themes/answer-ticket.php

    r2817187 r2923307  
    154154                             <span class="icons"></span>
    155155                         </p>
    156                          <p><?php echo esc_html__( 'Pre Answer', 'nirweb-support' ); ?></p>
     156                         <p><?php echo esc_html__( 'Canned replies', 'nirweb-support' ); ?></p>
    157157                     </div>
    158158
     
    216216                                     <div class="double-bounce2"></div>
    217217                                 </div>
    218                                  <p><?php echo __('Send Request ...', 'nirweb-support') ?></p>
     218                                 <p><?php echo __('Sending ...', 'nirweb-support') ?></p>
    219219                             </div>
    220220                             <button type="submit" class="btn_send_answered btn-send "><?php echo esc_html__( 'Send Answer', 'nirweb-support' ); ?></button>
  • nirweb-support/trunk/inc/admin/themes/department.php

    r2718406 r2923307  
    1515            </div>
    1616            <div class="question__faq flex flexd-cul" >
    17                 <label class="w-100"><b><?php echo esc_html__( 'Support', 'nirweb-support' ); ?></b></label>
     17                <label class="w-100"><b><?php echo esc_html__( 'Support Agent', 'nirweb-support' ); ?></b></label>
    1818                <?php
    1919                echo '<select id="nirweb_ticket_support_department" name="nirweb_ticket_support_department">';
    20                 echo '<option value="-1">' . esc_html__( 'Select Support User', 'nirweb-support' ) . '</option>';
     20                echo '<option value="-1">' . esc_html__( 'Select Support agent', 'nirweb-support' ) . '</option>';
    2121                foreach ( $users as $user ) {
    2222                    ?>
     
    3838                <th></th>
    3939                <th><?php echo esc_html__( 'Department Name', 'nirweb-support' ); ?></th>
    40                 <th><?php echo esc_html__( 'Support', 'nirweb-support' ); ?></th>
     40                <th><?php echo esc_html__( 'Support Agent', 'nirweb-support' ); ?></th>
    4141                <th><?php echo esc_html__( 'Edit', 'nirweb-support' ); ?></th>
    4242            </tr>
  • nirweb-support/trunk/inc/admin/themes/file_uploads.php

    r2718406 r2923307  
    1616                    <tr>
    1717                        <th style="width: 45px"></th>
    18                         <th style="width: 80px"><?php echo esc_html__( 'Image File', 'nirweb-support' ); ?></th>
    19                         <th><?php echo esc_html__( 'Link File', 'nirweb-support' ); ?></th>
     18                        <th style="width: 80px"><?php echo esc_html__( 'Image', 'nirweb-support' ); ?></th>
     19                        <th><?php echo esc_html__( 'Link', 'nirweb-support' ); ?></th>
    2020                    </tr>
    2121                    </thead>
     
    4141                    <tr>
    4242                        <th></th>
    43                         <th><?php echo esc_html__( 'Image File', 'nirweb-support' ); ?></th>
    44                         <th><?php echo esc_html__( 'Link File', 'nirweb-support' ); ?></th>
     43                        <th><?php echo esc_html__( 'Image ', 'nirweb-support' ); ?></th>
     44                        <th><?php echo esc_html__( 'Link ', 'nirweb-support' ); ?></th>
    4545                    </tr>
    4646                    </tfoot>
  • nirweb-support/trunk/inc/admin/themes/manage_tickets.php

    r2734640 r2923307  
    1111
    1212    $tabs = array(
    13         'all_ticket'      => esc_html__( 'All Ticket', 'nirweb-support' ) . '(' . nirweb_ticket_count_all_ticket() . ')',
     13        'all_ticket'      => esc_html__( 'All', 'nirweb-support' ) . '(' . nirweb_ticket_count_all_ticket() . ')',
    1414        'new_ticket'      => esc_html__( 'New', 'nirweb-support' ) . '(' . nirweb_ticket_count_new_ticket() . ')',
    15         'process_ticket'  => esc_html__( 'InProgress', 'nirweb-support' ) . '(' . nirweb_ticket_count_process_ticket() . ')',
     15        'process_ticket'  => esc_html__( 'In progress', 'nirweb-support' ) . '(' . nirweb_ticket_count_process_ticket() . ')',
    1616        'answered_ticket' => esc_html__( 'Answered', 'nirweb-support' ) . '(' . nirweb_ticket_count_answered_ticket() . ')',
    1717        'closed_ticket'   => esc_html__( 'Closed', 'nirweb-support' ) . '(' . nirweb_ticket_count_closed_ticket() . ')',
     
    152152    <div class="ajax_search">
    153153        <input class="form-control" id="serch_support_wpy" type="text"
    154             placeholder="<?php echo esc_html__( 'Enter ID or subject ticket', 'nirweb-support' ); ?>">
     154            placeholder="<?php echo esc_html__( 'Enter ticket ID or subject', 'nirweb-support' ); ?>">
    155155             <?php wp_nonce_field('act_nirweb_ticket_ajax_search', 'nirweb_ticket_ajax_search'); ?>
    156156        <span class="ajax_search_loading_ticket ajxtd"></span>
  • nirweb-support/trunk/inc/admin/themes/send_ticket.php

    r2715312 r2923307  
    144144            </div>
    145145            <div class="nirweb_ticket_left_sidebar_content">
    146                 <label><?php echo esc_html__( 'Select Type Notification', 'nirweb-support' ); ?></label>
     146                <label><?php echo esc_html__( 'Select Notification Type', 'nirweb-support' ); ?></label>
    147147                <div class="arow">
    148148                    <input id="chk_email" name="chk_email" type="checkbox">
  • nirweb-support/trunk/inc/user/functions/ajax_user_send_answer.php

    r2817187 r2923307  
    6868            // ----------- Start Mail Department User
    6969        if ( get_option('active_send_mail_to_poshtiban') == '1' ) {
     70           
    7071            $user_poshtiban   = get_user_by( 'id', intval( sanitize_text_field( $_POST['id_user'] ) ) );
    7172            $user_poshtiban   = sanitize_text_field( $user_poshtiban->user_email );
     
    8081            $to               = $user_poshtiban;
    8182            $headers          = array( 'Content-Type: text/html; charset=UTF-8' );
    82             $subject          = get_option('subject_mail_poshtiban_answer');
    8383            $body             = wpautop( str_replace( $search, $replace,wp_kses_post( get_option('poshtiban_text_email_send_answer')) ) );
     84            $subject = str_replace( $search, $replace,get_option('subject_mail_poshtiban_answer'));
    8485            wp_mail( esc_html( $to ), esc_html( $subject ), html_entity_decode($body, ENT_COMPAT, 'UTF-8'), $headers );
    8586        }
  • nirweb-support/trunk/inc/user/functions/ajax_user_send_tiket.php

    r2737883 r2923307  
    4242
    4343        // ----------- Information Send Mail
    44 
     44        $ticket_id = $wpdb->insert_id;
    4545        if ( get_option('active_send_mail_to_poshtiban') == '1' or get_option('active_send_mail_to_user') == '1' ) {
    4646            $ticket_title     = sanitize_text_field( $_POST['subject'] );
     
    5757            $user_poshtiban = get_user_by( 'id', intval( sanitize_text_field( $_POST['resived_id'] ) ) );
    5858            $user_poshtiban = $user_poshtiban->user_email;
    59             $subject        = sanitize_text_field(get_option('subject_mail_poshtiban_new'));
    6059            $body           = wpautop( str_replace( $search, $replace, wp_kses_post(get_option('poshtiban_text_email_send')) ) );
     60            $subject           = str_replace( $search, $replace,get_option('subject_mail_poshtiban_new') ) ;
    6161            $to             = $user_poshtiban;
    6262            $headers        = array( 'Content-Type: text/html; charset=UTF-8' );
     
    6767            $user = get_user_by( 'id', get_current_user_id() );
    6868            $user = sanitize_text_field( $user->user_email );
    69             $subject = sanitize_text_field(get_option('subject_mail_user_new'));
    7069            $body    = wpautop( str_replace( $search, $replace, wp_kses_post(get_option('user_text_email_send'))) );
     70            $subject    = str_replace( $search, $replace,get_option('subject_mail_user_new')) ;
    7171            $to      = $user;
    7272            $headers = array( 'Content-Type: text/html; charset=UTF-8' );
  • nirweb-support/trunk/inc/user/themes/home.php

    r2848972 r2923307  
    77?>
    88<div class="nirweb_ticket_base wpyar-ticket">
    9     <h3 class="tite_status_tickets_wpyar"><?php echo esc_html__( 'Ticket status', 'nirweb-support' ); ?></h3>
     9    <h3 class="tite_status_tickets_wpyar"><?php echo esc_html__( 'Ticket statuses', 'nirweb-support' ); ?></h3>
    1010    <div class="row_status">
    1111
     
    3636                </g>
    3737            </svg>
    38             <p class="title"><?php echo esc_html__( 'Inprogress', 'nirweb-support' ); ?></p>
     38            <p class="title"><?php echo esc_html__( 'In progress', 'nirweb-support' ); ?></p>
    3939            <p class="number c-blue"><?php nirweb_ticket_count_process_ticket_user_fr(); ?></p>
    4040        </div>
     
    8383    </div>
    8484    <div class="head_wpyar_tickt">
    85         <h3><?php echo esc_html__( 'List of tickets', 'nirweb-support' ); ?></h3>
     85        <h3><?php echo esc_html__( 'tickets', 'nirweb-support' ); ?></h3>
    8686        <?php if ( is_plugin_active( 'wpyar_panel/wpyar_panel.php' ) ) { ?>
    8787            <a class=" wpyar-ticket"  href="?endp=new-ticket"><?php echo esc_html__( 'New Ticket', 'nirweb-support' ); ?></a>
  • nirweb-support/trunk/inc/user/themes/new_ticket.php

    r2848972 r2923307  
    1919                }
    2020            } ?>
    21             <a href=" <?php echo esc_url_raw( $page ); ?> "  class="btn btn_back_wpyt"><?php echo esc_html__( 'Back To List Tickets', 'nirweb-support' ); ?></a>
     21            <a href=" <?php echo esc_url_raw( $page ); ?> "  class="btn btn_back_wpyt"><?php echo esc_html__( 'Back To Tickets', 'nirweb-support' ); ?></a>
    2222        </div>
    2323        <div class="content_ticket_send">
     
    4545        <div class="row_nirweb_ticket_send">
    4646            <div class="w-50">
    47                 <label for="nirweb_ticket_frm_subject_send_ticket_user"><?php echo esc_html__( 'Enter subject please *', 'nirweb-support' ); ?></label>
     47                <label for="nirweb_ticket_frm_subject_send_ticket_user"><?php echo esc_html__( 'Subject *', 'nirweb-support' ); ?></label>
    4848                <input type="text" id="nirweb_ticket_frm_subject_send_ticket_user" name="nirweb_ticket_frm_subject_send_ticket_user">
    4949            </div>
    5050            <div class="w-50">
    5151                <div class="department_form_user_send">
    52                     <label for="nirweb_ticket_frm_department_send_ticket_user"><?php echo esc_html__( 'Select department please *', 'nirweb-support' ); ?></label>
     52                    <label for="nirweb_ticket_frm_department_send_ticket_user"><?php echo esc_html__( 'Department *', 'nirweb-support' ); ?></label>
    5353                    <div class="select_custom_wpyar">
    5454                        <div class="custom_input_wpyar_send_ticket" id="nirweb_ticket_frm_department_send_ticket_user" data-id="-1" data-user="0">
     
    139139        <div class="row_nirweb_ticket_send">
    140140            <div class="w-100">
    141                 <label><?php echo esc_html__( 'Enter Message', 'nirweb-support' ); ?></label>
     141                <label><?php echo esc_html__( 'Message *', 'nirweb-support' ); ?></label>
    142142                <textarea id="nirweb_ticket_frm_content_send_ticket_user" name="nirweb_ticket_frm_content_send_ticket_user"
    143143                          placeholder="<?php echo esc_html__( 'Enter Message please', 'nirweb-support' ); ?>"></textarea>
     
    149149                    <span class="remove_file_by_user"><i class="fal fa-times-circle"></i></span>
    150150                    <i class="fal fa-arrow-up upicon" style="font-size: 30px;margin-bottom: 10px;"></i>
    151                     <span class="text_label_main_image"> <?php echo esc_html__( 'Attachment File', 'nirweb-support' ); ?></span>
     151                    <span class="text_label_main_image"> <?php echo esc_html__( 'Attachment', 'nirweb-support' ); ?></span>
    152152                </label>
    153153                <input type="file" name="main_image" id="main_image"
     
    161161                    <div class="double-bounce2"></div>
    162162                </div>
    163                 <p><?php echo esc_html__( 'Send Request ...', 'nirweb-support' ); ?></p>
     163                <p><?php echo esc_html__( 'Sending ...', 'nirweb-support' ); ?></p>
    164164            </div>
    165165            <?php wp_nonce_field( 'nirweb_ticket_user_send_ticket_act', 'nirweb_ticket_user_send_ticket' ); ?>
    166166            <button data-fileurl="" type="submit" class="btn btn-primary text-white"
    167167                    name="nirweb_ticket_frm_user_send_ticket" id="nirweb_ticket_frm_user_send_ticket">
    168                 <?php echo esc_html__( 'Send Ticket', 'nirweb-support' ); ?>
     168                <?php echo esc_html__( 'Send', 'nirweb-support' ); ?>
    169169            </button>
    170170            <p class="stasus_send_wpyt"></p>
     
    256256                        }
    257257                        jQuery('.base_loarder').css('display', 'none');
    258                         alert_success("<?php echo esc_html__( 'Send Ticket Success', 'nirweb-support' ); ?>");
     258                        alert_success("<?php echo esc_html__( 'Ticket is submitted successfully.', 'nirweb-support' ); ?>");
    259259                        setTimeout(() => {
    260260                            location.reload();
  • nirweb-support/trunk/inc/user/themes/replay_ticket.php

    r2848972 r2923307  
    191191                                <div class="double-bounce2"></div>
    192192                            </div>
    193                             <p><?php echo esc_html__( 'Send Request ...', 'nirweb-support' ); ?></p>
     193                            <p><?php echo esc_html__( 'Sending ...', 'nirweb-support' ); ?></p>
    194194                        </div>
    195195
  • nirweb-support/trunk/nirweb-support.php

    r2848972 r2923307  
    44Description: NirWeb support is a great help desk and support plugin for WordPress with full support of WooCommerce
    55Author: NirWp Team
    6 Version: 3.0.1
     6Version: 3.0.2
    77Author URI:  https://www.nirwp.com
    88Text Domain: nirweb-support
  • nirweb-support/trunk/readme.txt

    r2848972 r2923307  
    22Contributors: nirweb
    33Tags: support, Support Ticket, helpdesk, ticket system
     4Donate link: https://nirwp.com
    45Requires at least: 5.0
    5 Tested up to: 6.1
    6 Requires PHP: 7.0
    7 Stable tag: 3.0.1
     6Tested up to: 6.2.2
     7Requires PHP: 7.4
     8Stable tag: 3.0.2
    89License: GPLv2 or later
    910License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8586== Changelog ==
    8687
     88= 3.0.2=
     89* added: ticket information placeholders in email title templates
     90* fixed: ticket ID placeholder in email body template
     91* fixed: improve translations
     92
    8793= 3.0.1=
    88 * added: Added pagination for tickets
     94* added: pagination for tickets
    8995
    9096= 3.0=
Note: See TracChangeset for help on using the changeset viewer.