(format
(if simple
"<div style=\"text-align:right;\">
-<a href=\"edit/view.cgi?char=%s\">
+<a href=\"edit/view.cgi?%s=%s\">
<input type=\"submit\" value=\"Edit\" />
</a>
<input type=\"submit\" value=\"New Account\" />
</div>
<hr />\n"
"<div style=\"text-align:right;\">
-<a href=\"../view.cgi?char=%s\">
+<a href=\"../view.cgi?%s=%s\">
<input type=\"submit\" value=\"Simple\" />
</a>
</div>
<hr />\n")
+ genre
uri-object))
(when (setq parents (www-get-feature-value object '<-denotational))
(princ (format "<p>%s %s</p>\n<hr>\n"
nil simple))
(unless simple
(princ
- (format " <a href=\"%s?char=%s&feature=%s&format=wiki-text\"
+ (format " <a href=\"%s?%s=%s&feature=%s&format=wiki-text\"
><input type=\"submit\" value=\"note\" /></a>"
chise-wiki-edit-url
+ genre
(www-format-encode-string uri-object)
(www-format-encode-string
(www-uri-encode-feature-name
"<li>\n"))
(unless simple
(princ
- (format "<a href=\"%s?char=%s\"
+ (format "<a href=\"%s?%s=%s\"
><input type=\"submit\" value=\"add feature\" /></a>
"
chise-wiki-add-url
+ genre
(www-format-encode-string uri-object))))
(princ
(if (= level 1)
"<li>\n"))
)))
-(defun www-display-feature-desc (uri-feature-name uri-object
+(defun www-display-feature-desc (uri-feature-name genre uri-object
&optional lang simple)
(let ((feature-name (www-uri-decode-feature-name uri-feature-name))
(name@lang (intern (format "name@%s" lang))))
(format
(if simple
"<div style=\"text-align:right;\">
-<a href=\"edit/view.cgi?feature=%s&char=%s\">
+<a href=\"edit/view.cgi?feature=%s&%s=%s\">
<input type=\"submit\" value=\"Edit\" />
</a>
<input type=\"submit\" value=\"New Account\" />
</div>
<hr />\n"
"<div style=\"text-align:right;\">
-<a href=\"../view.cgi?feature=%s&char=%s\">
+<a href=\"../view.cgi?feature=%s&%s=%s\">
<input type=\"submit\" value=\"Simple\" />
</a>
</div>
<hr />\n")
- uri-feature-name uri-object))
+ uri-feature-name genre uri-object))
(princ
(format "<h1>%s</h1>\n"
(www-format-encode-string
(unless simple
(princ
(format
- " <a href=\"%s?feature=%s&property=name&format=string&char=%s\">"
+ " <a href=\"%s?feature=%s&property=name&format=string&%s=%s\">"
chise-wiki-edit-url
uri-feature-name
+ genre
uri-object))
(princ "<input type=\"submit\" value=\"edit\" /></a>\n"))
(princ "</p>\n")
(unless simple
(princ
(format
- " <a href=\"%s?feature=%s&property=%s&format=string&char=%s\">"
+ " <a href=\"%s?feature=%s&property=%s&format=string&%s=%s\">"
chise-wiki-edit-url
uri-feature-name
name@lang
+ genre
uri-object))
(princ "<input type=\"submit\" value=\"edit\" /></a>\n"))
(princ "</p>\n"))
(unless simple
(princ
(format
- " <a href=\"%s?feature=%s&property=value-format&format=wiki-text&char=%s\"
+ " <a href=\"%s?feature=%s&property=value-format&format=wiki-text&%s=%s\"
>"
chise-wiki-edit-url
uri-feature-name
+ genre
uri-object))
(princ "<input type=\"submit\" value=\"edit\" /></a>\n"))
(princ "</p>\n")
(unless simple
(princ
(format
- " <a href=\"%s?feature=%s&property=format&format=wiki-text&char=%s\"
+ " <a href=\"%s?feature=%s&property=format&format=wiki-text&%s=%s\"
>"
chise-wiki-edit-url
uri-feature-name
+ genre
uri-object))
(princ "<input type=\"submit\" value=\"edit\" /></a>\n"))
(princ "</p>\n")
((eq (car ret) 'feature)
(www-display-feature-desc
(decode-uri-string (cdr ret) 'utf-8-mcs-er)
+ (car ret)
(cdr (assq 'char target))
lang
(eq mode 'simple))