summaryrefslogtreecommitdiff
path: root/beta_accents/app/include/ludo/mail_textarea.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:39:33 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:39:33 +0200
commit9738017972a6d4fea655926525b3c67dd85740cf (patch)
tree938d6f26c138d7c176c821bafc513362186a8ca7 /beta_accents/app/include/ludo/mail_textarea.php
parent5dac82f52f45ad27f16ec2ff63ee75e2f39ef942 (diff)
download2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.tar.gz
2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.tar.bz2
2007-AWOR-9738017972a6d4fea655926525b3c67dd85740cf.zip
Version beta_accents 2007-03-12+17:26:00 - 2007-03-14+17:35:14
Diffstat (limited to 'beta_accents/app/include/ludo/mail_textarea.php')
-rw-r--r--beta_accents/app/include/ludo/mail_textarea.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/beta_accents/app/include/ludo/mail_textarea.php b/beta_accents/app/include/ludo/mail_textarea.php
index 87f4965..6db990f 100644
--- a/beta_accents/app/include/ludo/mail_textarea.php
+++ b/beta_accents/app/include/ludo/mail_textarea.php
@@ -1,11 +1,12 @@
<?php
require_once('session_verify.inc.php');
include('config.inc.php');
+require_once('../utils.inc.php');
//~ require_once('/home/lud/shares/public_html/awor/appli_3_alpha/include/connect.inc.php');
//include('include/connect.inc.php');
-if ( isset($_GET['model']) ) { $model=$_GET['model']; } else { $model='empty'; }
+if ( isset($_GET['model']) ) { $model=addslashes_if_needed($_GET['model']); } else { $model='empty'; }
?>
<textarea name="msgText" cols="80" rows="15">
@@ -15,11 +16,11 @@ if ( isset($_GET['model']) ) { $model=$_GET['model']; } else { $model='empty'; }
include('../connect.inc.php');
if ( ! isset($CONFIG['MAIL']['TEMPLATES'][$model]['tpl_file']) )
{
- echo 'Désolé, modèle indisponible...';
+ echo 'D&eacute;sol&eacute;, mod&egrave;le indisponible...';
}
else
{
- // On récupère quelques information à propos de la réunion pour que les templates puissent être customisés
+ // On r&eacute;cup&egrave;re quelques information &agrave; propos de la r&eacute;union pour que les templates puissent &ecirc;tre customis&eacute;s
$objetR=$ordreJourR=$lieuR=$remarquesR="";
if (isset( $_GET['idR']) )
{
@@ -33,7 +34,7 @@ if ( isset($_GET['model']) ) { $model=$_GET['model']; } else { $model='empty'; }
//echo 'DEBUG : ../../templates/' . $CONFIG['MAIL']['TEMPLATES'][$model]['tpl_file'] . "\n";
if (!@include('../../templates/' . $CONFIG['MAIL']['TEMPLATES'][$model]['tpl_file']) )
{
- echo 'Désolé, impossible de charger le fichier modèle...';
+ echo 'D&eacute;sol&eacute;, impossible de charger le fichier mod&egrave;le...';
}
}
}