summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJams H Thompson <jht001@users.sourceforge.net>2007-01-21 07:16:30 +0000
committerJams H Thompson <jht001@users.sourceforge.net>2007-01-21 07:16:30 +0000
commit76d5e012b372639538d1261d2f1b143297c42841 (patch)
tree85a817c0b42b72956da414fc3a51ba68dc083837
parentf029cce1408e660906779ed3e60c957c67717d67 (diff)
downloadwiki-76d5e012b372639538d1261d2f1b143297c42841.tar.gz
wiki-76d5e012b372639538d1261d2f1b143297c42841.tar.bz2
wiki-76d5e012b372639538d1261d2f1b143297c42841.zip
fixes for history comments
-rw-r--r--edit.php12
-rw-r--r--templates/edit_page.tpl6
2 files changed, 9 insertions, 9 deletions
diff --git a/edit.php b/edit.php
index 22f262a..6d83c69 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.28 2006/12/26 17:41:32 squareing Exp $
+ * $Header: /cvsroot/bitweaver/_bit_wiki/edit.php,v 1.29 2007/01/21 07:16:30 jht001 Exp $
*
* Copyright( c ) 2004 bitweaver.org
* Copyright( c ) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: edit.php,v 1.28 2006/12/26 17:41:32 squareing Exp $
+ * $Id: edit.php,v 1.29 2007/01/21 07:16:30 jht001 Exp $
* @package wiki
* @subpackage functions
*/
@@ -262,7 +262,7 @@ if( !empty( $gContent->mInfo ) ) {
}
$formInfo['edit'] = $data_to_edit;
- $formInfo['comment'] = '';
+ $formInfo['history_comment'] = '';
}
$gBitSmarty->assign( 'footnote', '' );
@@ -306,10 +306,10 @@ if( isset( $_REQUEST['title'] ) ) {
if( isset( $_REQUEST["description"] ) ) {
$formInfo['description'] = $_REQUEST["description"];
}
-if( isset( $_REQUEST["comment"] ) ) {
- $formInfo['comment'] = $_REQUEST["comment"];
+if( isset( $_REQUEST["history_comment"] ) ) {
+ $formInfo['history_comment'] = $_REQUEST["history_comment"];
} else {
- $formInfo['comment'] = '';
+ $formInfo['history_comment'] = '';
}
$cat_obj_type = BITPAGE_CONTENT_TYPE_GUID;
diff --git a/templates/edit_page.tpl b/templates/edit_page.tpl
index 6941f12..771c0ac 100644
--- a/templates/edit_page.tpl
+++ b/templates/edit_page.tpl
@@ -1,4 +1,4 @@
-{* $Header: /cvsroot/bitweaver/_bit_wiki/templates/edit_page.tpl,v 1.31 2006/09/21 15:57:50 spiderr Exp $ *}
+{* $Header: /cvsroot/bitweaver/_bit_wiki/templates/edit_page.tpl,v 1.32 2007/01/21 07:16:30 jht001 Exp $ *}
{strip}
<div class="floaticon">{bithelp}</div>
@@ -112,9 +112,9 @@
{if $page ne 'SandBox'}
<div class="row">
- {formlabel label="Comment" for="edit_comment"}
+ {formlabel label="Comment" for="history_comment"}
{forminput}
- <input size="50" type="text" name="edit_comment" id="edit_comment" value="{$pageInfo.edit_comment}" />
+ <input size="50" type="text" name="history_comment" id="history_comment" value="{$pageInfo.history_comment}" />
{formhelp note="Add a comment to illustrate your most recent changes."}
{/forminput}
</div>