Changeset 1185
- Timestamp:
- 09/06/04 19:42:02 (9 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
-
bureau/admin/mman_list.php (modified) (2 diffs)
-
bureau/admin/mman_members.php (added)
-
bureau/class/m_mailman.php (modified) (1 diff)
-
bureau/locales/fr_FR/LC_MESSAGES/mailman.po (modified) (1 diff)
-
src/Makefile (modified) (1 diff)
-
src/mailman.list.c (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bureau/admin/mman_list.php
r1183 r1185 68 68 <form method="post" action="mman_del.php"> 69 69 <table cellspacing="0" cellpadding="4" border="1"> 70 <tr><th><?php __("Delete"); ?></th><th><?php __("List name"); ?></th><th colspan=" 3"> </th></tr>70 <tr><th><?php __("Delete"); ?></th><th><?php __("List name"); ?></th><th colspan="4"> </th></tr> 71 71 <?php 72 72 reset($r); … … 81 81 <td> <a href="http://<?php echo $val["domain"]; ?>/cgi-bin/mailman/admin/<?php echo $val["name"] ?>"><?php __("List admin"); ?></a> </td> 82 82 <td> <a href="http://<?php echo $val["domain"]; ?>/cgi-bin/mailman/admindb/<?php echo $val["name"] ?>"><?php __("Pending messages"); ?></a> </td> 83 <td> <a href="mman_members.php?id=<?php echo $val["id"] ?>"><?php __("List Members"); ?></a> </td> 83 84 </tr> 84 85 <?php -
trunk/bureau/class/m_mailman.php
r1182 r1185 190 190 191 191 /* ----------------------------------------------------------------- */ 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 /* ----------------------------------------------------------------- */ 192 209 /** Fonction appellée par domaines lorsqu'un domaine est effacé. 193 210 * Cette fonction efface tous les comptes mails du domaine concerné. -
trunk/bureau/locales/fr_FR/LC_MESSAGES/mailman.po
r1170 r1185 55 55 msgstr "Messages en attente" 56 56 57 msgid "List Members" 58 msgstr "Abonnés" 59 57 60 msgid "Delete the checked lists" 58 61 msgstr "Effacer les listes cochées" -
trunk/src/Makefile
r1156 r1185 26 26 # ---------------------------------------------------------------------- 27 27 # 28 CC=gcc 28 29 29 all: mailman.create mailman.delete 30 all: mailman.create mailman.delete mailman.list 30 31 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 $@ 36 34 37 35 clean: 38 rm -f *.o core *~ mailman.delete mailman.create 36 rm -f *.o core *~ mailman.delete mailman.create mailman.list 39 37 40 38 install: 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 43 41 44 42
Note: See TracChangeset
for help on using the changeset viewer.
