From: <vb...@us...> - 2002-09-11 09:49:58
|
Update of /cvsroot/webnotes/webnotes/core In directory usw-pr-cvs1:/tmp/cvs-serv24389/core Modified Files: access_api.php api.php config_api.php config_inc.php constants_inc.php css_inc.php database_api.php lang_api.php link_api.php note_api.php page_api.php php_api.php string_api.php user_api.php util_api.php Log Message: - Unified the header in all files - Used require_once() rather than include() to include the api.php - Fixed a probem in note_print_all() where $p_url was not defined. - Replaced some < ? with < ? php. Index: access_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/access_api.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- access_api.php 3 Sep 2002 22:30:06 -0000 1.1 +++ access_api.php 11 Sep 2002 09:49:54 -0000 1.2 @@ -1,7 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details Index: api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/api.php,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- api.php 6 Sep 2002 17:03:36 -0000 1.16 +++ api.php 11 Sep 2002 09:49:54 -0000 1.17 @@ -1,7 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details Index: config_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/config_api.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- config_api.php 3 Sep 2002 22:30:06 -0000 1.1 +++ config_api.php 11 Sep 2002 09:49:54 -0000 1.2 @@ -1,8 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Mantis Team - man...@so... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details Index: config_inc.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/config_inc.php,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- config_inc.php 11 Sep 2002 06:43:12 -0000 1.12 +++ config_inc.php 11 Sep 2002 09:49:54 -0000 1.13 @@ -1,4 +1,4 @@ -<? +<?php # phpWebNotes - a php based note addition system # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL Index: constants_inc.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/constants_inc.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- constants_inc.php 3 Sep 2002 22:30:07 -0000 1.1 +++ constants_inc.php 11 Sep 2002 09:49:54 -0000 1.2 @@ -1,7 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details Index: css_inc.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/css_inc.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- css_inc.php 6 Sep 2002 17:03:37 -0000 1.1 +++ css_inc.php 11 Sep 2002 09:49:54 -0000 1.2 @@ -1,7 +1,6 @@ -<? +<?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details Index: database_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/database_api.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- database_api.php 4 Sep 2002 15:03:50 -0000 1.2 +++ database_api.php 11 Sep 2002 09:49:54 -0000 1.3 @@ -1,7 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details Index: lang_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/lang_api.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- lang_api.php 3 Sep 2002 22:30:07 -0000 1.1 +++ lang_api.php 11 Sep 2002 09:49:54 -0000 1.2 @@ -1,8 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Mantis Team - man...@so... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details Index: link_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/link_api.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- link_api.php 10 Sep 2002 13:58:34 -0000 1.2 +++ link_api.php 11 Sep 2002 09:49:54 -0000 1.3 @@ -1,7 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2002 Victor Boctor - vb...@us... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details Index: note_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/note_api.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- note_api.php 11 Sep 2002 04:47:49 -0000 1.11 +++ note_api.php 11 Sep 2002 09:49:54 -0000 1.12 @@ -1,7 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details @@ -87,7 +86,7 @@ function note_archive( $p_id ) { } ### -------------------- - function note_print_all( $p_page_name ) { + function note_print_all( $p_page_name, $p_url ) { global $g_phpWN_note_table, $g_phpWN_page_table, $g_note_order; @@ -227,7 +226,7 @@ } else { if ( page_visible_notes_count ( $t_page_id ) > 0 ) { theme_notes_start( $p_file, $p_url ); - note_print_all( $p_file ); + note_print_all( $p_file, $p_url ); theme_notes_end( $p_file, $p_url ); } else { theme_notes_none( $p_file, $p_url ); Index: page_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/page_api.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- page_api.php 11 Sep 2002 04:47:49 -0000 1.8 +++ page_api.php 11 Sep 2002 09:49:54 -0000 1.9 @@ -1,7 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details Index: php_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/php_api.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- php_api.php 5 Sep 2002 17:30:29 -0000 1.4 +++ php_api.php 11 Sep 2002 09:49:54 -0000 1.5 @@ -1,8 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Mantis Team - man...@so... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details Index: string_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/string_api.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- string_api.php 4 Sep 2002 13:36:58 -0000 1.2 +++ string_api.php 11 Sep 2002 09:49:54 -0000 1.3 @@ -1,7 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details Index: user_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/user_api.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- user_api.php 5 Sep 2002 22:44:33 -0000 1.1 +++ user_api.php 11 Sep 2002 09:49:54 -0000 1.2 @@ -1,7 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details Index: util_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/util_api.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- util_api.php 6 Sep 2002 17:03:37 -0000 1.2 +++ util_api.php 11 Sep 2002 09:49:54 -0000 1.3 @@ -1,7 +1,6 @@ <?php # phpWebNotes - a php based note addition system - # Copyright (C) 2000 Kenzaburo Ito - ke...@30... - # 2002 Webnotes Team - web...@so... + # Copyright (C) 2000-2002 Webnotes Team - web...@so... # This program is distributed under the terms and conditions of the GPL # See the files README and LICENSE for details |