Update of /cvsroot/mailman/mailman3/templates
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31133/templates

Added Files:
      Tag: 3.0
        admin.pt create.pt create_result.pt front.pt listinfo.pt 
        macro_checkboxes.pt macro_pulldown.pt macro_radiohoriz.pt 
        macro_radiostacked.pt macro_radiovert.pt macro_string.pt 
        macro_text.pt overview_admin.pt varhelp.pt 
Log Message:
Initial checkin of Mailman3 source

--- NEW FILE: admin.pt ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0/EN">
<html>
<head>
<title i18n:translate="">
<span i18n:name="listname" tal:replace="mlist/public_name">LISTNAME</span>
Administration
(<span i18n:name="category" tal:replace="category/heading">CATEGORY</span>)
</title>
<link rel="stylesheet" href="/styles/list.css" type="text/css">
</head>
<body>
<h3 class="centered" i18n:translate="">
<span i18n:name="listname" tal:content="mlist/public_name">LISTNAME</span>
mailing list administration<br>
<span i18n:name="category" tal:content="category/heading">CATEGORY</span>
</h3>
<form action="ignore" method="POST"
      tal:attributes="action string:/admin/${mlist/categorypath}">
<center><span class="catdescr"
              tal:content="category/description">This category is about
              stuff
        </span>
</center>
<table>
    <tr>
        <th i18n:translate="">Description</th>
        <th i18n:translate="">Value</th>
    </tr>

    <tr tal:repeat="item mlist/attributes">

    <span tal:condition="item/isattr">
    <td class="right">
        <span tal:replace="structure item/description">This is the
        attribute's description</span><br><span
        class="details">(<a
                href="ignore"
                tal:attributes="href string:/varhelp/${mlist/listname}/${item/name}"
                >Details</a> for
                <b><span tal:replace="item/name" /></b>)
            </span>
    </td>

    <td><span metal:use-macro="item/widget" /></td>
    </span>

    <span tal:condition="item/isheader">
    <td class="minor" colspan="2"
        ><center><em tal:content="structure item/heading"
        >This is a section header</em>
    </span>

    <span tal:condition="item/isaction">
    <td class="right">
        <span tal:replace="structure item/description">This is the
        action's description</span></td>
    <td>
    <input name="name" type="SUBMIT" value="value"
           tal:attributes="name item/name; value item/label">
    </td></span>

    </tr>
    <tr><td class="white" colspan="2"><center>
        <input name="submit" type="SUBMIT"
               value="Submit Your Changes">
               <!-- i18n:attributes="value submitchangesbtn" -->
               </center></td></tr>
</table>
</form>
</body>
</html>

--- NEW FILE: create.pt ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0/EN">
<html>
<head>
<title i18n:translate="">Create a Mailing List</title>
<link rel="stylesheet" href="styles/site.css" type="text/css">
</head>
<body>
<h3 i18n:translate="">Create a Mailing List</h3>

<span i18n:translate="">To create a new mailing list in the 
<span i18n:name="webhost"
      tal:replace="request/getRequestHostname">DOMAIN</span> 
domain, fill out the form
below and click on the <em>Submit</em> button.  Or return to the 
<a href="overview_admin">Administrative Overview</a> page.</span>

<form method="POST" action="create">
<table>
<tr>
    <td colspan="2" class="section" i18n:translate="">List Identity</td>
</tr><tr>
    <td class="right" i18n:translate="">Name of list:</td>
    <td><input class="textbox" name="listname"></td>
</tr><tr>
    <td class="right" i18n:translate="">List owner's address:</td>
    <td><input class="textbox" name="owneremail"></td>
</tr><tr>
    <td class="right" i18n:translate="">List owner's name:
    <br/><em>(optional)</em></td>
    <td><input class="textbox" name="ownername"></td>
</tr><tr>
    <td colspan="2" class="white"><hr/></td>
</tr><tr>
    <td colspan="2" class="white">
    <table width="100%"><tr>
    <td class="center"><input type="SUBMIT" name="submit"
                              value="Create List">
                              <!-- i18n:attributes="value createlistbtn" -->
    </td>
    <td class="center"><input type="SUBMIT" name="clear"
                              value="Clear Form">
                              <!-- i18n:attributes="value clearformbtn" -->
    </td></tr></table></td>
</tr>
</table>

</body>
</html>

--- NEW FILE: create_result.pt ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0/EN">
<html>
<head>
<title i18n:translate="">Mailing List Created</title>
<link rel="stylesheet" href="styles/site.css" type="text/css">
</head>
<body>
<h3 i18n:translate="">Mailing List Created</h3>

<span i18n:translate="">You have successfully created the
<span i18n:name="listname" tal:replace="mlist/listname">LISTNAME</span>
mailing list.  You can now:

<ul>
<li><a href="ignore" tal:attributes="href mlist/listinfo">Visit the
    list's information page</a>
<li><a href="ignore" tal:attributes="href mlist/general">Visit the list's
    administration page</a>
<li><a href="create">Create another mailing list</a>
</ul>
</span>
</body>
</html>

--- NEW FILE: front.pt ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0/EN">
<html>
<head>
<title i18n:translate="">Welcome to Mailman</title>
<link rel="stylesheet" href="styles/site.css" type="text/css">
</head>
<body>
<h3 class="centered" i18n:translate="">Welcome to Mailman</h3>

<span i18n:translate="">Welcome to the GNU Mailman server at
<span tal:replace="site/webhost" i18n:name="webhost" />. Log in below
to access the domain administrator's configuration options.
</span>
<p/>
<form method="POST" action="login">
<table>
<tr><td class="right" i18n:translate="">User name:</td>
    <td><input class="textbox" name="username"></td>
</tr>
<tr><td class="right" i18n:translate="">Password:</td>
    <td><input type="password" class="textbox" name="password"></td>
</tr>
<tr><td colspan="2"><center>
    <input name="submit" type="SUBMIT"
           value="Log in">
           <!-- i18n:attributes="value loginbtn" -->
    </center></td>
</tr>
</table>
</form>
</body>
</html>

--- NEW FILE: listinfo.pt ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0/EN">
<html>
<head>
<title>
<span tal:replace="mlist/public_name">LISTNAME</span>
information page
</title>
<link rel="stylesheet" href="/styles/list.css" type="text/css">
</head>
<body>
<table>
<tr><td class="minor">
    <h3>
    <span tal:replace="mlist/public_name">LISTNAME</span>
    -- <span tal:replace="mlist/description">Terse description</span>
    </h3></td></tr>
<tr><td>
    <span tal:replace="mlist/info">Detailed description</span>
    </td></tr>
<tr><td class="minor">
    Using the
    <span tal:replace="mlist/public_name">LISTNAME</span> mailing list
    </td></tr>
<tr><td>
    To post a message to all the list members, send email to
    <a href="ignore"
       tal:attributes="href string:mailto:${mlist/[EMAIL PROTECTED]/mailhost}">
    <span tal:replace="mlist/listname"
    >LISTNAME</span>@<span tal:replace="mlist/mailhost"
    >MAILHOST</span></a>.

    <p>You can subscribe to the list, or change your existing subscription, in
    the sections below.
    </td></tr>
<tr><td class="minor">
    <span>Subscribing to
    <span tal:replace="mlist/public_name">LISTNAME</span>
    </span></td></tr>
<tr>
<tr><td>
    Subscribe to <span tal:replace="mlist/public_name"
    >LISTNAME</span> by filling out the following form.  You will be sent
    email requesting confirmation, to prevent others from gratuitously
    subscribing you.  This is a public list, which means that the list of
    members list is available to everyone. (but we obscure the addresses so
    they are not easily recognizable by spammers).
    </td><tr>
<tr><td class="white">
    <form action="ignore" method="POST"
          tal:attributes="action string:/listinfo/${mlist/listname}">
    <table>
    <tr><td class="label">Your email address:</td>
        <td class="value"><input name="address" class="textbox"></td>
        </tr>
    <tr><td class="label">Your name (optional):</td>
        <td class="value"><input name="realname" class="textbox"></td>
        </tr>
    <tr><td colspan="2">You may optionally enter a privacy
        password below.  This password will protect your personal preferences,
        but it will never be sent to you (nor will it be stored) in plain
        text.  If you forget this password, you will be able to reset it at a
        later date.

        <p>If you choose not to enter a password, one will be automatically
        generated for you, and it will be sent to you once you've confirmed
        your subscription.</td></tr>
    <tr><td class="label">Pick your password:</td>
        <td class="value"><input name="password" class="textbox"></td>
        </tr>
    <tr><td class="label">Re-enter your password to
        confirm:</td>
        <td class="value"><input name="confirm" class="textbox"></td></tr>
    <tr><td colspan="2" class="white"><center>
        <input name="subscribe" type="SUBMIT" value="Subscribe">
        </center></td></tr>
    </table></form>
    </td></tr>
</table>
</body>
</html>

--- NEW FILE: macro_checkboxes.pt ---
<span metal:define-macro="widget">
<table>
    <span tal:repeat="choice item/choices">
    <span tal:define="cv choice/value; iv item/value">
    <tr><td tal:condition="python:cv in iv">
        <input name="name" value="en" type="CHECKBOX" checked
               tal:attributes="name item/name; value choice/value"
               ><span tal:replace="choice/label">Label</span>
        </td>
        <td tal:condition="python:cv not in iv">
        <input name="name" value="en" type="CHECKBOX"
               tal:attributes="name item/name; value choice/value"
               ><span tal:replace="choice/label">Label</span>
        </td>
    </tr></span></span>
</table>
</span>

--- NEW FILE: macro_pulldown.pt ---
<span metal:define-macro="widget">
<select name="name" tal:attributes="name item/name">
    <span tal:repeat="choice item/choices">
    <span tal:define="cv choice/value;iv item/value">
    <span tal:condition="python:cv == iv">
        <option value="value" selected
                tal:attributes="value choice/value"
                tal:content="choice/label">Once choice</option>
    </span>
    <span tal:condition="python:cv <> iv">
        <option value="value"
                tal:attributes="value choice/value"
                tal:content="choice/label">Once choice</option>
    </span>
    </span></span></select>
</span>

--- NEW FILE: macro_radiohoriz.pt ---
<table metal:define-macro="widget">
<tr><td tal:repeat="choice item/choices">
        <span tal:define="cv choice/value; iv item/value">

        <span tal:condition="python:cv == iv">
            <input type="RADIO" name="name" value="value" checked
               tal:attributes="name item/name; value choice/value"
               ><span tal:replace="choice/label">Label</span>
        </span>

        <span tal:condition="python:cv <> iv">
            <input type="RADIO" name="name" value="value"
               tal:attributes="name item/name; value choice/value"
               ><span tal:replace="choice/label">Label</span>
        </span>
    </span></td>
</tr>
</table>

--- NEW FILE: macro_radiostacked.pt ---
<table metal:define-macro="widget">
<tr tal:repeat="choice item/choices">
    <td><span tal:replace="choice/label">Label</span></td>
</tr>
<tr tal:repeat="choice item/choices">
    <td><input type="RADIO" name="name" value="value"
               tal:attributes="name item/name; value choice/value">
    </td>
</tr>
</table>

--- NEW FILE: macro_radiovert.pt ---
<table metal:define-macro="widget">
<tr tal:repeat="choice item/choices">
    <span tal:define="cv choice/value; iv item/value">
    <td>
        <span tal:condition="python:cv == iv">
            <input type="RADIO" name="name" value="value" checked
                   tal:attributes="name item/name; value choice/value"
                   ><span tal:replace="choice/label">Label</span>
        </span>

        <span tal:condition="python:cv <> iv">
            <input type="RADIO" name="name" value="value"
                   tal:attributes="name item/name; value choice/value"
                   ><span tal:replace="choice/label">Label</span>
        </span>
    </td></span>
</tr>
</table>

--- NEW FILE: macro_string.pt ---
<span metal:define-macro="widget">
<input name="name" value="value"
       class="textbox"
       tal:attributes="name item/name; value item/value"></span>

--- NEW FILE: macro_text.pt ---
<span metal:define-macro="widget">
<textarea name="name" wrap="off" rows="5"
          class="textbox"
          tal:content="item/value"
          tal:attributes="name item/name; rows item/rows">Contents</textarea>
</span>

--- NEW FILE: overview_admin.pt ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0/EN">
<html>
<head>
<title i18n:translate="">Administrative Overview for
       <span tal:replace="domain/webhost" i18n:name="webhost" />
</title>
<link rel="stylesheet" href="styles/site.css" type="text/css">
</head>
<body>
<h3 class="centered" i18n:translate="">Administrative Overview for
       <span tal:replace="domain/webhost" i18n:name="webhost" /></h3>

<span i18n:translate="">Welcome to the GNU Mailman server at
<span tal:replace="domain/webhost" i18n:name="webhost" />.</span>

<span tal:condition="domain/mlists">Below is a
list of all the mailing lists at this domain.  Click on the list name
below to configure the list.</span>

<p/><span i18n:translate="">Click here to <a href="create">create a
new mailing list</a>.</span>

<span tal:condition="domain/mlists">
<p/>
<table>
<tr><th i18n:translate="">List name</th>
    <th i18n:translate="">Description</th>
</tr>
<tr tal:repeat="mlist domain/mlists"
    class="ignore" tal:attributes="class mlist/trclass">
    <td tal:content="mlist/name" />
    <td tal:content="mlist/description" />
</tr>
</table>
</span>
</body>
</html>

--- NEW FILE: varhelp.pt ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0/EN">
<html>
<head>
<title i18n:translate="">
<span i18n:name="listname" tal:replace="mlist/public_name">LISTNAME</span>
Administration
(<span i18n:name="attrname" tal:replace="item/name">ATTRNAME</span>)
</title>
<link rel="stylesheet" href="/styles/list.css" type="text/css">
</head>
<body>
<h3 class="centered"><span i18n:translate="">
<span i18n:name="listname" tal:replace="mlist/public_name">LISTNAME</span>
option details</span>
</h3>
<form action="ignore" method="POST"
      tal:attributes="action string:/admin/${mlist/categorypath}">
<table>
    <tr>
        <td class="label">Name:</td>
        <td tal:content="item/name">list_thing</td>
    </tr>

    <tr>
        <td class="label">Category:</td>
        <td><a href="link" tal:content="category/heading"
               tal:attributes="href 
string:/admin/${mlist/categorypath}">CATEGORY</a></td>
    </tr>

    <tr>
        <td class="label">Description:</td>
        <td tal:content="item/description">The option's description</td>
    </tr>

    <tr><td class="label">Value:</td>
        <td><span metal:use-macro="item/widget">Value Value Value</span></td>
    </tr>

    <tr tal:condition="item/details|nothing">
        <td class="label">Details:</td>
        <td tal:content="structure item/details">Some option details.</td>
    </tr>
</table>

<center>
    <input name="submit" type="SUBMIT"
           value="Submit Your Changes">
           <!-- i18n:attributes="value submitchangesbtn" -->
</center>
</form>
<em i18n:translate=""><strong>Warning:</strong> changing this option
here could cause other screens to be out-of-sync.  Be sure to reload
any other pages that are displaying this option for this mailing
list.  You can also return to the
<a href="link" i18n:name="page"
   tal:attributes="href string:/admin/${mlist/listname}/${category/name}"
   tal:content="category/heading">CATEGORY</a> page.</em>
</body>
</html>


_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to