root/alternc-sympa/trunk/bureau/admin/lst_edittxt.php

Revision 1432, 2.4 kB (checked in by benjamin, 6 years ago)

Initial revision

  • 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
27  Purpose of file: Edit a mailing-list template file
28  ----------------------------------------------------------------------
29 */
30 require_once("../class/config.php");
31
32 include("head.php");
33
34 if(!$r=$sympa->get_template($id,$txt)) {
35   $error=$err->errstr();
36 }
37 if ($r=="-") $r="";
38 ?>
39 </head>
40 <body>
41 <div align="center"><h3><?php __("Edition of an automatic message"); ?></h3></div>
42 <?php echo "<br><font color=red>$error</font><br>";?>
43
44 <p><?php __($sympa->textfiles[$txt]); ?></p>
45
46 <form method="post" action="lst_doedittxt.php">
47 <input type="hidden" name="id" value="<?php echo $id; ?>">
48 <input type="hidden" name="txt" value="<?php echo $txt; ?>">
49 <textarea cols="64" class="int" rows="10" name="message"><?php echo $r; ?></textarea>
50 <p>&nbsp;</p>
51 <input type="submit" name="submit" class="inb" value="<?php __("Change this message"); ?>">
52 </form>
53 <P>Notes :
54 <ul>
55 <li>Si vous voulez que le gestionnaire de listes de diffusion utilise le message par d&eacute;faut dans la langue
56 choisie, laissez la boite de saisie vide.</li>
57 <li>Le texte de ce message est consid&eacute;r&eacute; comme du texte sans formattage. Vous pouvez mettre du HTML mais
58 il ne sera probablement compris que par quelques logiciels de courrier.</li>
59 <li>(Pour les pros) Si votre message commence par "From: ", il sera envoy&eacute; tel quel (message RFC) sans rien y ajouter.</li>
60 </ul>
61 </p>
62 </body>
63 </html>
64
65
Note: See TracBrowser for help on using the browser.