]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/commit
Combine and refactor editpage.php and savepage.php.
authordairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Wed, 30 Jan 2002 01:33:20 +0000 (01:33 +0000)
committerdairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Wed, 30 Jan 2002 01:33:20 +0000 (01:33 +0000)
commit6e26f1923a9d3233052d5c83e59e75dd6737f450
tree3980153497818c024e05a827bd281dfb2aa850c4
parentb2597fc0406c27c892e6b68ea9bc199ca15fac40
Combine and refactor editpage.php and savepage.php.

Now when save errors happen (i.e. conflicting edits, or page
locked) the user gets returned directly to the edit form
(with an appropriate message at the top.)  No more of this
"hit the back arrow...".

Also add new action 'viewsource' as distinct from 'edit'.

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@1707 96ab9672-09ca-45d6-a79d-3d69d39ca109
12 files changed:
lib/editpage.php
lib/main.php
lib/savepage.php [deleted file]
themes/MacOSX/templates/actionbar.tmpl
themes/Portland/templates/actionbar.tmpl
themes/Portland/templates/editpage.tmpl
themes/Portland/templates/viewsource.tmpl
themes/default/templates/actionbar.tmpl
themes/default/templates/editpage.tmpl
themes/default/templates/login.tmpl
themes/default/templates/signin.tmpl
themes/default/templates/viewsource.tmpl