Les articles publiés sur le site
-
|secondes
25 juin 2010, par Mark — FiltersThe |secondes filter (since SPIP 1.2, SPIP 1.2.1) displays the seconds portion of the date to which it is applied. [(#DATE|secondes)] The displayed results varies from 00 to 59. If the date to which the filter is applied does not contain any time information, e.g. ([(#VAL2009-10-24|secondes)]), (...) -
|sinon
25 juin 2010, par Mark — FiltersThe |sinon filter (since SPIP 1.6) displays the argument that is passed to it if the tag to which it is applied returns an empty result: [(#TEXTE|sinon"there is no text")] will display the contents of the #TEXTE tag if that field is not empty, otherwise "there is no text" if #TEXTE returns (...) -
|supprimer_numero
25 juin 2010, par Mark — FiltersThe |supprimer_numero filter is used for not displaying the number prefixes [1] included in an object's title. Applied to the title "0118. Title of my article", [(#TITRE|supprimer_numero)] will then display "Title of my article". - (...) -
|supprimer_tags
25 juin 2010, par Mark — FiltersThe |supprimer_tags filter deletes all of the HTML tags () from the tag that is applied to while still retaining the contents of those same tags. For example, a #DESCRIPTIF tag which contains: William Shakespeare naquit à Stratford-sur-Avon, dans une (...) - (...) -
|table_valeur
25 juin 2010, par Mark — Filters|table_valeur returns the value associated to a given key in a PHP array or table. |table_valeurkey,default value The |table_valeur filter (since spip) applied to a tag that returns a table, accepts a first parameter as a key in the array and returns the value associated with that key. See (...)