summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-11 21:36:25 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-11 21:36:25 +0100
commit3a1e10c6610946ba0ff21276c16d8637146c3542 (patch)
tree310f54c489e5d4037f89454eebf56c0f83bce6c3 /templates
parent243b6063cc5a88f50a7db14f69f946220e54b7bb (diff)
Fill in a couple of template variables.
Diffstat (limited to 'templates')
-rw-r--r--templates/article.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/article.html b/templates/article.html
index e56ab7d..61cc9de 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -22,7 +22,7 @@
action="{edit-link|html-attr-value}"
method="get">
<div style="display: inline;">
- <input name="id" type="hidden" value="106" />
+ <input name="edit" type="hidden" />
<input type="submit" value="{edit-button-label|html-attr-value}" />
</div>
</form>
@@ -42,7 +42,7 @@
<div class="comment">
<div class="comment-header">
{publishing-date|html-human-date}
- <a rel="nofollow" {.section link}href="{@|html-attr-value}"{.end}>{.section author}{@|html}{.or}{generic-commenter-name|html}{.end}</a>:
+ <a rel="nofollow" {.section author-link}href="{@|html-attr-value}"{.end}>{.section author}{@|html}{.or}{generic-commenter-name|html}{.end}</a>:
</div>
<div class="comment-body">
{body}
@@ -56,7 +56,7 @@
<form action="{action|html-attr-value}" accept-charset="UTF-8"
enctype="application/x-www-form-urlencoded" method="post">
<div style="display: none">
- <input name="id" type="hidden" value="98" />
+ <input name="id" type="hidden" value="{article-id|html-attr-value}" />
<input name="action" type="hidden" value="post-comment" />
</div>
<div class="comment-form-table">
@@ -64,11 +64,11 @@
<div class="comment-form-row">
<div class="comment-form-label">
<label style="vertical-align: top"
- for="{field-id|html-attr-value}">{field-label|html}:</label>
+ for="comment-form-input-{field-id|html-attr-value}">{field-label|html}:</label>
</div>
<div class="comment-form-input">
- <input id="{field-id|html-attr-value}"
- name="{field-name|html-attr-value}" type="text" />
+ <input id="comment-form-input-{field-id|html-attr-value}"
+ name="{field-id|html-attr-value}" type="text" />
</div>
</div>
{.end}