From: <vb...@us...> - 2002-10-01 06:51:49
|
Update of /cvsroot/webnotes/webnotes/themes/phpnet In directory usw-pr-cvs1:/tmp/cvs-serv14883/themes/phpnet Modified Files: theme_api.php Log Message: - Fixed a problem with page_update_neighbours, where neighbours were only updated if both prev/next are changed, rather than if only one changed. - Added parent_id field to the page table in the database. - Update neighbours currently defaults the prev/next/parent to the database value if null is passed, rather than replacing it with 0. Any empty string should be used to highlight the fact that there is no prev/next/parent. Or if it was never set, then null would work. - Dropped a redundant index (id) in the pages table. - Dropped a redundant index (id) in the notes table. - Removed an extra </table> in case of pages without notes (phpnet theme). - Implemented the first version of the php-like manual and added the necessary. Index: theme_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/themes/phpnet/theme_api.php,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- theme_api.php 26 Sep 2002 06:55:05 -0000 1.27 +++ theme_api.php 1 Oct 2002 06:51:46 -0000 1.28 @@ -81,7 +81,6 @@ <tr class="light"> <td colspan="2">There are no user contributed notes for this page.</td> </tr> - </table> EOT; } else { for ( $i = 0; $i < count( $t_notes ); $i++ ) { |