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