link to helponformatting from the edit page
parent
c47d165a33
commit
1d82816082
2
ikiwiki
2
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);
|
||||
|
|
|
@ -27,10 +27,12 @@ Optional comment about this change:</br>
|
|||
</TMPL_IF>
|
||||
<TMPL_VAR FORM-SUBMIT>
|
||||
<TMPL_VAR FORM-END>
|
||||
<TMPL_IF NAME="PAGE_PREVIEW">
|
||||
<hr>
|
||||
<TMPL_IF NAME="PAGE_PREVIEW">
|
||||
<h1>Page preview:</h1>
|
||||
<TMPL_VAR PAGE_PREVIEW>
|
||||
<TMPL_ELSE>
|
||||
<TMPL_VAR HELPONFORMATTINGLINK>
|
||||
</TMPL_IF>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue