mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Minor speed enhancements. Also cleans up a few warning messages.
This commit is contained in:
parent
6396f3f8e6
commit
5693fa9b96
@ -79,8 +79,7 @@
|
||||
if ($phpgw_info["user"]["lastpasswd_change"] == 0) {
|
||||
$api_messages = lang("You are required to change your password during your first login")
|
||||
. '<br> Click this image on the navbar: <img src="'
|
||||
. $phpgw_info["server"]["webserver_url"] . '/preferences/templates/'
|
||||
. $phpgw_info["server"]["template_set"] . '/images/navbar.gif">';
|
||||
. $phpgw->common->image('preferences','navbar.gif').'">';
|
||||
} else if ($phpgw_info["user"]["lastpasswd_change"] < time() - (86400*30)) {
|
||||
$api_messages = lang("it has been more then x days since you changed your password",30);
|
||||
}
|
||||
|
@ -37,8 +37,8 @@
|
||||
$title = '<img src="' . $app[1]['icon'] . '" alt="' . $app[1]['title'] . '" title="'
|
||||
. lang($app[1]['title']) . '" border="0" name="' . $app[0] . '">';
|
||||
|
||||
$img_src_over = $phpgw_info['server']['webserver_url'] . '/' . $app[0] . '/templates/idsociety/images/navbar-over.gif';
|
||||
$img_src_out = $phpgw_info['server']['webserver_url'] . '/' . $app[0] . '/templates/idsociety/images/navbar.gif';
|
||||
$img_src_over = $phpgw->common->image($app[0],'navbar-over.gif');
|
||||
$img_src_out = $phpgw->common->image($app[0],'navbar.gif');
|
||||
|
||||
// onMouseOver="two.src='rollover/admin_over.gif'" onMouseOut="two.src='images/admin.gif'"><img src="images/admin.gif" border="0" name="two"
|
||||
$applications .= '<tr><td><a href="' . $app[1]['url'] . '"';
|
||||
@ -51,7 +51,7 @@
|
||||
$applications .= $title . '</a></td></tr>';
|
||||
$applications .= "\n";
|
||||
}
|
||||
$pre_load[] = $phpgw_info['server']['webserver_url'] . '/' . $app[0] . '/templates/idsociety/images/navbar-over.gif';
|
||||
$pre_load[] = $phpgw->common->image($app[0],'navbar-over.gif');
|
||||
}
|
||||
|
||||
$tpl->set_var('app_images',implode("','",$pre_load));
|
||||
@ -112,7 +112,7 @@
|
||||
{
|
||||
$api_messages = lang('You are required to change your password during your first login')
|
||||
. '<br> Click this image on the navbar: <img src="'
|
||||
. $phpgw->common->get_image_path('preferences').'/navbar.gif">';
|
||||
. $phpgw->common->image('preferences','navbar.gif').'">';
|
||||
}
|
||||
elseif ($phpgw_info['user']['lastpasswd_change'] < time() - (86400*30))
|
||||
{
|
||||
|
@ -78,8 +78,7 @@
|
||||
/* if ($phpgw_info["user"]["lastpasswd_change"] == 0) {
|
||||
$api_messages = lang("You are required to change your password during your first login")
|
||||
. '<br> Click this image on the navbar: <img src="'
|
||||
. $phpgw_info["server"]["webserver_url"] . '/preferences/templates/'
|
||||
. $phpgw_info["server"]["template_set"] . '/images/navbar.gif">';
|
||||
. $phpgw->common->image('preferences','navbar.gif').'">';
|
||||
} else if ($phpgw_info["user"]["lastpasswd_change"] < time() - (86400*30)) {
|
||||
$api_messages = lang("it has been more then x days since you changed your password",30);
|
||||
}
|
||||
|
@ -105,8 +105,7 @@
|
||||
{
|
||||
$api_messages = lang('You are required to change your password during your first login')
|
||||
. '<br> Click this image on the navbar: <img src="'
|
||||
. $phpgw_info['server']['webserver_url'] . '/preferences/templates/'
|
||||
. $phpgw_info['server']['template_set'] . '/images/navbar.gif">';
|
||||
. $phpgw->common->image('preferences','navbar.gif').'">';
|
||||
}
|
||||
else if ($phpgw_info['user']['lastpasswd_change'] < time() - (86400*30))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user