phpDocumentor lodel
[ class tree: lodel ] [ index: lodel ] [ all elements ]

Source for file balises.php

Documentation is available at balises.php

  1. <?php
  2. /**
  3.  * Fichier utilitaire de gestion des balises XHTML
  4.  *
  5.  * PHP versions 4 et 5
  6.  *
  7.  * LODEL - Logiciel d'Edition ELectronique.
  8.  *
  9.  * Copyright (c) 2001-2002, Ghislain Picard, Marin Dacos
  10.  * Copyright (c) 2003, Ghislain Picard, Marin Dacos, Luc Santeramo, Nicolas Nutten, Anne Gentil-Beccot
  11.  * Copyright (c) 2004, Ghislain Picard, Marin Dacos, Luc Santeramo, Anne Gentil-Beccot, Bruno Cénou
  12.  * Copyright (c) 2005, Ghislain Picard, Marin Dacos, Luc Santeramo, Gautier Poupeau, Jean Lamy, Bruno Cénou
  13.  * Copyright (c) 2006, Marin Dacos, Luc Santeramo, Bruno Cénou, Jean Lamy, Mikaël Cixous, Sophie Malafosse
  14.  * Copyright (c) 2007, Marin Dacos, Bruno Cénou, Sophie Malafosse, Pierre-Alain Mignot
  15.  *
  16.  * Home page: http://www.lodel.org
  17.  *
  18.  * E-Mail: lodel@lodel.org
  19.  *
  20.  * All Rights Reserved
  21.  *
  22.  * This program is free software; you can redistribute it and/or modify
  23.  * it under the terms of the GNU General Public License as published by
  24.  * the Free Software Foundation; either version 2 of the License, or
  25.  * (at your option) any later version.
  26.  *
  27.  * This program is distributed in the hope that it will be useful,
  28.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  29.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  30.  * GNU General Public License for more details.
  31.  *
  32.  * You should have received a copy of the GNU General Public License
  33.  * along with this program; if not, write to the Free Software
  34.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  35.  *
  36.  * @author Ghislain Picard
  37.  * @author Jean Lamy
  38.  * @copyright 2005, Ghislain Picard, Marin Dacos, Luc Santeramo, Gautier Poupeau, Jean Lamy, Bruno Cénou
  39.  * @copyright 2006, Marin Dacos, Luc Santeramo, Bruno Cénou, Jean Lamy, Mikaël Cixous, Sophie Malafosse
  40.  * @copyright 2007, Marin Dacos, Bruno Cénou, Sophie Malafosse, Pierre-Alain Mignot
  41.  * @licence http://www.gnu.org/copyleft/gpl.html
  42.  * @version CVS:$Id:
  43.  * @package lodel
  44.  */
  45.  
  46.  
  47. // $balises contient toutes les balises reconnues.
  48. // la valeur de la balise definie l'affichage dans chkbalisage.php (et n'a aucune incidence ailleurs).
  49. // les balises principales doivent etre associe a leur name litteral
  50. // les ss balises doivent etre associees a une/ou des balises html ou etre vide.
  51.  
  52. /*$GLOBALS['balises'] = array (
  53.         "-" => "-",
  54.         "citation" => "<blockquote>",
  55.         "epigraphe" => "<div class=\"balisesinternes\">",
  56.         "typedoc" => "Type de document",
  57.         "finbalise" => "fin",
  58.         "section1" => "<h1>",
  59.         "section2" => "<h2>",
  60.         "section3" => "<h3>",
  61.         "section4" => "<h4>",
  62.         "section5" => "<h5>",
  63.         "section6" => "<h6>",
  64.         "titredoc" => "<i>",
  65.         "legendedoc" => "<i>",
  66.         "titreillustration" => "<i>",
  67.         "legendeillustration" => "<i>",
  68.         "langues" => "Langues",
  69.         # champs auteurs
  70.         "description" => "Description de l'auteur prcdent",
  71.         #
  72.         # balises pour l'import de sommaire
  73.         "regroupement" => "Regroupement",
  74.         "titrenumero" => "Titre de la publication",
  75.         "nomnumero" => "Nom de la publication", 
  76.         "typenumero" => "Type de la publication");*/
  77.  
  78. // transparent style . Useful for the PDF export
  79. $GLOBALS['stylestransparents'"paragraphetransparent|caracteretransparent";
  80.  
  81. $GLOBALS['balisesdocumentassocie'array ("objetdelarecension" => "Objet de la recension""traduction" => "de la traduction");
  82.  
  83.  
  84. // Groups of xhtml tags
  85. // temporaire en attendant la 0.8
  86.  
  87. $GLOBALS['xhtmlgroups']['xhtml:fontstyle'array ("tt""i""b""big""small");
  88.  
  89. $GLOBALS['xhtmlgroups']['xhtml:phrase'array ("em""strong""dfn""code""q""samp""kbd""var""cite""abbr""acronym""sub""sup");
  90.  
  91. $GLOBALS['xhtmlgroups']['xhtml:special'array ("span""img""object""br""bdo""map");
  92.  
  93.     $GLOBALS['xhtmlgroups']['xhtml:block'array (
  94.         "p""h1""h2""h3""h4""h5""h6"# heading
  95.         "div""ul""ol""dl""li""dt""dd"# list
  96.         "pre""hr""blockquote""address"# blocktext
  97.         "fieldset""table""tr""td""th""thead""tfoot""tbody"
  98.         "col""colgroup""caption");
  99.  
  100. $GLOBALS['xhtmlgroups']['Lien'array ("a");
  101.  
  102. $GLOBALS['xhtmlgroups']['Appel de Note'array ("a" => "class=\"(foot|end)notecall\"");
  103. ?>

Documentation generated on Thu, 24 Jul 2008 05:07:16 +0200 by phpDocumentor 1.4.0a2