isAdmin()) die('Access Denied'); $info = $qs = array(); if($email && $_REQUEST['a']!='add'){ $title=__('Update Email Address'); $action='update'; $submit_text=__('Save Changes'); $info=$email->getInfo(); $info['id']=$email->getId(); if($info['mail_delete']) $info['postfetch']='delete'; elseif($info['mail_archivefolder']) $info['postfetch']='archive'; else $info['postfetch']=''; //nothing. if($info['userpass']) $passwdtxt=__('To change password enter new password above.'); $qs += array('id' => $email->getId()); }else { $title=__('Add New Email Address'); $action='create'; $submit_text=__('Submit'); $info['ispublic']=isset($info['ispublic'])?$info['ispublic']:1; $info['ticket_auto_response']=isset($info['ticket_auto_response'])?$info['ticket_auto_response']:1; $info['message_auto_response']=isset($info['message_auto_response'])?$info['message_auto_response']:1; if (!$info['mail_fetchfreq']) $info['mail_fetchfreq'] = 5; if (!$info['mail_fetchmax']) $info['mail_fetchmax'] = 10; if (!isset($info['smtp_auth'])) $info['smtp_auth'] = 1; $qs += array('a' => $_REQUEST['a']); } $info=Format::htmlchars(($errors && $_POST)?$_POST:$info, true); ?>

 
  
 
 
 
 
   
   
    
     
  
  
  
 
  
  
 


    
    
 
 
     
: