Changeset 2717


Ignore:
Timestamp:
06/02/10 20:33:50 (3 years ago)
Author:
benjamin
Message:

style + trads

Location:
alternc-mailman/trunk/bureau
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • alternc-mailman/trunk/bureau/admin/mman_add.php

    r2714 r2717  
    4242        if ($error) { 
    4343                echo "<p class=\"error\">$error</p>"; 
    44                 include_once("foot.php"); 
    45                 exit(); 
    4644        } 
    4745?> 
    4846<form method="post" action="mman_doadd.php" name="main" id="main" > 
    4947<input type="hidden" name="id" value="<?php echo $id ?>" /> 
    50 <table> 
    51 <tr><th><label for="login"><?php __("Email address"); ?></label></th><td> 
     48<table class="tedit"> 
     49<tr><th><label for="login"><?php __("List's email address"); ?></label></th><td> 
    5250        <input type="text" class="int" id="login" name="login" value="<?php ehe($login); ?>" size="20" maxlength="64" /><b>&nbsp;@&nbsp;</b><select class="inl" name="domain"><?php $mailman->select_prefix_list($domain); ?></select> 
    5351</td></tr> 
    54 <tr><th><label for="owner"><?php __("Owner"); ?> *</label></th><td> 
    55         Email : <input type="text" class="int" id="owner" name="owner" value="<?php ehe($owner); ?>" size="20" maxlength="64" /> 
     52        <tr><th><label for="owner"><?php __("Email of the list's administrator"); ?> </label></th><td> 
     53        <input type="text" class="int" id="owner" name="owner" value="<?php ehe($owner); ?>" size="20" maxlength="64" /> 
    5654        </td></tr> 
    57 <tr><th><label for="pass"><?php __("Initial list password"); ?> </label></th><td> 
     55<tr><th><label for="pass"><?php __("List password"); ?> </label></th><td> 
    5856        <input type="password" class="int" id="pass" name="pass" value="<?php ehe($pass); ?>" size="20" maxlength="64" /> 
    5957        </td></tr> 
    60 <tr><th><label for="pass"><?php __("Initial list password (confirm)"); ?> </label></th><td> 
     58<tr><th><label for="pass"><?php __("List password (confirm)"); ?> </label></th><td> 
    6159        <input type="password" class="int" id="pass2" name="pass2" value="<?php ehe($pass); ?>" size="20" maxlength="64" /> 
    6260        </td></tr> 
    6361<tr><td colspan="2"> 
    6462  <input type="submit" class="inb" name="submit" value="<?php __("Create the list."); ?>"/> 
     63  <input type="button" class="inb" name="cancel" value="<?php __("Cancel"); ?>" onclick="document.location='mman_list.php'"/> 
    6564</td></tr> 
    6665</table> 
  • alternc-mailman/trunk/bureau/admin/mman_dodel.php

    r2714 r2717  
    3131 
    3232$fields = array ( 
    33         "confirm"     => array ("request", "integer", ""), 
    34         "cancel"     => array ("request", "integer", ""), 
    35         "d"    => array ("request", "array", ""), 
     33        "confirm"     => array ("request", "string", ""), 
     34        "cancel"     => array ("request", "string", ""), 
     35        "d"    => array ("request", "array", array()), 
    3636); 
    3737getFields($fields); 
  • alternc-mailman/trunk/bureau/admin/mman_list.php

    r2714 r2717  
    3030require_once("../class/config.php"); 
    3131include_once("head.php"); 
     32?> 
     33        <h3><?php __("Mailing lists"); ?></h3> 
    3234 
     35<?php 
    3336// If there is no installed domain, let's failed definitely ! 
    3437if (count($dom->enum_domains())==0) { 
    3538  $error=_("No domain is installed on your account, you cannot create any mailing list!"); 
    3639  ?> 
    37             <h3><?php __("Mailing lists"); ?></h3> 
    3840<hr id="topbar"/> 
    3941<br /> 
    4042         <?php echo "<p class=\"error\">$error</p>"; ?> 
    4143<?php include_once("foot.php"); 
    42  
    43                         exit(); 
     44  exit(); 
    4445         } 
    4546 
     
    4748  $error.=$err->errstr(); 
    4849        ?> 
    49         <h3><?php __("Mailing lists"); ?></h3> 
    5050<hr id="topbar"/> 
    5151<br /> 
    5252        <?php echo "<p class=\"error\">$error</p>"; ?> 
     53<?php 
     54if ($quota->cancreate("mailman")) { 
     55?> 
     56<p> 
     57<span class="inb"><a href="mman_add.php"><?php __("Create a list"); ?></a></span> 
     58</p> 
     59        <?php 
     60} 
     61?> 
    5362 
    5463        <?php 
    55 } 
    56 else { 
     64} else { 
    5765        ?> 
    58             <h3><?php __("Mailing lists"); ?></h3> 
    5966<hr id="topbar"/> 
    6067<br /> 
    61  
    6268 <?php if ($error) echo "<p class=\"error\">$error</p>"; ?> 
    6369 
     70<?php 
     71if ($quota->cancreate("mailman")) { 
     72?> 
     73<p> 
     74<span class="inb"><a href="mman_add.php"><?php __("Create a list"); ?></a></span> 
     75</p> 
     76        <?php 
     77} 
     78?> 
     79 
     80 
    6481        <form method="post" action="mman_del.php"> 
    65         <table cellspacing="0" cellpadding="4" border="1"> 
     82        <table class="tlist"> 
    6683        <tr><th><?php __("Delete"); ?></th><th><?php __("List name"); ?></th><th colspan="4">&nbsp;</th></tr> 
    6784        <?php 
     
    7491                        <td align="center"><input type="checkbox" class="inc" name="d[]" value="<?php echo $val["id"]; ?>" id="d_<?php echo $val["id"]; ?>" /></td> 
    7592                        <td><label for="d_<?php echo $val["id"]; ?>"><?php echo $val["list"]."@".$val["domain"] ?></label></td> 
    76                         <td>&nbsp;<a href="https://<?php echo $val["domain"]; ?>/cgi-bin/mailman/listinfo/<?php echo $val["name"] ?>"><?php __("Public page"); ?></a>&nbsp;</td> 
    77                         <td>&nbsp;<a href="https://<?php echo $val["domain"]; ?>/cgi-bin/mailman/admin/<?php echo $val["name"] ?>"><?php __("List admin"); ?></a>&nbsp;</td> 
    78                         <td>&nbsp;<a href="https://<?php echo $val["domain"]; ?>/cgi-bin/mailman/admindb/<?php echo $val["name"] ?>"><?php __("Pending messages"); ?></a>&nbsp;</td> 
    79                         <td>&nbsp;<a href="mman_passwd.php?id=<?php echo $val["id"] ?>"><?php __("Change password"); ?></a>&nbsp;</td> 
    80                         <td>&nbsp;<a href="mman_members.php?id=<?php echo $val["id"] ?>"><?php __("List Members"); ?></a>&nbsp;</td> 
     93                        <td><div class="ina"><a href="https://<?php echo $val["domain"]; ?>/cgi-bin/mailman/listinfo/<?php echo $val["name"] ?>"><?php __("Public page"); ?></a></div></td> 
     94                        <td><div class="ina"><a href="https://<?php echo $val["domain"]; ?>/cgi-bin/mailman/admin/<?php echo $val["name"] ?>"><?php __("List admin"); ?></a></div></td> 
     95                        <td><div class="ina"><a href="https://<?php echo $val["domain"]; ?>/cgi-bin/mailman/admindb/<?php echo $val["name"] ?>"><?php __("Pending messages"); ?></a></div></td> 
     96                        <td><div class="ina"><a href="mman_passwd.php?id=<?php echo $val["id"] ?>"><?php __("Change password"); ?></a></div></td> 
     97                        <td><div class="ina"><a href="mman_members.php?id=<?php echo $val["id"] ?>"><?php __("List Members"); ?></a></div></td> 
    8198                </tr> 
    8299                <?php 
    83100                } 
    84101        ?> 
    85         <tr><td colspan="6" align="center"><input type="submit" class="inb" name="submit" value="<?php __("Delete the checked lists"); ?>" /></td></tr> 
    86102        </table> 
    87         </form> 
     103<br /> 
     104<input type="submit" class="inb" name="submit" value="<?php __("Delete the checked lists"); ?>" /> 
     105</form> 
    88106 
    89107        <?php 
    90 } 
     108            } 
    91109 
    92 if ($quota->cancreate("mailman")) { 
    93 ?> 
    94         <span class="ina"><a href="mman_add.php"><?php __("Create a list"); ?></a></span><br /> 
    95         <?php 
    96 } 
    97110?> 
    98111 
  • alternc-mailman/trunk/bureau/locales/fr_FR/LC_MESSAGES/mailman.po

    r2714 r2717  
    2525 
    2626#: admin/mman_add.php:49 
    27 msgid "Email address" 
    28 msgstr "Adresse email" 
     27msgid "List's email address" 
     28msgstr "Adresse email de la liste" 
    2929 
    3030#: admin/mman_add.php:52 
    31 msgid "Owner" 
    32 msgstr "Propriétaire" 
     31msgid "Email of the list's administrator" 
     32msgstr "Adresse email de l'administrateur de la liste" 
    3333 
    3434#: admin/mman_add.php:55 
    35 msgid "Initial list password" 
    36 msgstr "Mot de passe initial" 
     35msgid "List password" 
     36msgstr "Mot de passe de la liste" 
    3737 
    3838#: admin/mman_add.php:55 
    39 msgid "Initial list password (confirm)" 
    40 msgstr "Mot de passe initial (confirmation)" 
     39msgid "List password (confirm)" 
     40msgstr "Mot de passe de la liste (confirmation)" 
    4141 
    4242#: admin/mman_add.php:59 
  • alternc-mailman/trunk/bureau/locales/fr_FR/LC_MESSAGES/mailman_manual.po

    r2714 r2717  
    2323 
    2424msgid "err_mailman_3" 
    25 msgstr "Le mail du propriétaire, et le mot de passe de la liste sont obligatoires" 
     25msgstr "Le mail de l'administrateur de la liste et le mot de passe de la liste sont obligatoires" 
    2626 
    2727msgid "err_mailman_4" 
     
    4444 
    4545msgid "err_mailman_10" 
    46 msgstr "Une liste du même nom existe deja. Choisissez un autre nom." 
     46msgstr "Une liste du même nom (partie gauche de l'@) existe deja sur ce serveur. Vous devez choisir un autre nom." 
    4747 
    4848msgid "err_mailman_11" 
Note: See TracChangeset for help on using the changeset viewer.