Can anyone tell me where the code is for the Log Out button???? Which file?
			
			
			
				bump - come on - someone has to know this  ---
			
			
			
				Is it 'skins/[your skin]/includes/taskbar.html' what you are looking for?
-Roland
			
			
			
				thanks, roland---
			
			
			
				Quote from: rosali;12412Is it 'skins/[your skin]/includes/taskbar.html' what you are looking for?
-Roland
No, that's not it--- I would like to try to mod the code for the log out ----
			
 
			
			
				Latest SVN release:
The functions are triggered in index.php ...
  $RCMAIL->logout_actions();
  $RCMAIL->kill_session();
The functions itself are located in the rcmail class (/program/include/rcmail.php) ...
  /**
   * Destroy session data and remove cookie
   */
  public function kill_session()
  {
    $user_prefs = $this->user->get_prefs();
    
    if ((isset($_SESSION['sort_col']) && $_SESSION['sort_col'] != $user_prefs['message_sort_col']) ||
        (isset($_SESSION['sort_order']) && $_SESSION['sort_order'] != $user_prefs['message_sort_order'])) {
      $this->user->save_prefs(array('message_sort_col' => $_SESSION['sort_col'], 'message_sort_order' => $_SESSION['sort_order']));
    }
    $_SESSION = array('language' => $USER->language, 'auth_time' => time(), 'temp' => true);
    setcookie('sessauth', '-del-', time() - 60);
    $this->user->reset();
  }
  /**
   * Do server side actions on logout
   */
  public function logout_actions()
  {
    $config = $this->config->all();
    
    // on logout action we're not connected to imap server  
    if (($config['logout_purge'] && !empty($config['trash_mbox'])) || $config['logout_expunge']) {
      if (!$this->authenticate_session())
        return;
      $this->imap_init(true);
    }
    if ($config['logout_purge'] && !empty($config['trash_mbox'])) {
      $this->imap->clear_mailbox($config['trash_mbox']);
    }
    if ($config['logout_expunge']) {
      $this->imap->expunge('INBOX');
    }
  }
-Roland