lang = TRUE; parent::__construct(); } public function display() { echo '
'.$this->l('Countdown Configuration').'
*

'.$this->l('{desc} for the description, {sep} for the time separator, {pv} where p is y for years, o for months, w for weeks, d for days, h for hours, m for minutes, or s for seconds and v is n for the period value, nn for the period value with a minimum of two digits, nnn for a minimum of three digits, or l for the period label (long or short form depending on the compact setting), or {pd} where p is as above and d is 1 for the units digit, 10 for the tens digit, 100 for the hundreds digit, or 1000 for the thousands digit. If you need to exclude entire sections when the period value is zero and you have specified the period as optional, surround these sections with {p<} and {p>}, where p is the same as above.').'

'; } function postProcess() { if($countdown_format = Tools::getValue('countdown_format')) { Configuration::updateValue('PRIVATESALES_COUNTDOWNFMT', htmlentities($countdown_format)); } } }