(www-edit-display-feature-desc): Support `value-presentation-format'.
authorMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 26 Aug 2013 07:20:47 +0000 (16:20 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 26 Aug 2013 07:20:47 +0000 (16:20 +0900)
cwiki-edit.el

index 4cad138..8450129 100644 (file)
@@ -232,6 +232,18 @@ size=\"30\" maxlength=\"30\" value=\"%s\">に限\u5B9Aしない)
                (or (www-feature-value-format feature-name)
                    'default))
               uri-feature-name)))
+    (if (eq property-name 'value-presentation-format)
+       (www-edit-display-feature-input-box
+        feature-name property-name
+        'default ; 'wiki-text
+        (or (www-feature-value-format feature-name)
+            'default))
+      (www-html-display-paragraph
+       (format "value-presentation-format : %s [[[edit|edit.cgi?feature=%s&property=value-presentation-format]]]"
+              (www-xml-format-list
+               (or (www-feature-value-format feature-name)
+                   'default))
+              uri-feature-name)))
     (if (eq property-name 'format)
        (www-edit-display-feature-input-box
         feature-name property-name