PluginProbe
WebTotem Security / 2.3.14
WebTotem Security v2.3.14
3.0.1 3.0.0 trunk 1.0 1.1 1.2 1.3 1.3.1 1.3.2 1.3.3 2.0 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.1 2.2.2 2.2.3 2.2.4 All 109 releases
← All changes | helpers.php +4 -0 2.2.42.3.14 View file →
@@ -5,5 +5,9 @@
5 5 if(wtsec_request()->page === WTSEC_PAGE_PREFIX.$page){
6 6 return "wtotem_nav__link_active";
7 7 }
8 8 return "";
9 +}
10 +
11 +function wtsec_cutString($string, $length){
12 + return (strlen($string) > $length) ? substr($string,0,$length).'...' : $string;
9 13 }