%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/mailman/Mailman/Cgi/
Upload File :
Create Path :
Current File : //lib/mailman/Mailman/Cgi/listinfo.pyc

�
��ac@s�dZddlZddlZddlmZddlmZddlmZddlmZddlmZddl	Tdd	l
mZejZej
ej�d
�Zdd�Zd
�Zedkr�e�ndS(sAProduce listinfo page, primary web entry-point to mailing lists.
i����N(tmm_cfg(tUtils(tMailList(tErrors(ti18n(t*(tsyslogcCs�tj�}|st�dS|dj�}ytj|dd�}WnNtjk
r�}tj|�}dGHttd��t	dd||�dSXt
j�}|jd�}tj
|�s�|j}ntj|�t||�dS(NitlocksStatus: 404 Not Founds&No such list <em>%(safelistname)s</em>terrorsNo such list "%s": %stlanguage(Rt
GetPathPiecestlistinfo_overviewtlowerRRtMMListErrortwebsafet_RtcgitFieldStoragetgetvaluet
IsLanguagetpreferred_languageRtset_languaget
list_listinfo(tpartstlistnametmlisttetsafelistnametcgidataR	((sb/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Cgi/listinfo.pytmain(s&
tc	Cs�tj�}t�}|jtj�td�}|j|�tdddd�}|j	t
td|��g�|j|j
�ddddtj�g}tj�}|j�x�|D]�}tj|d	d�}|jr�tjr%|jjd
|�dkr%|jjd|�dkr%q�qV|j|jd
�|jtj|j�f�q�q�W|r{t|dddd�}	nttd�dd�}	|	g}
ttjtd��j�}|s�|
jtd��n|
jtd��|r�td�p�d}tj �}
|
jtd�ttj!d�td��td�td|
|
�df�|j	t"t#|
�g�|jt$|j
�d�ddd�|r�|j	ddg�|j	t%ttd �dd��t%ttd!�dd��g�d"}x�|D]x\}}}|j	t|t%|��|p=t&td#��g�|rrtj'rr|j(|j
�dtj'�n|}qWn|j)|�|j)d$�|j)t*��|j�GHdS(%Ns%(hostname)s Mailing Liststborderitwidths100%itcolspantbgcolorRs/%s/i����s/%s:tlistinfotcolortff5060tsizes+1sWelcome!s+2tMailmansh<p>There currently are no publicly-advertised
            %(mailmanlink)s mailing lists on %(hostname)s.s�<p>Below is a listing of all the public mailing lists on
            %(hostname)s.  Click on a list name to get more information about
            the list, or to subscribe, unsubscribe, and change the preferences
            on your subscription.trightRs� To visit the general information page for an unadvertised list,
        open a URL similar to this one, but with a '/' and the %(adj)s
        list name appended.
        <p>List administrators, you can visit tadminsthe list admin overview pagesw to find the management interface for your list.
         <p>If you are having trouble using the lists, please contact smailto:s.<p>s&nbsp;tListtDescriptionis[no description available]s<hr>(+Rt
get_domaintDocumentRRtDEFAULT_SERVER_LANGUAGERtSetTitletTabletAddRowtCentertHeadertAddCellInfotGetCurrentRowIndextWEB_HEADER_COLORt
list_namestsortRt
advertisedtVIRTUAL_HOST_OVERVIEWtweb_page_urltfindtappendtGetScriptURLt	real_nameRtdescriptiontFontAttrtLinktMAILMAN_URLtFormattextendtget_site_emailt	ScriptURLtapplyt	ContainertmaxtBoldtItalictWEB_HIGHLIGHT_COLORt
AddRowInfotAddItemtMailmanLogo(tmsgthostnametdoctlegendttableR9t	listnamestnameRtgreetingtwelcometmailmanlinktadjt	siteownert	highlightturlR?R@((sb/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Cgi/listinfo.pyRDs�	



			


%!"


cCs1t�}|j|�|j|�}|js9|jrdd|d<d|d<d|d<d|d<n4|j�|d<|j�|d<d|d<d|d<|j�|d<|j�|d	<|j	d
dd�|d
<|j
ddtd��|d<|jd�|d<|jd�|d<|j
d�|d<|j
d�|d<|j|�|d<|j
d�|d<|j|�|d<tdtd��j�|d <t|j��d!kr�d}n|j
d"dtd#��}||d$<|j
d%�|d&<|j	d'dd�|d(<|j|jd)||��|j�GHdS(*NRs<mm-digest-radio-button>s<mm-undigest-radio-button>s<!-- s<mm-digest-question-start>s -->s<mm-digest-question-end>s<mm-plain-digests-button>s<mm-mime-digests-button>temailR&is<mm-subscribe-box>semail-buttonttextt	Subscribes<mm-subscribe-button>tpws<mm-new-password-box>spw-confs<mm-confirm-password>t	subscribes<mm-subscribe-form-start>trosters<mm-roster-form-start>s<mm-roster-option>toptionss<mm-options-form-start>s<mm-editing-options>tUserOptionssEdit Optionss<mm-info-button>isdisplang-buttonsView this page ins<mm-displang-box>R#s<mm-lang-form-start>tfullnames<mm-fullname-box>s
listinfo.html(tHeadlessDocumentRtGetStandardReplacementst
digestablet
nondigestabletFormatDigestButtontFormatUndigestButtontFormatPlainDigestsButtontFormatMimeDigestsButtont	FormatBoxtFormatButtonRtFormatSecureBoxtFormatFormStarttFormatRosterOptionForUsertFormatEditingOptiontSubmitButtonRDtlentGetAvailableLanguagesROt	ParseTags(RtlangRStreplacementstdisplang((sb/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Cgi/listinfo.pyR�sH	







	
t__main__(t__doc__tosRR'RRRRRtMailman.htmlformattMailman.Logging.SyslogRRRR.RRRt__name__(((sb/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/Cgi/listinfo.pyt<module>s 
		[	5

Zerion Mini Shell 1.0