Dirdir wiki engine updates, cleaned up some code, now one can save from preview page.

This commit is contained in:
Uriel 2009-01-17 09:43:31 +01:00
parent ee170cca69
commit fa7cff78cd
2 changed files with 28 additions and 30 deletions

View file

@ -5,10 +5,10 @@ fn dirdir_init {
fn dirdir_controls {
# Display 'Edit', 'History', etc, links
echo '<div><form action="/_apps/dirdir/edit" method="POST">'
echo '<form action="/_apps/dirdir/edit" method="POST">'
echo '<input type="hidden" name="edit_wiki_page" value="'^$req_path^'" />'
echo '<input type="submit" name="" value="Edit page" />'
echo '</form></div>'
echo '</form>'
}