Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
Utiliser la balise <pre>

 
Post new topic   Reply to topic    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
Kharkov
Smarty n00b


Joined: 28 May 2012
Posts: 1

PostPosted: Mon May 28, 2012 8:38 pm    Post subject: Utiliser la balise <pre> Reply with quote

Bonjour à tous et à toutes,

Je souhaiterai tout simplement utiliser la balise <pre> sans que le code qui soit à l'intérieur soit exécuté.

Je veux afficher le code comme avec la balise [ code ] du forum (par exemple).

Comment dois je faire ?
J'ai essayé {literal}, <CDATA, etc.

Merci d'avance ![/code]
Back to top
View user's profile Send private message
shinix
Smarty n00b


Joined: 01 Jun 2012
Posts: 3

PostPosted: Fri Jun 01, 2012 4:49 pm    Post subject: Smarty Reply with quote

Bonjour,

je pense que le mieux est de "coder" le code (avec les codes html).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP