ó
äFÑ^c @ s‹ d Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l Z d e
f d „ ƒ YZ d
d d „ Z
d S( sg Common routines for logging in and logging out of the list administrator
and list moderator interface.
iÿÿÿÿ( t mm_cfg( t Utils( t Errors( t FontAttr( t _Nt NotLoggedInErrorc B s e Z d Z d „ Z RS( s9 Exception raised when no matching admin cookie was found.c C s t j | | ƒ | | _ d S( N( t Exceptiont __init__t message( t selfR ( ( s6 /usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/Auth.pyR s ( t __name__t
__module__t __doc__R ( ( ( s6 /usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/Auth.pyR s t c
C sJ | j | ƒ } | r | } n t j | ƒ } | rY t | d d d d ƒj ƒ } d GHn | d k rt t d ƒ } n t d ƒ } t j | j ƒ } t j j
d ƒ } | rÅ d
| d | j ƒ } n d | d | j ƒ } d
| d GHt j d i | j
d 6| d 6| j ƒ d 6| d 6| d 6| d 6| d 6d | ƒGH| j ƒ GHd S( Nt colors #ff0000t sizes +1s Status: 401 Unauthorizedt admindbt Moderatort
Administratort CPANELs ../../../../mailman_service/t /s /webmail/mailman_service/s! Content-type: text/html; charset=s
s
admlogin.htmlt listnamet
scriptnamet
internal_namet
cpanel_urlt pathR t whot mlist( t GetScriptURLR t
GetRequestURIR t FormatR t
GetCharSett preferred_languaget ost environt getR t maketextt real_namet GetMailmanFooter(
R R t msgt frontpaget urlt actionurlR t charsett is_cpanelR ( ( s6 /usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/Auth.pyt loginpage% s6
( R t MailmanR R R t Mailman.htmlformatR t Mailman.i18nR R! R R t NoneR- ( ( ( s6 /usr/local/cpanel/3rdparty/mailman/Mailman/Cgi/Auth.pyt <module> s