From: MORIOKA Tomohiko Date: Mon, 5 Apr 2010 23:53:16 +0000 (+0900) Subject: (www-display-feature-desc): Add edit button for `format'. X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a648e223714094c69d6adb41f5964035b806bed;p=chise%2Fest.git (www-display-feature-desc): Add edit button for `format'. --- 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)