From: <vb...@us...> - 2002-09-20 06:57:47
|
Update of /cvsroot/webnotes/webnotes/core In directory usw-pr-cvs1:/tmp/cvs-serv4968/core Modified Files: pwn_api.php Log Message: - Fixed a problem when the width of the note is too big. The last updated part had 100% width while the rest had more than 100%. - Used <tt> .. </tt> while preserving spaces and calling nl2br() to avoid having the notes gets too big when long lines are entered (ie. to enable wrapping). This is to replace the <pre> ... </pre> - Fixed a problem where cookies were not set on the root path, and hence, there were not effective for paths that are not below the login.php. Index: pwn_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/pwn_api.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pwn_api.php 20 Sep 2002 04:17:43 -0000 1.1 +++ pwn_api.php 20 Sep 2002 06:57:44 -0000 1.2 @@ -20,7 +20,7 @@ if ( !page_valid_id( $t_page_id ) ) { if ( ON === config_get( 'auto_index_pages' ) ) { if ( page_add( $p_page ) ) { - print_web_notes( $p_page, $p_url, $p_prev_page, $p_next_page ); + pwn_body( $p_page, $p_url, $p_prev_page, $p_next_page ); return; } } |