Changeset 1185


Ignore:
Timestamp:
09/06/04 19:42:02 (10 years ago)
Author:
anonymous
Message:

Ajout de la liste des abonnes des listes

Location:
trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/bureau/admin/mman_list.php

    r1183 r1185  
    6868        <form method="post" action="mman_del.php"> 
    6969        <table cellspacing="0" cellpadding="4" border="1"> 
    70         <tr><th><?php __("Delete"); ?></th><th><?php __("List name"); ?></th><th colspan="3">&nbsp;</th></tr> 
     70        <tr><th><?php __("Delete"); ?></th><th><?php __("List name"); ?></th><th colspan="4">&nbsp;</th></tr> 
    7171        <?php 
    7272        reset($r); 
     
    8181                        <td>&nbsp;<a href="http://<?php echo $val["domain"]; ?>/cgi-bin/mailman/admin/<?php echo $val["name"] ?>"><?php __("List admin"); ?></a>&nbsp;</td> 
    8282                        <td>&nbsp;<a href="http://<?php echo $val["domain"]; ?>/cgi-bin/mailman/admindb/<?php echo $val["name"] ?>"><?php __("Pending messages"); ?></a>&nbsp;</td> 
     83                        <td>&nbsp;<a href="mman_members.php?id=<?php echo $val["id"] ?>"><?php __("List Members"); ?></a>&nbsp;</td> 
    8384                </tr> 
    8485                <?php 
  • trunk/bureau/class/m_mailman.php

    r1182 r1185  
    190190 
    191191  /* ----------------------------------------------------------------- */ 
     192  /** Returns the list's members as a text file, one subscriber per  
     193   *   line.  
     194   */ 
     195 function members($id) { 
     196    global $err,$db,$cuid; 
     197    $err->log("mailman","members"); 
     198    $db->query("SELECT * FROM mailman WHERE uid='$cuid' AND id='$id';"); 
     199    if (!$db->num_rows()) { 
     200      $err->raise("mailman",1); 
     201      return false; 
     202    } 
     203    $db->next_record(); 
     204    passthru("/usr/lib/alternc/mailman.list ".$db->Record["list"]); 
     205  } 
     206 
     207 
     208  /* ----------------------------------------------------------------- */ 
    192209  /** Fonction appellée par domaines lorsqu'un domaine est effacé. 
    193210   * Cette fonction efface tous les comptes mails du domaine concerné. 
  • trunk/bureau/locales/fr_FR/LC_MESSAGES/mailman.po

    r1170 r1185  
    5555msgstr "Messages en attente" 
    5656 
     57msgid "List Members" 
     58msgstr "Abonnés" 
     59 
    5760msgid "Delete the checked lists" 
    5861msgstr "Effacer les listes cochées" 
  • trunk/src/Makefile

    r1156 r1185  
    2626# ---------------------------------------------------------------------- 
    2727# 
     28CC=gcc 
    2829 
    29 all: mailman.create mailman.delete 
     30all: mailman.create mailman.delete mailman.list 
    3031 
    31 mailman.create: mailman.create.c 
    32         cc mailman.create.c -o mailman.create 
    33  
    34 mailman.delete: mailman.delete.c 
    35         cc mailman.delete.c -o mailman.delete 
     32%: %.c 
     33        $(CC) $< -o $@ 
    3634 
    3735clean:  
    38         rm -f *.o core *~ mailman.delete mailman.create  
     36        rm -f *.o core *~ mailman.delete mailman.create mailman.list 
    3937 
    4038install: 
    41         chown list.list mailman.create mailman.delete 
    42         chmod u+s mailman.create mailman.delete 
     39        chown list.list mailman.create mailman.delete mailman.list 
     40        chmod u+s mailman.create mailman.delete mailman.list 
    4341 
    4442 
Note: See TracChangeset for help on using the changeset viewer.