Source for file options.php
Documentation is available at options.php
-  * SquirrelMail List Commands Plugin 
-  * Shows options page for managing non-RFC-compliant list subscriptions. 
-  * @copyright 1999-2020 The SquirrelMail Project Team 
-  * @license http://opensource.org/licenses/gpl-license.php GNU Public License 
-  * @version $Id: options.php 14845 2020-01-07 08:09:34Z pdontthink $ 
-  * @subpackage listcommands 
- include_once('../../include/init.php'); 
- include_once(SM_PATH - .  'plugins/listcommands/functions.php');
 
- global $listcommands_allow_non_rfc_list_management, $data_dir, $username; 
- // only allow management of non-RFC lists if admin deems necessary 
- @include_once(SM_PATH - .  'plugins/listcommands/config.php');
 
- if (!$listcommands_allow_non_rfc_list_management) 
- if (sqGetGlobalVar('deletelist', $deletelist, SQ_FORM)  
-  &&  is_array($deletelist)- &&  !empty($deletelist)) {
-    // interface currently does not support multiple deletions at once 
-    // but we'll support it here anyway -- the index values of this 
-    // array are the only thing we care about and need to be the  
-    // index number of the list to be deleted  
-     foreach ($lists as $index - =>  $list_addr)
 
-         $temp_lists[] - =  $index- .  '_'- .  $list_addr;
 
-     setPref($data_dir, $username, 'non_rfc_lists', implode(':', $temp_lists)); 
- if (sqGetGlobalVar('addlist', $ignore, SQ_FORM)  
-  &&  sqGetGlobalVar('newlist', $newlist, SQ_FORM)) {
-     foreach ($lists as $index - =>  $list_addr)
 
-         $temp_lists[] - =  $index- .  '_'- .  $list_addr;
 
-     setPref($data_dir, $username, 'non_rfc_lists', implode(':', $temp_lists)); 
- $oTemplate->assign('lists', $lists); 
- $oTemplate->display('plugins/listcommands/non_rfc_lists.tpl'); 
- $oTemplate->display('footer.tpl'); 
 
	
		Documentation generated on Mon, 13 Jan 2020 04:23:12 +0100 by phpDocumentor 1.4.3