From 463a08b27f9abadc0480e1677c24b282abb60a29 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Fri, 19 Mar 2010 14:46:17 +0900 Subject: [PATCH] (www-display-feature-desc): Modify design of [edit] button. --- cwiki-view.el | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/cwiki-view.el b/cwiki-view.el index 17d1996..30d07ae 100644 --- a/cwiki-view.el +++ b/cwiki-view.el @@ -97,12 +97,18 @@ (symbol-name feature-name)))) (princ (format "

name : %s " (or (www-format-feature-name feature-name) ""))) - (www-html-display-text - (format "[[[edit|%s?feature=%s&property=name&char=%s]]]" - ;; (char-feature-property feature-name 'name) + (princ + (format " " chise-wiki-edit-url - uri-feature-name ; (www-uri-encode-feature-name feature-name) + uri-feature-name uri-char)) + ;; (www-html-display-text + ;; (format "[[[edit|%s?feature=%s&property=name&char=%s]]]" + ;; ;; (char-feature-property feature-name 'name) + ;; chise-wiki-edit-url + ;; uri-feature-name ; (www-uri-encode-feature-name feature-name) + ;; uri-char)) (princ "

") (when lang (princ "

") @@ -111,12 +117,19 @@ (format "%s : %s" name@lang (or (char-feature-property feature-name name@lang) "")))) - (www-html-display-text - (format " [[[edit|%s?feature=%s&property=%s&char=%s]]]" + (princ + (format " " chise-wiki-edit-url uri-feature-name name@lang uri-char)) + ;; (www-html-display-text + ;; (format " [[[edit|%s?feature=%s&property=%s&char=%s]]]" + ;; chise-wiki-edit-url + ;; uri-feature-name + ;; name@lang + ;; uri-char)) (princ "

")) (www-html-display-paragraph (format "type : %s" -- 1.7.10.4