Changeset 16464
- Timestamp:
- Jul 7, 2012, 10:08:15 PM (12 years ago)
- Location:
- extensions/ColorStat
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/ColorStat/cstat_aip_install.class.inc.php
r15344 r16464 40 40 } 41 41 42 /* 43 initialize events call for the plugin 44 */ 45 public function initEvents() 46 { 47 parent::initEvents(); 48 add_event_handler('loc_end_page_header', array(&$this->css, 'applyCSS')); 49 } 42 43 public function loadCSS() 44 { 45 parent::loadCSS(); 46 GPCCore::addUI('gpcCSS'); 47 GPCCore::addHeaderCSS('cstat.css', 'plugins/'.$this->getDirectory().'/'.$this->getPluginNameFiles().".css"); 48 } 49 50 50 51 51 52 /* … … 58 59 $this->checkRequest(); 59 60 $this->returnAjaxContent(); 61 62 GPCCore::setTemplateToken(); 60 63 61 64 $template->set_filename('plugin_admin_content', dirname($this->getFileLocation())."/admin/cstat_admin.tpl"); -
extensions/ColorStat/cstat_aip_release.class.inc.php
r6976 r16464 35 35 36 36 /* 37 initialize events call for the plugin38 */39 public function initEvents()40 {41 parent::initEvents();42 add_event_handler('loc_end_page_header', array(&$this->css, 'applyCSS'));43 }44 45 /*46 37 display administration page 47 38 */ … … 49 40 { 50 41 global $template; 42 43 GPCCore::setTemplateToken(); 51 44 52 45 $template->set_filename('plugin_admin_content', dirname($this->getFileLocation())."/admin/cstat_admin.tpl");
Note: See TracChangeset
for help on using the changeset viewer.