id = '$Id: Applet_PaintBBS.php,v 1.46 2010/06/06 11:44:19 hsur Exp $'; $this->name = _PAINT_Applet_PaintBBS_name; $this->parser = 'paintbbs'; $this->magic = 'P'; $this->animeExt = Array( '.pch', ); $requiredFiles = Array( 'PaintBBS.jar' ); $this->enable = $this->isFileInstalled($requiredFiles); $this->templatevars['id'] = $this->id; $this->templatevars['name'] = $this->name; $this->templatevars['parser'] = $this->parser; $this->templatevars['magic'] = $this->magic; } function getCopyrightsPart(){ $tpl = $this->template->fetch('copyrights', strtolower(__CLASS__)); return $this->template->fill($tpl, $this->templatevars, false); } function getPageTemplate($vars = null){ $tpl = $this->template->fetch('pagetemplate', strtolower(__CLASS__)); global $CONF; $this->templatevars['ActionURL'] = $CONF['ActionURL']; $this->templatevars['PluginURL'] = $CONF['PluginURL']; $this->templatevars['appletBaseUrl'] = $this->appletBaseUrl; $vars = array_merge((array)$vars, $this->templatevars); return $this->template->fill($tpl, $vars, false); } }