Les articles publiés sur le site
-
|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 (...) -
|texte_backend
25 juin 2010, par Mark — FiltersThe |texte_backend filter appleid to a text tag will translate the HTML output of that tag into a format that is compatible with XML feeds. It is used, for example in the backend.html template used to generate the RSS feeds for SPIP-published content. This filter transforms links into absolute (...) -
|texte_script
25 juin 2010, par Mark — FiltersThe |texte_script filter transforms tag output into a character string that can be used in complete security by a PHP or JavaScript script. The following PHP script provides an example: Attention: make sure to use the ' (simple quote) character and not the " (double quote) character to delimit (...) -
|textebrut
25 juin 2010, par Mark — FiltersThe |textebrut filter transforms the output of the tag to which it is applied by replacing any and tags with simple line feeds; double line feeds are replaced by a single line feed, double spaces are replaced by single spaces, and hard spaces are replaced with ordinary soft spaces. It also (...)