Created
May 22, 2010 14:58
-
-
Save anonymous/410127 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{exp:channel:entries channel="blog" limit="10"} | |
<h2 class="postTitle"><a href="{path='blog/detail'}">{title}</a></h2> | |
<p>Posted {entry_date format='%m/%d'} by {screen_name} </p> | |
{sumary} | |
{post_body} | |
{exp:comment:form channel="about" preview="channel/preview"} | |
{if logged_out} | |
<label for="name">Name:</label> <input type="text" name="name" value="{name}" size="50" /><br /> | |
<label for="email">Email:</label> <input type="text" name="email" value="{email}" size="50" /><br /> | |
<label for="location">Location:</label> <input type="text" name="location" value="{location}" size="50" /><br /> | |
<label for="url">URL:</label> <input type="text" name="url" value="{url}" size="50" /><br /> | |
{/if} | |
<label for="comment">Comment:</label><br /> | |
<textarea name="comment" cols="70" rows="10">{comment}</textarea> | |
<label><input type="checkbox" name="save_info" value="yes" {save_info} /> Remember my personal information</label><br /> | |
<label><input type="checkbox" name="notify_me" value="yes" {notify_me} /> Notify me of follow-up comments?</label><br /> | |
{if captcha} | |
<label for="captcha">Please enter the word you see in the image below:</label><br /> | |
<p>{captcha}<br /> | |
<input type="text" name="captcha" value="{captcha_word}" maxlength="20" /></p> | |
{/if} | |
<input type="submit" name="submit" value="Submit" /> | |
<input type="submit" name="preview" value="Preview" /> | |
{/exp:comment:form} | |
{/exp:channel:entries} | |
<h3>Comments</h3> | |
{exp:comment:entries sort="asc" limit="20"} | |
<div class="comment"> | |
{comment} | |
<p>By {name} on {comment_date format="%Y %m %d"}</p> | |
</div><!-- end comment --> | |
{/exp:comment:entries} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment