[Fusionforge-commits] r10109 - trunk/plugins/coclico/hudson/include
Alain Peyrat
aljeux at libremir.placard.fr.eu.org
Wed Jun 23 22:39:53 CEST 2010
Author: aljeux
Date: 2010-06-23 22:39:53 +0200 (Wed, 23 Jun 2010)
New Revision: 10109
Modified:
trunk/plugins/coclico/hudson/include/hudsonPlugin.class.php
Log:
hudson now use the helper to stylesheet
Modified: trunk/plugins/coclico/hudson/include/hudsonPlugin.class.php
===================================================================
--- trunk/plugins/coclico/hudson/include/hudsonPlugin.class.php 2010-06-23 20:39:47 UTC (rev 10108)
+++ trunk/plugins/coclico/hudson/include/hudsonPlugin.class.php 2010-06-23 20:39:53 UTC (rev 10109)
@@ -65,7 +65,7 @@
(($params['toptab'] == $this->name) ? $params['selected']=(count($params['TITLES'])-1) : '' );
} elseif ($hookname =='cssfile') {
- echo '<link rel="stylesheet" type="text/css" href="/plugins/hudson/themes/default/css/style.css" />';
+ use_stylesheet('/plugins/hudson/themes/default/css/style.css');
} elseif ($hookname == "groupisactivecheckbox") {
//Check if the group is active
// this code creates the checkbox in the project edit public info page to activate/deactivate the plugin
@@ -161,7 +161,7 @@
strpos($_SERVER['REQUEST_URI'], '/projects/') === 0 ||
strpos($_SERVER['REQUEST_URI'], '/widgets/') === 0
) {
- echo '<link rel="stylesheet" type="text/css" href="'.$this->getThemePath().'/css/style.css" />';
+ use_stylesheet($this->getThemePath().'/css/style.css');
}
}
More information about the Fusionforge-commits
mailing list