[MKDoc-commit] [1.6] editor shouldn't clobber login/email details of comment components

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Wed Aug 24 10:39:14 BST 2005


Log Message:
-----------
[1.6] editor shouldn't clobber login/email details of comment components

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/templates/editor/comment:
        en.html

-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/editor/comment/Attic/en.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -Ltemplates/editor/comment/en.html -Ltemplates/editor/comment/en.html -u -r1.1.2.1 -r1.1.2.2
--- templates/editor/comment/en.html
+++ templates/editor/comment/en.html
@@ -13,6 +13,8 @@
                 dir                 self/direction;
                 name_delete         string:${self/block_name}_delete;
                 name_poster         string:${self/block_name}_poster;
+                name_login          string:${self/block_name}_login;
+                name_email          string:${self/block_name}_email;
                 name_date_posted    string:${self/block_name}_date_posted"
 >
 
@@ -77,6 +79,20 @@
     value="Fred Flintstone"
     petal:attributes="name name_poster; id name_poster; value self/poster"
   />
+  <input
+    type="hidden"
+    name="login"
+    id="login"
+    value="fred"
+    petal:attributes="name name_login; id name_login; value self/login"
+  />
+  <input
+    type="hidden"
+    name="email"
+    id="email"
+    value="fred at example.com"
+    petal:attributes="name name_email; id name_email; value self/email"
+  />
 
     </p>
     


More information about the MKDoc-commit mailing list