;ò
¢)?Bc           @   s  d  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 Td	 k l 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 d „ Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z  d „  Z! d „  Z" d „  Z# d „  Z$ d „  Z% d „  Z& d „  Z' d S(    s!   Confirm a pending action via URL.N(   s   mm_cfg(   s   Errors(   s   i18n(   s   MailList(   s   Pending(   s   UserDesc(   s   *(   s   syslogi   i    c          C   sÎ  t  ƒ  }
 |
 i t i ƒ t i ƒ  } | p t | ƒ d j  o- t	 |
 ƒ |
 i
 t ƒ  ƒ |
 i ƒ  GHd  Sn | d i ƒ  } y t i | d d ƒ} Wnl t i j
 o] }	 t i | ƒ } t	 |
 t d ƒ ƒ |
 i
 t ƒ  ƒ |
 i ƒ  GHt d d | |	 ƒ d  Sn Xt i | i ƒ |
 i | i ƒ t i d d ƒ } | i d ƒ } | d	 j o t | |
 t d
 ƒ ƒ d  Sn | o t | ƒ d j o | d } n t | ƒ d j o0 t	 |
 ƒ |
 i
 | i  ƒ  ƒ |
 i ƒ  GHd  Sn | o t | |
 ƒ d  Sn t! t i" t i# d ƒ d ƒ } | i$ d d d ƒ}  t i | ƒ } t d ƒ } | i( | d t) ƒ} | t+ j o3 t	 |
 | ƒ |
 i
 | i  ƒ  ƒ |
 i ƒ  GHd  Sn yç| d t, i- j of | i d ƒ o t. | |
 | ƒ q…| i d ƒ o t/ | |
 | | ƒ q…t0 | |
 | | d ƒ nj| d t, i1 j o  yc | i d ƒ o t2 | |
 | ƒ n< | i d ƒ o t3 | |
 | ƒ n t4 | |
 | | d Œ Wq…t i5 j
 o' |
 i6 t d ƒ ƒ t7 | | ƒ q…Xn¶| d t, i8 j o  | i d ƒ o t9 | |
 | ƒ q…| i d ƒ o t: | |
 | ƒ q…y t; | |
 | | d Œ Wq…t i5 j
 o' |
 i6 t d ƒ ƒ t7 | | ƒ q…Xn| d t, i< j oc | i d ƒ o t= | |
 | ƒ q…| i d ƒ o t> | |
 | ƒ q…t? | |
 | | d Œ n‹ | d t, i@ j oc | i d ƒ o tA | |
 | ƒ q…| i d ƒ o tB | |
 | ƒ q…tC | |
 | | d Œ n t	 |
 t d ƒ ƒ Wn# t iD j
 o t	 |
 | ƒ n X|
 i
 | i  ƒ  ƒ |
 i ƒ  GHd  S(   Ni   i    s   locks&   No such list <em>%(safelistname)s</em>s   errors   No such list "%s": %ss   keep_blank_valuess   cookies    s   Confirmation string was empty.i   f0.5s   confirms   absolutesR  <b>Invalid confirmation string:</b>
    %(safecookie)s.

    <p>Note that confirmation strings expire approximately
    %(days)s days after the initial subscription request.  If your
    confirmation has expired, please try to re-submit your subscription.
    Otherwise, <a href="%(confirmurl)s">re-enter</a> your confirmation
    string.s   expunges   cancels   submits·   The address requesting unsubscription is not
                a member of the mailing list.  Perhaps you have already been
                unsubscribed, e.g. by the list administrator?s’   The address requesting to be changed has
                    been subsequently unsubscribed.  This request has been
                    cancelled.s&   System error, bad content: %(content)s(E   s   Documents   docs   set_languages   mm_cfgs   DEFAULT_SERVER_LANGUAGEs   Utilss   GetPathPiecess   partss   lens   bad_confirmations   AddItems   MailmanLogos   Formats   lowers   listnames   MailLists   mlists   Errorss   MMListErrors   es   websafes   safelistnames   _s   syslogs   i18ns   preferred_languages   cgis   FieldStorages   cgidatas   getvalues   cookies   ask_for_cookies   GetMailmanFooters   ints   PENDING_REQUEST_LIFEs   dayss   GetScriptURLs
   confirmurls
   safecookies   badconfirmstrs   pend_confirms   Falses   contents   Nones   Pendings   SUBSCRIPTIONs   subscription_cancels   subscription_confirms   subscription_prompts   UNSUBSCRIPTIONs   unsubscription_cancels   unsubscription_confirms   unsubscription_prompts   NotAMemberErrors   addErrors   expunges   CHANGE_OF_ADDRESSs   addrchange_cancels   addrchange_confirms   addrchange_prompts   HELD_MESSAGEs   heldmsg_cancels   heldmsg_confirms   heldmsg_prompts	   RE_ENABLEs   reenable_cancels   reenable_confirms   reenable_prompts   MMBadConfirmation(   s
   confirmurls   safelistnames   contents   partss   cgidatas   badconfirmstrs   mlists   cookies   listnames   es   docs   dayss
   safecookie(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   main,   s²    	
	
 	s    c      
   C   sX   t  d ƒ } |  i | ƒ |  i t d t t | d d d d ƒƒ ƒ ƒ |  i | ƒ d  S(   Ns   Bad confirmation stringi   s   colors   #ff0000s   sizes   +2(	   s   _s   titles   docs   SetTitles   AddItems   Headers   Bolds   FontAttrs   extra(   s   docs   extras   title(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   bad_confirmation­   s    .c         C   s3   |  i ƒ  z |  i | d t ƒWd  |  i ƒ  Xd  S(   Ns   expunge(   s   mlists   Locks   pend_confirms   cookies   Trues   Unlock(   s   mlists   cookie(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   expunge´   s
    
 c         C   s°  t  d ƒ } | i | ƒ t |  i d d ƒ ƒ } t d d d d ƒ } | i
 t t t | d d	 ƒƒ ƒ g ƒ | i | i ƒ  d d
 d d t i ƒ| oB | i
 t t | d d	 ƒƒ g ƒ | i | i ƒ  d d
 d ƒn | i
 t  d ƒ g ƒ | i | i ƒ  d d
 d ƒ| i
 t t  d ƒ ƒ t d ƒ g ƒ | i
 t t d t  d ƒ ƒ ƒ g ƒ | i | i ƒ  d d
 d ƒ| i | ƒ | i | ƒ | i |  i ƒ  ƒ | i ƒ  GHd  S(   Ns   Enter confirmation cookies   confirmi   s   borderi    s   widths   100%s   sizes   +1s   colspani   s   bgcolorsÑ   Please enter the confirmation string
    (i.e. <em>cookie</em>) that you received in your email message, in the box
    below.  Then hit the <em>Submit</em> button to proceed to the next
    confirmation step.s   Confirmation string:s   cookies   submit_cookies   Submit(   s   _s   titles   docs   SetTitles   Forms   mlists   GetScriptURLs   forms   Tables   tables   AddRows   Centers   Bolds   FontAttrs   AddCellInfos   GetCurrentRowIndexs   mm_cfgs   WEB_HEADER_COLORs   extras   Labels   TextBoxs   SubmitButtons   AddItems   GetMailmanFooters   Format(   s   mlists   docs   extras   forms   titles   table(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   ask_for_cookieÀ   s&    (" %%c      
   C   s5  | i }	 | i } | i } | i } t i | i	 | ƒ } t i | ƒ | i | ƒ t d ƒ } | i | ƒ t |  i d d ƒ ƒ }
 t d d d d ƒ } | i t t t | d d	 ƒƒ ƒ g ƒ | i | i ƒ  d d
 d d t i ƒ|  i } t d ƒ d } |  i" d d f j o t d ƒ d } n | i | g ƒ | i | i ƒ  d d
 d ƒ| i t# t d ƒ ƒ |	 g ƒ | i t# t d ƒ ƒ t$ d | ƒ g ƒ |  i% o |  i& oP | i t# t d ƒ ƒ t' d t d ƒ t d ƒ f d | d d d f ƒg ƒ n |  i( ƒ  } g  i* } | D] } | t t i- | ƒ ƒ ƒ q~ } y | i/ | ƒ } Wn% t1 j
 o | i/ |  i2 ƒ } n X| i t# t d ƒ ƒ t3 d | | | ƒ g ƒ | i t4 d | ƒ g ƒ | i | i ƒ  d d
 d ƒ| i t# t6 d t d ƒ ƒ ƒ t6 d t d  ƒ ƒ g ƒ |
 i7 | ƒ | i7 |
 ƒ d  S(!   Ns   Confirm subscription requests   confirmi   s   borderi    s   widths   100%s   sizes   +1s   colspani   s   bgcolors¸  Your confirmation is required in order to complete the
    subscription request to the mailing list <em>%(listname)s</em>.  Your
    subscription settings are shown below; make any necessary changes and hit
    <em>Subscribe</em> to complete the confirmation process.  Once you've
    confirmed your subscription request, you will be shown your account
    options page which you can use to further customize your membership
    options.

    <p>Note: your password will be emailed to you once your subscription is
    confirmed.  You can change it by visiting your personal options page.

    <p>Or hit <em>Cancel my subscription request</em> if you no longer want to
    subscribe to this list.s   <p><hr>i   s&  Your confirmation is required in order to continue with
        the subscription request to the mailing list <em>%(listname)s</em>.
        Your subscription settings are shown below; make any necessary changes
        and hit <em>Subscribe to list ...</em> to complete the confirmation
        process.  Once you've confirmed your subscription request, the
        moderator must approve or reject your membership request.  You will
        receive notice of their decision.

        <p>Note: your password will be emailed to you once your subscription
        is confirmed.  You can change it by visiting your personal options
        page.

        <p>Or, if you've changed your mind and do not want to subscribe to
        this mailing list, you can hit <em>Cancel my subscription
        request</em>.s   Your email address:s   Your real name:s   realnames   Receive digests?s   digestss   Nos   Yess   checkeds   valuess   Preferred language:s   languages   cookies   cancels   Cancel my subscription requests   submits   Subscribe to list %(listname)s(8   s   userdescs   addresss   emails   passwords   digests   languages   langs   Utilss
   uncanonstrs   fullnames   names   i18ns   set_languages   docs   _s   titles   SetTitles   Forms   mlists   GetScriptURLs   forms   Tables   tables   AddRows   Centers   Bolds   FontAttrs   AddCellInfos   GetCurrentRowIndexs   mm_cfgs   WEB_HEADER_COLORs	   real_names   listnames   results   subscribe_policys   Labels   TextBoxs   nondigestables
   digestables   RadioButtonArrays   GetAvailableLanguagess   langss   appends   _[1]s   ls   GetLanguageDescrs   valuess   indexs   selecteds
   ValueErrors   preferred_languages   SelectOptionss   Hiddens   cookies   SubmitButtons   AddItem(   s   mlists   docs   cookies   userdescs   results   tables   digests   titles   selecteds   emails   forms   langss   passwords   langs   listnames   names   ls   _[1]s   values(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   subscription_promptÞ   sJ    				(	(0 6.7c         C   sM   |  i | ƒ d } | i } t i | ƒ | i | ƒ | i	 t
 d ƒ ƒ d  S(   Ni   s,   You have canceled your subscription request.(   s   mlists   pend_confirms   cookies   userdescs   languages   langs   i18ns   set_languages   docs   AddItems   _(   s   mlists   docs   cookies   langs   userdesc(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   subscription_cancel6  s
    	c         C   sÞ  |  d „ } |  i } |  i ƒ  z­y.| i d ƒ } t i	 | ƒ o |  i
 } n t i | ƒ | i | ƒ | i d ƒ o9 y t | i d ƒ ƒ } Wq» t j
 o t } q» Xn t } |  i | d t ƒd } | i d t ƒ } | t j	 o t i | | ƒ } n t d | d | d	 | ƒ } | | 7} |  i | | ƒ \ } } }
 } } Wnâ t i  j
 o[ t! d
 ƒ }	 | i# |	 ƒ | i$ t% d t& t' |	 d d ƒƒ ƒ ƒ | i$ t! d ƒ ƒ nt i( j
 o t) | t! d ƒ ƒ nÞ t i* j
 o | i+ t! d ƒ ƒ n¶ t i, j
 o | i+ t! d ƒ ƒ nŽ Xt i | ƒ | i | ƒ |  i } t! d ƒ }	 |  i- | d d ƒ} | i# |	 ƒ | i$ t% d t& t' |	 d d ƒƒ ƒ ƒ | i$ t! d ƒ ƒ |  i/ ƒ  Wd  |  i0 ƒ  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/confirm.pys   sigterm_handlerC  s    
s   languages   digestss   expungei   s   realnames   fullnames   digests   langs   Awaiting moderator approvali   s   sizes   +2s_              You have successfully confirmed your subscription request to the
            mailing list %(listname)s, however final approval is required from
            the list moderator before you will be subscribed.  Your request
            has been forwarded to the list moderator, and you will be notified
            of the moderator's decision.s¤   Invalid confirmation string.  It is
            possible that you are attempting to confirm a request for an
            address that has already been unsubscribed.s.   You are already a member of this mailing list!s¢               You were not invited to this mailing list.  The invitation has
            been discarded, and both list administrators have been
            alerted.s   Subscription request confirmeds   absolutes™              You have successfully confirmed your subscription request for
            "%(addr)s" to the %(listname)s mailing list.  A separate
            confirmation message will be sent to your email address, along
            with your password, and other useful information and links.

            <p>You can now
            <a href="%(optionsurl)s">proceed to your membership login
            page</a>.(1   s   mlists   sigterm_handlers	   real_names   listnames   Locks   cgidatas   getvalues   langs   Utilss
   IsLanguages   preferred_languages   i18ns   set_languages   docs   has_keys   ints   digests
   ValueErrors   Nones   pend_confirms   cookies   Falses   userdescs   fullnames   canonstrs   UserDescs	   overridess   ProcessConfirmations   ops   addrs   pws   Errorss   MMNeedApprovals   _s   titles   SetTitles   AddItems   Headers   Bolds   FontAttrs   NotAMemberErrors   bad_confirmations   MMAlreadyAMembers   addErrors   HostileSubscriptionErrors   GetOptionsURLs
   optionsurls   Saves   Unlock(   s   mlists   docs   cookies   cgidatas
   optionsurls   userdescs   sigterm_handlers   digests   addrs   titles   pws   langs   listnames   fullnames	   overridess   op(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   subscription_confirm@  sZ    	

%(	(	 c         C   s$   t  |  | ƒ | i t d ƒ ƒ d  S(   Ns.   You have canceled your unsubscription request.(   s   expunges   mlists   cookies   docs   AddItems   _(   s   mlists   docs   cookie(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   unsubscription_cancel  s    c   
      C   s1  |  d „ } |  i ƒ  z	y] |  i | d t ƒ\ }	 } |  i | ƒ } t
 i | ƒ | i | ƒ |  i | ƒ \ }	 } Wn) t i j
 o t | t d ƒ ƒ nt X|  i } t d ƒ } |  i d d d ƒ} | i | ƒ | i t d t t | d	 d
 ƒƒ ƒ ƒ | i t d ƒ ƒ |  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/confirm.pys   sigterm_handler™  s    
s   expunges¤   Invalid confirmation string.  It is
            possible that you are attempting to confirm a request for an
            address that has already been unsubscribed.s    Unsubscription request confirmeds   listinfos   absolutei   i   s   sizes   +2s½               You have successfully unsubscribed from the %(listname)s mailing
            list.  You can now <a href="%(listinfourl)s">visit the list's main
            information page</a>.(   s   mlists   sigterm_handlers   Locks   pend_confirms   cookies   Falses   ops   addrs   getMemberLanguages   langs   i18ns   set_languages   docs   ProcessConfirmations   Errorss   NotAMemberErrors   bad_confirmations   _s	   real_names   listnames   titles   GetScriptURLs   listinfourls   SetTitles   AddItems   Headers   Bolds   FontAttrs   Saves   Unlock(
   s   mlists   docs   cookies   langs   listnames   addrs   titles   sigterm_handlers   listinfourls   op(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   unsubscription_confirm–  s(    
	( c   
      C   s½  t  d ƒ } | i | ƒ |  i | ƒ } t i	 | ƒ | i	 | ƒ t
 |  i d d ƒ ƒ } t d d d d ƒ } | i t t t | d d	 ƒƒ ƒ g ƒ | i | i ƒ  d d
 d d t i ƒ|  i } |  i | ƒ }	 |	 t j o t  d ƒ }	 n t i |	 | ƒ }	 | i t  d ƒ d g ƒ | i | i ƒ  d d
 d ƒ| i t d | ƒ g ƒ | i | i ƒ  d d
 d ƒ| i t  d t  d ƒ ƒ t  d t  d ƒ ƒ g ƒ | i! | ƒ | i! | ƒ d  S(   Ns   Confirm unsubscription requests   confirmi   s   borderi    s   widths   100%s   sizes   +1s   colspani   s   bgcolors   <em>Not available</em>sµ  Your confirmation is required in order to complete the
    unsubscription request from the mailing list <em>%(listname)s</em>.  You
    are currently subscribed with

    <ul><li><b>Real name:</b> %(fullname)s
        <li><b>Email address:</b> %(addr)s
    </ul>

    Hit the <em>Unsubscribe</em> button below to complete the confirmation
    process.

    <p>Or hit <em>Cancel and discard</em> to cancel this unsubscription
    request.s   <p><hr>s   cookies   submits   Unsubscribes   cancels   Cancel and discard("   s   _s   titles   docs   SetTitles   mlists   getMemberLanguages   addrs   langs   i18ns   set_languages   Forms   GetScriptURLs   forms   Tables   tables   AddRows   Centers   Bolds   FontAttrs   AddCellInfos   GetCurrentRowIndexs   mm_cfgs   WEB_HEADER_COLORs	   real_names   listnames   getMemberNames   fullnames   Nones   Utilss
   uncanonstrs   Hiddens   cookies   SubmitButtons   AddItem(
   s   mlists   docs   cookies   addrs   tables   titles   forms   langs   listnames   fullname(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   unsubscription_prompt¼  s,    (	1c         C   s$   t  |  | ƒ | i t d ƒ ƒ d  S(   Ns1   You have canceled your change of address request.(   s   expunges   mlists   cookies   docs   AddItems   _(   s   mlists   docs   cookie(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   addrchange_cancelç  s    c         C   s:  |  d „ }	 |  i ƒ  zyf |  i | d t ƒ\ } } } } |  i
 | ƒ } t i | ƒ | i | ƒ |  i | ƒ \ } } } Wn) t i j
 o t | t d ƒ ƒ nt X|  i }
 t d ƒ } |  i | d d ƒ} | i | ƒ | i t d t t | d d	 ƒƒ ƒ ƒ | i t d
 ƒ ƒ |  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/confirm.pys   sigterm_handlerñ  s    
s   expunges¤   Invalid confirmation string.  It is
            possible that you are attempting to confirm a request for an
            address that has already been unsubscribed.s#   Change of address request confirmeds   absolutei   i   s   sizes   +2sû               You have successfully changed your address on the %(listname)s
            mailing list from <b>%(oldaddr)s</b> to <b>%(newaddr)s</b>.  You
            can now <a href="%(optionsurl)s">proceed to your membership
            login page</a>.(    s   mlists   sigterm_handlers   Locks   pend_confirms   cookies   Falses   ops   oldaddrs   newaddrs   globallys   getMemberLanguages   langs   i18ns   set_languages   docs   ProcessConfirmations   Errorss   NotAMemberErrors   bad_confirmations   _s	   real_names   listnames   titles   GetOptionsURLs
   optionsurls   SetTitles   AddItems   Headers   Bolds   FontAttrs   Saves   Unlock(   s   mlists   docs   cookies   langs   globallys   newaddrs   titles
   optionsurls   oldaddrs   sigterm_handlers   listnames   op(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   addrchange_confirmî  s(    
!	( c         C   sÚ  t  d ƒ } | i | ƒ |  i | ƒ }
 t i	 |
 ƒ | i	 |
 ƒ t
 |  i d d ƒ ƒ }	 t d d d d ƒ } | i t t t | d d	 ƒƒ ƒ g ƒ | i | i ƒ  d d
 d d t i ƒ|  i } |  i | ƒ } | t j o t  d ƒ } n t i | |
 ƒ } | o t  d ƒ } n d } | i t  d ƒ d g ƒ | i | i ƒ  d d
 d ƒ| i t  d | ƒ g ƒ | i | i ƒ  d d
 d ƒ| i t" d t  d ƒ ƒ t" d t  d ƒ ƒ g ƒ |	 i# | ƒ | i# |	 ƒ d  S(   Ns!   Confirm change of address requests   confirmi   s   borderi    s   widths   100%s   sizes   +1s   colspani   s   bgcolors   <em>Not available</em>s   globallys    sK  Your confirmation is required in order to complete the
    change of address request for the mailing list <em>%(listname)s</em>.  You
    are currently subscribed with

    <ul><li><b>Real name:</b> %(fullname)s
        <li><b>Old email address:</b> %(oldaddr)s
    </ul>

    and you have requested to %(globallys)s change your email address to

    <ul><li><b>New email address:</b> %(newaddr)s
    </ul>

    Hit the <em>Change address</em> button below to complete the confirmation
    process.

    <p>Or hit <em>Cancel and discard</em> to cancel this change of address
    request.s   <p><hr>s   cookies   submits   Change addresss   cancels   Cancel and discard($   s   _s   titles   docs   SetTitles   mlists   getMemberLanguages   oldaddrs   langs   i18ns   set_languages   Forms   GetScriptURLs   forms   Tables   tables   AddRows   Centers   Bolds   FontAttrs   AddCellInfos   GetCurrentRowIndexs   mm_cfgs   WEB_HEADER_COLORs	   real_names   listnames   getMemberNames   fullnames   Nones   Utilss
   uncanonstrs   globallys	   globallyss   Hiddens   cookies   SubmitButtons   AddItem(   s   mlists   docs   cookies   oldaddrs   newaddrs   globallys   tables   titles	   globallyss   forms   langs   listnames   fullname(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   addrchange_prompt  s2    (	1c         C   s©   t  d ƒ } | i | ƒ t d d d d ƒ } | i t t t	 | d d ƒƒ ƒ g ƒ | i
 | i ƒ  d d t i ƒt |  | ƒ | i t  d	 ƒ g ƒ | i | ƒ d  S(
   Ns   Continue awaiting approvals   borderi    s   widths   100%s   sizes   +1s   bgcolors_   Okay, the list moderator will still have the
    opportunity to approve or reject this message.(   s   _s   titles   docs   SetTitles   Tables   tables   AddRows   Centers   Bolds   FontAttrs   AddCellInfos   GetCurrentRowIndexs   mm_cfgs   WEB_HEADER_COLORs   expunges   mlists   cookies   AddItem(   s   mlists   docs   cookies   titles   table(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   heldmsg_cancelJ  s    (c         C   sM  |  d „ } |  i ƒ  z%yŽ |  i | ƒ \ } } |  i | ƒ \ } }
 } } } } t i | ƒ } |  i |
 ƒ } t i | ƒ | i | ƒ |  i | t i t d ƒ ƒ Wn) t i j
 o t | t d ƒ ƒ n_ X|  i }	 t d ƒ } | i | ƒ | i t d t  t! | d d ƒƒ ƒ ƒ | i t d ƒ ƒ |  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/confirm.pys   sigterm_handler\  s    
s!   Sender discarded message via web.s  The held message with the Subject:
            header <em>%(subject)s</em> could not be found.  The most likely
            reason for this is that the list moderator has already approved or
            rejected the message.  You were not able to cancel it in
            time.s   Posted message canceledi   s   sizes   +2s®               You have successfully canceled the posting of your message with
            the Subject: header <em>%(subject)s</em> to the mailing list
            %(listname)s.($   s   mlists   sigterm_handlers   Locks   pend_confirms   cookies   ops   ids	   GetRecords   igns   senders
   msgsubjects   Utilss   websafes   subjects   getMemberLanguages   langs   i18ns   set_languages   docs   HandleRequests   mm_cfgs   DISCARDs   _s   Errorss   LostHeldMessages   bad_confirmations	   real_names   listnames   titles   SetTitles   AddItems   Headers   Bolds   FontAttrs   Saves   Unlock(   s   mlists   docs   cookies   ids   subjects   titles   igns
   msgsubjects   langs   listnames   senders   sigterm_handlers   op(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   heldmsg_confirmY  s,    
!	( c         C   s:  t  d ƒ } | i | ƒ t |  i d d ƒ ƒ } t d d d d ƒ } | i
 t t t | d d	 ƒƒ ƒ g ƒ | i | i ƒ  d d
 d d t i ƒ|  d „ } |  i ƒ  z3 y |  i | ƒ } Wn t j
 o t } n XWd  |  i ƒ  X| t j o t | t  d ƒ ƒ d  Sn | \ }	 } }
 } }	 }	 |  i | ƒ } t! i" | ƒ | i" | ƒ t# i$ |
 ƒ } t# i$ t  | ƒ ƒ } |  i' } | i
 t  d ƒ d g ƒ | i | i ƒ  d d
 d ƒ| i
 t) d | ƒ g ƒ | i | i ƒ  d d
 d ƒ| i
 t+ d t  d ƒ ƒ t+ d t  d ƒ ƒ g ƒ | i, | ƒ | i, | ƒ d  S(   Ns   Cancel held message postings   confirmi   s   borderi    s   widths   100%s   sizes   +1s   colspani   s   bgcolorc         C   s   | i ƒ  t i d ƒ d  S(   Ni    (   s   mlists   Unlocks   syss   exit(   s   signums   frames   mlist(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   sigterm_handler  s    
sa   The held message you were referred to has
        already been handled by the list administrator.sÊ  Your confirmation is required in order to cancel the
    posting of your message to the mailing list <em>%(listname)s</em>:

    <ul><li><b>Sender:</b> %(sender)s
        <li><b>Subject:</b> %(subject)s
        <li><b>Reason:</b> %(reason)s
    </ul>

    Hit the <em>Cancel posting</em> button to discard the posting.

    <p>Or hit the <em>Continue awaiting approval</em> button to continue to
    allow the list moderator to approve or reject the message.s   <p><hr>s   cookies   submits   Cancel postings   cancels   Continue awaiting approval(-   s   _s   titles   docs   SetTitles   Forms   mlists   GetScriptURLs   forms   Tables   tables   AddRows   Centers   Bolds   FontAttrs   AddCellInfos   GetCurrentRowIndexs   mm_cfgs   WEB_HEADER_COLORs   sigterm_handlers   Locks	   GetRecords   ids   datas   KeyErrors   Nones   Unlocks   bad_confirmations   igns   senders
   msgsubjects   givenreasons   getMemberLanguages   langs   i18ns   set_languages   Utilss   websafes   subjects   reasons	   real_names   listnames   Hiddens   cookies   SubmitButtons   AddItem(   s   mlists   docs   cookies   ids   givenreasons   sigterm_handlers   tables   subjects   titles   igns
   msgsubjects   forms   reasons   datas   senders   langs   listname(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   heldmsg_prompt„  sB    (
 	1c         C   s   | i t d ƒ ƒ d  S(   NsŸ   You have canceled the re-enabling of your membership.  If
    we continue to receive bounces from your address, it could be deleted from
    this mailing list.(   s   docs   AddItems   _(   s   mlists   docs   cookie(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   reenable_cancelÄ  s    c   
      C   s4  |  d „ } |  i ƒ  zy` |  i | d t ƒ\ }	 } } |  i	 | ƒ } t i | ƒ | i | ƒ |  i | ƒ \ }	 } Wn) t i j
 o t | t d ƒ ƒ nt X|  i } t d ƒ } |  i | d d ƒ} | i | ƒ | i t d t t | d d	 ƒƒ ƒ ƒ | i t d
 ƒ ƒ |  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/confirm.pys   sigterm_handlerÑ  s    
s   expunges¤   Invalid confirmation string.  It is
            possible that you are attempting to confirm a request for an
            address that has already been unsubscribed.s   Membership re-enabled.s   absolutei   i   s   sizes   +2sÍ               You have successfully re-enabled your membership in the
            %(listname)s mailing list.  You can now <a
            href="%(optionsurl)s">visit your member options page</a>.
            (   s   mlists   sigterm_handlers   Locks   pend_confirms   cookies   Falses   ops   listnames   addrs   getMemberLanguages   langs   i18ns   set_languages   docs   ProcessConfirmations   Errorss   NotAMemberErrors   bad_confirmations   _s	   real_names   titles   GetOptionsURLs
   optionsurls   SetTitles   AddItems   Headers   Bolds   FontAttrs   Saves   Unlock(
   s   mlists   docs   cookies   langs   listnames   addrs   titles
   optionsurls   sigterm_handlers   op(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   reenable_confirmÎ  s(    
	( c         C   sF  t  d ƒ } | i | ƒ t |  i d d ƒ ƒ } t d d d d ƒ } | i
 t t t | d d	 ƒƒ ƒ g ƒ | i | i ƒ  d d
 d d t i ƒ|  i | ƒ } t i | ƒ | i | ƒ |  i }
 |  i | ƒ }	 |	 o3 |  i d d d ƒ} | i
 t  d ƒ g ƒ d  Sn t i d |	 i d f d ƒ } t |	 i  |  i! t i" d ƒ ƒ } |  i$ | ƒ } | t& j o t  d ƒ } n t' i( | | ƒ } | i
 t  d ƒ g ƒ | i | i ƒ  d d
 d ƒ| i
 t) d | ƒ g ƒ | i | i ƒ  d d
 d ƒ| i
 t+ d t  d ƒ ƒ t+ d t  d ƒ ƒ g ƒ | i, | ƒ | i, | ƒ d  S(   Ns!   Re-enable mailing list memberships   confirmi   s   borderi    s   widths   100%s   sizes   +1s   colspani   s   bgcolors   listinfos   absolutes³   We're sorry, but you have already been unsubscribed
        from this mailing list.  To re-subscribe, please visit the
        <a href="%(listinfourl)s">list information page</a>.s   %A, %B %d, %Yi   s   <em>not available</em>s»  Your membership in the %(realname)s mailing list is
    currently disabled due to excessive bounces.  Your confirmation is
    required in order to re-enable delivery to your address.  We have the
    following information on file:

    <ul><li><b>Member address:</b> %(member)s
        <li><b>Member name:</b> %(username)s
        <li><b>Last bounce received on:</b> %(date)s
        <li><b>Approximate number of days before you are permanently removed
               from this list:</b> %(daysleft)s
    </ul>

    Hit the <em>Re-enable membership</em> button to resume receiving postings
    from the mailing list.  Or hit the <em>Cancel</em> button to defer
    re-enabling your membership.
    s   cookies   submits   Re-enable memberships   cancels   Cancel(-   s   _s   titles   docs   SetTitles   Forms   mlists   GetScriptURLs   forms   Tables   tables   AddRows   Centers   Bolds   FontAttrs   AddCellInfos   GetCurrentRowIndexs   mm_cfgs   WEB_HEADER_COLORs   getMemberLanguages   members   langs   i18ns   set_languages	   real_names   realnames   getBounceInfos   infos   listinfourls   times   strftimes   dates   ints   noticeslefts)   bounce_you_are_disabled_warnings_intervals   dayss   dayslefts   getMemberNames   usernames   Nones   Utilss
   uncanonstrs   Hiddens   cookies   SubmitButtons   AddItem(   s   mlists   docs   cookies   lists   members   tables   titles   dayslefts   usernames   infos   realnames   forms   dates   langs   listinfourl(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   reenable_promptõ  s:    (	 #1((   s   __doc__s   signals   cgis   times   Mailmans   mm_cfgs   Errorss   i18ns   MailLists   Pendings   Mailman.UserDescs   UserDescs   Mailman.htmlformats   Mailman.Logging.Syslogs   syslogs   _s   set_languages   DEFAULT_SERVER_LANGUAGEs   Trues   Falses	   NameErrors   mains   bad_confirmations   expunges   ask_for_cookies   subscription_prompts   subscription_cancels   subscription_confirms   unsubscription_cancels   unsubscription_confirms   unsubscription_prompts   addrchange_cancels   addrchange_confirms   addrchange_prompts   heldmsg_cancels   heldmsg_confirms   heldmsg_prompts   reenable_cancels   reenable_confirms   reenable_prompt(    s   reenable_prompts   Errorss   unsubscription_prompts   syslogs   bad_confirmations   unsubscription_cancels   addrchange_prompts   subscription_confirms   Pendings   reenable_confirms   heldmsg_prompts   unsubscription_confirms   MailLists   _s   addrchange_cancels   heldmsg_confirms   mains   Trues   cgis   heldmsg_cancels   UserDescs   mm_cfgs   i18ns   reenable_cancels   ask_for_cookies   subscription_prompts   Falses   expunges   signals   subscription_cancels   times   addrchange_confirm(    (    s#   /var/mailman/Mailman/Cgi/confirm.pys   ?   sJ   							X	
	O		&	+		(	4		+	@	
	'