highlights * v2.00 rakaz - Almost complete rewrite * v2.01 yama - modified form button for IE * v2.02 kimitake - multilingual support, modified form button for IE */ function getName() { return 'SkinFiles'; } function getAuthor() { return 'Misc authors'; } function getURL() { return 'http://www.nucleuscms.org/'; } function getVersion() { return '2.02'; } function getDescription() { return _SKINFILES_DESC; } function supportsFeature($what) { switch($what) { case 'SqlTablePrefix': return 1; default: return 0; } } function install() { } function unInstall() { } function getEventList() { return array('QuickMenu'); } function hasAdminArea() { return 1; } function init() { // include language file for this plugin $language = ereg_replace( '[\\|/]', '', getLanguageName()); if (file_exists($this->getDirectory().$language.'.php')) include_once($this->getDirectory().$language.'.php'); else include_once($this->getDirectory().'english.php'); } function event_QuickMenu(&$data) { global $member; // only show to admins if (!($member->isLoggedIn() && $member->isAdmin())) return; array_push( $data['options'], array( 'title' => _SKINFILES_TITLE, 'url' => $this->getAdminURL(), 'tooltip' => _SKINFILES_TOOLTIP ) ); } } ?>