Form::INPUT, Form::TYPE => eInputType::HIDDEN, Form::KEY_VALUE => Section::$THEME, Form::INPUT_OPT => [ Input::VALUE => $SECTION[Section::$THEME], ] ]; $form[] = [ Form::VIEW => Form::INPUT, Form::TYPE => eInputType::HIDDEN, Form::KEY_VALUE => 'controller', Form::INPUT_OPT => [ Input::VALUE=> Section::$controller, ] ]; $form[] = [ Form::VIEW => Form::INPUT, Form::TYPE => eInputType::HIDDEN, Form::KEY_VALUE => Section::$ID, Form::INPUT_OPT=>[ Input::VALUE => $section_id] ]; $form[] = [ Form::VIEW =>Form::INPUT, Form::COL_CLASSES =>'', Form::TYPE =>eInputType::SUBMIT, Form::INPUT_OPT => [ Input::CSS_CLASS => MS::CSS_BTN_SAVE, Input::LABEL => $c = V::get(msLang::$BUTTON_SUBMIT), ], ]; $res = []; $res['form'] = $form; $res['title'] = 'Настройки'; $res['values'] = json_decode($SECTION[Section::$DATA], true); } } echo je($res); } }