Last change
on this file since 501 was
76,
checked in by sebas, 16 years ago
|
plugin de abonomailman para enviar boletin electronico
basado sobre los cambios de sebas para arreglar los envios.
|
-
Property svn:executable set to
*
|
File size:
677 bytes
|
Rev | Line | |
---|
[76] | 1 | <?php |
---|
| 2 | /* |
---|
| 3 | * Abomailmans |
---|
| 4 | * MaZiaR - NetAktiv |
---|
| 5 | * tech@netaktiv.com |
---|
| 6 | * Printemps 2007 |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | function abomailman_checkbox ($texte) { |
---|
| 10 | $liste = explode ("@", $texte); |
---|
| 11 | $nom_liste_join = $liste[0] ."-join"; |
---|
| 12 | $domaine = $liste[1]; |
---|
| 13 | $abonnement = $nom_liste_join . "@" . $domaine; |
---|
| 14 | |
---|
| 15 | return $texte = "<input name=\"listes[]\" type=\"checkbox\" value=\"" . $abonnement . "\" />"; |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | function abomailman_inputhidden ($texte) { |
---|
| 19 | $liste = explode ("@", $texte); |
---|
| 20 | $nom_liste_join = $liste[0] ."-join"; |
---|
| 21 | $domaine = $liste[1]; |
---|
| 22 | $abonnement = $nom_liste_join . "@" . $domaine; |
---|
| 23 | |
---|
| 24 | return $texte = "<input name=\"listes[]\" value=\"" . $abonnement . "\" type=\"hidden\">"; |
---|
| 25 | } |
---|
| 26 | |
---|
| 27 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.