21 parent::__construct($a_title, $a_postvar);
30 $isValid = parent::checkInput();
37 $this->thresholdUnits->setValueByArray((
array) $_POST);
39 $unit = $this->thresholdUnits->getValue();
41 case $unit ==
'days' && $this->
getValue() > 31:
43 $GLOBALS[
'DIC']->language()->txt(
'chat_deletion_ival_max_val'),
44 $GLOBALS[
'DIC']->language()->txt(
'days'),
50 case $unit ==
'weeks' && $this->
getValue() > 52:
52 $GLOBALS[
'DIC']->language()->txt(
'chat_deletion_ival_max_val'),
53 $GLOBALS[
'DIC']->language()->txt(
'weeks'),
59 case $unit ==
'months' && $this->
getValue() > 12:
61 $GLOBALS[
'DIC']->language()->txt(
'chat_deletion_ival_max_val'),
62 $GLOBALS[
'DIC']->language()->txt(
'months'),
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
Create styles array
The data for the language used.