From 1d82816082b2a3dee97a1812410962a41f1b6e79 Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 19 Mar 2006 21:31:11 +0000 Subject: link to helponformatting from the edit page --- ikiwiki | 2 ++ templates/editpage.tmpl | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) 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:

+ +
-- cgit v1.2.3