예제 #1
0
 protected function buildInternal()
 {
     parent::buildInternal();
     $message = $this->ui->getWidget('confirmation_message');
     $message->content = $this->getConfirmationMessage();
     $message->content_type = 'text/xml';
     $date = new SwatDate();
     $date->setTZ($this->app->default_time_zone);
     $note = sprintf(Deliverance::_('Scheduled times in ' . '<strong>%s</strong>. Leave date and time blank to send ' . 'immediately.'), $date->formatTZ(SwatDate::TZ_COMBINED));
     $this->ui->getWidget('send_date_field')->note = $note;
     $this->ui->getWidget('send_date_field')->note_content_type = 'txt/xml';
 }