[TASK] Remove deprecated usages of intInRange, intval_positive and int_from_ver

This is part of the t3lib_div refactoring started at T3DD11.

With #28019 these methods have been moved to own utility
classes, now the Core should uses these.

Change-Id: Ib5b0d8f9a4322e5489b148e280993a3579fc21af
Resolves: #28026
Reviewed-on: http://review.typo3.org/3179
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
Reviewed-by: Stefan Neufeind
Reviewed-by: Steffen Gebert
Tested-by: Steffen Gebert
This commit is contained in:
Susanne Moog 2011-07-09 12:05:34 +02:00 committed by Steffen Gebert
parent 19201d6606
commit 89641cd9f3

View file

@ -299,7 +299,7 @@ class tx_feedit_editpanel {
*/ */
protected function editPanelPreviewBorder($table, array $row, $content, $thick, array $conf = array()) { protected function editPanelPreviewBorder($table, array $row, $content, $thick, array $conf = array()) {
if ($this->isDisabled($table, $row)) { if ($this->isDisabled($table, $row)) {
$thick = t3lib_div::intInRange($thick, 1, 100); $thick = t3lib_utility_Math::forceIntegerInRange($thick, 1, 100);
$color = $conf['color'] ? $conf['color'] : '#cccccc'; $color = $conf['color'] ? $conf['color'] : '#cccccc';
if ($conf['innerWrap']) { if ($conf['innerWrap']) {
$content = $this->wrap($content,$conf['innerWrap']); $content = $this->wrap($content,$conf['innerWrap']);