mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
fixed red button logic problem
This commit is contained in:
parent
b9a41b61c4
commit
9098612395
@ -45,13 +45,13 @@
|
||||
$tpl->set_var("help_link",$phpgw_info["navbar"]["about"]["url"]);
|
||||
|
||||
$ir = $phpgw_info["server"]["webserver_url"] . "/phpgwapi/templates/verdilak/images";
|
||||
if (ereg($phpgw_info["server"]["webserver_url"] . "/index.php",$PHP_SELF)) {
|
||||
if ($phpgw_info["flags"]["currentapp"] == "home") {
|
||||
$tpl->set_var("welcome_img",$ir . "/welcome-red.gif");
|
||||
} else {
|
||||
$tpl->set_var("welcome_img",$ir . "/welcome-grey.gif");
|
||||
}
|
||||
|
||||
if (ereg("preferences",$PHP_SELF)) {
|
||||
if ($phpgw_info["flags"]["currentapp"] == "preferences") {
|
||||
$tpl->set_var("preferences_img",$ir . "/preferences-red.gif");
|
||||
} else {
|
||||
$tpl->set_var("preferences_img",$ir . "/preferences-grey.gif");
|
||||
|
Loading…
Reference in New Issue
Block a user