load->model('NicknameModel', '', TRUE); } public function nickname() { $this->load->view('header', ['active' => 'nickname-generator', 'title' => lang('nick_site_title')]); $this->load->view('tools/generators/nickname', ["counter" => "unendlich"]); $this->load->view('footer', ['additionalScripts' => ['nickname.js']]); } public function nickname_functions() { $this->NicknameModel->generateName(); } public function password() { $this->load->view('header', ['active' => 'password-generator', 'title' => lang('pass_site_title'), 'additionalStyles' => ['tools.css']]); $this->load->view('tools/generators/password'); $this->load->view('footer', ['additionalScripts' => ['password.js']]); } }