Home
last modified time | relevance | path

Searched refs:maxchars (Results 1 – 2 of 2) sorted by relevance

/plugin/xfortune/
H A Dhelper.php18 static public function getCookieHTML($cookieID, $maxlines=0, $maxchars=0) { argument
20 $cookie = self::getSmallCookie($cookieID, $maxlines, $maxchars);
37 static public function getSmallCookie($cookieID, $maxlines, $maxchars){ argument
41 if($maxchars < 1) $maxlines = 250;
46 } while( ($lines > $maxlines || strlen($cookie) > $maxchars) && $tries++ < $runaway);
/plugin/directions/syntax/
H A Dcommon.php287 function dir_trimPageTitle($title, $maxchars=19) { argument
288 if (strlen($title) > $maxchars) return substr($title,0,$maxchars).'...';