Question #63094 on phpns changed:
https://answers.launchpad.net/phpns/+question/63094

    Status: Open => Answered

alecwh proposed the following answer:
main article template (minus {reddit} and {digg}):

<div style="margin-bottom: 30px; min-height: 130px;">
        <h2 style="margin-bottom: 0pt"><a href="{article_href}" 
style="text-decoration: none;">{title}</a></h2>
        <h3><em>{sub_title}</em></h3>
        <h4 style="margin: 0 0 0 3em; font-weight: normal;">Posted by <a 
href="#">{author}</a> on {date}</h4>
        <span style="float: right"><a href="{image_location}">{image}</a></span>
<div style="float:right; padding: 0 0 10px 10px"></div>
        {main_article}
        {extended_article}
        <div id="comments" style="text-align: right; clear: both;">
                <strong><a href="{article_href}#comments">{comment_count} 
comments</a></strong>
        </div>
</div>

--
comment template:

<div style="background: #eee; margin: 20px 0 0 5%; padding: 5px;">
        <div style="border: 1px solid #ccc; padding: 3px; background: #ccc; 
margin-bo
ttom: 5px;"> 
                <div style="text-align: right; float: right"> {timestamp} 
{admin}</div>  
                <strong>Posted by  <a href="{website}">{author}</a></strong> as 
{ip}
        </div>
        {comment}
</div>

--
comment form template:

<form style="margin-top: 50px;" action="{action}" method="post">
        <input type="text" name="name" id="name" /> <label for="name">Name 
(required)</label><br />
        <input type="text" name="email" id="email" /> <label for="email">Email 
(not publishe
d) (required)</label><br />
        <input type="text" name="website" id="website" /> <label 
for="website">Website</label><br />
        <textarea name="comment" style="width:100%; height: 
150px"></textarea><br />
        <input type="text" name="captcha" style="width: 100px" /> <label 
for="captcha"><strong>What is {captcha_question}?</strong></label><br />
        {hidden_data}
        {captcha_answer}
        <input type="submit" value="Submit comment" id="submit" />
</form>

--
article pagination template:

<a style="padding: 3px; margin: 10px; border: 1px solid #888;"
href="{previous_page}">Previous Page</a> {middle_pages} <a
style="padding: 3px; margin: 10px; border: 1px solid #888;"
href="{next_page}">Next Page</a>

-- 
You received this question notification because you are a member of
Phpns-team, which is an answer contact for phpns.

_______________________________________________
Mailing list: https://launchpad.net/~phpns-team
Post to     : phpns-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~phpns-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to