root/alternc-mailman/tags/1.4.10/bureau/admin/mman_list.php

Revision 1244, 4.3 kB (checked in by lunar, 3 years ago)

r95@sud: lunar | 2006-03-11 16:05:45 +0100
Remove a reference to Globenet... *cough*

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1 <?php
2 /*
3  $Id$
4  ----------------------------------------------------------------------
5  AlternC - Web Hosting System
6  Copyright (C) 2002 by the AlternC Development Team.
7  http://alternc.org/
8  ----------------------------------------------------------------------
9  Based on:
10  Valentin Lacambre's web hosting softwares: http://altern.org/
11  ----------------------------------------------------------------------
12  LICENSE
13
14  This program is free software; you can redistribute it and/or
15  modify it under the terms of the GNU General Public License (GPL)
16  as published by the Free Software Foundation; either version 2
17  of the License, or (at your option) any later version.
18
19  This program is distributed in the hope that it will be useful,
20  but WITHOUT ANY WARRANTY; without even the implied warranty of
21  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  GNU General Public License for more details.
23
24  To read the license please visit http://www.gnu.org/copyleft/gpl.html
25  ----------------------------------------------------------------------
26  Original Author of file: Benjamin Sonntag, Franck Missoum
27  Purpose of file: Show the Mailing-Lists owned by the current user
28  ----------------------------------------------------------------------
29 */
30 require_once("../class/config.php");
31
32 include("head.php");
33 // If there is no installed domain, let's failed definitely !
34 if (count($dom->enum_domains())==0) {
35   $error=_("No domain is installed on your account, you cannot create any mailing list!");
36   ?>
37         </head>
38         <body>
39         <h3><?php __("Mailing lists"); ?></h3>
40      <?php echo "<p class=\"error\">$error</p>"; ?>
41         </body>
42         </html>
43
44         <?php
45         exit();
46      }
47
48 if(!$r=$mailman->enum_ml()) {
49   $error.=$err->errstr();
50     ?>
51     </head>
52     <body>
53     <h3><?php __("Mailing lists"); ?></h3>
54     <?php echo "<p class=\"error\">$error</p>"; ?>
55     </body>
56     </html>
57
58     <?php
59 }
60 else {
61     ?>
62     </head>
63     <body>
64         <h3><?php __("Mailing lists"); ?></h3>
65
66  <?php if ($error) echo "<p class=\"error\">$error</p>"; ?>
67
68     <form method="post" action="mman_del.php">
69     <table cellspacing="0" cellpadding="4" border="1">
70     <tr><th><?php __("Delete"); ?></th><th><?php __("List name"); ?></th><th colspan="4">&nbsp;</th></tr>
71     <?php
72     reset($r);
73     $col=1;
74     while (list($key,$val)=each($r)) {
75         $col=3-$col;
76         ?>
77         <tr class="lst<?php echo $col; ?>">
78             <td align="center"><input type="checkbox" class="inc" name="del_<?php echo $val["id"]; ?>" value="<?php echo $val["id"]; ?>"></td>
79             <td><?php echo $val["list"]."@".$val["domain"] ?></td>
80             <td>&nbsp;<a href="https://<?php echo $val["domain"]; ?>/cgi-bin/mailman/listinfo/<?php echo $val["name"] ?>"><?php __("Public page"); ?></a>&nbsp;</td>
81             <td>&nbsp;<a href="https://<?php echo $val["domain"]; ?>/cgi-bin/mailman/admin/<?php echo $val["name"] ?>"><?php __("List admin"); ?></a>&nbsp;</td>
82             <td>&nbsp;<a href="https://<?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>
84         </tr>
85         <?php
86         }
87     ?>
88     <tr><td colspan="6" align="center"><input type="submit" class="inb" name="submit" value="<?php __("Delete the checked lists"); ?>"></td></tr>
89     </table>
90     </form>
91
92     <?php
93 }
94
95 if ($quota->cancreate("mailman")) {
96 ?>
97     <a href="mman_add.php"><?php __("Create a list"); ?></a><br>
98     <?php
99 }
100 ?>
101 <p>
102 <ul>
103 <li>Mailman est un gestionnaire de liste de discussion/diffusion très puissant. Il possède une interface web complète de gestion de liste, accessible par les différents liens ci-dessus.</li>
104 <li>Mailman permet de modérer une liste : pour modérer les futurs abonnés, aller dans "Options de confidentialité"->"Filtres expéditeur" puis choisissez "Oui" dans "Les envois des nouveaux abonnés doivent être modérés par défaut?". En effet, mailman peut modérer CHAQUE abonné d'une liste. </li>
105 <li>Pour modérer les NON-abonnés d'une liste, aller dans "Options de confidentialité"->"Filtres expéditeur" puis choisissez parmi "Accepter En attente Rejeter Ignorer" pour "Action à entreprendre pour les envois des non-abonnés"</li>
106 <li>De nombreuses autres options peuvent être modifiées dans mailman. Pour toute information, cliquez sur le lien "Détails de ..." en dessous de chaque élément configurable, ou contactez-nous.</li>
107 </ul>
108 </p>
109
110 </body>
111 </html>
112
Note: See TracBrowser for help on using the browser.