Changeset 2923307
- Timestamp:
- 06/08/2023 10:41:53 AM (3 years ago)
- Location:
- nirweb-support/trunk
- Files:
-
- 28 edited
-
assets/settings/settings.css (modified) (1 diff)
-
core/core.php (modified) (6 diffs)
-
core/settings.php (modified) (8 diffs)
-
core/settings/box_1_p.php (modified) (5 diffs)
-
core/settings/box_2_p.php (modified) (5 diffs)
-
core/settings/box_3_p.php (modified) (1 diff)
-
core/settings/box_e.php (modified) (5 diffs)
-
core/settings/file.php (modified) (2 diffs)
-
core/settings/general.php (modified) (6 diffs)
-
core/settings/sms_notification.php (modified) (4 diffs)
-
core/settings/support.php (modified) (3 diffs)
-
core/settings/telegram.php (modified) (4 diffs)
-
core/settings/ticket.php (modified) (2 diffs)
-
core/settings/user.php (modified) (3 diffs)
-
inc/admin/functions/func_answerd_ticket.php (modified) (1 diff)
-
inc/admin/functions/func_number_tab_ticktes.php (modified) (1 diff)
-
inc/admin/themes/answer-ticket.php (modified) (2 diffs)
-
inc/admin/themes/department.php (modified) (2 diffs)
-
inc/admin/themes/file_uploads.php (modified) (2 diffs)
-
inc/admin/themes/manage_tickets.php (modified) (2 diffs)
-
inc/admin/themes/send_ticket.php (modified) (1 diff)
-
inc/user/functions/ajax_user_send_answer.php (modified) (2 diffs)
-
inc/user/functions/ajax_user_send_tiket.php (modified) (3 diffs)
-
inc/user/themes/home.php (modified) (3 diffs)
-
inc/user/themes/new_ticket.php (modified) (6 diffs)
-
inc/user/themes/replay_ticket.php (modified) (1 diff)
-
nirweb-support.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nirweb-support/trunk/assets/settings/settings.css
r2817187 r2923307 231 231 color: #aaa 232 232 } 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 42 42 'ajax_url' => admin_url('admin-ajax.php'), 43 43 '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'), 45 45 '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'), 50 50 'nes_field' => esc_html__('complete all stared sections Please', 'nirweb-support'), 51 51 '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'), 53 53 'necessary' => esc_html__('necessary', 'nirweb-support'), 54 54 'normal' => esc_html__('normal', 'nirweb-support'), 55 55 'low' => esc_html__('low', 'nirweb-support'), 56 56 'new' => esc_html__('new', 'nirweb-support'), 57 'inprogress' => esc_html__('in progress', 'nirweb-support'),57 'inprogress' => esc_html__('in progress', 'nirweb-support'), 58 58 'answerede' => esc_html__('answerede', 'nirweb-support'), 59 59 'closed' => esc_html__('closed', 'nirweb-support'), 60 60 'ok_text' => esc_html__('Ok', 'nirweb-support'), 61 'cancel_text' => esc_html__(' Cancel', 'nirweb-support'),61 'cancel_text' => esc_html__('cancel', 'nirweb-support'), 62 62 ) 63 63 ); … … 95 95 add_submenu_page( 96 96 'nirweb_ticket_manage_tickets', 97 esc_html__(' Sendticket', 'nirweb-support'),98 esc_html__(' Sendticket', 'nirweb-support'),97 esc_html__('Create ticket', 'nirweb-support'), 98 esc_html__('Create ticket', 'nirweb-support'), 99 99 'upload_files', 100 100 'nirweb_ticket_send_ticket', … … 103 103 add_submenu_page( 104 104 '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'), 107 107 'manage_options', 108 108 'nirweb_ticket_department_ticket', … … 111 111 add_submenu_page( 112 112 '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'), 115 115 'manage_options', 116 116 'edit.php?post_type=pre_answer_wpyticket' … … 232 232 function () { 233 233 $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'), 243 243 ); 244 244 $args = array( … … 452 452 453 453 454 add_action(' admin_init', function () {454 add_action('wp_update_plugins', function () { 455 455 $resp = wp_remote_get('https://nirweb.ir/wp-json/nirweb/ads_img', array('sslverify' => false)); 456 456 if (!is_wp_error($resp) && 200 === wp_remote_retrieve_response_code($resp)) { 457 457 $result = json_decode($resp['body']); 458 458 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 } 489 464 }); 465 466 add_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 15 15 16 16 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>'; 19 19 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>'; 23 23 echo '<p><span style="width:120px;display:inline-block">' . esc_html__('status', 'nirweb-support') . '</span> <code>{{ticket_stu}}</code></p>'; 24 24 echo '</div>'; … … 27 27 { 28 28 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"> 31 31 <span class="text">{{ticket_id}}</span> 32 32 </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"> 34 34 <span class="text">{{ticket_title}}</span> 35 35 </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"> 37 37 <span class="text">{{ticket_poshtiban}}</span> 38 38 </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"> 40 40 <span class="text">{{user_name}}</span> 41 41 </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"> 43 43 <span class="text">{{ticket_dep}}</span> 44 44 </code></p>'; … … 61 61 <ul class="uk-list uk-list-divider list_tabs_settings"> 62 62 <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" 64 65 alt="nirweb wallet"> 65 66 <div class=""> … … 67 68 <small><?= esc_html__('Version', 'nirweb-support') . ' ' . NIRWEB_SUPPORT_TICKET_VER ?></small> 68 69 </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> 71 73 72 74 <li class="n_s_ticket_item"> … … 75 77 <div> 76 78 <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"> 82 130 <a data-toggle="box_1_p"> 83 131 <i uk-icon="link"></i> 84 132 <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 111 140 <li class="n_s_ticket_item"> 112 141 <a data-toggle="box_2_p"> 113 142 <i uk-icon="question"></i> 114 143 <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"> 143 152 <a data-toggle="box_1_e"> 144 153 <i uk-icon="question"></i> 145 154 <div> 146 <div class="menu_title"><?php echo esc_html__('Extra Field ', 'nirweb-support'); ?> (Pro)</div>147 <div class="menu_description"><?= esc_html__('Configur ation 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> 148 157 </div> 149 158 </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> 158 167 </div> 159 168 </a> … … 166 175 <div> 167 176 <div class="menu_title"><?php echo esc_html__('Telegram (Pro)', 'nirweb-support'); ?></div> 168 <div class="menu_description"><?= esc_html__('Configur ation Telegram', 'nirweb-support') ?></div>177 <div class="menu_description"><?= esc_html__('Configure Telegram settings', 'nirweb-support') ?></div> 169 178 </div> 170 179 </a> … … 177 186 <div> 178 187 <div class="menu_title"><?php echo esc_html__('SMS Notification (Pro)', 'nirweb-support'); ?></div> 179 <div class="menu_description"><?= esc_html__('Configur ation SMS Notification', 'nirweb-support') ?></div>188 <div class="menu_description"><?= esc_html__('Configure SMS Notifications', 'nirweb-support') ?></div> 180 189 </div> 181 190 </a> … … 188 197 <div> 189 198 <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> 191 200 </div> 192 201 </a> -
nirweb-support/trunk/core/settings/box_1_p.php
r2817187 r2923307 2 2 <h2 class="nwallet_set_title"> 3 3 <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> 5 5 <div class="pro_ver_txt"> <i uk-icon="lock"></i> Pro Version</div> 6 6 </h2> … … 12 12 13 13 <label class="uk-form-label pro_ver" 14 for="select_page_ticket"><strong><?php echo esc_html__(' Viewlist 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> 15 15 16 16 </label> … … 18 18 <select disabled> 19 19 <option value="0" > 20 <?php echo esc_html__(' deactivate', 'nirweb-support'); ?>20 <?php echo esc_html__('off', 'nirweb-support'); ?> 21 21 </option> 22 22 </select> … … 48 48 49 49 <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> 51 51 </label> 52 52 … … 61 61 <div class="uk-margin"> 62 62 <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> 64 64 <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom"> 65 65 <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> 67 67 </select> 68 68 <button class="uk-button uk-button-default disabled" type="button" tabindex="-1"> -
nirweb-support/trunk/core/settings/box_2_p.php
r2817187 r2923307 2 2 <h2 class="nwallet_set_title"> 3 3 <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> 5 5 <div class="pro_ver_txt"> <i uk-icon="lock"></i> Pro Version</div> 6 6 </h2> … … 12 12 13 13 <label class="uk-form-label pro_ver" 14 for="select_page_ticket"><strong><?php echo esc_html__('Disable dproduct field', 'nirweb-support'); ?></strong>14 for="select_page_ticket"><strong><?php echo esc_html__('Disable product field', 'nirweb-support'); ?></strong> 15 15 16 16 </label> … … 18 18 <select disabled> 19 19 <option value="0" > 20 <?php echo esc_html__(' deactivate', 'nirweb-support'); ?>20 <?php echo esc_html__('off', 'nirweb-support'); ?> 21 21 </option> 22 22 </select> … … 37 37 38 38 <label class="uk-form-label pro_ver" 39 for="select_page_ticket"><strong><?php echo esc_html__('Disable dpriority field', 'nirweb-support'); ?></strong>39 for="select_page_ticket"><strong><?php echo esc_html__('Disable priority field', 'nirweb-support'); ?></strong> 40 40 41 41 </label> … … 43 43 <select disabled> 44 44 <option value="0" > 45 <?php echo esc_html__(' deactivate', 'nirweb-support'); ?>45 <?php echo esc_html__('off', 'nirweb-support'); ?> 46 46 </option> 47 47 </select> -
nirweb-support/trunk/core/settings/box_3_p.php
r2817187 r2923307 10 10 11 11 <label class="uk-form-label pro_ver" 12 for="select_page_ticket"><strong><?php echo esc_html__("P RIORITY FIELD'S", 'nirweb-support'); ?></strong>12 for="select_page_ticket"><strong><?php echo esc_html__("Priority fields", 'nirweb-support'); ?></strong> 13 13 14 14 </label> -
nirweb-support/trunk/core/settings/box_e.php
r2817187 r2923307 2 2 <h2 class="nwallet_set_title"> 3 3 <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> 5 5 <div class="pro_ver_txt"> <i uk-icon="lock"></i> Pro Version</div> 6 6 </h2> … … 9 9 10 10 <label class="uk-form-label pro_ver" 11 for="select_page_ticket"><strong><?php echo esc_html__('Enable d Extra Field', 'nirweb-support'); ?> </strong>11 for="select_page_ticket"><strong><?php echo esc_html__('Enable extra fields', 'nirweb-support'); ?> </strong> 12 12 13 13 </label> … … 15 15 <select disabled> 16 16 <option value="0" > 17 <?php echo esc_html__(' deactivate', 'nirweb-support'); ?>17 <?php echo esc_html__('off', 'nirweb-support'); ?> 18 18 </option> 19 19 </select> … … 31 31 32 32 <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> 34 34 </label> 35 35 … … 43 43 <div class="uk-margin"> 44 44 <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> 46 46 <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom"> 47 47 <select disabled> -
nirweb-support/trunk/core/settings/file.php
r2817187 r2923307 7 7 <div class="uk-margin"> 8 8 <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> 10 10 <div class="uk-form-controls"> 11 11 <input class="uk-input" type="text" name="size_of_file_wpyartik" id="size_of_file_wpyartik" … … 16 16 <div class="uk-margin"> 17 17 <label class="uk-form-label" 18 for="size_of_file_wpyartik"><?= esc_html__('A uthorized file extensions', 'nirweb-support') ?></label>18 for="size_of_file_wpyartik"><?= esc_html__('Allowed file extensions', 'nirweb-support') ?></label> 19 19 <div class="uk-form-controls"> 20 20 <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 6 6 <div class="uk-margin"> 7 7 <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> 9 9 <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom"> 10 10 <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> 13 13 </select> 14 14 <button class="uk-button uk-button-default" type="button" tabindex="-1"> … … 18 18 </div> 19 19 </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> 107 25 <div class="uk-form-controls"> 108 26 <input class="uk-input" name="icon_nirweb_ticket_front" … … 115 33 <div class="uk-margin"> 116 34 <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> 118 36 <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom"> 119 37 <select name="position_icon_nirweb_ticket_front"> … … 130 48 131 49 <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"> 132 135 133 136 <label class="uk-form-label pro_ver" … … 156 159 157 160 <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__('Auto matic 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> 181 184 <div class="pro_ver_txt"> <i uk-icon="lock"></i> Pro</div> 182 185 </label> … … 184 187 <select disabled> 185 188 <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> 200 203 <div class="uk-form-custom"> 201 204 <?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 10 10 11 11 <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'); ?> 142 142 </option> 143 143 </select> … … 167 167 168 168 <label class="uk-form-label pro_ver" 169 for="select_page_ticket"><strong><?php echo esc_html__(' Mobile numberkey', 'nirweb-support'); ?></strong>169 for="select_page_ticket"><strong><?php echo esc_html__('Phone number meta key', 'nirweb-support'); ?></strong> 170 170 171 171 </label> … … 187 187 188 188 <label class="uk-form-label pro_ver" 189 for="select_page_ticket"><strong><?php echo esc_html__('Variable sent in the text of themessage', 'nirweb-support'); ?></strong>189 for="select_page_ticket"><strong><?php echo esc_html__('Variable used in text message', 'nirweb-support'); ?></strong> 190 190 191 191 </label> … … 193 193 <select disabled> 194 194 <option value="0" > 195 <?php echo esc_html__('Ti tle Ticket', 'nirweb-support'); ?>195 <?php echo esc_html__('Ticket Title', 'nirweb-support'); ?> 196 196 </option> 197 197 </select> -
nirweb-support/trunk/core/settings/support.php
r2817187 r2923307 2 2 <h2 class="nwallet_set_title"> 3 3 <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> 5 5 </h2> 6 6 7 7 <div class="uk-margin"> 8 8 <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> 10 10 <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom"> 11 11 <select name="active_send_mail_to_poshtiban"> 12 12 <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'); ?> 14 14 </option> 15 15 <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'); ?> 17 17 </option> 18 18 </select> … … 24 24 </div> 25 25 <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> 27 27 <div class="uk-margin"> 28 28 <label class="uk-form-label" … … 46 46 47 47 <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> 49 49 <div class="uk-margin"> 50 50 <label class="uk-form-label" -
nirweb-support/trunk/core/settings/telegram.php
r2817187 r2923307 12 12 13 13 <label class="uk-form-label pro_ver" 14 for="select_page_ticket"><strong><?php echo esc_html__(' Send Message ToTelegram', 'nirweb-support'); ?></strong>14 for="select_page_ticket"><strong><?php echo esc_html__('Enable sending a notification via Telegram', 'nirweb-support'); ?></strong> 15 15 16 16 </label> … … 18 18 <select disabled> 19 19 <option value="0" > 20 <?php echo esc_html__(' deactivate', 'nirweb-support'); ?>20 <?php echo esc_html__('off', 'nirweb-support'); ?> 21 21 </option> 22 22 </select> … … 60 60 61 61 <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> 63 63 </label> 64 64 … … 74 74 75 75 <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> 77 77 </label> 78 78 -
nirweb-support/trunk/core/settings/ticket.php
r2817187 r2923307 8 8 <div class="uk-margin"> 9 9 <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> 11 11 <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom"> 12 12 <select name="require_procut_user_wpyar"> … … 23 23 <div class="uk-margin"> 24 24 <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> 26 26 <div class="uk-form-custom"> 27 27 <?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 3 3 <h2 class="nwallet_set_title"> 4 4 <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> 6 6 </h2> 7 7 8 8 <div class="uk-margin"> 9 9 <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> 11 11 <div uk-form-custom="target: > * > span:first-child" class="uk-form-custom"> 12 12 <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> 15 15 </select> 16 16 <button class="uk-button uk-button-default" type="button" tabindex="-1"> … … 22 22 <hr> 23 23 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> 25 25 <div class="uk-margin"> 26 26 <label class="uk-form-label" … … 44 44 45 45 <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> 47 47 <div class="uk-margin"> 48 48 <label class="uk-form-label" -
nirweb-support/trunk/inc/admin/functions/func_answerd_ticket.php
r2817187 r2923307 39 39 $to = $user; 40 40 $headers = array( 'Content-Type: text/html; charset=UTF-8' ); 41 $subject = get_option( 'subject_mail_user_answer');42 41 $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') ) ; 43 43 44 44 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 10 10 function nirweb_ticket_count_new_ticket() { 11 11 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 ) ) ); 13 17 return esc_html( $count_all ); 18 } 19 20 return 0; 14 21 } 15 22 } -
nirweb-support/trunk/inc/admin/themes/answer-ticket.php
r2817187 r2923307 154 154 <span class="icons"></span> 155 155 </p> 156 <p><?php echo esc_html__( ' Pre Answer', 'nirweb-support' ); ?></p>156 <p><?php echo esc_html__( 'Canned replies', 'nirweb-support' ); ?></p> 157 157 </div> 158 158 … … 216 216 <div class="double-bounce2"></div> 217 217 </div> 218 <p><?php echo __('Send Request...', 'nirweb-support') ?></p>218 <p><?php echo __('Sending ...', 'nirweb-support') ?></p> 219 219 </div> 220 220 <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 15 15 </div> 16 16 <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> 18 18 <?php 19 19 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>'; 21 21 foreach ( $users as $user ) { 22 22 ?> … … 38 38 <th></th> 39 39 <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> 41 41 <th><?php echo esc_html__( 'Edit', 'nirweb-support' ); ?></th> 42 42 </tr> -
nirweb-support/trunk/inc/admin/themes/file_uploads.php
r2718406 r2923307 16 16 <tr> 17 17 <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> 20 20 </tr> 21 21 </thead> … … 41 41 <tr> 42 42 <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> 45 45 </tr> 46 46 </tfoot> -
nirweb-support/trunk/inc/admin/themes/manage_tickets.php
r2734640 r2923307 11 11 12 12 $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() . ')', 14 14 'new_ticket' => esc_html__( 'New', 'nirweb-support' ) . '(' . nirweb_ticket_count_new_ticket() . ')', 15 'process_ticket' => esc_html__( 'In Progress', 'nirweb-support' ) . '(' . nirweb_ticket_count_process_ticket() . ')',15 'process_ticket' => esc_html__( 'In progress', 'nirweb-support' ) . '(' . nirweb_ticket_count_process_ticket() . ')', 16 16 'answered_ticket' => esc_html__( 'Answered', 'nirweb-support' ) . '(' . nirweb_ticket_count_answered_ticket() . ')', 17 17 'closed_ticket' => esc_html__( 'Closed', 'nirweb-support' ) . '(' . nirweb_ticket_count_closed_ticket() . ')', … … 152 152 <div class="ajax_search"> 153 153 <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' ); ?>"> 155 155 <?php wp_nonce_field('act_nirweb_ticket_ajax_search', 'nirweb_ticket_ajax_search'); ?> 156 156 <span class="ajax_search_loading_ticket ajxtd"></span> -
nirweb-support/trunk/inc/admin/themes/send_ticket.php
r2715312 r2923307 144 144 </div> 145 145 <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> 147 147 <div class="arow"> 148 148 <input id="chk_email" name="chk_email" type="checkbox"> -
nirweb-support/trunk/inc/user/functions/ajax_user_send_answer.php
r2817187 r2923307 68 68 // ----------- Start Mail Department User 69 69 if ( get_option('active_send_mail_to_poshtiban') == '1' ) { 70 70 71 $user_poshtiban = get_user_by( 'id', intval( sanitize_text_field( $_POST['id_user'] ) ) ); 71 72 $user_poshtiban = sanitize_text_field( $user_poshtiban->user_email ); … … 80 81 $to = $user_poshtiban; 81 82 $headers = array( 'Content-Type: text/html; charset=UTF-8' ); 82 $subject = get_option('subject_mail_poshtiban_answer');83 83 $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')); 84 85 wp_mail( esc_html( $to ), esc_html( $subject ), html_entity_decode($body, ENT_COMPAT, 'UTF-8'), $headers ); 85 86 } -
nirweb-support/trunk/inc/user/functions/ajax_user_send_tiket.php
r2737883 r2923307 42 42 43 43 // ----------- Information Send Mail 44 44 $ticket_id = $wpdb->insert_id; 45 45 if ( get_option('active_send_mail_to_poshtiban') == '1' or get_option('active_send_mail_to_user') == '1' ) { 46 46 $ticket_title = sanitize_text_field( $_POST['subject'] ); … … 57 57 $user_poshtiban = get_user_by( 'id', intval( sanitize_text_field( $_POST['resived_id'] ) ) ); 58 58 $user_poshtiban = $user_poshtiban->user_email; 59 $subject = sanitize_text_field(get_option('subject_mail_poshtiban_new'));60 59 $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') ) ; 61 61 $to = $user_poshtiban; 62 62 $headers = array( 'Content-Type: text/html; charset=UTF-8' ); … … 67 67 $user = get_user_by( 'id', get_current_user_id() ); 68 68 $user = sanitize_text_field( $user->user_email ); 69 $subject = sanitize_text_field(get_option('subject_mail_user_new'));70 69 $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')) ; 71 71 $to = $user; 72 72 $headers = array( 'Content-Type: text/html; charset=UTF-8' ); -
nirweb-support/trunk/inc/user/themes/home.php
r2848972 r2923307 7 7 ?> 8 8 <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> 10 10 <div class="row_status"> 11 11 … … 36 36 </g> 37 37 </svg> 38 <p class="title"><?php echo esc_html__( 'In progress', 'nirweb-support' ); ?></p>38 <p class="title"><?php echo esc_html__( 'In progress', 'nirweb-support' ); ?></p> 39 39 <p class="number c-blue"><?php nirweb_ticket_count_process_ticket_user_fr(); ?></p> 40 40 </div> … … 83 83 </div> 84 84 <div class="head_wpyar_tickt"> 85 <h3><?php echo esc_html__( ' List oftickets', 'nirweb-support' ); ?></h3>85 <h3><?php echo esc_html__( 'tickets', 'nirweb-support' ); ?></h3> 86 86 <?php if ( is_plugin_active( 'wpyar_panel/wpyar_panel.php' ) ) { ?> 87 87 <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 19 19 } 20 20 } ?> 21 <a href=" <?php echo esc_url_raw( $page ); ?> " class="btn btn_back_wpyt"><?php echo esc_html__( 'Back To ListTickets', '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> 22 22 </div> 23 23 <div class="content_ticket_send"> … … 45 45 <div class="row_nirweb_ticket_send"> 46 46 <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> 48 48 <input type="text" id="nirweb_ticket_frm_subject_send_ticket_user" name="nirweb_ticket_frm_subject_send_ticket_user"> 49 49 </div> 50 50 <div class="w-50"> 51 51 <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> 53 53 <div class="select_custom_wpyar"> 54 54 <div class="custom_input_wpyar_send_ticket" id="nirweb_ticket_frm_department_send_ticket_user" data-id="-1" data-user="0"> … … 139 139 <div class="row_nirweb_ticket_send"> 140 140 <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> 142 142 <textarea id="nirweb_ticket_frm_content_send_ticket_user" name="nirweb_ticket_frm_content_send_ticket_user" 143 143 placeholder="<?php echo esc_html__( 'Enter Message please', 'nirweb-support' ); ?>"></textarea> … … 149 149 <span class="remove_file_by_user"><i class="fal fa-times-circle"></i></span> 150 150 <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> 152 152 </label> 153 153 <input type="file" name="main_image" id="main_image" … … 161 161 <div class="double-bounce2"></div> 162 162 </div> 163 <p><?php echo esc_html__( 'Send Request...', 'nirweb-support' ); ?></p>163 <p><?php echo esc_html__( 'Sending ...', 'nirweb-support' ); ?></p> 164 164 </div> 165 165 <?php wp_nonce_field( 'nirweb_ticket_user_send_ticket_act', 'nirweb_ticket_user_send_ticket' ); ?> 166 166 <button data-fileurl="" type="submit" class="btn btn-primary text-white" 167 167 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' ); ?> 169 169 </button> 170 170 <p class="stasus_send_wpyt"></p> … … 256 256 } 257 257 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' ); ?>"); 259 259 setTimeout(() => { 260 260 location.reload(); -
nirweb-support/trunk/inc/user/themes/replay_ticket.php
r2848972 r2923307 191 191 <div class="double-bounce2"></div> 192 192 </div> 193 <p><?php echo esc_html__( 'Send Request...', 'nirweb-support' ); ?></p>193 <p><?php echo esc_html__( 'Sending ...', 'nirweb-support' ); ?></p> 194 194 </div> 195 195 -
nirweb-support/trunk/nirweb-support.php
r2848972 r2923307 4 4 Description: NirWeb support is a great help desk and support plugin for WordPress with full support of WooCommerce 5 5 Author: NirWp Team 6 Version: 3.0. 16 Version: 3.0.2 7 7 Author URI: https://www.nirwp.com 8 8 Text Domain: nirweb-support -
nirweb-support/trunk/readme.txt
r2848972 r2923307 2 2 Contributors: nirweb 3 3 Tags: support, Support Ticket, helpdesk, ticket system 4 Donate link: https://nirwp.com 4 5 Requires at least: 5.0 5 Tested up to: 6. 16 Requires PHP: 7. 07 Stable tag: 3.0. 16 Tested up to: 6.2.2 7 Requires PHP: 7.4 8 Stable tag: 3.0.2 8 9 License: GPLv2 or later 9 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 85 86 == Changelog == 86 87 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 87 93 = 3.0.1= 88 * added: Addedpagination for tickets94 * added: pagination for tickets 89 95 90 96 = 3.0=
Note: See TracChangeset
for help on using the changeset viewer.