| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
require_once("../class/config.php"); |
|---|
| 31 |
|
|---|
| 32 |
include("head.php"); |
|---|
| 33 |
if(!$r=$sympa->get_ml($id)) { |
|---|
| 34 |
$error=$err->errstr(); |
|---|
| 35 |
} |
|---|
| 36 |
?> |
|---|
| 37 |
</head> |
|---|
| 38 |
<body> |
|---|
| 39 |
<div align="center"><h3><?php printf(_("Mailing list %s"),$r["list"]); ?></h3></div> |
|---|
| 40 |
<?php echo "<br><font color=red>$error</font><br>";?> |
|---|
| 41 |
|
|---|
| 42 |
<hr> |
|---|
| 43 |
<!-- Paramètres généraux de la liste --> |
|---|
| 44 |
<form method="post" action="lst_doedit.php"> |
|---|
| 45 |
<input type="hidden" name="id" value="<?php echo $id; ?>"> |
|---|
| 46 |
<p><b><?php __("General list parameters:"); ?></b></p> |
|---|
| 47 |
<table cellpadding="4" cellspacing="0" border="1"> |
|---|
| 48 |
<tr> |
|---|
| 49 |
<th><?php __("Subscription mode"); ?></th> |
|---|
| 50 |
<td><select class="inl" name="subscribe_mode"><?php $sympa->select_subscribe_mode($r["subscribe"]) ?></select></td> |
|---|
| 51 |
</tr> |
|---|
| 52 |
<tr> |
|---|
| 53 |
<th><?php __("Unsubscription mode"); ?></th> |
|---|
| 54 |
<td><select class="inl" name="unsubscribe_mode"><?php $sympa->select_unsubscribe_mode($r["unsubscribe"]) ?></select></td> |
|---|
| 55 |
</tr> |
|---|
| 56 |
<tr> |
|---|
| 57 |
<th><?php __("Posting mode"); ?></th> |
|---|
| 58 |
<td><select class="inl" name="send_mode"><?php $sympa->select_send_mode($r["send"]) ?></select></td> |
|---|
| 59 |
</tr> |
|---|
| 60 |
<tr> |
|---|
| 61 |
<th><?php __("Who get the replies"); ?></th> |
|---|
| 62 |
<td><select class="inl" name="reply_to"><?php $sympa->select_reply_to($r["reply_to"]) ?></select> |
|---|
| 63 |
<?php __("email (if needed):"); ?><input type="text" class="int" name="reply_to_email" size="20" value="<?php echo $r["other_email"]; ?>"> |
|---|
| 64 |
</td> |
|---|
| 65 |
</tr> |
|---|
| 66 |
<tr> |
|---|
| 67 |
<th><?php __("Text to append in front of mail subject"); ?></th> |
|---|
| 68 |
<td><input class="int" type="text" name="addsubject" size="20" value="<?php echo $r["addsubject"]; ?>"> |
|---|
| 69 |
</td> |
|---|
| 70 |
</tr> |
|---|
| 71 |
<tr> |
|---|
| 72 |
<th><?php __("Who can ask for the subscribed users list ?"); ?></th> |
|---|
| 73 |
<td><select class="inl" name="review_mode"><?php $sympa->select_review_mode($r["review"]) ?></select></td> |
|---|
| 74 |
</td> |
|---|
| 75 |
</tr> |
|---|
| 76 |
<tr> |
|---|
| 77 |
<th><?php __("Maximum allowed size of mail messages"); ?></th> |
|---|
| 78 |
<td><select name="max_size"><?php |
|---|
| 79 |
$sympa->size_list($r["max_size"]); |
|---|
| 80 |
?></select> |
|---|
| 81 |
</td> |
|---|
| 82 |
</tr> |
|---|
| 83 |
<tr> |
|---|
| 84 |
<td colspan="2" align="center"><input type="submit" class="inb" name="submit" value="<?php __("Edit the list's parameters"); ?>"></td> |
|---|
| 85 |
<tr> |
|---|
| 86 |
</tr> |
|---|
| 87 |
</table> |
|---|
| 88 |
</form> |
|---|
| 89 |
<p> </p> |
|---|
| 90 |
|
|---|
| 91 |
<hr> |
|---|
| 92 |
<!-- Modification des mails templates --> |
|---|
| 93 |
<P><b><?php __("Edition of automatic mail contents:"); ?></b></P> |
|---|
| 94 |
<table cellspacing="0" cellpadding="4"> |
|---|
| 95 |
<?php |
|---|
| 96 |
|
|---|
| 97 |
$col=1; |
|---|
| 98 |
reset($sympa->textfiles); |
|---|
| 99 |
while (list($key,$val)=each($sympa->textfiles)) { |
|---|
| 100 |
$col=3-$col; |
|---|
| 101 |
echo "<tr class=\"lst$col\"><td><a href=\"lst_edittxt.php?txt=".urlencode($key)."&id=$id\">Edition</a></td>"; |
|---|
| 102 |
echo "<td>"._($val)."</td></tr>"; |
|---|
| 103 |
} |
|---|
| 104 |
|
|---|
| 105 |
?> |
|---|
| 106 |
</table> |
|---|
| 107 |
|
|---|
| 108 |
<hr> |
|---|
| 109 |
|
|---|
| 110 |
</body> |
|---|
| 111 |
</html> |
|---|
| 112 |
|
|---|
| 113 |
|
|---|