$this->_addHook("userisactivecheckbox") ; // The "use ..." checkbox in user account
$this->_addHook("userisactivecheckboxpost") ; //
$this->_addHook("project_admin_plugins"); // to show up in the admin page fro group
- $this->_addHook('javascript_file', 'jsFile', false);
$this->_addHook('javascript', false);
$this->_addHook('cssfile', 'cssFile', false);
use_stylesheet('/plugins/hudson/themes/default/css/style.css');
} elseif ($hookname == "cssfile") {
$this->cssFile($params);
- } elseif ($hookname == "javascript_file") {
- $this->jsFile($params);
} elseif ($hookname == "project_is_deleted") {
$this->projectIsDeleted($params);
} elseif ($hookname == "widget_instance") {
}
}
- function jsFile($params) {
- use_javascript('/plugins/hudson/hudson_tab.js');
- }
-
/**
* When a project is deleted,
* we delete all the hudson jobs of this project