[ Index ]
 

Code source de SPIP Agora 1.4

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/Agora1-4/ecrire/ -> consult_post_done.php (source)

   1  <?php
   2  /*****************************************************
   3  * This file is part of Agora, web based content management system.
   4  *
   5  * Agora 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; version 2 of the License.
   8  *
   9  * Agora is distributed in the hope that it will be useful,
  10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  * GNU General Public License for more details (file "COPYING").
  13  *
  14  * Copyright © Arnaud Martin, Antoine Pitrou et Philippe Rivière.
  15  * List of authors detailed in "copyright_fr.html" file.
  16  * E-mail : agora@sig.premier-ministre.gouv.fr
  17  * Web site : http://www.agora.gouv.fr
  18  *****************************************************/
  19  /** Suppression d'un modèle pst de la liste Queued et liste des lettres
  20   * @version      $Id$
  21   */
  22  
  23  require_once  ("inc.php");
  24  
  25  require_once  ("inc_config.php");
  26  require_once (dirname(__FILE__). '/include/bd/inc_newsletter_instance_factory.php');
  27  
  28  debut_page("Newsletter", "documents", "newsletter");
  29  debut_gauche();
  30  debut_raccourcis();
  31  echo "<div align='center'>\n";
  32  icone_horizontale(_T('liste_lettre_information'), "newsletter.php?id_newsletter=" . $_GET['id_newsletter'], "newsletter-24.gif", "rien.gif");
  33  echo "</div>";
  34  fin_raccourcis();
  35  
  36  debut_droite();
  37  $maLettre = &recuperer_instance_newsletter_instance();
  38  $maLettre->load($_GET['id_pst']);
  39  $nomDeMaLettre = $maLettre->getSubject();
  40  debut_cadre_relief ("newsletter-24.gif");
  41  echo '<div><span style="border-bottom: 1px dashed rgb(56, 116, 176);">';
  42  echo '<font color="#3874b0" face="Verdana,Arial,Sans,sans-serif" size="5">';
  43  echo '<b>' . _T("exportation_des_post"). '</b>&nbsp;' . $nomDeMaLettre . '</font></span></div>';
  44  echo '<br />';
  45  
  46  if (isset($_GET['id_pst']) && isset($_GET['id_newsletter'])) {
  47      echo _T("exporter_la_liste_post"). " ? <br />";
  48      echo "<div style='text-align: center;'>";
  49      echo "         <input type='hidden' name='id_pst' value='" . $_GET['id_pst']. "' /><br />";
  50      echo "         <input type='submit' onclick='window.open(\"newsletter.php?id_newsletter=" . $_GET['id_newsletter']. "\", \"_self\")' name='validate' value='" . _T("cancel_post"). "' class=\"fondo\" />";
  51      echo "         <input type='submit' onclick='window.open(\"export_newsletter_post_done_csv.php?id_pst=" . $_GET['id_pst']. "&id_newsletter=" . $_GET['id_newsletter']. "\", \"_self\")' name='validate' value='" . _T("exporter_post"). "' class=\"fondo\" />";
  52  }
  53  
  54  fin_cadre_relief();
  55  ?>


Généré le : Sat Feb 24 14:40:03 2007 par Balluche grâce à PHPXref 0.7