From: joey Date: Sun, 19 Mar 2006 21:31:11 +0000 (+0000) Subject: link to helponformatting from the edit page X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/1d82816082b2a3dee97a1812410962a41f1b6e79 link to helponformatting from the edit page --- diff --git a/ikiwiki b/ikiwiki index 14c50a9af..c7b5468b4 100755 --- a/ikiwiki +++ b/ikiwiki @@ -1089,6 +1089,8 @@ sub cgi_editpage ($$) { #{{{ cols => 80); $form->tmpl_param("can_commit", $config{svn}); $form->tmpl_param("indexlink", indexlink()); + $form->tmpl_param("helponformattinglink", + htmllink("HelpOnFormatting", pagename($1), 1)); if (! $form->submitted) { $form->field(name => "rcsinfo", value => rcs_prepedit($file), force => 1); diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl index 6ab988261..c1e7113b4 100644 --- a/templates/editpage.tmpl +++ b/templates/editpage.tmpl @@ -27,10 +27,12 @@ Optional comment about this change:
-
+

Page preview:

+ +