;ò
£)?Bc           @   sr   d  Z  d k l Z d k l Z d k l Z d k l Z d d d d d	 d
 d d f Z d e f d „  ƒ  YZ	 d S(   s)   Administrative GUI for digest deliveries.(   s   mm_cfg(   s   Utils(   s   _(   s   GUIBases	   real_names	   list_names	   host_names   web_page_urls   descriptions   infos   cgiexts   _internal_names   Digestc           B   s&   t  Z d „  Z e d „ Z d „  Z RS(   Nc         C   s   d t  d ƒ f Sd  S(   Ns   digests   Digest options(   s   _(   s   self(    (    s"   /var/mailman/Mailman/Gui/Digest.pys   GetConfigCategory#   s    c         C   s>  | d j o t Sn t i } t d ƒ d t i t d ƒ t d ƒ f d t d ƒ f d t i t d	 ƒ t d
 ƒ f d t d ƒ f d t i t d ƒ t d ƒ f d t d ƒ f d t i d d t d ƒ f d t i t d ƒ t d ƒ f d t d ƒ f d t i	 d | f d t d ƒ t d ƒ t
 i d d d d | ƒf d t i	 d | f d t d ƒ t d ƒ t
 i d d d d | ƒf d  t i t d! ƒ t d" ƒ t d# ƒ t d$ ƒ t d% ƒ f d t d& ƒ t d' ƒ f d( t i t d ƒ t d ƒ f d t d) ƒ t d* ƒ f d+ t i t d ƒ t d ƒ f d t d, ƒ f g } | Sd  S(-   Ns   digests(   Batched-delivery digest characteristics.s
   digestables   Nos   Yesi   sC   Can list members choose to receive list traffic bunched in digests?s   digest_is_defaults   Regulars   Digesti    s1   Which delivery mode is the default for new users?s   mime_is_default_digests   Plains   MIMEs0   When receiving digests, which format is default?s   digest_size_threshholdi   s9   How big in Kb should a digest be before it gets sent out?s   digest_send_periodicsJ   Should a digest be dispatched daily when the size threshold isn't reached?s   digest_headeri   s   Header added to every digests[   Text attached (as an initial message, before the table of contents) to the top of digests. s   headfoot.htmls   raws   mlists   digest_footers   Footer added to every digests=   Text attached (as a final message) to the bottom of digests. s   digest_volume_frequencys   Yearlys   Monthlys	   Quarterlys   Weeklys   Dailys0   How often should a new digest volume be started?sv   When a new digest volume is started, the volume number is
             incremented and the issue number is reset to 1.s   _new_volumes)   Should Mailman start a new digest volume?sg   Setting this option instructs Mailman to start a new volume
             with the next digest sent out.s   _send_digest_nowsO   Should Mailman send the next digest right now, if it is not
             empty?(   s   categorys   Nones   mm_cfgs   TEXTFIELDWIDTHs   WIDTHs   _s   Toggles   Radios   Numbers   Texts   Utilss   maketexts   mlists   info(   s   selfs   mlists   categorys   subcats   infos   WIDTH(    (    s"   /var/mailman/Mailman/Gui/Digest.pys   GetConfigInfo&   s    	ÿ ÿ ^c         C   s   | d j o | o3 | i ƒ  | i } | i } | i t	 d ƒ ƒ n¶ | d j o | oA | i
 ƒ  } | o | i t	 d ƒ ƒ qü | i t	 d ƒ ƒ na | d d f j o4 |  i | | t | | ƒ } | t j o d  Sqã n t i |  | | | | ƒ d  S(   Ns   _new_volumesP   The next digest will be sent as volume
            %(volume)s, number %(number)ss   _send_digest_nows   A digest has been sent.s   There was no digest to send.s   digest_headers   digest_footer(   s   propertys   vals   mlists   bump_digest_volumes   volumes   next_digest_numbers   numbers   docs   AddItems   _s   send_digest_nows   statuss   selfs   _convertStrings   ALLOWEDSs   Nones   GUIBases	   _setValue(   s   selfs   mlists   propertys   vals   docs   statuss   volumes   number(    (    s"   /var/mailman/Mailman/Gui/Digest.pys	   _setValue‹   s    
		(   s   __name__s
   __module__s   GetConfigCategorys   Nones   GetConfigInfos	   _setValue(    (    (    s"   /var/mailman/Mailman/Gui/Digest.pys   Digest"   s   	eN(
   s   __doc__s   Mailmans   mm_cfgs   Utilss   Mailman.i18ns   _s   Mailman.Gui.GUIBases   GUIBases   ALLOWEDSs   Digest(   s   GUIBases   Utilss   ALLOWEDSs   mm_cfgs   _s   Digest(    (    s"   /var/mailman/Mailman/Gui/Digest.pys   ?   s   