summaryrefslogtreecommitdiff
path: root/beta_accents/app/include/ludo/mail_textarea.php
diff options
context:
space:
mode:
Diffstat (limited to 'beta_accents/app/include/ludo/mail_textarea.php')
-rw-r--r--beta_accents/app/include/ludo/mail_textarea.php45
1 files changed, 0 insertions, 45 deletions
diff --git a/beta_accents/app/include/ludo/mail_textarea.php b/beta_accents/app/include/ludo/mail_textarea.php
deleted file mode 100644
index 6db990f..0000000
--- a/beta_accents/app/include/ludo/mail_textarea.php
+++ /dev/null
@@ -1,45 +0,0 @@
-<?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=addslashes_if_needed($_GET['model']); } else { $model='empty'; }
-?>
-
-<textarea name="msgText" cols="80" rows="15">
-<?php
- if ( $model != 'empty')
- {
- include('../connect.inc.php');
- if ( ! isset($CONFIG['MAIL']['TEMPLATES'][$model]['tpl_file']) )
- {
- echo 'D&eacute;sol&eacute;, mod&egrave;le indisponible...';
- }
- else
- {
- // 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']) )
- {
- $idR=addslashes($_GET['idR']);
- $result = mysql_query("SELECT objetR, ordreJourR, lieuR, remarquesR FROM AWOR_Reunion WHERE idR='$idR'");
- if (mysql_num_rows($result)===1)
- {
- list($objetR, $ordreJourR, $lieuR, $remarquesR) = mysql_fetch_array($result);
- }
- }
- //echo 'DEBUG : ../../templates/' . $CONFIG['MAIL']['TEMPLATES'][$model]['tpl_file'] . "\n";
- if (!@include('../../templates/' . $CONFIG['MAIL']['TEMPLATES'][$model]['tpl_file']) )
- {
- echo 'D&eacute;sol&eacute;, impossible de charger le fichier mod&egrave;le...';
- }
- }
- }
- //print_r($_REQUEST);
- //print_r($CONFIG);
-?>
-</textarea>
-