From: <vb...@us...> - 2002-09-26 03:41:49
|
Update of /cvsroot/webnotes/webnotes/themes/phpnet In directory usw-pr-cvs1:/tmp/cvs-serv11650/themes/phpnet Modified Files: theme_api.php Log Message: - Removed single quotes from queries when accessing numeric fields. - Added support for re-queueing of notes. - Improved the Manage Notes page to have two lists. The first lists the documents that have pending notes, and the second lists all documents. Index: theme_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/themes/phpnet/theme_api.php,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- theme_api.php 22 Sep 2002 04:17:38 -0000 1.24 +++ theme_api.php 26 Sep 2002 03:41:46 -0000 1.25 @@ -98,6 +98,11 @@ access_check_action( ACTION_NOTES_MODERATE_ACCEPT ) ) . ' '; } + if ( $t_note_info['visible'] != NOTE_VISIBLE_PENDING ) { + $t_moderation .= link_note_action( $t_note_info['id'], 'queue', $t_url, + access_check_action( ACTION_NOTES_MODERATE_QUEUE ) ) . ' '; + } + if ( $t_note_info['visible'] != NOTE_VISIBLE_DECLINED ) { $t_moderation .= link_note_action( $t_note_info['id'], 'decline', $t_url, access_check_action( ACTION_NOTES_MODERATE_DECLINE ) ) . ' '; |