protected function getInputLangBlocks($lang)
 {
     $html = parent::getInputLangBlocks($lang);
     // postName
     $postName = $this->inputHelper->textarea('postName[' . $lang . ']', 'postName', 'postName', 50000, false, $this->originalInsertValue['postName'][$lang]);
     $html .= $this->inputHelper->createFormRow($postName, false, 'Информация');
     return $html;
 }
 protected function getInputLangBlocks($lang)
 {
     $html = parent::getInputLangBlocks($lang);
     // typeName
     $typeName = $this->inputHelper->textBox('typeName[' . $lang . ']', 'typeName', 'typeName', 200, false, $this->originalInsertValue['typeName'][$lang]);
     $html .= $this->inputHelper->createFormRow($typeName, false, 'Название');
     // topText
     $topText = $this->inputHelper->textarea('topText[' . $lang . ']', 'topText', 'topText', 50000, false, $this->originalInsertValue['topText'][$lang]);
     $html .= $this->inputHelper->createFormRow($topText, false, 'Верхний текст');
     // bottomText
     $bottomText = $this->inputHelper->textarea('bottomText[' . $lang . ']', 'bottomText', 'bottomText', 50000, false, $this->originalInsertValue['bottomText'][$lang]);
     $html .= $this->inputHelper->createFormRow($bottomText, false, 'Нижний текст');
     return $html;
 }
Esempio n. 3
0
 /**
  * Генерация форм ввода зависимых от языка
  */
 protected function getInputLangBlocks($lang)
 {
     $html = parent::getInputLangBlocks($lang);
     // title
     $title = $this->inputHelper->textBox('title[' . $lang . ']', 'title', 'title', 200, false, $this->originalInsertValue['title'][$lang]);
     $html .= $this->inputHelper->createFormRow($title, false, 'Заголовок');
     // text
     $text = $this->inputHelper->textarea('text[' . $lang . ']', 'text', 'text', 50000, false, $this->originalInsertValue['text'][$lang]);
     $html .= $this->inputHelper->createFormRow($text, false, 'Текст');
     return $html;
 }
 /**
  * Генерация форм ввода зависимых от языка
  */
 protected function getInputLangBlocks($lang)
 {
     $html = parent::getInputLangBlocks($lang);
     // name
     $name = $this->inputHelper->textBox('name[' . $lang . ']', 'name', 'name', 200, false, $this->originalInsertValue['name'][$lang]);
     $html .= $this->inputHelper->createFormRow($name, false, 'Название');
     // description
     $description = $this->inputHelper->textarea('description[' . $lang . ']', 'description', 'description', 50000, false, $this->originalInsertValue['description'][$lang]);
     $html .= $this->inputHelper->createFormRow($description, false, 'Описание');
     return $html;
 }
 protected function getInputLangBlocks($lang)
 {
     $html = parent::getInputLangBlocks($lang);
     // fio
     $fio = $this->inputHelper->textBox('fio[' . $lang . ']', 'fio', 'fio', 200, false, $this->originalInsertValue['fio'][$lang]);
     $html .= $this->inputHelper->createFormRow($fio, false, 'ФИО');
     // info
     $info = $this->inputHelper->textarea('info[' . $lang . ']', 'info', 'info', 50000, false, $this->originalInsertValue['info'][$lang]);
     $html .= $this->inputHelper->createFormRow($info, false, 'Информация');
     return $html;
 }
 protected function getInputLangBlocks($lang)
 {
     $html = parent::getInputLangBlocks($lang);
     // name
     $name = $this->inputHelper->textBox('name[' . $lang . ']', 'name', 'name', 100, false, $this->originalInsertValue['name'][$lang]);
     $html .= $this->inputHelper->createFormRow($name, false, 'Название');
     // adress
     $adress = $this->inputHelper->textarea('adress[' . $lang . ']', 'adress', 'adress', 200, false, $this->originalInsertValue['adress'][$lang]);
     $html .= $this->inputHelper->createFormRow($adress, false, 'Адрес');
     // postAdress
     $postAdress = $this->inputHelper->textarea('postAdress[' . $lang . ']', 'postAdress', 'postAdress', 50000, false, $this->originalInsertValue['postAdress'][$lang]);
     $html .= $this->inputHelper->createFormRow($postAdress, false, 'Описание');
     // text
     $text = $this->inputHelper->textarea('text[' . $lang . ']', 'text', 'text', 50000, false, $this->originalInsertValue['text'][$lang]);
     $html .= $this->inputHelper->createFormRow($text, false, 'Информация');
     return $html;
 }