From: <vb...@us...> - 2002-09-09 11:24:33
|
Update of /cvsroot/webnotes/webnotes/core In directory usw-pr-cvs1:/tmp/cvs-serv29798/core Modified Files: note_api.php Log Message: Committed changes supplied by rmetira: - Added the note id to the variables sent to the theme. - Added the first version of phpnet theme. - Change the sample files/doc to require_once() rather than include the API. Index: note_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/note_api.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- note_api.php 6 Sep 2002 17:03:37 -0000 1.5 +++ note_api.php 9 Sep 2002 11:24:30 -0000 1.6 @@ -98,6 +98,7 @@ $row = db_fetch_array( $result ); extract( $row, EXTR_PREFIX_ALL, 'v' ); + $info['id'] = db_unprepare_string( $v_id ); $info['email'] = db_unprepare_string( $v_email ); $info['note'] = nl2br( string_preserve_spaces ( db_unprepare_string( $v_note ) ) ); $info['date'] = date( 'M, d Y H:i', sql_to_unix_time( $v_date_submitted ) ); |