diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-11-17 10:40:49 +0000 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-12-11 21:14:02 +0000 |
commit | 2857b301e76dba92f550ac3f5077dcad068d2686 (patch) | |
tree | fe84165595cd0c2a75b771b26a22efe81d35545b /templates | |
parent | 442e4e7e120be14980a0431e98784dc0ad52eee6 (diff) |
smcvpostcomment_*.tmpl: make class names match template names
Also put "posting comments disabled" in [], and change "Page preview"
to "Comment preview".
Diffstat (limited to 'templates')
-rw-r--r-- | templates/smcvpostcomment_display.tmpl | 4 | ||||
-rw-r--r-- | templates/smcvpostcomment_embed.tmpl | 4 | ||||
-rw-r--r-- | templates/smcvpostcomment_form.tmpl | 9 |
3 files changed, 10 insertions, 7 deletions
diff --git a/templates/smcvpostcomment_display.tmpl b/templates/smcvpostcomment_display.tmpl index 32618d94d..1b67f9094 100644 --- a/templates/smcvpostcomment_display.tmpl +++ b/templates/smcvpostcomment_display.tmpl @@ -1,4 +1,4 @@ -<div class="smcvpostcomment-page"> +<div class="smcvpostcomment-display"> <div class="smcvpostcomment-header"> Posted by @@ -21,4 +21,4 @@ Posted by <TMPL_VAR CONTENT> </div> -</div><!--.inlinepage--> +</div><!--.smcvpostcomment-display--> diff --git a/templates/smcvpostcomment_embed.tmpl b/templates/smcvpostcomment_embed.tmpl index c1826638b..db35e4da7 100644 --- a/templates/smcvpostcomment_embed.tmpl +++ b/templates/smcvpostcomment_embed.tmpl @@ -1,6 +1,6 @@ -<div> +<div class="smcvpostcomment-embed"> <TMPL_IF NAME=DISABLED> -Posting comments disabled: <TMPL_VAR NAME=DISABLED> +[Posting comments disabled: <TMPL_VAR NAME=DISABLED>] <TMPL_ELSE> <a href="<TMPL_VAR CGIURL ESCAPE=HTML>?do=smcvpostcomment&page=<TMPL_VAR PAGE ESCAPE=URL>">Post a comment</a> </TMPL_IF> diff --git a/templates/smcvpostcomment_form.tmpl b/templates/smcvpostcomment_form.tmpl index 7f138a450..43fc9b65a 100644 --- a/templates/smcvpostcomment_form.tmpl +++ b/templates/smcvpostcomment_form.tmpl @@ -1,3 +1,4 @@ +<div class="smcvpostcomment-form"> <TMPL_VAR MESSAGE> <TMPL_VAR FORM-START> <TMPL_VAR FIELD-DO> @@ -14,9 +15,11 @@ IkiWiki directives ([[!directive]]) are <TMPL_UNLESS NAME="ALLOWDIRECTIVES">not <TMPL_IF NAME="PAGE_PREVIEW"> <hr /> <div class="header"> -<span>Page preview:</span> -</div> +<span>Comment preview:</span> +</div><!-- .header --> <div id="preview"> <TMPL_VAR PAGE_PREVIEW> -</div> +</div><!-- #preview --> </TMPL_IF> + +</div><!-- .smcvpostcomment-form --> |