Update of /cvsroot/phpwiki/phpwiki/templates
In directory usw-pr-cvs1:/tmp/cvs-serv9406
Modified Files:
editpage.html
Log Message:
Removed EditCopy link.
Removed minor edit code, but I will be adding it back Real Soon(tm).
Added ###IF !CURRENT### block to notify user when editing an archived page.
Added ###CURRENT_VERSION### to handle concurrent edit checking.
Index: editpage.html
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/templates/editpage.html,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** editpage.html 2001/04/07 15:00:55 1.18
--- editpage.html 2001/06/26 18:14:41 1.19
***************
*** 18,21 ****
--- 18,23 ----
<input type="submit" value=" Save "></h1>
+ ###IF !CURRENT###<b>Editing old revision ###VERSION###. Saving this page will replace the current version with this text.</b>
+
<textarea name="content"
rows="###EDIT_AREA_HEIGHT###"
***************
*** 35,40 ****
<p><a class="wikilink" href="###BROWSE###GoodStyle"><span class="wikiword">GoodStyle</span></a> tips for editing.</p>
- ###IF COPY###<br><a class="wikiaction" href="###ACTION###edit&version=archive">EditCopy</a> from previous author
-
<hr noshade>
<small>
--- 37,40 ----
***************
*** 53,57 ****
<input type="hidden" name="action" value="save">
<input type="hidden" name="pagename" value="###PAGE###">
! <input type="hidden" name="editversion" value="###VERSION###">
</form>
</body>
--- 53,57 ----
<input type="hidden" name="action" value="save">
<input type="hidden" name="pagename" value="###PAGE###">
! <input type="hidden" name="editversion" value="###CURRENT_VERSION###">
</form>
</body>
|