2006-05-15 Martin Kutschker <martin.t.kutschker@blackbox.net>
* Fix bug #3364: Changed t3lib_div::validPathStr() that it rejects files starting with ../ or containing /../, but allows ..
+ * Corrected comment for maxWInText (tslib_content) and simplified calculation
2006-05-05 Stanislas Rolland <stanislas.rolland@fructifor.ca>
$maxW = intval($this->stdWrap($conf['maxW'],$conf['maxW.']));
$maxWInText = intval($this->stdWrap($conf['maxWInText'],$conf['maxWInText.']));
- if (!$maxWInText) { // If maxWInText is not set, it's calculated to the 70 % of the max...
- $maxWInText = round($maxW/100*50);
+ if (!$maxWInText) { // If maxWInText is not set, it's calculated to the 50 % of the max...
+ $maxWInText = round($maxW/2);
}
if ($maxWInText && $contentPosition>=16) { // inText