Les articles publiés sur le site
-
#ARRAY
14 août 2010, par Mark — TagsThe #ARRAY tag may contain a PHP table or array, i.e. a collection of key/value pairs that needs to be stored so that they can be reused later in the template. The array must be declared using the #SET tag and can then later be retrieved using the #GET tag [1]. It can be then be used, amongst (...) -
#ANCRE_PAGINATION
14 août 2010, par Mark — TagsThe #PAGINATION tag creates (by default) an HTML anchor [1] which enables the browser to directly display the part of the page which is paginated; for example, sometimes we might want to put pagination links below a list of articles, but also, at the same time, we might want to place the anchor (...) -
#AUTORISER
14 août 2010, par Mark — TagsThis tag was introduced in spip. It is used, within a template, to execute the same checks that would be performed in PHP using the autoriser() function. It returns a space if the authorisation is granted, and an empty string if it is not. It accepts as many arguments (and the same ones) as are (...) -
#CACHE
14 août 2010, par Mark — TagsThe #CACHEtime in seconds tag is used to determine the time period which will pass before the template is freshly recalculated [1]. The time is expressed in seconds. It may be specified as a calculation. This tag is generally inserted right at the start of template files. In its absence, by (...) -
#CHAMP_SQL
14 août 2010, par Mark — Tags#CHAMP_SQL is used to extract any SQL field associated with a loop. - Tags