Les articles publiés sur le site
-
#REM
The #REM tag does not normally display anything: it is used to insert comments into template code. The #REM tag is used to insert comments into the code of your template files: [(#REM) This is a comment ] The tag and it's optional portion are purely and simply deleted when the template file is (...) -
#SELF
#SELF returns the URL of the called page, cleaned of any variables specific to running SPIP. #SELF (since spip) returns the URL for the current page. Any variables specific to running SPIP (e.g. var_mode) are deleted. Example: for a page with the URL: spip.php?article25&var_mode=recalcul, the (...) -
#SESSION
[SESSION#SESSION, is used to access the data linked to an authenticated site visitor and to automatically use a differentiated cache constructed for each visitor. #SESSION is used to access certain data that are specific to the visitor. The details for an authenticated visitor are: id_auteur: (...) -
#SET and #GET
The #SET tag defines a variable that will be usable throughout the rest of the same template file. The #GET is then used to retrieve the value of that variable. #SETvariable,value #GETvariable returns "value". The variable defined by #SET may be a character string or an array. A character (...) -
#TAILLE
#TAILLE ("size" in French) displays the size in bytes of the document. For very large files, this value can rapidly become incomprehensible; we can therefore then apply the |taille_en_octets filter, which will display the value in kilobytes, or megabytes where appropriate: (...)