[ Index ]
 

Code source de SPIP 1.9.2c

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/ecrire/exec/ -> menu_agenda.php (source)

   1  <?php
   2  
   3  /***************************************************************************\
   4   *  SPIP, Systeme de publication pour l'internet                           *
   5   *                                                                         *
   6   *  Copyright (c) 2001-2007                                                *
   7   *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
   8   *                                                                         *
   9   *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
  10   *  Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne.   *
  11  \***************************************************************************/
  12  
  13  if (!defined("_ECRIRE_INC_VERSION")) return;
  14  
  15  include_spip('inc/presentation');
  16  
  17  // http://doc.spip.org/@exec_menu_agenda_dist
  18  function exec_menu_agenda_dist() {
  19  
  20      list($evtm, $evtt, $evtr) = http_calendrier_messages(date("Y"), date("m"), date("d"));
  21  
  22      $ret = "<table><tr>"
  23          . "<td style='width: 200px; vertical-align: top;' >"
  24          . "<div>"
  25          . $evtm
  26          . "</div>"
  27          . "</td>"
  28          .  (!$evtt ? '' :
  29              ( "<td style='width: 10px; vertical-align: top'> &nbsp; </td>"
  30              . "<td style='width: 200px; color: black; vertical-align: top'>"
  31              . "<div>&nbsp;</div>$evtt</td>"))
  32            . "</tr></table>";
  33  
  34      ajax_retour($ret);
  35  }
  36  
  37  ?>


Généré le : Wed Nov 21 10:20:27 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics