Changeset 3331 for branches/2.2/phpgwapi/templates/default/navbar.inc.php
- Timestamp:
- 10/06/10 10:53:41 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/phpgwapi/templates/default/navbar.inc.php
r1705 r3331 265 265 '</script>'; 266 266 } 267 268 269 if(($GLOBALS['phpgw_info']['user']['lastpasswd_change'] == '0') && (($GLOBALS['phpgw_info']['user']['agree_terms'] == 1) || ($GLOBALS['phpgw_info']['server']['use_agree_term']!='True'))) 267 268 if (!$GLOBALS['phpgw_info']['server']['max_password_age']) 269 $GLOBALS['phpgw_info']['server']['max_password_age'] = 90; 270 271 if(($GLOBALS['phpgw_info']['user']['lastpasswd_change'] == '0' && (($GLOBALS['phpgw_info']['user']['agree_terms'] == 1) || ($GLOBALS['phpgw_info']['server']['use_agree_term']!='True'))) || 272 ($GLOBALS['phpgw_info']['user']['lastpasswd_change'] < time() - (86400*$GLOBALS['phpgw_info']['server']['max_password_age']))) 270 273 { 271 274 $changepasswd_url = $_SERVER['HTTP_HOST'] . $GLOBALS['phpgw_info']['server']['webserver_url'] . '/preferences/changepassword.php?cd=1';
Note: See TracChangeset
for help on using the changeset viewer.