;ò
¢)?Bc           @   s=  d  Z  d k Z d k Z d k Z d k Z d k Z d k l Z d k l	 Z	 d k l
 Z
 d k l Z d k l Z d k l Z d k l Z d	 k Td
 k l Z d Z d Z e i Z e i e	 i ƒ y e e f Wn e j
 o d Z d Z n Xd „  Z d d „ Z d „  Z d „  Z d „  Z d „  Z d „  Z  d S(   s&   Produce and handle the member options.N(   s   ListType(   s   mm_cfg(   s   Utils(   s   MailList(   s   Errors(   s   MemberAdaptor(   s   i18n(   s   *(   s   syslogs   /iÿÿÿÿi   i    c    6   
   C   sù  t  ƒ  }3 |3 i t i ƒ t i ƒ  }* |* o
 t |* ƒ } |* p
 | d j  or t
 d ƒ } |3 i | ƒ |3 i t d | ƒ ƒ |3 i t
 d ƒ ƒ |3 i d ƒ |3 i t ƒ  ƒ |3 i ƒ  GHd  Sn |* d i ƒ  } y t i | d d ƒ}. Wn¨ t i j
 o™ }1 t i | ƒ } t
 d ƒ } |3 i | ƒ |3 i t d | ƒ ƒ |3 i t
 d ƒ ƒ |3 i d ƒ |3 i t ƒ  ƒ |3 i ƒ  GHt d	 d
 | |1 ƒ d  Sn Xt i d d ƒ } | i d ƒ } t i! | ƒ o |. i" } n t# i | ƒ |3 i | ƒ | d j  oi | i d ƒ }/ |/ oN | i d ƒ o |3 i t
 d ƒ ƒ n t% |. |3 t& | ƒ |3 i ƒ  GHd  Sq‡n& t i' t i( t) i* |* d ƒ ƒ ƒ }/ t i |/ ƒ }  y t i, |/ ƒ WnK t i- j
 o< |3 i t
 d ƒ ƒ t% |. |3 t& | ƒ |3 i ƒ  GHd  Sn X|. i. |/ ƒ o |. i/ d j o9 |3 i t
 d ƒ ƒ t% |. |3 t& | ƒ |3 i ƒ  GHd  Sn |/ i ƒ  } y |. i1 | ƒ } Wn t i3 j
 o t& } n X| | j o
 t& } n | i d ƒ }! t i! |! ƒ o |. i5 |/ ƒ }! n |3 i |! ƒ t# i |! ƒ t& }% | i7 d ƒ o | d i8 }% nb t9 i: i; d ƒ oN t i< t9 i: d ƒ i; d ƒ }
 |
 o t> |
 ƒ t? i@ j o |
 d }% qyn |% o! tA |. |3 |/ | |! |% ƒ d  Sn | i7 d ƒ o|. i. |/ ƒ o‡ zu |. iB ƒ  |. iC o* |. iD |/ ƒ |3 i t
 d ƒ d d ƒn* |. iE |/ |! ƒ |3 i t
 d ƒ d d ƒ|. iF ƒ  Wd  |. iG ƒ  XnQ |. i/ d j o |3 i t
 d ƒ ƒ n* t d d |/ ƒ |3 i t
 d ƒ d d ƒt% |. |3 |/ | ƒ |3 i ƒ  GHd  Sn | i7 d ƒ o° |. i. |/ ƒ o* |. iH |/ ƒ |3 i t
 d ƒ d d ƒnQ |. i/ d j o |3 i t
 d ƒ ƒ n* t d d |/ ƒ |3 i t
 d ƒ d d ƒt% |. |3 |/ | ƒ |3 i ƒ  GHd  Sn | i d d ƒ iI ƒ  } |. iK t iL t iM t iN f | |/ ƒ ow | i7 d ƒ oA |3 i t
 d ƒ ƒ |. i/ d j o t d d  |/ ƒ t& }/ qn t% |. |3 |/ | ƒ |3 i ƒ  GHd  Sn | i7 d! ƒ o: |. iO t iL |/ ƒ GHt% |. |3 |/ | ƒ |3 i ƒ  GHd  Sn | i7 d" ƒ o? |. iH |/ ƒ tP |. |3 |/ | |! t
 d ƒ ƒ |3 i ƒ  GHd  Sn | i7 d# ƒ o|. iQ }) t
 d$ ƒ } |3 i | ƒ |3 i t d | ƒ ƒ |3 i t
 d% ƒ ƒ g  }' xU tT |. |/ ƒ |. g D]= }, |, iV |/ ƒ }2 tX |2 |, iY ƒ }  |' i[ |, iY |  f ƒ qGW|' i\ ƒ  t] g  i[ }4 |' D] \ }	 }  |4 |  ƒ q£~4 Œ  } |3 i | ƒ |3 i ƒ  GHd  Sn | i7 d& ƒ ol| i d' ƒ } t ib | | ƒ } | i d( ƒ } | i d) ƒ }- |. ie |/ ƒ } d } } | i d* ƒ }& | o
 | | j o
 d } n | o | o
 d } n d } | o |- oý | |- j o2 tP |. |3 |/ | |! t
 d+ ƒ ƒ |3 i ƒ  GHd  Sn | | j o2 tP |. |3 |/ | |! t
 d, ƒ ƒ |3 i ƒ  GHd  Sn |. i. | ƒ oe t i | ƒ }$ |& o |. iY } | t
 d- ƒ 7} qš
tP |. |3 |/ | |! t
 d. ƒ ƒ |3 i ƒ  GHd  Sn d } nI | p |- o | o2 tP |. |3 |/ | |! t
 d/ ƒ ƒ |3 i ƒ  GHd  Sn |. d0 „ } tm im tm in | ƒ | oÏ | t& j o
 |/ } n | t
 d1 ƒ 7} |. iB ƒ  y3 z! |. io | | |& ƒ |. iF ƒ  Wd  |. iG ƒ  XWqát ip j
 o t
 d2 ƒ } qát iq j
 o t
 d3 ƒ } qát ir j
 o t
 d4 ƒ } qáXn | oM |. iB ƒ  z! |. is |/ | |& ƒ |. iF ƒ  Wd  |. iG ƒ  X| t
 d5 ƒ 7} n tP |. |3 |/ | |! | ƒ |3 i ƒ  GHd  Sn | i7 d6 ƒ o<| i d7 ƒ } | i d8 ƒ } | p | o2 tP |. |3 |/ | |! t
 d9 ƒ ƒ |3 i ƒ  GHd  Sn | | j o2 tP |. |3 |/ | |! t
 d: ƒ ƒ |3 i ƒ  GHd  Sn |. g } | i d; ƒ o | iw tT |. |/ ƒ ƒ n x! | D] }, tx |, |/ | | ƒ qJW|. iy t iL |/ ƒ GHtP |. |3 |/ | |! t
 d< ƒ ƒ |3 i ƒ  GHd  Sn | i7 d= ƒ oz| i d> ƒ o2 tP |. |3 |/ | |! t
 d? ƒ ƒ |3 i ƒ  GHd  Sn |. d0 „ } tm im tm in | ƒ |. iB ƒ  tz } zG y |. i| |/ d@ dA d ƒWn t i} j
 o t~ } n X|. iF ƒ  Wd  |. iG ƒ  X|. i ƒ  } |. i ƒ  } |. iƒ dB dC d ƒ}2 t
 dD ƒ } |3 i | ƒ |3 i t d | ƒ ƒ | o |3 i t
 dE ƒ ƒ n |3 i t
 dF ƒ ƒ |3 i |. i„ ƒ  ƒ |3 i ƒ  GHd  Sn | i7 dG ƒ ofd } d } d }0 g  }5 x«dH t i‰ f dI t iŠ f dJ t i‹ f dK t iŒ f dL t i f dM t iŽ f dN t i f dO t i f dP t i‘ f f	 D]7\ } } y t” | i | ƒ ƒ }" Wn t– t— f j
 o t& }" n X|" t& j o qÒn | t i j o_ |. i˜ |/ ƒ }+ |" o |+ tš i› j o tš i› }" q¼|" o |+ tš i› j o tš iœ }" q¼qÒn! |" |. i |/ | ƒ j o qÒn | t i‰ j o |" d j o |. i |/ | ƒ o
 d } n |5 i[ | |" f ƒ qÒW|! |. iž ƒ  j o |5 i[ tŸ |. i" f ƒ n |5 i[ tŸ |! f ƒ | i dQ ƒ } | oR t¡ | t@ ƒ o | g } n g  i[ }4 | D] }# |4 t£ i¤ |# ƒ ƒ q~4 } n |. d0 „ } |. iB ƒ  zÞ tm im tm in | ƒ xª |5 D]¢ \ } }" | tŸ j o |. i¥ |/ |" ƒ qè| t i j o |. i¦ |/ |" ƒ qèy |. i§ |/ | |" ƒ Wqèt i¨ j
 o d } qèt i© j
 o d }0 qèXqèW|. iª |/ | ƒ |. iF ƒ  Wd  |. iG ƒ  XdR f  dS „  ƒ  Y} | ƒ  }( | i dT ƒ o9 x6 |5 D]* \ } }" | t i j o |" |( _­ PqêqêWn | i dU ƒ o9 x6 |5 D]* \ } }" | t i j o |" |( _® Pq3q3Wn | i dV ƒ o9 x6 |5 D]* \ } }" | t i‘ j o |" |( _¯ Pq|q|Wn | i dW ƒ o9 x6 |5 D]* \ } }" | t iŠ j o |" |( _° PqÅqÅWn |( o. x+ tT |. |/ ƒ D] }, t± |, |/ |( ƒ qWn | o t
 dX ƒ } n$ |0 o t
 dY ƒ } n t
 dZ ƒ } | o | t
 d[ ƒ 7} n tP |. |3 |/ | |! | ƒ |3 i ƒ  GHd  Sn |. i. |/ ƒ o tP |. |3 |/ | |! ƒ n t% |. |3 |/ |! ƒ |3 i ƒ  GHd  S(\   Ni   s   CGI script errori   s   Invalid options to CGI script.s   <hr>i    s   locks&   No such list <em>%(safelistname)s</em>s   errors   No such list "%s": %s
s   keep_blank_valuess   languages   emails   UserOptionss   No address givens#   Illegal Email Address: %(safeuser)ss   No such member: %(safeuser)s.s   VARHELPs   QUERY_STRINGs   login-unsubsj   Your unsubscription request has been
                    forwarded to the list administrator for approval.s   tags    s%   The confirmation email has been sent.s   mischiefs2   Unsub attempt of non-member w/ private rosters: %ss   login-reminds4   A reminder of your password has been emailed to you.s5   Reminder attempt of non-member w/ private rosters: %ss   passwords   Authentication failed.s&   Login failure with private rosters: %ss   logouts   emailpws	   othersubss3   List subscriptions for %(safeuser)s on %(hostname)ssR   Click on a link to visit your options page for the
        requested mailing list.s   change-of-addresss   fullnames   new-addresss   confirm-addresss   changeaddr-globallys   Addresses did not match!s(   You are already using that email addresssü   The new address you requested %(newaddr)s is already a member of the
%(listname)s mailing list, however you have also requested a global change of
address.  Upon confirmation, any other mailing list containing the address
%(safeuser)s will be changed. s0   The new address is already a member: %(newaddr)ss   Addresses may not be blankc         C   s   | i ƒ  t i d ƒ d  S(   Ni    (   s   mlists   Unlocks   syss   exit(   s   signums   frames   mlist(    (    s#   /var/mailman/Mailman/Cgi/options.pys   sigterm_handler`  s    
s5   A confirmation message has been sent to %(newaddr)s. s   Bad email address provideds   Illegal email address provideds,   %(newaddr)s is already a member of the list.s"   Member name successfully changed. s   changepws   newpws   confpws   Passwords may not be blanks   Passwords did not match!s   pw-globallys   Password successfully changed.s   unsubs   unsubconfirms¯   You must confirm your unsubscription request by turning
                on the checkbox below the <em>Unsubscribe</em> button.  You
                have not been unsubscribed!s   via the member options pages   useracks   listinfos   absolutes   Unsubscription resultssÙ   Your unsubscription request has been received and
            forwarded on to the list moderators for approval.  You will
            receive notification once the list moderators have made their
            decision.s-  You have been successfully unsubscribed from the
            mailing list %(fqdn_listname)s.  If you were receiving digest
            deliveries you may get one more digest.  If you have any questions
            about your unsubscription, please contact the list owners at
            %(owneraddr)s.s   options-submits   digests   mimes   dontreceives   ackpostss   disablemails   conceals   reminds   rcvtopics   nodupess	   usertopics   Globalc           B   s)   t  Z e Z e Z e Z e Z d „  Z RS(   Nc         C   s   t  |  i i ƒ  ƒ d j Sd  S(   Ni    (   s   lens   selfs   __dict__s   keys(   s   self(    (    s#   /var/mailman/Mailman/Cgi/options.pys   __nonzero__@  s    (   s   __name__s
   __module__s   Nones   enables   reminds   nodupess   mimes   __nonzero__(    (    (    s#   /var/mailman/Mailman/Cgi/options.pys   Global;  s
   s   deliver-globallys   remind-globallys   nodupes-globallys   mime-globallys¼   The list administrator has disabled digest delivery for
            this list, so your delivery option has not been set.  However your
            other options have been set successfully.sÀ   The list administrator has disabled non-digest delivery
            for this list, so your delivery option has not been set.  However
            your other options have been set successfully.s'   You have successfully set your options.s   You may get one last digest.(²   s   Documents   docs   set_languages   mm_cfgs   DEFAULT_SERVER_LANGUAGEs   Utilss   GetPathPiecess   partss   lens   lenpartss   _s   titles   SetTitles   AddItems   Headers   addErrors   MailmanLogos   Formats   lowers   listnames   MailLists   mlists   Errorss   MMListErrors   es   websafes   safelistnames   syslogs   cgis   FieldStorages   cgidatas   getvalues   languages
   IsLanguages   preferred_languages   i18ns   users	   loginpages   Nones   LCDomains   UnobscureEmails   SLASHs   joins   safeusers   ValidateEmails   EmailAddressErrors   isMembers   private_rosters   lcusers   getMemberCPAddresss   cpusers   NotAMemberErrors   userlangs   getMemberLanguages   varhelps   has_keys   values   oss   environs   gets   parse_qss   qss   types   typess   ListTypes   topic_detailss   Locks   unsubscribe_policys   HoldUnsubscriptions   ConfirmUnsubscriptions   Saves   Unlocks   MailUserPasswords   strips   passwords   WebAuthenticates   AuthUsers   AuthListAdmins   AuthSiteAdmins	   ZapCookies   options_pages	   host_names   hostnames   onlistss   lists_of_members   gmlists   GetOptionsURLs   urls   Links	   real_names   links   appends   sorts   OrderedLists   _[1]s   names   itemss
   membernames   canonstrs   newaddrs   confirmaddrs   getMemberNames   oldnames   set_addresss   set_membernames   globallys   msgs   safenewaddrs   sigterm_handlers   signals   SIGTERMs   ChangeMemberAddresss   MMBadEmailErrors   MMHostileAddresss   MMAlreadyAMembers   ChangeMemberNames   newpws	   confirmpws   mlistss   extends   change_passwords
   MakeCookies   Falses   needapprovals   DeleteMembers   MMNeedApprovals   Trues   GetListEmails   fqdn_listnames   GetOwnerEmails	   owneraddrs   GetScriptURLs   GetMailmanFooters
   digestwarns
   cantdigests
   mustdigests   newvalss   Digestss   DisableMimes   DontReceiveOwnPostss   AcknowledgePostss   DisableDeliverys   ConcealSubscriptions   SuppressPasswordReminders   ReceiveNonmatchingTopicss   DontReceiveDuplicatess   items   flags   ints   newvals	   TypeErrors
   ValueErrors   getDeliveryStatuss   statuss   MemberAdaptors   ENABLEDs   BYUSERs   getMemberOptions   GetAvailableLanguagess   SETLANGUAGEs
   topicnamess
   isinstances   ns   urllibs   unquote_pluss   setMemberLanguages   setDeliveryStatuss   setMemberOptions   CantDigestErrors   MustDigestErrors   setMemberTopicss   Globals
   globaloptss   enables   reminds   nodupess   mimes   global_options(6   s   safeusers   sigterm_handlers   titles   oldnames   fqdn_listnames   listnames   newaddrs   needapprovals   passwords   names   qss
   topicnamess   newpws   Globals   items
   membernames
   digestwarns   set_membernames   mlistss	   confirmpws   languages   itemss   lenpartss
   cantdigests	   owneraddrs   set_addresss   safelistnames   cgidatas   msgs   lcusers   cpusers   flags   links   userlangs   newvals   ns   safenewaddrs   varhelps   globallys   onlistss
   globaloptss   hostnames   partss   statuss   gmlists   confirmaddrs   mlists   users
   mustdigests   es   urls   docs   _[1]s   newvals(    (    s#   /var/mailman/Mailman/Cgi/options.pys   main2   sò   		%	!



 

	 
3


	


 
 	 
 s 
0
4
 
 	 	 	 	 	 s    c         C   s¡  d | _ |  i o? t i | d d ƒ} | t	 j	 o t i | d d ƒ} qX n | } t i
 |  i | ƒ | ƒ } | o | d | 7} n |  i | ƒ } t t d | ƒ ƒ i ƒ  | d <|  i t i d | ƒ | d <|  i t i d | ƒ | d <|  i t i d | ƒ | d	 <|  i t i d | ƒ | d
 <t d d d d ƒi ƒ  | d <|  i t i d | ƒ | d <|  i t i d | ƒ | d <|  i | ƒ | d <|  i t i d | ƒ | d <|  i t i d | ƒ | d <|  i t i d | ƒ | d <|  i t i d | ƒ | d <|  i t i d | ƒ | d <|  i t i d | ƒ | d <|  i t i d | ƒ | d <|  i t i d | ƒ | d <|  i t i d | ƒ | d <|  i t i d | ƒ | d <|  i  d t! d ƒ ƒ d t d d d d ƒi ƒ  t! d ƒ | d  <|  i" d! ƒ | d" <|  i" d# ƒ | d$ <|  i  d% t! d& ƒ ƒ | d' <|  i  d( t! d) ƒ ƒ | d* <|  i# d+ | ƒ | d, <| | d- <| | d. <|  i  d/ t! d0 ƒ ƒ | d1 <|  i$ | t! d2 ƒ ƒ | d3 <|  i  d4 t! d5 ƒ ƒ | d6 <|  i  d7 t! d8 ƒ ƒ | d9 <t d: d d d ƒi ƒ  | d; <t d< d d d ƒi ƒ  | d= <t d> d d d ƒi ƒ  | d? <t d@ d d d ƒi ƒ  | dA <t% t i& t i' d ƒ ƒ } | d j o t! dB ƒ } n t! dC ƒ } t! dD ƒ | dE <|  i) dF ƒ | dG <|  i) dH ƒ | dI <|  i  dJ t! dK ƒ ƒ | dL <t dM d d d ƒi ƒ  | dN <|  i) dO dP | ƒ| dQ <|  i* | ƒ } |  i, o½ t- dR dS ƒ } x› |  i, D] \ } }
 } } t3 i4 | ƒ } t6 |  i7 d+ ƒ dT | | f dU ƒ } | | j o
 d }	 n d }	 | i: t dV | d |	 ƒ| | i ƒ  g ƒ qdW| i ƒ  } n t! dW ƒ } | | dX <|  i t i< d | ƒ | dY <|  i t i< d | ƒ | dZ <| t	 j	 o t! d[ ƒ | d\ <n d] | d\ <| i= |  i> d^ | | ƒ ƒ d  S(_   Ni   s   for_texts   , %ss   +1s   <mm-results>s   <mm-digest-radio-button>i    s   <mm-undigest-radio-button>s   <mm-plain-digests-button>s   <mm-mime-digests-button>s   mime-globallys   checkeds   <mm-global-mime-button>s   <mm-delivery-enable-button>s   <mm-delivery-disable-button>s   <mm-disabled-notice>s   <mm-dont-ack-posts-button>s   <mm-ack-posts-button>s   <mm-receive-own-mail-button>s!   <mm-dont-receive-own-mail-button>s&   <mm-dont-get-password-reminder-button>s!   <mm-get-password-reminder-button>s   <mm-public-subscription-button>s   <mm-hide-subscription-button>s#   <mm-dont-receive-duplicates-button>s   <mm-receive-duplicates-button>s   unsubs   Unsubscribes   <br>s   unsubconfirms*   <em>Yes, I really want to unsubscribe</em>s   <mm-unsubscribe-button>s   newpws   <mm-new-pass-box>s   confpws   <mm-confirm-pass-box>s   changepws   Change My Passwords   <mm-change-pass-button>s	   othersubss   List my other subscriptionss   <mm-other-subscriptions-submit>s   optionss   <mm-form-start>s	   <mm-user>s   <mm-presentable-user>s   emailpws   Email My Password To Mes   <mm-email-my-pw>s   passwords   <mm-umbrella-notice>s   logouts   Log outs   <mm-logout-button>s   options-submits   Submit My Changess   <mm-options-submit-button>s   pw-globallys   <mm-global-pw-changes-button>s   deliver-globallys   <mm-global-deliver-button>s   remind-globallys   <mm-global-remind-button>s   nodupes-globallys   <mm-global-nodupes-button>s   dayss   days   %(days)d %(units)ss   <mm-pending-days>s   new-addresss   <mm-new-address-box>s   confirm-addresss   <mm-confirm-address-box>s   change-of-addresss   Change My Address and Names   <mm-change-address-button>s   changeaddr-globallys   <mm-global-change-of-address>s   fullnames   values   <mm-fullname-box>s   borders   0s   /%s/?VARHELP=%ss
    (Details)s	   usertopics   <em>No topics defined</em>s   <mm-topics>s    <mm-suppress-nonmatching-topics>s   <mm-receive-nonmatching-topics>sU   
You are subscribed to this list with the case-preserved address
<em>%(cpuser)s</em>.s   <mm-case-preserved-user>s    s   options.html(?   s   docs   suppress_heads   mlists   obscure_addressess   Utilss   ObscureEmails   users   presentable_users   cpusers   Nones
   uncanonstrs   getMemberNames   userlangs   fullnames   GetStandardReplacementss   replacementss   Bolds   FontSizes   messages   Formats   FormatOptionButtons   mm_cfgs   Digestss   DisableMimes   CheckBoxs   DisableDeliverys   FormatDisabledNotices   AcknowledgePostss   DontReceiveOwnPostss   SuppressPasswordReminders   ConcealSubscriptions   DontReceiveDuplicatess   FormatButtons   _s   FormatSecureBoxs   FormatFormStarts   FormatUmbrellaNotices   ints   PENDING_REQUEST_LIFEs   dayss   unitss	   FormatBoxs   getMemberTopicss
   usertopicss   topicss   Tables   tables   names   patterns   descriptions	   emptyflags   urllibs
   quote_pluss
   quotednames   Links   GetScriptURLs   detailss   checkeds   AddRows   topicsfields   ReceiveNonmatchingTopicss   AddItems	   ParseTags(   s   mlists   docs   users   cpusers   userlangs   messages   tables	   emptyflags   replacementss   checkeds   patterns   detailss   unitss   descriptions
   usertopicss   presentable_users   names
   quotednames   dayss   topicsfields   fullname(    (    s#   /var/mailman/Mailman/Cgi/options.pys   options_page€  sš    	
C	



 	
0

c      	   C   sæ  |  i }
 |  i d ƒ } | t j o t d ƒ } t d ƒ } n1 t
 i | ƒ } t d ƒ } t
 i | ƒ }	 d } | i | ƒ t d d d d	 d
 d d d ƒ } | i t t d | ƒ ƒ g ƒ | i | i ƒ  d	 d t i ƒt |  i ƒ  ƒ d j oy t | ƒ } | i t d t d ƒ ƒ ƒ | i |  i  | ƒ ƒ | o | i t" d | ƒ ƒ n | i t | ƒ g ƒ n | i | ƒ t | ƒ } t d d d d	 d
 d d d ƒ } | i t d ƒ g ƒ t d d d d	 d
 d d d ƒ } | t j o/ | i t% t d ƒ ƒ t& d d d ƒg ƒ n | i t" d | ƒ g ƒ | i t% t d ƒ ƒ t' d d d ƒg ƒ | i t t d t d ƒ ƒ ƒ g ƒ | i | i ƒ  d	 d d ƒ| i t | ƒ g ƒ | i t t d t d ƒ ƒ ƒ g ƒ | i | i ƒ  d	 d t i ƒ| i t d ƒ g ƒ | i t t d  t d ƒ ƒ ƒ g ƒ | i t t d t d! ƒ ƒ ƒ g ƒ | i | i ƒ  d	 d t i ƒ| i t d" ƒ g ƒ | i t t d# t d$ ƒ ƒ ƒ g ƒ | i | ƒ | i | ƒ | i |  i( ƒ  ƒ d  S(%   Ns   optionss,   %(realname)s list: member options login pages   email address and s7   %(realname)s list: member options for user %(safeuser)ss    s   widths   100%s   borderi    s   cellspacingi   s   cellpaddingi   i   s   bgcolori   s   displang-buttons   View this page ins   emails?  In order to change your membership option, you must
    first log in by giving your %(extra)smembership password in the section
    below.  If you don't remember your membership password, you can have it
    emailed to you by clicking on the button below.  If you just want to
    unsubscribe from this list, click on the <em>Unsubscribe</em> button and a
    confirmation message will be sent to you.

    <p><strong><em>Important:</em></strong> From this point on, you must have
    cookies enabled in your browser, otherwise none of your changes will take
    effect.
    s   50%s   Email address:s   sizei   s	   Password:s   passwords   logins   Log ins   colspans   Unsubscribes  By clicking on the <em>Unsubscribe</em> button, a
    confirmation message will be emailed to you.  This message will have a
    link that you should click on to complete the removal process (you can
    also confirm by email; see the instructions in the confirmation
    message).s   login-unsubs   Password remindersT   By clicking on the <em>Remind</em> button, your
    password will be emailed to you.s   login-reminds   Remind()   s   mlists	   real_names   realnames   GetScriptURLs	   actionurls   users   Nones   _s   titles   extras   Utilss   websafes   safeusers   ObscureEmails   obusers   docs   SetTitles   Tables   tables   AddRows   Centers   Headers   AddCellInfos   GetCurrentRowIndexs   mm_cfgs   WEB_HEADER_COLORs   lens   GetAvailableLanguagess   Forms   langforms   AddItems   SubmitButtons   GetLangSelectBoxs   langs   Hiddens   forms   ptables   Labels   TextBoxs   PasswordBoxs   GetMailmanFooter(   s   mlists   docs   users   langs   safeusers   extras   tables   forms   titles   obusers   realnames   langforms   ptables	   actionurl(    (    s#   /var/mailman/Mailman/Cgi/options.pys	   loginpage  s^    	!!!/+%%%%%c         C   s™   |  i } g  } x t i ƒ  D]q } | |  i ƒ  j o q n t i | d d ƒ} | i | j o q n | i
 | ƒ o q n | i | ƒ q W| Sd  S(   Ns   locki    (   s   mlists	   host_names   hostnames   onlistss   Utilss
   list_namess   listnames   internal_names   MailLists   glists   isMembers   users   append(   s   mlists   users   listnames   hostnames   glists   onlists(    (    s#   /var/mailman/Mailman/Cgi/options.pys   lists_of_member`  s    	 c         C   sY   |  d „ } |  i ƒ  z1 t i t i | ƒ |  i | | ƒ |  i ƒ  Wd  |  i	 ƒ  Xd  S(   Nc         C   s   | i ƒ  t i d ƒ d  S(   Ni    (   s   mlists   Unlocks   syss   exit(   s   signums   frames   mlist(    (    s#   /var/mailman/Mailman/Cgi/options.pys   sigterm_handleru  s    
(
   s   mlists   sigterm_handlers   Locks   signals   SIGTERMs   setMemberPasswords   users   newpws   Saves   Unlock(   s   mlists   users   newpws	   confirmpws   sigterm_handler(    (    s#   /var/mailman/Mailman/Cgi/options.pys   change_passwordq  s    	
 c         C   sD  xJ t  | ƒ D]8 } | i d ƒ o q n t | | ƒ t j	 o Pq q Wd  S|  d „ } |  i ƒ  zÏ t	 i	 t	 i
 | ƒ | i t j	 o |  i | | i ƒ n | i t j	 o |  i | t i | i ƒ n | i t j	 o |  i | t i | i ƒ n | i t j	 o |  i | t i | i ƒ n |  i ƒ  Wd  |  i ƒ  Xd  S(   Ns   _c         C   s   | i ƒ  t i d ƒ d  S(   Ni    (   s   mlists   Unlocks   syss   exit(   s   signums   frames   mlist(    (    s#   /var/mailman/Mailman/Cgi/options.pys   sigterm_handler–  s    
(   s   dirs
   globaloptss   attrs
   startswiths   getattrs   Nones   mlists   sigterm_handlers   Locks   signals   SIGTERMs   enables   setDeliveryStatuss   users   reminds   setMemberOptions   mm_cfgs   SuppressPasswordReminders   nodupess   DontReceiveDuplicatess   mimes   DisableMimes   Saves   Unlock(   s   mlists   users
   globaloptss   attrs   sigterm_handler(    (    s#   /var/mailman/Mailman/Cgi/options.pys   global_optionsŒ  s0     		
 c         C   s  | i d ƒ } t } t d ƒ } t | ƒ d j oO t i	 | d ƒ } x9 |  i D]$ \ } }
 } }	 | | j o PqQ qQ Wt } n | o2 t |  | | | | t d ƒ ƒ | i ƒ  GHd  Sn t d d d d	 ƒ } | i t t t d
 ƒ ƒ ƒ g ƒ | i | i ƒ  d d d d t i ƒ| i t t t d ƒ ƒ ƒ t i  | ƒ g ƒ | i t t t d ƒ ƒ ƒ d t i  |
 ƒ d g ƒ | i t t t d ƒ ƒ ƒ t i  | ƒ g ƒ x0 t! d d ƒ D] } | i | d d t i# ƒq»Wt |  | | | | | i ƒ  ƒ | i ƒ  GHd  S(   Ns   /s	   <missing>i   i    s+   Requested topic is not valid: %(topicname)ss   borderi   s   widths   100%s   Topic filter detailss   colspani   s   bgcolors   Name:s   Pattern (as regexp):s   <pre>s   </pre>s   Description:i   ($   s   varhelps   splits   reflists   Nones   names   _s	   topicnames   lens   urllibs   unquote_pluss   mlists   topicss   patterns   descriptions	   emptyflags   options_pages   docs   users   cpusers   userlangs   Formats   Tables   tables   AddRows   Centers   Bolds   AddCellInfos   GetCurrentRowIndexs   mm_cfgs   WEB_SUBHEADER_COLORs   Labels   Utilss   websafes   ranges   rows   WEB_ADMINITEM_COLOR(   s   mlists   docs   users   cpusers   userlangs   varhelps   reflists   tables   descriptions	   emptyflags   patterns   rows	   topicnames   name(    (    s#   /var/mailman/Mailman/Cgi/options.pys   topic_details¸  s6    
 	
".6. (!   s   __doc__s   syss   oss   cgis   signals   urllibs   typess   ListTypes   Mailmans   mm_cfgs   Utilss   MailLists   Errorss   MemberAdaptors   i18ns   Mailman.htmlformats   Mailman.Logging.Syslogs   syslogs   SLASHs   SETLANGUAGEs   _s   set_languages   DEFAULT_SERVER_LANGUAGEs   Trues   Falses	   NameErrors   mains   options_pages	   loginpages   lists_of_members   change_passwords   global_optionss   topic_details(   s   Errorss   lists_of_members   global_optionss   syslogs   MemberAdaptors   MailLists   urllibs	   loginpages   mains   Trues   cgis   SETLANGUAGEs   ListTypes   syss   mm_cfgs   SLASHs   i18ns   _s   topic_detailss   Falses   signals   change_passwords   options_pages   oss   Utils(    (    s#   /var/mailman/Mailman/Cgi/options.pys   ?   s@   							ÿ ÿ PŒ	T			,