mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02:00
Bottom row will only show up if the powered by section is on the bottom
This commit is contained in:
parent
6bfe707ddd
commit
6e63f1172f
@ -82,19 +82,17 @@
|
|||||||
|
|
||||||
function parse_navbar_end()
|
function parse_navbar_end()
|
||||||
{
|
{
|
||||||
global $phpgw_info, $phpgw;
|
global $phpgw_info, $phpgw;
|
||||||
if ($phpgw_info["server"]["showpoweredbyon"] == "bottom") {
|
if ($phpgw_info["server"]["showpoweredbyon"] == "bottom") {
|
||||||
$msg = "<P><P>\n" . lang("Powered by phpGroupWare version x", $phpgw_info["server"]["versions"]["phpgwapi"]);
|
$msg = "<P><P>\n" . lang("Powered by phpGroupWare version x", $phpgw_info["server"]["versions"]["phpgwapi"]);
|
||||||
}
|
|
||||||
|
|
||||||
$tpl = new Template($phpgw_info["server"]["template_dir"]);
|
$tpl = new Template($phpgw_info["server"]["template_dir"]);
|
||||||
$tpl->set_unknowns("remove");
|
$tpl->set_unknowns("remove");
|
||||||
|
|
||||||
$tpl->set_file(array("footer" => "footer.tpl"));
|
|
||||||
$tpl->set_var("img_root",$phpgw_info["server"]["webserver_url"] . "/phpgwapi/templates/verdilak/images");
|
|
||||||
$tpl->set_var("table_bg_color",$phpgw_info["theme"]["navbar_bg"]);
|
|
||||||
$tpl->set_var("msg",$msg);
|
|
||||||
$tpl->set_var("version",$phpgw_info["server"]["versions"]["phpgwapi"]);
|
|
||||||
echo $tpl->finish($tpl->parse("out","footer"));
|
|
||||||
|
|
||||||
|
$tpl->set_file(array("footer" => "footer.tpl"));
|
||||||
|
$tpl->set_var("table_bg_color",$phpgw_info["theme"]["navbar_bg"]);
|
||||||
|
$tpl->set_var("msg",$msg);
|
||||||
|
$tpl->set_var("version",$phpgw_info["server"]["versions"]["phpgwapi"]);
|
||||||
|
echo $tpl->finish($tpl->parse("out","footer"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user