| @@ 475-480 (lines=6) @@ | ||
| 472 | $this->Contents->appendChild($this->Form); |
|
| 473 | ||
| 474 | // Validate date time config |
|
| 475 | if (empty(__SYM_DATE_FORMAT__)) { |
|
| 476 | $this->pageAlert( |
|
| 477 | __('Your <code>%s</code> file does not define a date format', array(basename(CONFIG))), |
|
| 478 | Alert::NOTICE |
|
| 479 | ); |
|
| 480 | } |
|
| 481 | if (empty(__SYM_TIME_FORMAT__)) { |
|
| 482 | $this->pageAlert( |
|
| 483 | __('Your <code>%s</code> file does not define a time format.', array(basename(CONFIG))), |
|
| @@ 481-486 (lines=6) @@ | ||
| 478 | Alert::NOTICE |
|
| 479 | ); |
|
| 480 | } |
|
| 481 | if (empty(__SYM_TIME_FORMAT__)) { |
|
| 482 | $this->pageAlert( |
|
| 483 | __('Your <code>%s</code> file does not define a time format.', array(basename(CONFIG))), |
|
| 484 | Alert::NOTICE |
|
| 485 | ); |
|
| 486 | } |
|
| 487 | ||
| 488 | $this->view(); |
|
| 489 | ||