diff --git a/phpgwapi/inc/footer.inc.php b/phpgwapi/inc/footer.inc.php index 28cc892e94..3801c4a9b2 100644 --- a/phpgwapi/inc/footer.inc.php +++ b/phpgwapi/inc/footer.inc.php @@ -34,21 +34,9 @@ $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("showpoweredbyon",$phpgw_info["server"]["showpoweredbyon"]); + $tpl->set_var("version",$phpgw_info["server"]["versions"]["phpgwapi"]); echo $tpl->finish($tpl->parse("out","footer")); - - // This will need to be converted into the classic template - -/* if ($phpgw_info["server"]["showpoweredbyon"] == "bottom" && $phpgw_info["server"]["showpoweredbyon"] != "top") { - echo "

\n"; - echo "\n"; - echo " "; - if ($phpgw_info["flags"]["parent_page"]) - echo ""; - echo "\n
"; - echo "

\n" . lang("Powered by phpGroupWare version x", - $phpgw_info["server"]["versions"]["phpgwapi"]) . "
\n"; - echo "

link($phpgw_info["flags"]["parent_page"])."\">".lang("up")."
\n"; - } */ $phpgw->db->disconnect(); ?> diff --git a/phpgwapi/inc/phpgw_info.inc.php b/phpgwapi/inc/phpgw_info.inc.php index dfed211265..9b99158a7b 100644 --- a/phpgwapi/inc/phpgw_info.inc.php +++ b/phpgwapi/inc/phpgw_info.inc.php @@ -28,10 +28,6 @@ echo "!!! PLEASE CORRECT THIS SITUATION !!!"; } - if (empty($phpgw_info["server"]["template_set"])){ - $phpgw_info["server"]["template_set"] = "default"; - } - if (!isset($phpgw_domain)) { // make them fix their header echo "The administration is required to upgrade the header.inc.php file before you can continue."; exit; diff --git a/phpgwapi/templates/default/footer.tpl b/phpgwapi/templates/default/footer.tpl index 8b13789179..6dbed987ab 100644 --- a/phpgwapi/templates/default/footer.tpl +++ b/phpgwapi/templates/default/footer.tpl @@ -1 +1,29 @@ + +

+ + + + +
+

Powered by phpGroupWare version {version}
+

+ + + +