diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-12-10 23:53:04 +0000 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-12-11 21:14:05 +0000 |
commit | 9af0f04df3a9c589d63a4f8d95af06098f0474db (patch) | |
tree | 3e56919485923c9193285301329f684a7491e410 /templates | |
parent | 6a986a8a0bd20e82e128ce7e0aa9587437ae8325 (diff) |
comments: Save comments as a file with one big [[!comment]] directive.
This delays all comment formatting until the last possible time, allows
us to set metadata without worrying that commenters may be able to evade
it, and means that changes to how a comment is saved can be handled
gracefully. It also gives us somewhere to put the commenter's username
or IP address for later reference.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/comments_comment.tmpl | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/templates/comments_comment.tmpl b/templates/comments_comment.tmpl deleted file mode 100644 index 8e6affb0d..000000000 --- a/templates/comments_comment.tmpl +++ /dev/null @@ -1,24 +0,0 @@ -<TMPL_IF NAME="ANCHOR"> -<div id="<TMPL_VAR ANCHOR ESCAPE=HTML>"> -</TMPL_IF> - -<TMPL_VAR BODY> -<TMPL_IF NAME="SUBJECT"> -[[!meta title="<TMPL_VAR NAME="SUBJECT" ESCAPE=HTML>"]] -</TMPL_IF> -<TMPL_IF NAME="AUTHOR"> -[[!meta author="<TMPL_VAR NAME="AUTHOR" ESCAPE=HTML>"]] -</TMPL_IF> -<TMPL_IF NAME="AUTHORURL"> -[[!meta authorurl="<TMPL_VAR NAME="AUTHORURL" ESCAPE=HTML>"]] -</TMPL_IF> -<TMPL_IF NAME="PERMALINK"> -[[!meta permalink="<TMPL_VAR PERMALINK ESCAPE=HTML>"]] -</TMPL_IF> -<TMPL_IF NAME="DATE"> -[[!meta date="<TMPL_VAR DATE ESCAPE=HTML>"]] -</TMPL_IF> - -<TMPL_IF NAME="ANCHOR"> -</div> -</TMPL_IF> |