63 $this->days = $a_days;
83 $this->hours = $a_hours;
103 $this->minutes = $a_minutes;
123 $this->seconds = $a_seconds;
135 $this->months = $a_months;
167 $this->showmonths = $a_show_months;
187 $this->showdays = $a_showdays;
207 $this->showhours = $a_showhours;
227 $this->showminutes = $a_showminutes;
247 $this->showseconds = $a_showseconds;
307 $a_tpl->setCurrentBlock(
"dur_months");
308 $a_tpl->setVariable(
"TXT_MONTHS", $lng->txt(
"form_months"));
310 for ($i=0; $i<=36; $i++)
314 $a_tpl->setVariable(
"SELECT_MONTHS",
317 $a_tpl->parseCurrentBlock();
321 $a_tpl->setCurrentBlock(
"dur_days");
322 $a_tpl->setVariable(
"TXT_DAYS", $lng->txt(
"form_days"));
324 for ($i=0; $i<=366; $i++)
328 $a_tpl->setVariable(
"SELECT_DAYS",
331 $a_tpl->parseCurrentBlock();
335 $a_tpl->setCurrentBlock(
"dur_hours");
336 $a_tpl->setVariable(
"TXT_HOURS", $lng->txt(
"form_hours"));
338 for ($i=0; $i<=23; $i++)
342 $a_tpl->setVariable(
"SELECT_HOURS",
345 $a_tpl->parseCurrentBlock();
349 $a_tpl->setCurrentBlock(
"dur_minutes");
350 $a_tpl->setVariable(
"TXT_MINUTES", $lng->txt(
"form_minutes"));
352 for ($i=0; $i<=59; $i++)
356 $a_tpl->setVariable(
"SELECT_MINUTES",
359 $a_tpl->parseCurrentBlock();
363 $a_tpl->setCurrentBlock(
"dur_seconds");
364 $a_tpl->setVariable(
"TXT_SECONDS", $lng->txt(
"form_seconds"));
366 for ($i=0; $i<=59; $i++)
370 $a_tpl->setVariable(
"SELECT_SECONDS",
373 $a_tpl->parseCurrentBlock();
375 $a_tpl->setCurrentBlock(
"prop_duration");
376 $a_tpl->parseCurrentBlock();