source: spip-zone/_plugins_/rspip_code_mail/rspip3_code_mail/trunk/rspipcm_decode_email.php @ 70351

Last change on this file since 70351 was 70351, checked in by robert.sebille@…, 7 years ago

Support des forums + divers (voir doc)

File size: 1.6 KB
Line 
1<?php
2
3/*  Copyright 2010  Robert Sebille  (email : robert -AT- sebille -DOT- be)
4
5    This program is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; either version 2 of the License, or
8    (at your option) any later version.
9
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with this program; if not, write to the Free Software
17    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18*/
19
20
21function rspipcm_ecris_entete($flux) {
22
23//   $flux .= '<script type="text/javascript" src="../plugins/rspip_code_mail/rspipcm_code_email_prive.js"></script>';
24
25   $rspipcm_chemin_css = find_in_path ('css/noscript.css');
26   $rspipcm_chemin_js = find_in_path ('lib/rspipcm_decode_autres_fonctions.js');
27
28   // Recup des langues
29   $entrez_resultat_addition = _T('rspipcm:entrez_resultat_addition');
30   $erreur_entrez_resultat_addition = _T('rspipcm:erreur_entrez_resultat_addition');
31
32   
33$flux .= <<<EOD
34
35<!-- feuille de style pour l'encodage sans javascript -->
36<link rel='stylesheet' type='text/css' href='$rspipcm_chemin_css' />
37<!-- Decodeur et captcha du plugin Codeur d adresse email - debut -->
38<script type='text/javascript' src='$rspipcm_chemin_js'></script>
39EOD;
40
41   return $flux;
42
43}
44
45?>
Note: See TracBrowser for help on using the repository browser.