Les articles publiés sur le site
-
|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 (...) -
|traduire_nom_langue
25 juin 2010, par Mark — Filters|traduire_nom_langue is applied to the #LANG tag and returns a translation of the language code provided by that tag (fr, en, it, etc.) into that language. Remarks: The translation of codes are made into the language that that code represents, and will follow the writing conventions of that (...) -
|unique
25 juin 2010, par Mark — FiltersThe |unique filter (since spip) returns the value of the tag that is is applied to only if it is the first time that that tag is encountered. It is therefore applied to a tag located inside a loop. In order to differentiate several independent uses within the loop, it is possible to pass a (...) -
|url_absolue
25 juin 2010, par Mark — Filters|url_absolue (since SPIP 1.8.2) works in the same way as the |liens_absolus filter, but is applied to a tag that returns a URL (e.g. #URL_ARTICLE or #URL_RUBRIQUE...). Examples: Filters