From 1a648e223714094c69d6adb41f5964035b806bed Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Tue, 6 Apr 2010 08:53:16 +0900 Subject: [PATCH] (www-display-feature-desc): Add edit button for `format'. --- cwiki-view.el | 73 +++++++++++++++++++++++++++++++++------------------------ 1 file changed, 42 insertions(+), 31 deletions(-) diff --git a/cwiki-view.el b/cwiki-view.el index e1044d3..dd143b2 100644 --- a/cwiki-view.el +++ b/cwiki-view.el @@ -176,15 +176,15 @@ size=\;; "30\" maxlength=\"30\" value=\"\" />") (symbol-name feature-name)))) (princ (format "

name : %s " (or (www-format-feature-name feature-name) ""))) - (princ - (format - " " - chise-wiki-edit-url - uri-feature-name - uri-char)) (unless simple - (princ "")) - (princ "\n

\n") + (princ + (format + " " + chise-wiki-edit-url + uri-feature-name + uri-char)) + (princ "\n")) + (princ "

\n") (when lang (princ "

") (princ @@ -192,16 +192,16 @@ size=\;; "30\" maxlength=\"30\" value=\"\" />") (format "%s : %s" name@lang (or (char-feature-property feature-name name@lang) "")))) - (princ - (format - " " - chise-wiki-edit-url - uri-feature-name - name@lang - uri-char)) (unless simple - (princ "")) - (princ "\n

\n")) + (princ + (format + " " + chise-wiki-edit-url + uri-feature-name + name@lang + uri-char)) + (princ "\n")) + (princ "

\n")) (www-html-display-paragraph (format "type : %s" (or (www-feature-type feature-name) @@ -214,22 +214,33 @@ size=\;; "30\" maxlength=\"30\" value=\"\" />") 'default) 'default 'without-tags))) - (princ - (format - " " - chise-wiki-edit-url - uri-feature-name - uri-char)) (unless simple - (princ "")) - (princ "\n

\n") + (princ + (format + " " + chise-wiki-edit-url + uri-feature-name + uri-char)) + (princ "\n")) + (princ "

\n") - (www-html-display-paragraph - (format "format : %s" - (www-xml-format-list - (or (char-feature-property feature-name 'format) - '((name) " : " (value)))))) + (princ "

format : ") + (www-html-display-text + (www-xml-format-list + (or (char-feature-property feature-name 'format) + '((name) " : " (value))))) + (unless simple + (princ + (format + " " + chise-wiki-edit-url + uri-feature-name + uri-char)) + (princ "\n")) + (princ "

\n") + (www-html-display-paragraph (format "description : %s" (or (char-feature-property feature-name 'description) -- 1.7.10.4