From: pdontthink Date: Tue, 23 Jan 2007 03:37:36 +0000 (+0000) Subject: Somehow went missing options.php and config file, minor adjustments to template outpu... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b5f6b9452c7d47e9f21d8d123555d0ebcad0c09b;p=squirrelmail.git Somehow went missing options.php and config file, minor adjustments to template output formatting. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12189 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/plugins/listcommands/config_sample.php b/plugins/listcommands/config_sample.php new file mode 100644 index 00000000..590b3e41 --- /dev/null +++ b/plugins/listcommands/config_sample.php @@ -0,0 +1,22 @@ +|\s)/', $recipients)) { $url = 'src/compose.php?' . (isset($startMessage)?'startMessage='.$startMessage.'&':'') . 'send_to=' . str_replace('?','&', $non_rfc_list); diff --git a/plugins/listcommands/options.php b/plugins/listcommands/options.php new file mode 100644 index 00000000..22e998e5 --- /dev/null +++ b/plugins/listcommands/options.php @@ -0,0 +1,78 @@ + $list_addr) + $temp_lists[] = $index . '_' . $list_addr; + setPref($data_dir, $username, 'non_rfc_lists', implode(':', $temp_lists)); + +} + + + +// add list? +// +if (sqGetGlobalVar('addlist', $ignore, SQ_FORM) + && sqGetGlobalVar('newlist', $newlist, SQ_FORM)) { + + $lists[] = $newlist; + + sort($lists); + $temp_lists = array(); + foreach ($lists as $index => $list_addr) + $temp_lists[] = $index . '_' . $list_addr; + setPref($data_dir, $username, 'non_rfc_lists', implode(':', $temp_lists)); + +} + + + +displayPageHeader($color, 'None'); + +$oTemplate->assign('lists', $lists); +$oTemplate->display('plugins/listcommands/non_rfc_lists.tpl'); + + diff --git a/plugins/listcommands/templates/default/non_rfc_lists.tpl b/plugins/listcommands/templates/default/non_rfc_lists.tpl index 04202fd1..a3bc876c 100644 --- a/plugins/listcommands/templates/default/non_rfc_lists.tpl +++ b/plugins/listcommands/templates/default/non_rfc_lists.tpl @@ -24,42 +24,33 @@ extract($t); -?>
- +?> +
+
- - + - - - - - -
- + +
 Manage the (non-RFC-compliant) mailing lists that you are subscribed to for the purpose of providing one-click list replies when responding to list messages. You only need to enter any lists you are subscribed to that do not already comply with RFC 2369.

When entering a new list, input the full email address for the address from which list postings are delivered.

Manage the (non-RFC-compliant) mailing lists that you are subscribed to for the purpose of providing one-click list replies when responding to list messages. You only need to enter any lists you are subscribed to that do not already comply with RFC 2369.

When entering a new list, input the full email address for the main list.
 
- - - - - - + - -
+ : + - " size="30" />
  
: - + +
: + $list) { echo ''; @@ -69,6 +60,7 @@ extract($t);
' . $list . '
+