Changeset 2994629
- Timestamp:
- 11/12/2023 07:55:41 AM (2 years ago)
- Location:
- wats
- Files:
-
- 10 edited
-
tags/1.0.65/readme.txt (modified) (2 diffs)
-
tags/1.0.65/wats-lib.php (modified) (2 diffs)
-
tags/1.0.65/wats-options.php (modified) (4 diffs)
-
tags/1.0.65/wats-profile.php (modified) (1 diff)
-
tags/1.0.65/wats.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wats-lib.php (modified) (2 diffs)
-
trunk/wats-options.php (modified) (4 diffs)
-
trunk/wats-profile.php (modified) (1 diff)
-
trunk/wats.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wats/tags/1.0.65/readme.txt
r2889882 r2994629 4 4 Tags: support, ticket, helpdesk, ticket system, contact, case, CRM, help, support system, system, support ticket, ticketing system 5 5 Requires at least : 4.0 6 Tested up to: 6. 26 Tested up to: 6.4.1 7 7 Stable tag: 1.0.65 8 8 … … 160 160 == Changelog == 161 161 162 = V1.0.65 (15/09/2022) = 163 + added Wordpress 5.9 & 6.0 compatibility 162 = V1.0.65 (12/11/2023) = 163 + added Wordpress 5.9-6.4 compatibility 164 + added a creation date filter on frontend ticket listing 165 + modified date format in frontend ticket listing to follow WordPress date format option value 166 + added a type "integer" for custom field 164 167 165 168 = V1.0.64 (13/08/2021) = -
wats/tags/1.0.65/wats-lib.php
r2785156 r2994629 39 39 function wats_is_string($i) 40 40 { 41 $temp = wp_strip_all_tags($i); 42 if (strlen($temp) != strlen($i)) 43 return 0; 44 41 45 if (WATS_VERIFY_STRING) 42 return (preg_match("/^[\.\,\#\&\;\'\ "\+\-\_\:?¿!¡()@ßÀÁÂÃÄÅÇČĎĚÈÉÊËÌÍÎÏŇÒÓÔÕÖŘŠŤÙÚÛÜŮÝŽکگچپژیàáâãäåçčďěèéêëìíîïňðòóôõöřšťùúûüůýÿžدجحخهعغفقثصضطكمنتاأللأبيسشظزوةىآلالآرؤءئa-zA-Z-\d ]+$/", $i));46 return (preg_match("/^[\.\,\#\&\;\'\’\"\+\-\_\:\/?!()<>°*ß@ÀÁÂÃÄÅÇČĎĚÈÉÊËÌÍÎÏŇÒÓÔÕÖŘŠŤÙÚÛÜŮÝŽکگچپژیàáâãäåçčďěèéêëìíîïňðòóôõöřšťùúûüůýÿžدجحخهعغفقثصضطكمنتاأللأبيسشظزوةىآلالآرؤءئa-zA-Z-\d ]+$/", $i)); 43 47 else 44 48 return 1; … … 53 57 function wats_is_paragraph($i) 54 58 { 59 $temp = wp_strip_all_tags($i); 60 if (strlen($temp) != strlen($i)) 61 return 0; 62 55 63 if (WATS_VERIFY_STRING) 56 return (preg_match("/^[\.\,\#\&\;\'\ "\+\-\_\:\/?¿!¡()@ßÀÁÂÃÄÅÇČĎĚÈÉÊËÌÍÎÏŇÒÓÔÕÖŘŠŤÙÚÛÜŮÝŽکگچپژیàáâãäåçčďěèéêëìíîïňðòóôõöřšťùúûüůýÿžدجحخهعغفقثصضطكمنتاأللأبيسشظزوةىآلالآرؤءئa-zA-Z-\d\s ]+$/", $i));64 return (preg_match("/^[\.\,\#\&\;\'\’\"\+\-\_\:\/?!()<>°*ß@ÀÁÂÃÄÅÇČĎĚÈÉÊËÌÍÎÏŇÒÓÔÕÖŘŠŤÙÚÛÜŮÝŽکگچپژیàáâãäåçčďěèéêëìíîïňðòóôõöřšťùúûüůýÿžدجحخهعغفقثصضطكمنتاأللأبيسشظزوةىآلالآرؤءئa-zA-Z-\d\s ]+$/", $i)); 57 65 else 58 66 return 1; -
wats/tags/1.0.65/wats-options.php
r2785156 r2994629 1224 1224 $message_result = array('success' => "FALSE", 'error' => __("Error : please select a valid value for frontend ticket listing bulk modification!",'WATS')); 1225 1225 } 1226 else if ($idtype != 0 && $idtype != 1 && $idtype != 2 && $idtype != 3 && $idtype != 4 )1226 else if ($idtype != 0 && $idtype != 1 && $idtype != 2 && $idtype != 3 && $idtype != 4 && $idtype != 5) 1227 1227 { 1228 1228 $message_result = array('success' => "FALSE", 'error' => __("Error : please select a valid value for custom field type!",'WATS')); … … 1892 1892 if (isset($table['type']) && $table['type'] == 4) 1893 1893 $output .= ' selected'; 1894 $output .= '>'.__('Checkbox','WATS').'</option></select></td>'; 1894 $output .= '>'.__('Checkbox','WATS').'</option><option value="5"'; 1895 if (isset($table['type']) && $table['type'] == 5) 1896 $output .= ' selected'; 1897 $output .= '>'.__('Integer number','WATS').'</option></select></td>'; 1895 1898 $output .= '<td>'.wats_options_display_custom_fields_selectors_field(array(0,4,5),'fsf'.$idvalue,$table['fsf']).'</td>'; 1896 1899 $output .= '<td>'.wats_options_display_custom_fields_selectors_field(array(0,1,2,3,4,5),'atef'.$idvalue,$table['atef']).'</td>'; … … 2131 2134 else if ($table['type'] == 4) 2132 2135 $output .= '<td>'.__('Checkbox','WATS').'</td>'; 2136 else if ($table['type'] == 5) 2137 $output .= '<td>'.__('Integer number','WATS').'</td>'; 2133 2138 $output .= '<td>'.$wats_custom_fields_selectors[$table['fsf']].'</td>'; 2134 2139 $output .= '<td>'.$wats_custom_fields_selectors[$table['atef']].'</td>'; … … 2204 2209 $output .= '<tr><th><label>'.__('Custom field meta key (DB) identifier','WATS').'</label></th><td><input type="text" id="customfieldsmetakey" size=30 /></td></tr>'; 2205 2210 $output .= '<tr><th><label>'.__('Custom field type','WATS').'</label></th><td>'; 2206 $output .= '<select name="wats_custom_field_type" id ="wats_custom_field_type" size="1"><option value="0">'.__('Text input','WATS').'</option><option value="1">'.__('Drop down selector','WATS').'</option><option value="2">'.__('Text input with datepicker','WATS').'</option><option value="3">'.__('Radio button','WATS').'</option><option value="4">'.__('Checkbox','WATS').'</option>< /select></td></tr>';2211 $output .= '<select name="wats_custom_field_type" id ="wats_custom_field_type" size="1"><option value="0">'.__('Text input','WATS').'</option><option value="1">'.__('Drop down selector','WATS').'</option><option value="2">'.__('Text input with datepicker','WATS').'</option><option value="3">'.__('Radio button','WATS').'</option><option value="4">'.__('Checkbox','WATS').'</option><option value="5">'.__('Integer number','WATS').'</option></select></td></tr>'; 2207 2212 $output .= wats_options_display_custom_fields_selectors(array(0,4,5),'fsf',__('Frontend submission form','WATS')); 2208 2213 $output .= wats_options_display_custom_fields_selectors(array(0,1,2,3,4,5),'atef',__('Admin ticket edition page','WATS')); -
wats/tags/1.0.65/wats-profile.php
r2785156 r2994629 13 13 if ($_POST['submit']) 14 14 { 15 get_currentuserinfo();16 15 $old_user = $current_user; 17 16 -
wats/tags/1.0.65/wats.php
r2785156 r2994629 13 13 /* 14 14 1/ Release history : 15 - V1.0.65 (15/09/2022) : 16 + added Wordpress 5.9 & 6.0 compatibility 15 - V1.0.65 (12/11/2023) : 16 + added Wordpress 5.9-6.4 compatibility 17 + added a creation date filter on frontend ticket listing 18 + modified date format in frontend ticket listing to follow WordPress date format option value 19 + added a type "integer" for custom field 17 20 - V1.0.64 (13/08/2021) : 18 21 + fixed an interworking issue with Elementor Pro -
wats/trunk/readme.txt
r2889882 r2994629 4 4 Tags: support, ticket, helpdesk, ticket system, contact, case, CRM, help, support system, system, support ticket, ticketing system 5 5 Requires at least : 4.0 6 Tested up to: 6. 26 Tested up to: 6.4.1 7 7 Stable tag: 1.0.65 8 8 … … 160 160 == Changelog == 161 161 162 = V1.0.65 (15/09/2022) = 163 + added Wordpress 5.9 & 6.0 compatibility 162 = V1.0.65 (12/11/2023) = 163 + added Wordpress 5.9-6.4 compatibility 164 + added a creation date filter on frontend ticket listing 165 + modified date format in frontend ticket listing to follow WordPress date format option value 166 + added a type "integer" for custom field 164 167 165 168 = V1.0.64 (13/08/2021) = -
wats/trunk/wats-lib.php
r2582445 r2994629 39 39 function wats_is_string($i) 40 40 { 41 $temp = wp_strip_all_tags($i); 42 if (strlen($temp) != strlen($i)) 43 return 0; 44 41 45 if (WATS_VERIFY_STRING) 42 return (preg_match("/^[\.\,\#\&\;\'\ "\+\-\_\:?¿!¡()@ßÀÁÂÃÄÅÇČĎĚÈÉÊËÌÍÎÏŇÒÓÔÕÖŘŠŤÙÚÛÜŮÝŽکگچپژیàáâãäåçčďěèéêëìíîïňðòóôõöřšťùúûüůýÿžدجحخهعغفقثصضطكمنتاأللأبيسشظزوةىآلالآرؤءئa-zA-Z-\d ]+$/", $i));46 return (preg_match("/^[\.\,\#\&\;\'\’\"\+\-\_\:\/?!()<>°*ß@ÀÁÂÃÄÅÇČĎĚÈÉÊËÌÍÎÏŇÒÓÔÕÖŘŠŤÙÚÛÜŮÝŽکگچپژیàáâãäåçčďěèéêëìíîïňðòóôõöřšťùúûüůýÿžدجحخهعغفقثصضطكمنتاأللأبيسشظزوةىآلالآرؤءئa-zA-Z-\d ]+$/", $i)); 43 47 else 44 48 return 1; … … 53 57 function wats_is_paragraph($i) 54 58 { 59 $temp = wp_strip_all_tags($i); 60 if (strlen($temp) != strlen($i)) 61 return 0; 62 55 63 if (WATS_VERIFY_STRING) 56 return (preg_match("/^[\.\,\#\&\;\'\ "\+\-\_\:\/?¿!¡()@ßÀÁÂÃÄÅÇČĎĚÈÉÊËÌÍÎÏŇÒÓÔÕÖŘŠŤÙÚÛÜŮÝŽکگچپژیàáâãäåçčďěèéêëìíîïňðòóôõöřšťùúûüůýÿžدجحخهعغفقثصضطكمنتاأللأبيسشظزوةىآلالآرؤءئa-zA-Z-\d\s ]+$/", $i));64 return (preg_match("/^[\.\,\#\&\;\'\’\"\+\-\_\:\/?!()<>°*ß@ÀÁÂÃÄÅÇČĎĚÈÉÊËÌÍÎÏŇÒÓÔÕÖŘŠŤÙÚÛÜŮÝŽکگچپژیàáâãäåçčďěèéêëìíîïňðòóôõöřšťùúûüůýÿžدجحخهعغفقثصضطكمنتاأللأبيسشظزوةىآلالآرؤءئa-zA-Z-\d\s ]+$/", $i)); 57 65 else 58 66 return 1; -
wats/trunk/wats-options.php
r2582465 r2994629 1224 1224 $message_result = array('success' => "FALSE", 'error' => __("Error : please select a valid value for frontend ticket listing bulk modification!",'WATS')); 1225 1225 } 1226 else if ($idtype != 0 && $idtype != 1 && $idtype != 2 && $idtype != 3 && $idtype != 4 )1226 else if ($idtype != 0 && $idtype != 1 && $idtype != 2 && $idtype != 3 && $idtype != 4 && $idtype != 5) 1227 1227 { 1228 1228 $message_result = array('success' => "FALSE", 'error' => __("Error : please select a valid value for custom field type!",'WATS')); … … 1892 1892 if (isset($table['type']) && $table['type'] == 4) 1893 1893 $output .= ' selected'; 1894 $output .= '>'.__('Checkbox','WATS').'</option></select></td>'; 1894 $output .= '>'.__('Checkbox','WATS').'</option><option value="5"'; 1895 if (isset($table['type']) && $table['type'] == 5) 1896 $output .= ' selected'; 1897 $output .= '>'.__('Integer number','WATS').'</option></select></td>'; 1895 1898 $output .= '<td>'.wats_options_display_custom_fields_selectors_field(array(0,4,5),'fsf'.$idvalue,$table['fsf']).'</td>'; 1896 1899 $output .= '<td>'.wats_options_display_custom_fields_selectors_field(array(0,1,2,3,4,5),'atef'.$idvalue,$table['atef']).'</td>'; … … 2131 2134 else if ($table['type'] == 4) 2132 2135 $output .= '<td>'.__('Checkbox','WATS').'</td>'; 2136 else if ($table['type'] == 5) 2137 $output .= '<td>'.__('Integer number','WATS').'</td>'; 2133 2138 $output .= '<td>'.$wats_custom_fields_selectors[$table['fsf']].'</td>'; 2134 2139 $output .= '<td>'.$wats_custom_fields_selectors[$table['atef']].'</td>'; … … 2204 2209 $output .= '<tr><th><label>'.__('Custom field meta key (DB) identifier','WATS').'</label></th><td><input type="text" id="customfieldsmetakey" size=30 /></td></tr>'; 2205 2210 $output .= '<tr><th><label>'.__('Custom field type','WATS').'</label></th><td>'; 2206 $output .= '<select name="wats_custom_field_type" id ="wats_custom_field_type" size="1"><option value="0">'.__('Text input','WATS').'</option><option value="1">'.__('Drop down selector','WATS').'</option><option value="2">'.__('Text input with datepicker','WATS').'</option><option value="3">'.__('Radio button','WATS').'</option><option value="4">'.__('Checkbox','WATS').'</option>< /select></td></tr>';2211 $output .= '<select name="wats_custom_field_type" id ="wats_custom_field_type" size="1"><option value="0">'.__('Text input','WATS').'</option><option value="1">'.__('Drop down selector','WATS').'</option><option value="2">'.__('Text input with datepicker','WATS').'</option><option value="3">'.__('Radio button','WATS').'</option><option value="4">'.__('Checkbox','WATS').'</option><option value="5">'.__('Integer number','WATS').'</option></select></td></tr>'; 2207 2212 $output .= wats_options_display_custom_fields_selectors(array(0,4,5),'fsf',__('Frontend submission form','WATS')); 2208 2213 $output .= wats_options_display_custom_fields_selectors(array(0,1,2,3,4,5),'atef',__('Admin ticket edition page','WATS')); -
wats/trunk/wats-profile.php
r2582445 r2994629 13 13 if ($_POST['submit']) 14 14 { 15 get_currentuserinfo();16 15 $old_user = $current_user; 17 16 -
wats/trunk/wats.php
r2785156 r2994629 13 13 /* 14 14 1/ Release history : 15 - V1.0.65 (15/09/2022) : 16 + added Wordpress 5.9 & 6.0 compatibility 15 - V1.0.65 (12/11/2023) : 16 + added Wordpress 5.9-6.4 compatibility 17 + added a creation date filter on frontend ticket listing 18 + modified date format in frontend ticket listing to follow WordPress date format option value 19 + added a type "integer" for custom field 17 20 - V1.0.64 (13/08/2021) : 18 21 + fixed an interworking issue with Elementor Pro
Note: See TracChangeset
for help on using the changeset viewer.