mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
fixes for the about page
This commit is contained in:
parent
cb77ed933d
commit
1f2655b0f1
@ -20,13 +20,12 @@
|
||||
$api_only = True;
|
||||
}
|
||||
|
||||
$tpl = new Template($phpgw_info["server"]["include_root"] . "/phpgwapi/templates/"
|
||||
. $phpgw_info["server"]["template_set"]);
|
||||
$tpl = CreateObject('phpgwapi.Template',$phpgw->common->get_tpl_dir('phpgwapi'));
|
||||
$tpl->set_file(array("phpgw_about" => "about.tpl",
|
||||
"phpgw_about_unknown" => "about_unknown.tpl"
|
||||
));
|
||||
|
||||
$tpl->set_var("webserver_url",$phpgw_info["server"]["webserver_url"]);
|
||||
$tpl->set_var("webserver_url",$phpgw->common->get_image_path('phpgwapi'));
|
||||
$tpl->set_var("phpgw_version","phpGroupWare API version " . $phpgw_info["server"]["versions"]["phpgwapi"]);
|
||||
if ($included) {
|
||||
$tpl->set_var("phpgw_app_about",about_app("",""));
|
||||
|
@ -1,7 +1,7 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="http://www.phpgroupware.org" target="_new"><img src="{webserver_url}/phpGroupWare.jpg" border="0"></a>
|
||||
<a href="http://www.phpgroupware.org" target="_new"><img src="{webserver_url}/logo.gif" border="0"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -17,7 +17,7 @@
|
||||
$bodyheader = "BGCOLOR=\"".$phpgw_info["theme"]["bg_color"]."\"";
|
||||
}
|
||||
|
||||
$tpl = new Template($phpgw_info["server"]["template_dir"]);
|
||||
$tpl = CreateObject('phpgwapi.Template',$phpgw_info["server"]["template_dir"]);
|
||||
$tpl->set_unknowns("remove");
|
||||
$tpl->set_file(array("head" => "head.tpl"));
|
||||
$tpl->set_var("website_title", $phpgw_info["server"]["site_title"]);
|
||||
|
@ -1,7 +1,7 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="http://www.phpgroupware.org" target="_new"><img src="{webserver_url}/phpGroupWare.jpg" border="0"></a>
|
||||
<a href="http://www.phpgroupware.org" target="_new"><img src="{webserver_url}/logo.gif" border="0"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -17,7 +17,7 @@
|
||||
$bodyheader = "BGCOLOR=\"".$phpgw_info["theme"]["bg_color"]."\"";
|
||||
}
|
||||
|
||||
$tpl = new Template($phpgw_info["server"]["template_dir"]);
|
||||
$tpl = CreateObject('phpgwapi.Template',$phpgw_info["server"]["template_dir"]);
|
||||
$tpl->set_unknowns("remove");
|
||||
$tpl->set_file(array("head" => "head.tpl"));
|
||||
$tpl->set_var("webserver_url", $phpgw_info["server"]["webserver_url"]);
|
||||
|
@ -1,7 +1,7 @@
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="http://www.phpgroupware.org" target="_new"><img src="{webserver_url}/phpGroupWare.jpg" border="0"></a>
|
||||
<a href="http://www.phpgroupware.org" target="_new"><img src="{webserver_url}/logo.gif" border="0"></a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -16,7 +16,7 @@
|
||||
$bodyheader .= "topmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" leftmargin=\"0\"";
|
||||
}
|
||||
|
||||
$tpl = new Template($phpgw_info["server"]["template_dir"]);
|
||||
$tpl = CreateObject('phpgwapi.Template',$phpgw_info["server"]["template_dir"]);
|
||||
$tpl->set_unknowns("remove");
|
||||
$tpl->set_file(array("head" => "head.tpl"));
|
||||
$tpl->set_var("website_title", $phpgw_info["server"]["site_title"]);
|
||||
|
Loading…
Reference in New Issue
Block a user