protected function getInputBlocks()
 {
     $html = parent::getInputBlocks();
     // worker
     $worker = $this->inputHelper->paternTextBox('worker', 'worker', 'worker', 200, true, 'Кирилица', '^[А-ЯЁ][а-яё]+\\s[А-ЯЁ][а-яё]+(\\s[А-ЯЁ][а-яё]+)?$', $this->originalInsertValue['alias']);
     $html .= $this->inputHelper->createFormRow($worker, true, 'ФИО');
     // post
     $post = $this->inputHelper->select('post', 'post', $this->getPostSelectData(), true, $this->originalInsertValue['post']);
     $html .= $this->inputHelper->createFormRow($post, true, 'Занимаемая должность');
     // email1
     $email1 = $this->inputHelper->paternTextBox('email1', 'email1', 'email1', 200, true, "*****@*****.**", "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}\$", $this->originalInsertValue['email1']);
     $html .= $this->inputHelper->createFormRow($email1, true, 'Email1');
     // email2
     $email2 = $this->inputHelper->paternTextBox('email2', 'email2', 'email2', 200, false, "*****@*****.**", "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}\$", $this->originalInsertValue['email2']);
     $html .= $this->inputHelper->createFormRow($email2, false, 'Email2');
     // phoneText1 phone1  additional1
     $phoneText1 = $this->inputHelper->paternTextBox('phoneText1', 'phoneText1', 'ContactsUnitsPhoneBox', 100, false, "+7(XXX)XXX-XX-XX", "^((8|\\+7)-?)?\\(?\\d{3,5}\\)?-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}((-?\\d{1})?-?\\d{1})?\$", $this->originalInsertValue['phoneText1']);
     $phone1 = $this->inputHelper->paternTextBox('phone1', 'phone1', 'ContactsUnitsPhoneBox', 100, false, "XXXXXXXXXXX", "^((8|\\+7)-?)?\\(?\\d{3,5}\\)?-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}((-?\\d{1})?-?\\d{1})?\$", $this->originalInsertValue['phone1']);
     $additional1 = $this->inputHelper->paternTextBox('additional1', 'additional1', ' ContactsUnitsPhoneBox', 11, false, 'добавочный', '^((\\d{3,4})|(\\d{3,4}\\/\\d{3,4}))+$', $this->originalInsertValue['additional1']);
     $html .= $this->inputHelper->createFormRow("Текст.телефон: " . $phoneText1 . "Телефон: " . $phone1 . "Добавочный: " . $additional1, false, 'Phone1');
     // phoneText2 phone2  additional2
     $phoneText2 = $this->inputHelper->paternTextBox('phoneText2', 'phoneText2', 'ContactsUnitsPhoneBox', 100, false, "+7(XXX)XXX-XX-XX", "^((8|\\+7)-?)?\\(?\\d{3,5}\\)?-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}((-?\\d{1})?-?\\d{1})?\$", $this->originalInsertValue['phoneText2']);
     $phone2 = $this->inputHelper->paternTextBox('phone2', 'phone2', 'ContactsUnitsPhoneBox', 100, false, "XXXXXXXXXXX", "^((8|\\+7)-?)?\\(?\\d{3,5}\\)?-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}((-?\\d{1})?-?\\d{1})?\$", $this->originalInsertValue['phone2']);
     $additional2 = $this->inputHelper->paternTextBox('additional2', 'additional2', ' ContactsUnitsPhoneBox', 11, false, 'добавочный', '^((\\d{3,4})|(\\d{3,4}\\/\\d{3,4}))+$', $this->originalInsertValue['additional2']);
     $html .= $this->inputHelper->createFormRow("Текст.телефон: " . $phoneText2 . "Телефон: " . $phone2 . "Добавочный: " . $additional2, false, 'Phone2');
     // units
     $units = $this->inputHelper->getChekBoxGroup('units', 'units', $this->getContactsUnits(), false, $this->originalInsertValue['units'], '', '', 'contactsChekBoxGroup');
     $html .= $this->inputHelper->createFormRow($units, false, 'Юнит');
     return $html;
 }
 protected function getInputBlocks()
 {
     $html = parent::getInputBlocks();
     // post
     $post = $this->inputHelper->paternTextBox('post', 'post', 'post', 100, true, 'Кирилица', '^А-ЯA-Z]{1}[А-ЯA-Zа-яa-z-\\.]{1,99}+', $this->originalInsertValue['alias']);
     $html .= $this->inputHelper->createFormRow($post, true, 'Название должности');
     // sequence
     $sequence = $this->inputHelper->paternTextBox('sequence', 'sequence', 'sequence', 2, true, "", "^[\\d]+\$", $this->originalInsertValue['sequence']);
     $html .= $this->inputHelper->createFormRow($sequence, true, 'Степень важности занимаемой должности');
     return $html;
 }
 protected function getInputBlocks()
 {
     $html = parent::getInputBlocks();
     // ip
     $ip = $this->inputHelper->select('ip', 'ip', $this->getDataIP(), true, $this->originalInsertValue['ip']);
     $html .= $this->inputHelper->createFormRow($ip, true, 'IP');
     // fio
     $fio = $this->inputHelper->paternTextBox('fio', 'fio', 'fio', 100, true, 'Латиница, кирилица, цифры, знак пробела', '[А-Яа-яЁёЙйЦцA-Za-z0-9\\s]{2,100}', $this->originalInsertValue['fio']);
     $html .= $this->inputHelper->createFormRow($fio, true, 'Представьтесь');
     // created
     $created = $this->inputHelper->paternTextBox('date', 'date', 'date', 25, true, 'ГГГГ-ММ-ДД чч:мм:сс', '[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}', $this->originalInsertValue['date']);
     $html .= $this->inputHelper->createFormRow($created, true, 'Дата создания');
     // phone
     $phone = $this->inputHelper->paternTextBox('phone', 'phone', 'phone', 100, false, "+7(XXX)XXX-XX-XX", "^((8|\\+7)-?)?\\(?\\d{3,5}\\)?-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}((-?\\d{1})?-?\\d{1})?\$", $this->originalInsertValue['phone']);
     $html .= $this->inputHelper->createFormRow($phone, false, '** Номер телефона');
     // email
     $email = $this->inputHelper->paternTextBox('email', 'email', 'email', 200, false, "*****@*****.**", "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}\$", $this->originalInsertValue['email']);
     $html .= $this->inputHelper->createFormRow($email, false, '** E-mail');
     // title
     $title = $this->inputHelper->paternTextBox('title', 'title', 'title', 100, false, 'Латиница, кирилица цифры и знаки - и _ и ()', '[А-Яа-яЁёЙйЦцA-Za-z0-9-_\\)\\(\\s]{2,100}', $this->originalInsertValue['title']);
     $html .= $this->inputHelper->createFormRow($title, false, 'Тема');
     // text
     $text = $this->inputHelper->textarea('text', 'text', 'text', 50000, true, $this->originalInsertValue['text']);
     $html .= $this->inputHelper->createFormRow($text, true, 'Текст');
     // rating для select - box
     $rating = $this->inputHelper->select('rating', 'rating', $this->getDataRatingSelect(), true, $this->originalInsertValue['rating']);
     $html .= $this->inputHelper->createFormRow($rating, true, 'Рейтинг');
     // like
     $like = $this->inputHelper->paternTextBox('like', 'like', 'like', 10, false, 'Целое числовое значение', '[0-9)\\({1,10}', $this->originalInsertValue['like']);
     $html .= $this->inputHelper->createFormRow($like, false, 'Like');
     // dislike
     $dislike = $this->inputHelper->paternTextBox('dislike', 'dislike', 'dislike', 10, false, 'Целое числовое значение', '[0-9)\\({1,10}', $this->originalInsertValue['dislike']);
     $html .= $this->inputHelper->createFormRow($dislike, false, 'Dislike');
     // show
     $show = $this->inputHelper->select('show', 'show', $this->yes_no, true, $this->originalInsertValue['show']);
     $html .= $this->inputHelper->createFormRow($show, true, 'Отображение комментария');
     $feedbackFormFootNote = '<div class="feedbackFormFootNoteAdmin">Одно из полей \'Номер телефона\' или \'E-mail\' должно быть обязательно заполнено</div>';
     $html .= $this->inputHelper->createFormRow($feedbackFormFootNote, false, '**');
     return $html;
 }
 protected function getInputBlocks()
 {
     $html = parent::getInputBlocks();
     $currentIPUser = $_SERVER['REMOTE_ADDR'];
     echo '<script language="JavaScript">';
     echo '$(document).ready(function(){
             var ip = "' . $currentIPUser . '";
             $(\'#currentIpAdminButton\').click(function(){
                 $(\'#currentIpAdmin\').val(ip);
             });
         });';
     echo '</script>';
     // ip
     $ip = $this->inputHelper->paternTextBox('ip', 'currentIpAdmin', 'currentIpAdmin', 100, true, 'Четыре группы цифр, разделённых точкой. Группа цифр может включать от одной до трёх цифр в диапазоне от 0 до 9.', '^[0-9]{1,3}+[\\.]+[0-9]{1,3}+[\\.]+[0-9]{1,3}+[\\.][0-9]{1,3}$', $this->originalInsertValue['alias']);
     $currentIP = '<div class="currentIpAdminButton" id="currentIpAdminButton">Текущий IP</div>';
     $html .= $this->inputHelper->createFormRow($ip . $currentIP, true, 'IP');
     // status
     $status = $this->inputHelper->select('status', 'status', $this->getDataStatus(), true, $this->originalInsertValue['status']);
     $html .= $this->inputHelper->createFormRow($status, true, 'Статус IP');
     // comment
     $comment = $this->inputHelper->textarea('comment', 'comment', 'comment', 50000, false, $this->originalInsertValue['comment']);
     $html .= $this->inputHelper->createFormRow($comment, false, 'Комментарий');
     return $html;
 }
 /**
  * Генерация форм ввода не зависимых от языка
  */
 protected function getInputBlocks()
 {
     $html = parent::getInputBlocks();
     // alias
     $alias = $this->inputHelper->paternTextBox('alias', 'alias', 'alias', 200, true, 'Латиница, цифры и знаки - и _', '[A-Za-z0-9_-]{3,200}', $this->originalInsertValue['alias']);
     $html .= $this->inputHelper->createFormRow($alias, true, 'Alias');
     // created
     $created = $this->inputHelper->paternTextBox('created', 'created', 'created', 25, true, 'ГГГГ-ММ-ДД чч:мм:сс', '[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}', $this->originalInsertValue['created']);
     $html .= $this->inputHelper->createFormRow($created, true, 'Создано');
     // created
     $lastChange = $this->inputHelper->paternTextBox('lastChange', 'lastChange', 'lastChange', 25, true, 'ГГГГ-ММ-ДД чч:мм:сс', '[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}', $this->originalInsertValue['lastChange']);
     $html .= $this->inputHelper->createFormRow($lastChange, true, 'Изменено');
     // list
     $list = $this->inputHelper->getChekBoxGroup('list', 'list', $this->MaterialsCategoriesList(), false, $this->originalInsertValue['list']);
     $html .= $this->inputHelper->createFormRow($list, false, 'Списки');
     return $html;
 }
 protected function getInputBlocks()
 {
     $html = parent::getInputBlocks();
     // type
     $type = $this->inputHelper->paternTextBox('type', 'type', 'type', 100, true, 'Латиница, цифры и знаки - и _', '[A-Za-z0-9_-]{3,100}', $this->originalInsertValue['alias']);
     $html .= $this->inputHelper->createFormRow($type, true, 'Type');
     // show
     $show = $this->inputHelper->select('show', 'show', $this->yes_no, true, $this->originalInsertValue['show']);
     $html .= $this->inputHelper->createFormRow($show, true, 'Показывать');
     // sequence
     $sequence = $this->inputHelper->paternTextBox('sequence', 'sequence', 'sequence', 1, true, "", "^[\\d]+\$", $this->originalInsertValue['sequence']);
     $html .= $this->inputHelper->createFormRow($sequence, true, 'Последовательность показа');
     // image
     $image = '<input type="file" class="unitImage" name="unitImage" id="unitImage">';
     $html .= $this->inputHelper->createFormRow($image, true, 'Изображение');
     return $html;
 }
 protected function getInputBlocks()
 {
     $html = parent::getInputBlocks();
     // unit
     $unit = $this->inputHelper->paternTextBox('unit', 'unit', 'unit', 100, true, 'Латиница, цифры и знаки - и _', '[A-Za-z0-9_-]{3,100}', $this->originalInsertValue['alias']);
     $html .= $this->inputHelper->createFormRow($unit, true, 'Объект');
     // type
     $type = $this->inputHelper->select('type', 'type', $this->getContactsUnitsTypes(), true, $this->originalInsertValue['type']);
     $html .= $this->inputHelper->createFormRow($type, true, 'Тип');
     // show
     $show = $this->inputHelper->select('show', 'show', $this->yes_no, true, $this->originalInsertValue['show']);
     $html .= $this->inputHelper->createFormRow($show, true, 'Отображать ( объект )');
     // showOnMain
     $showOnMain = $this->inputHelper->select('showOnMain', 'showOnMain', $this->yes_no, true, $this->originalInsertValue['showOnMain']);
     $html .= $this->inputHelper->createFormRow($showOnMain, true, 'Отображать ( объект ) на главной странице');
     // sequence
     $sequence = $this->inputHelper->paternTextBox('sequence', 'sequence', 'sequence', 5, true, "", "^[\\d]+\$", $this->originalInsertValue['sequence']);
     $html .= $this->inputHelper->createFormRow($sequence, true, 'Последовательность показа');
     // email
     $email = $this->inputHelper->paternTextBox('email', 'email', 'email', 100, false, "*****@*****.**", "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}\$", $this->originalInsertValue['email']);
     $html .= $this->inputHelper->createFormRow($email, false, 'E-mail');
     // feedbackEmail
     $feedbackEmail = $this->inputHelper->paternTextBox('feedbackEmail', 'feedbackEmail', 'feedbackEmail', 100, false, "*****@*****.**", "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}\$", $this->originalInsertValue['feedbackEmail']);
     $html .= $this->inputHelper->createFormRow($feedbackEmail, false, 'E-mail для отзыва');
     // phoneText1 phone1  additional1
     $phoneText1 = $this->inputHelper->paternTextBox('phoneText1', 'phoneText1', 'ContactsUnitsPhoneBox', 100, false, "+7(XXX)XXX-XX-XX", "^((8|\\+7)-?)?\\(?\\d{3,5}\\)?-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}((-?\\d{1})?-?\\d{1})?\$", $this->originalInsertValue['phoneText1']);
     $phone1 = $this->inputHelper->paternTextBox('phone1', 'phone1', 'ContactsUnitsPhoneBox', 100, false, "XXXXXXXXXXX", "^((8|\\+7)-?)?\\(?\\d{3,5}\\)?-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}((-?\\d{1})?-?\\d{1})?\$", $this->originalInsertValue['phone1']);
     $additional1 = $this->inputHelper->paternTextBox('additional1', 'additional1', ' ContactsUnitsPhoneBox', 11, false, 'добавочный', '^((\\d{3,4})|(\\d{3,4}\\/\\d{3,4}))+$', $this->originalInsertValue['additional1']);
     $html .= $this->inputHelper->createFormRow("Текст.телефон: " . $phoneText1 . "Телефон: " . $phone1 . "Добавочный: " . $additional1, false, 'Phone1');
     // phoneText2 phone2  additional2
     $phoneText2 = $this->inputHelper->paternTextBox('phoneText2', 'phoneText2', 'ContactsUnitsPhoneBox', 100, false, "+7(XXX)XXX-XX-XX", "^((8|\\+7)-?)?\\(?\\d{3,5}\\)?-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}((-?\\d{1})?-?\\d{1})?\$", $this->originalInsertValue['phoneText2']);
     $phone2 = $this->inputHelper->paternTextBox('phone2', 'phone2', 'ContactsUnitsPhoneBox', 100, false, "XXXXXXXXXXX", "^((8|\\+7)-?)?\\(?\\d{3,5}\\)?-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}-?\\d{1}((-?\\d{1})?-?\\d{1})?\$", $this->originalInsertValue['phone2']);
     $additional2 = $this->inputHelper->paternTextBox('additional2', 'additional2', ' ContactsUnitsPhoneBox', 11, false, 'добавочный', '^((\\d{3,4})|(\\d{3,4}\\/\\d{3,4}))+$', $this->originalInsertValue['additional2']);
     $html .= $this->inputHelper->createFormRow("Текст.телефон: " . $phoneText2 . "Телефон: " . $phone2 . "Добавочный: " . $additional2, false, 'Phone2');
     // day
     $html .= $this->getInputBlocksDays('mon', 'Понедельник');
     $html .= $this->getInputBlocksDays('tue', 'Вторник');
     $html .= $this->getInputBlocksDays('wed', 'Среда');
     $html .= $this->getInputBlocksDays('thu', 'Четверг');
     $html .= $this->getInputBlocksDays('fri', 'Пятница');
     $html .= $this->getInputBlocksDays('sat', 'Суббота');
     $html .= $this->getInputBlocksDays('sun', 'Воскресенье');
     // map
     $map = $this->inputHelper->select('map', 'map', $this->getContactsUnitsMaps(), false, $this->originalInsertValue['map']);
     $html .= $this->inputHelper->createFormRow($map, false, 'Карта');
     // showMap
     $showMap = $this->inputHelper->select('showMap', 'showMap', $this->yes_no, false, $this->originalInsertValue['showMap']);
     $html .= $this->inputHelper->createFormRow($showMap, false, 'Отображать ( карту )');
     // image
     $image = '<input type="file" class="unitImage" name="unitImage" id="unitImage">';
     $html .= $this->inputHelper->createFormRow($image, true, 'Изображение');
     // worker
     $worker = $this->inputHelper->getChekBoxGroup('workers', 'workers', $this->getContactsUnitsWokers(), false, $this->originalInsertValue['workers'], '', '', 'contactsChekBoxGroup');
     $html .= $this->inputHelper->createFormRow($worker, false, 'Работник');
     return $html;
 }
 /**
  * Генерация форм ввода не зависимых от языка
  */
 protected function getInputBlocks()
 {
     $html = parent::getInputBlocks();
     // alias
     $name = $this->inputHelper->paternTextBox('alias', 'alias', 'alias', 200, true, 'Латиница, цифры и знаки - и _', '[A-Za-z0-9_-]{3,200}', $this->originalInsertValue['alias']);
     $html .= $this->inputHelper->createFormRow($name, true, 'Alias');
     // showFullMaterialsText
     $showFullMaterialsText = $this->inputHelper->select('showFullMaterialsText', 'showFullMaterialsText', $this->yes_no, true, $this->originalInsertValue['showFullMaterialsText']);
     $html .= $this->inputHelper->createFormRow($showFullMaterialsText, true, 'Показывать полный текст материала');
     // showShortMaterialsText
     $showShortMaterialsText = $this->inputHelper->select('showShortMaterialsText', 'showShortMaterialsText', $this->yes_no, true, $this->originalInsertValue['showShortMaterialsText']);
     $html .= $this->inputHelper->createFormRow($showShortMaterialsText, true, 'Показывать текст предпросмотра материала');
     // showCategories
     $showCategories = $this->inputHelper->select('showCategories', 'showCategories', $this->yes_no, true, $this->originalInsertValue['showCategories']);
     $html .= $this->inputHelper->createFormRow($showCategories, true, 'Показывать категории');
     // showCreated
     $showCreated = $this->inputHelper->select('showCreated', 'showCreated', $this->yes_no, true, $this->originalInsertValue['showCreated']);
     $html .= $this->inputHelper->createFormRow($showCreated, true, 'Показывать дату создания');
     // showChange
     $showChange = $this->inputHelper->select('showChange', 'showChange', $this->yes_no, true, $this->originalInsertValue['showChange']);
     $html .= $this->inputHelper->createFormRow($showChange, true, 'Показывать дату изменения');
     // categorialsAsURL
     $categorialsAsURL = $this->inputHelper->select('categorialsAsURL', 'categorialsAsURL', $this->yes_no, true, $this->originalInsertValue['categorialsAsURL']);
     $html .= $this->inputHelper->createFormRow($categorialsAsURL, true, 'Показывать URL категории');
     // titleAsURL
     $titleAsURL = $this->inputHelper->select('titleAsURL', 'titleAsURL', $this->yes_no, true, $this->originalInsertValue['titleAsURL']);
     $html .= $this->inputHelper->createFormRow($titleAsURL, true, 'Показывать URL заголовка');
     // showAllOnPage
     $showAllOnPage = $this->inputHelper->select('showAllOnPage', 'showAllOnPage', $this->yes_no, true, $this->originalInsertValue['showAllOnPage']);
     $html .= $this->inputHelper->createFormRow($showAllOnPage, true, 'Все материалы на одной странице');
     // onPage
     $onPage = $this->inputHelper->paternTextBox('onPage', 'onPage', 'onPage', 11, true, 'Цифры ', '[0-9_-]{1,5}', $this->originalInsertValue['onPage']);
     $html .= $this->inputHelper->createFormRow($onPage, true, 'Количество материалов на странице');
     // maxPages
     $maxPages = $this->inputHelper->paternTextBox('maxPages', 'maxPages', 'maxPages', 11, true, 'Цифры ', '[0-9_-]{1,5}', $this->originalInsertValue['maxPages']);
     $html .= $this->inputHelper->createFormRow($maxPages, true, 'Максимальное количество страниц');
     // categories
     $html .= $this->inputHelper->createFormRow_RowText('Категории');
     $html .= $this->getCategories();
     return $html;
 }
 /**
  * Генерация форм ввода не зависимых от языка
  */
 protected function getInputBlocks()
 {
     $html = parent::getInputBlocks();
     // alias
     $alias = $this->inputHelper->paternTextBox('alias', 'alias', 'alias', 200, true, 'Латиница, цифры и знаки - и _', '[A-Za-z0-9_-]{3,200}', $this->originalInsertValue['alias']);
     $html .= $this->inputHelper->createFormRow($alias, true, 'Alias');
     // created
     $created = $this->inputHelper->paternTextBox('created', 'created', 'created', 25, true, 'ГГГГ-ММ-ДД чч:мм:сс', '[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}', $this->originalInsertValue['created']);
     $html .= $this->inputHelper->createFormRow($created, true, 'Создано');
     // created
     $lastChange = $this->inputHelper->paternTextBox('lastChange', 'lastChange', 'lastChange', 25, true, 'ГГГГ-ММ-ДД чч:мм:сс', '[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}', $this->originalInsertValue['lastChange']);
     $html .= $this->inputHelper->createFormRow($lastChange, true, 'Изменено');
     // showTitle
     $showTitle = $this->inputHelper->select('showTitle', 'showTitle', $this->yes_no, true, $this->originalInsertValue['showTitle']);
     $html .= $this->inputHelper->createFormRow($showTitle, true, 'Показывать заголовок');
     // showCreated
     $showCreated = $this->inputHelper->select('showCreated', 'showCreated', $this->yes_no, true, $this->originalInsertValue['showCreated']);
     $html .= $this->inputHelper->createFormRow($showCreated, true, 'Показывать дату создания');
     // showChange
     $showChange = $this->inputHelper->select('showChange', 'showChange', $this->yes_no, true, $this->originalInsertValue['showChange']);
     $html .= $this->inputHelper->createFormRow($showChange, true, 'Показывать дату изменения');
     // image
     $image = '<input type="file" class="fileImage" name="fileImage" id="fileImage">';
     $html .= $this->inputHelper->createFormRow($image, true, 'Изображение');
     // categories
     $categories = $this->inputHelper->getChekBoxGroup('categories', 'categories', $this->getMaterialsCategories(), false, $this->originalInsertValue['categories']);
     $html .= $this->inputHelper->createFormRow($categories, false, 'Категории');
     return $html;
 }