Finished message sorting and fixed some skin issues
| | |
| | | } |
| | | |
| | | // check session cookie and auth string |
| | | else if ($_action!='login' && $sess_auth) |
| | | else if ($_action!='login' && $sess_auth && $_SESSION['user_id']) |
| | | { |
| | | if ($_auth !== $sess_auth || $_auth != rcmail_auth_hash($_SESSION['client_id'], $_SESSION['auth_time']) || |
| | | ($CONFIG['session_lifetime'] && $SESS_CHANGED + $CONFIG['session_lifetime']*60 < mktime())) |
| | |
| | | |
| | | this.switch_task = function(task) |
| | | { |
| | | if (this.task===task) |
| | | if (this.task===task && task!='mail') |
| | | return; |
| | | |
| | | var url = this.get_task_url(task); |
| | | if (task=='mail') |
| | | url += '&_mbox=INBOX'; |
| | | |
| | | this.set_busy(true); |
| | | location.href = this.get_task_url(task); |
| | | location.href = url; |
| | | }; |
| | | |
| | | |