17 var $Dependency = array(
"menus");
24 if ($this->
State != PLUGIN_STATE_READY) {
31 $html =
"<table width='100%' border=0 cellpadding=0>\n <tr>\n";
35 if (@$SysConf[
'SYSCONFIG'][
'LogoImage'] and
36 @$SysConf[
'SYSCONFIG'][
'LogoLink']) {
37 $LogoLink = $SysConf[
'SYSCONFIG'][
'LogoLink'];
38 $LogoImg = $SysConf[
'SYSCONFIG'][
'LogoImage'];
40 $LogoLink =
'http://fossology.org';
44 $html .=
" <td width='15%'>";
45 $html .=
"<a href='$LogoLink' target='_top'><img src='$LogoImg' align=absmiddle border=0></a>";
47 $html .=
" <td valign='top'>";
48 $Menu = &$Plugins[plugin_find_id(
"menus")];
49 $Menu->OutputSet($this->OutputType,0);
50 $html .= $Menu->Output();
53 $html .=
"</table>\n";
59 $NewPlugin->Initialize();
This is the Plugin class. All plugins should:
Output()
Generate output for this plug-in.
Traceback_uri()
Get the URI without query to this location.
Traceback_dir()
Get the directory of the URI without query.