public function request($arg) { //$this->parseselectors(); if (isset($_GET['type'])) { $this->type = trim($_GET['type']) == 'left' ? 'left' : 'right'; } tlocal::usefile('themegenerator'); $lang = tlocal::i('themegenerator'); $this->colors = $lang->ini['themecolors']; parent::request($arg); if (isset($_POST['formtype']) && ($_POST['formtype'] == 'headerurl' || $_POST['formtype'] == 'logourl')) { return $this->formresult; } }