Update of /cvsroot/webnotes/webnotes
In directory usw-pr-cvs1:/tmp/cvs-serv9944
Modified Files:
admin.php admin_manage_notes.php admin_view_queue.php
Log Message:
- Added db_clean/unclean APIs to database_api.php
- Renamed note_api.php APIs to note_*.
Index: admin.php
===================================================================
RCS file: /cvsroot/webnotes/webnotes/admin.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- admin.php 3 Sep 2002 06:59:08 -0000 1.10
+++ admin.php 4 Sep 2002 15:03:49 -0000 1.11
@@ -12,7 +12,7 @@
<? include( "core" . DIRECTORY_SEPARATOR . "api.php" ) ?>
<? login_cookie_check() ?>
<?
- $queue_count = queue_count();
+ $queue_count = note_queue_count();
?>
<? print_html_top() ?>
<? print_head_top() ?>
Index: admin_manage_notes.php
===================================================================
RCS file: /cvsroot/webnotes/webnotes/admin_manage_notes.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- admin_manage_notes.php 3 Sep 2002 06:59:08 -0000 1.10
+++ admin_manage_notes.php 4 Sep 2002 15:03:49 -0000 1.11
@@ -12,11 +12,11 @@
<? include( "core" . DIRECTORY_SEPARATOR . "api.php" ) ?>
<?
if (( isset( $f_action ))&&( $f_action=="delete" )) {
- delete_note( $f_id );
+ note_delete( $f_id );
}
if (( isset( $f_action ))&&( $f_action=="update" )) {
- update_note( $f_id, $f_email, $f_note );
+ note_update( $f_id, $f_email, $f_note );
}
?>
<? print_html_top() ?>
Index: admin_view_queue.php
===================================================================
RCS file: /cvsroot/webnotes/webnotes/admin_view_queue.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- admin_view_queue.php 3 Sep 2002 06:59:08 -0000 1.10
+++ admin_view_queue.php 4 Sep 2002 15:03:49 -0000 1.11
@@ -17,11 +17,11 @@
}
if ( $f_action=="accept" ) {
- accept_note( $f_id );
+ note_accept( $f_id );
}
if ( $f_action=="decline" ) {
- decline_note( $f_id );
+ note_decline( $f_id );
}
$row = select_queued_notes_arr();
@@ -30,7 +30,7 @@
$v_note = string_edit( $v_note );
}
- $queue_count = queue_count();
+ $queue_count = note_queue_count();
?>
<? print_html_top() ?>
<? print_head_top() ?>
|