From 345cd6b54500f13e86975c8934bef6a3e1dd7a05 Mon Sep 17 00:00:00 2001 From: uriel Date: Tue, 28 Jul 2009 20:49:53 +0200 Subject: [PATCH] Further HTML5-fication, plus fix some case consistency mismatches. --- apps/bridge/app.rc | 2 +- apps/bridge/comments_list.tpl | 6 +++--- apps/bridge/foot.tpl | 12 ++++++------ apps/dirdir/edit.tpl | 12 ++++++------ tpl/_debug.tpl | 10 +++++----- tpl/_users/login.tpl | 10 +++++----- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/apps/bridge/app.rc b/apps/bridge/app.rc index 7348e59..60850e3 100644 --- a/apps/bridge/app.rc +++ b/apps/bridge/app.rc @@ -31,7 +31,7 @@ fn bridge_init { ll_add handlers_body_foot template apps/bridge/foot.tpl } if not if(~ $REQUEST_METHOD GET) - ll_add handlers_body_foot echo '

To post a comment you need to login first.

' + ll_add handlers_body_foot echo '

To post a comment you need to login first.

' } } diff --git a/apps/bridge/comments_list.tpl b/apps/bridge/comments_list.tpl index abaad55..03e0ddc 100644 --- a/apps/bridge/comments_list.tpl +++ b/apps/bridge/comments_list.tpl @@ -1,4 +1,4 @@ -
+

Comments

% for(c in `{ls $comments_dir/}) { @@ -6,8 +6,8 @@
By: %(`{cat $c/user}%) (%(`{cat $c/posted}%))
-% cat $c/body | escape_html | sed 's,$,
,' -
+% cat $c/body | escape_html | sed 's,$,
,' +
% } % } diff --git a/apps/bridge/foot.tpl b/apps/bridge/foot.tpl index 84d9b81..fba1ed7 100644 --- a/apps/bridge/foot.tpl +++ b/apps/bridge/foot.tpl @@ -1,22 +1,22 @@ -
+
% notices_handler
-
- +
+ % if(~ $#logged_user 0 && ! ~ $#allow_new_user_comments 0) {
Enter your desired user name/password and after your comment has been reviewed by an admin it will be posted and your account will be enabled. If you are already registered please login before posting. diff --git a/apps/dirdir/edit.tpl b/apps/dirdir/edit.tpl index 9e50638..1a5b206 100644 --- a/apps/dirdir/edit.tpl +++ b/apps/dirdir/edit.tpl @@ -1,7 +1,7 @@

Editing: %($req_path%)

-
- +
+ -
- - +
+ + DirDir documents are written using Markdown syntax.
% if(! ~ $"post_arg_dirdir_preview '') { -

Preview:

+

Preview:

% echo $post_arg_edit_text | $formatter
diff --git a/tpl/_debug.tpl b/tpl/_debug.tpl index 597347f..4d650ea 100644 --- a/tpl/_debug.tpl +++ b/tpl/_debug.tpl @@ -1,7 +1,7 @@ % if(! ~ $#debug_shell 0) {
- - + +