Grégory Soutadé
0150b9f6cd
Delete comments when a post is deleted Forgot to set email input as hidden in comment responses Forgot to setup cache for post comment generation
34 lines
1.8 KiB
HTML
Executable File
34 lines
1.8 KiB
HTML
Executable File
<dyn:base file="_base_post.html" block="content" xmlns:dyn="http://indefero.soutade.fr/p/dynastie">
|
|
<dyn:post>
|
|
<div class="post">
|
|
<div class="post_header">
|
|
<dyn:title link="0"/>
|
|
<div class="post_sub_header">
|
|
<dyn:date/> | <div class="author_icon"> Écrit par <dyn:author/> </div>
|
|
</div>
|
|
<dyn:tags link="1"/>
|
|
</div>
|
|
<dyn:post_content> </dyn:post_content>
|
|
<dyn:comments>
|
|
<dyn:replace div_name="div" id="comment_dyn:comment_index"> </dyn:replace>
|
|
<div class="comment_header">#<dyn:comment_index/> De<dyn:comment_author/>, le<dyn:comment_date/></div>
|
|
<dyn:comment_content/>
|
|
<dyn:replace div_name="a" href="javascript:void(0);" onClick="javascript:display('response_dyn:comment_index');">Répondre</dyn:replace><br/>
|
|
<dyn:replace div_name="form" id="response_dyn:comment_index" class="response" method="POST" action="/comment/add/dyn:post_id/dyn:comment_id" onsubmit="return validateComment('response_dyn:comment_index');">
|
|
Auteur :<br/><input type="text" name="author"/><br/><br/>
|
|
e-mail* :<br/><input id="email" type="text" name="email"/><input type="text" name="mel"/><br/><br/>
|
|
Le commentaire :<br/><textarea name="the_comment" cols="80" rows="10"> </textarea><br/><br/>
|
|
<input type="submit" value="Commenter"/>
|
|
</dyn:replace>
|
|
</dyn:comments>
|
|
<dyn:replace div_name="form" id="response_0" method="POST" action="/comment/add/dyn:post_id/0" onsubmit="return validateComment('response_0');">
|
|
Auteur :<br/><input type="text" name="author"/><br/><br/>
|
|
e-mail* :<br/><input id="email" type="text" name="email"/><input type="text" name="mel"/><br/><br/>
|
|
Le commentaire :<br/><textarea name="the_comment" cols="80" rows="10"> </textarea><br/><br/>
|
|
<input type="submit" value="Commenter"/><br/><br/>
|
|
* Seulement pour être notifié d'une réponse à cet article
|
|
</dyn:replace>
|
|
</div>
|
|
</dyn:post>
|
|
</dyn:base>
|