public function change_password() { $userGadget = new \Own\App\User\Gadget($this->app); $change = $userGadget->changePassword(); return $this->response('tpl-default', ['title' => Util\Lang::lang('profile')], 'layout-home', ['column1' => $change]); }
public function change_password() { $userGadget = new \Own\App\User\Gadget($this->app); $change = $userGadget->changePassword(); // view $this->setTpl(); // layout $this->tplLayout->set('column1', $change); // template $this->tplMaster->set('layout', $this->tplLayout->render('layout-center')); return $this->tplMaster->render('tpl-default'); }