From: <rm...@us...> - 2002-09-09 22:57:39
|
Update of /cvsroot/webnotes/webnotes In directory usw-pr-cvs1:/tmp/cvs-serv9275 Modified Files: note_add.php note_add_page.php Log Message: Fix the Submit time stamp problem Submitting a note on the 06-SEP-2002 shows up as Dec, 09 2001 06:00. Index: note_add.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/note_add.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- note_add.php 5 Sep 2002 06:25:19 -0000 1.11 +++ note_add.php 9 Sep 2002 22:56:55 -0000 1.12 @@ -12,7 +12,7 @@ require_once( 'core' . DIRECTORY_SEPARATOR . 'api.php' ); ### insert note - $result = note_add( $f_page_id, $f_email, $REMOTE_ADDR, $f_note ); + $result = note_add( $f_page_id, $f_email, $REMOTE_ADDR, $f_note); print_html_top(); print_head_top(); Index: note_add_page.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/note_add_page.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- note_add_page.php 5 Sep 2002 06:25:19 -0000 1.11 +++ note_add_page.php 9 Sep 2002 22:56:55 -0000 1.12 @@ -43,8 +43,10 @@ } $t_base_page_name = basename( $t_page_name ); - $t_date = date( $g_date_format, time() ); - + #$t_date = date( $g_date_format, time() ); #Remon + #$t_date = date ('M-d-Y H:i'); + $t_date = date ($g_date_format); + echo <<<EOT <br /> <div align="center"> @@ -53,6 +55,7 @@ <input type="hidden" name="f_came_from" value="$HTTP_REFERER" /> <input type="hidden" name="f_page_id" value="$f_page_id" /> <input type="hidden" name="f_url" value="$f_url" /> + <tr bgcolor="$g_header_color"> <td colspan="2"><strong><? echo $s_add_note ?></strong></td> </tr> |