%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/mailman/Mailman/
Upload File :
Create Path :
Current File : //lib/mailman/Mailman/htmlformat.pyo

�
��ac@s�dZddlZddlmZddlmZddlmZddlmZdZ	dZ
d	Zd
�Zd�Z
d�Zd
d`d��YZddad��YZddbd��YZddcd��YZdddd��YZdefd��YZdefd��YZdefd��YZdefd��YZdefd ��YZd!efd"��YZd#efd$��YZd%efd&��YZd'efd(��YZd)efd*��YZd+efd,��YZd-efd.��YZd/efd0��YZ d1efd2��YZ!d3efd4��YZ"d5efd6��YZ#d7ded8��YZ$d9e$fd:��YZ%d;e$fd<��YZ&d=e$fd>��YZ'd?e$fd@��YZ(dAdfdB��YZ)dCe$fdD��YZ*dEe$fdF��YZ+dGe$fdH��YZ,dIdgdJ��YZ-dKdhdL��YZ.dMe.fdN��YZ/dOe.fdP��YZ0dQefdR��YZ1dSefdT��YZ2dUefdV��YZ3ddWlm4Z4dXZ5dYZ6dZZ7d[Z8d\Z9d]�Z:d^did_��YZ;dS(js�Library for program-based construction of an HTML documents.

Encapsulate HTML formatting directives in classes that act as containers
for python and, recursively, for nested HTML formatting objects.
i����N(tmm_cfg(tUtils(t_(t
csrf_tokent ts
cCsAt|�td�kr|St|d�s0|
S|j|�SdS(sHReturn a presentation of an object, invoking their Format method if any.RtFormatN(ttypethasattrR(titemtindent((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytHTMLFormatObject.s
cCs7i}x*|j�D]\}}|||j�<qW|S(N(titemstlower(tdtresulttktv((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytCaseInsensitiveKeyedDict7scCs+x$|j�D]\}}|||<q
WdS(N(R(tdestinationt
fresh_dicttkeytvalue((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyt	DictMerge?stTablecBs�eZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zdd�ZRS(cKs(g|_i|_i|_||_dS(N(tcellst	cell_infotrow_infotopts(tselft
table_opts((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyt__init__Ds			cCst|j|�dS(N(RR(RR((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyt
AddOptionsJscCs
||_dS(N(R(RR((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytSetAllCellsPscCs|jjg�dS(N(Rtappend(R((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytNewRowTscCs|jdjd�dS(Ni����R(RR"(R((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytNewCellXscCs|jj|�dS(N(RR"(Rtrow((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytAddRow[scCs|jdj|�dS(Ni����(RR"(Rtcell((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytAddCell^scKswt|�}|jj|�s5i||6|j|<n>|j|j|�rbt|j||�n||j||<dS(N(RRthas_keyR(RR%tcoltkws((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytAddCellInfoascKsFt|�}|jj|�s.||j|<nt|j||�dS(N(RRR)R(RR%R+((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyt
AddRowInfojscCst|j�dS(Ni(tlenR(R((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytGetCurrentRowIndexrscCst|jd�dS(Ni����i(R.R(R((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytGetCurrentCellIndexvscCs�ddddddg}d}xb|j�D]T\}}||krIq+n|dkre|d}q+q+|d	|j�|f}q+W|S(
NtaligntvaligntnowraptrowspantcolspantbgcolorRs NOWRAPs %s="%s"(Rtupper(Rtinfot
valid_modstoutputRtval((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytExtractCellInfoys	
cCsbdddg}d}xF|j�D]8\}}||kr@q"n|d|j�|f}q"W|S(NR1R2R6Rs %s="%s"(RR7(RR8R9R:RR;((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytExtractRowInfo�scCs�ddddddg}d}xn|j�D]`\}}||krIq+n|dkrq|dkrq|d}q+q+|d	|j�|f}q+W|S(
NR1twidthtbordertcellspacingtcellpaddingR6Rs BORDERs %s="%s"(RtNoneR7(RR8R9R:RR;((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytExtractTableInfo�s	
cCs�y|j||}Wn
d}nXdd|d}|rS||j|�}n|j||}t||d�}d||f}|S(Ns
Rs<tdis
%s>%s</td>(RRBR<RR(RR%R*R
tmy_infoR:R	titem_format((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyt
FormatCell�s
cCs�y|j|}Wn
d}nXdd|d}|rO||j|�}n|d}x>tt|j|��D]#}||j|||d�}qsW|dd|d}|S(Ns
Rs<trt>is</tr>(RRBR=trangeR.RRF(RR%R
RDR:ti((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyt	FormatRow�s

 !icCs�dd|d}||j|j�}|d}x7tt|j��D] }||j||d�}qHW|dd|d}|S(Ns
Rs<tableRGis	</table>
(RCRRHR.RRJ(RR
R:RI((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s
(t__name__t
__module__RR R!R#R$R&R(R,R-R/R0R<R=RCRFRJR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRCs"																	tLinkcBs eZdd�Zdd�ZRS(cCs||_||_||_dS(N(threfttextttarget(RRNRORP((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s		icCsNd}|jdkr%d|j}ndt|j|�|t|j|�fS(NRs target="%s"s<a href="%s"%s>%s</a>(RPRBRRNRO(RR
ttexpr((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�sN(RKRLRBRR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRM�stFontSizecBs#eZdZd�Zdd�ZRS(sEFontSize is being deprecated - use FontAttr(..., size="...") instead.cGst|�|_||_dS(N(tlistRtsize(RRTR((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�sicCsBd|j}x$|jD]}|t||�}qW|d}|S(Ns<font size="%s">s</font>(RTRR(RR
R:R	((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s


(RKRLt__doc__RR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRR�s	tFontAttrcBs#eZdZd�Zdd�ZRS(s"Present arbitrary font attributes.cOst|�|_||_dS(N(RSRtattrs(RRtkw((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�sicCs�g}x4|jj�D]#\}}|jd||f�qWdtj|�}x$|jD]}|t||�}qZW|d}|S(Ns%s="%s"s	<font %s>s</font>(RWRR"tSPACEtjoinR(RR
tseqRRR:R	((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s
(RKRLRURR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRV�s	t	ContainercBs&eZd�Zd�Zdd�ZRS(cGs|sg|_n	||_dS(N(R(RR((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�scCs|jj|�dS(N(RR"(Rtobj((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytAddItemsicCs=g}x'|jD]}|jt||��qWtj|�S(N(RR"RtEMPTYSTRINGRZ(RR
R:R	((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRs(RKRLRR^R(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR\�s		tLabelcBs#eZdZd�Zdd�ZRS(trightcGstj||�dS(N(R\R(RR((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRsicCsd|jtj||�dS(Ns<div align="%s">s</div>(R1R\R(RR
((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRs(RKRLR1RR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR`s	tDocumentcBsYeZdZdZejZdZdd�Z	d�Z
d�Zdd�Zdd�Z
RS(icCs
||_dS(N(tlanguage(Rtlang((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytset_language$scCs
||_dS(N(R6(Rtcolor((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytset_bgcolor'scCs
||_dS(N(ttitle(RRh((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytSetTitle*sc
Ksd}|jr6tj|j�r6tj|j�}nd|g}|js�|jd|j�d|}|j|ddg�tj	r�|j
dtj	tj�n|j
d|�|jr�|j
d	||jf�n|j
d
|�g}tj
r|jdtj
�ntjr2|jdtj�ntjrQ|jd
tj�nx1|j�D]#\}}|j
d||f�q^W|j
d|tj|�f�tj|j�}	|j
d|	�n|j
tj||��|js|j
d|�|j
d|�ntj|�S(Nsus-asciis$Content-Type: text/html; charset=%s
R6Rs<HTML>s<HEAD>s$<LINK REL="SHORTCUT ICON" HREF="%s">s@<META http-equiv="Content-Type" content="text/html; charset=%s">s%s<TITLE>%s</TITLE>s	%s</HEAD>tvlinktalinktlinks%s="%s"s
%s<BODY %ss	dir="%s">s	%s</BODY>s	%s</HTML>(RcRt
IsLanguaget
GetCharSett
suppress_headt
setdefaultR6textendRtIMAGE_LOGOSR"t
SHORTCUT_ICONRhtWEB_VLINK_COLORtWEB_ALINK_COLORtWEB_LINK_COLORRRYRZtGetDirectionR\RtNL(
RR
R+tcharsetR:ttabtqualsRRt	direction((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR-sF
	
	
							 	c
Csl|dkrtd�}n|jtdttt|�dtjdd��j�t	|�j���dS(NsError: iRfRTs+2(
RBRR^tHeadertBoldRVRtWEB_ERROR_COLORRtItalic(Rterrmsgttag((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytaddErrorWs
$N(RKRLRBRhRcRtWEB_BG_COLORR6RoReRgRiRR�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRbs			*tHeadlessDocumentcBseZdZdZRS(sDDocument without head section, for templates that provide their own.i(RKRLRURo(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�_stStdContainercBseZdd�ZRS(icCs:d|j}|tj||�}d||jf}|S(Ns<%s>s%s</%s>(R�R\R(RR
R:((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRes
(RKRLR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�dstQuotedContainercBseZdd�ZRS(icCs2d|jtjtj||��|jf}|S(Ns<%s>%s</%s>(R�RtwebsafeR\R(RR
R:((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRns

(RKRLR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�msR}cBseZd�ZRS(cGs||_d||_dS(Nsh%d(RR�(RtnumR((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRws	(RKRLR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR}vstAddresscBseZdZRS(taddress(RKRLR�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�{st	UnderlinecBseZdZRS(tu(RKRLR�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�~sR~cBseZdZRS(tstrong(RKRLR�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR~�sR�cBseZdZRS(tem(RKRLR�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��stPreformattedcBseZdZRS(tpre(RKRLR�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��st	SubscriptcBseZdZRS(tsub(RKRLR�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��stSuperscriptcBseZdZRS(tsup(RKRLR�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��st	StrikeoutcBseZdZRS(tstrike(RKRLR�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��stCentercBseZdZRS(tcenter(RKRLR�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��stFormcBs8eZddddddd�Zd�Zdd�ZRS(RtPOSTcGsQttj|f|�||_||_||_||_||_||_dS(N(	tapplyR\Rtactiontmethodtencodingtmlisttcontextstuser(RR�R�R�R�R�R�R((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s					cCs
||_dS(N(R�(RR�((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyt
set_action�sicCs�d|}d}|jr)d|j}nd||j|j|f}|jrt|dt|j|j|j�}n|tj||d�}d||f}|S(NRRsenctype="%s"s%
%s<FORM action="%s" method="%s" %s>
s3<input type="hidden" name="csrf_token" value="%s">
is
%s
%s</FORM>
(	R�R�R�R�RR�R�R\R(RR
tspacesR�R:((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s
		 N(RKRLRBRR�R(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��s			tInputObjcBseZd�Zdd�ZRS(cKs1||_||_||_||_||_dS(N(tnameRRtcheckedR+(RR�ttyRR�R+((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s
				icCs}d|j|j|jfg}x(|jj�D]}|jd|�q/W|jrc|jd�n|jd�tj|�S(Ns%<INPUT name="%s" type="%s" value="%s"s%s="%s"tCHECKEDRG(	R�RRR+RR"R�RYRZ(RR
R:R	((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s	
(RKRLRR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��s	tSubmitButtoncBseZd�ZRS(cCs tj||d|dd�dS(NtSUBMITR�i(R�R(RR�tbutton_text((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s(RKRLR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��stPasswordBoxcBseZdejd�ZRS(Rc	Cs&tj||d|ddd|�dS(NtPASSWORDR�iRT(R�R(RR�RRT((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s(RKRLRtTEXTFIELDWIDTHR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��stTextBoxcBseZdejd�ZRS(Rc	CsMt|t�r!tj|�}n|}tj||d|ddd|�dS(NtTEXTR�iRT(t
isinstancetstrRR�R�R(RR�RRTt	safevalue((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s(RKRLRR�R(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��stHiddencBseZdd�ZRS(RcCs tj||d|dd�dS(NtHIDDENR�i(R�R(RR�R((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s(RKRLR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��stTextAreacBs,eZdddddd�Zdd�ZRS(RtsofticCsat|t�r!tj|�}n|}||_||_||_||_||_||_	dS(N(
R�R�RR�R�ROtrowstcolstwraptreadonly(RR�ROR�R�R�R�tsafetext((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s					cCs�d|j}|jr*|d|j7}n|jrG|d|j7}n|jrd|d|j7}n|jrz|d7}n|d|j7}|S(Ns<TEXTAREA NAME=%ss ROWS=%ss COLS=%ss WRAP=%ss	 READONLYs>%s</TEXTAREA>(R�R�R�R�R�RO(RR
R:((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s
				
N(RKRLRBRR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��st
FileUploadcBseZddd�ZRS(cKs&ttj||dddf|�dS(NtFILERi(R�R�R(RR�R�R�R+((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�sN(RKRLRBR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��stRadioButtoncBseZdd�ZRS(icKs&ttj||d||f|�dS(NtRADIO(R�R�R(RR�RR�R+((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s(RKRLR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��stCheckBoxcBseZdd�ZRS(icKs&ttj||d||f|�dS(NtCHECKBOX(R�R�R(RR�RR�R+((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s(RKRLR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��stVerticalSpacercBs eZdd�Zdd�ZRS(i
cCs
||_dS(N(RT(RRT((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRsicCsd|j}|S(Ns$<spacer type="vertical" height="%d">(RT(RR
R:((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRs
(RKRLRR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�stWidgetArraycBs,eZdZd�Zd�Zdd�ZRS(cCs1||_||_||_||_||_dS(N(R�tbutton_namesR�t
horizontaltvalues(RR�R�R�R�R�((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRs					cCs
t�dS(N(tNotImplemented(RRI((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyt	ischeckedsic	Cs�tdd�}g}x�ttt|j��|j|j�D]l\}}}|j|�}|j|j||�j	�|}|j
|�|js=|j|�g}q=q=W|jr�|j|�n|j	|�S(NR@i(
RtzipRHR.R�R�R�tWidgetR�RR"R�R&(	RR
ttRRIR�RR�R	((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRs"
	

	N(RKRLRBR�RR�R(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�	s	
	tRadioButtonArraycBs)eZeZdddd�Zd�ZRS(icCsA|dkr!tt|��}ntj||||||�dS(N(RBRHR.R�R(RR�R�R�R�R�((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR,scCs
|j|kS(N(R�(RRI((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�4sN(RKRLR�R�RBRR�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�)st
CheckBoxArraycBs)eZeZdddd�Zd�ZRS(icCsc|dkr"dgt|�}n|dkrCtt|��}ntj||||||�dS(Ni(RBR.RHR�R(RR�R�R�R�R�((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR:scCs|j|S(N(R�(RRI((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�EsN(RKRLR�R�RBRR�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�7s
t
UnorderedListcBseZdd�ZRS(icCs[d|}d|}x2|jD]'}|d|t||d�f}qW|d|}|S(NRs
%s<ul>
s	%s<li>%s
is%s</ul>
(RR(RR
R�R:R	((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRIs

(RKRLR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�HstOrderedListcBseZdd�ZRS(icCs[d|}d|}x2|jD]'}|d|t||d�f}qW|d|}|S(NRs
%s<ol>
s	%s<li>%s
is%s</ol>
(RR(RR
R�R:R	((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyRSs

(RKRLR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�RstDefinitionListcBseZdd�ZRS(ic	Csqd|}d|}xH|jD]=\}}|d|t||d�t||d�f}qW|d|}|S(NRs
%s<dl>
s%s<dt>%s
<dd>%s
is%s</dl>
(RR(RR
R�R:tdttdd((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR]s

(RKRLR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�\s(tMAILMAN_URLshttp://www.python.org/shttp://www.gnu.org/smailman.jpgsPythonPowered.pngsgnu-head-tiny.jpgcCs�tdddd�}tjryd�}d|t�tjf}d|t�}d|t�}|j|||g�n^tj}tt	t
d	��}ttt
d
��}ttt
d��}|j|||g�|S(NR?iR>s100%cSstj|S(N(RRr(tfile((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytlogo|ss@<img src="%s" alt="Delivered by Mailman" border=0><br>version %ss,<img src="%s" alt="Python Powered" border=0>s,<img src="%s" alt="GNU's Not Unix" border=0>s+Delivered by Mailman<br>version %(version)ssPython PoweredsGnu's Not Unix(
RRRrtDELIVERED_BYtVERSIONtPYTHON_POWEREDtGNU_HEADR&RMR�Rt
PYTHON_URLtGNU_URL(R�R�tmmlinktpylinktgnulinktversion((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pytMailmanLogoys"		

	t
SelectOptionscBs&eZdddd�Zdd�ZRS(iicCs�||_||_||_||_||_|s�t|�tjkrW|f|_q�t|�tj	kr|df|_q�t|�tj
kr�|df|_q�d|_ndS(Ni(i(tvarnameR�tlegendRTtmultipleRttypestIntTypetselectedt	TupleTypetListType(RR�R�R�R�RTR�((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s					cCsd|}tt|j�t|j��}|dkr;dSd|d|j}|jdkrs|d|j}n|jr�|d}n|d	}xet|�D]W}||jkr�d
}nd}d|j|||j|f}|||d}q�W||dS(
NRiRs
s<Select name="%s"is size=%ds	 multiples>
s	 Selecteds# <option value="%s"%s> %s </option>s	</Select>(	tminR.R�R�R�RTR�RHR�(RR
R�RRORIR�topt((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR�s$
!	

	N(RKRLRBRR(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyR��s(((((((((((<RUR�tMailmanRRtMailman.i18nRtMailman.CSRFcheckRRYR_RxRRRRRMRRRVR\R`RbR�R�R�R}R�R�R~R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�(((s`/builddir/build/BUILDROOT/mailman-2.1.15-30.el7_9.2.x86_64/usr/lib/mailman/Mailman/htmlformat.pyt<module>sp				�
A		 

	

Zerion Mini Shell 1.0