Update of /cvsroot/webnotes/webnotes/themes/phpnet
In directory usw-pr-cvs1:/tmp/cvs-serv16718/themes/phpnet
Modified Files:
theme_api.php
Log Message:
Clean up work in core/page_api.php
Index: theme_api.php
===================================================================
RCS file: /cvsroot/webnotes/webnotes/themes/phpnet/theme_api.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- theme_api.php 10 Sep 2002 04:42:10 -0000 1.5
+++ theme_api.php 10 Sep 2002 10:34:15 -0000 1.6
@@ -40,7 +40,7 @@
}
$c_url = urlencode( $p_url );
- $t_page_id = get_page_id( $p_page );
+ $t_page_id = page_get_id( $p_page );
#$path = dirname ( __FILE__ ) . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR;
#$image = $path .'notes_add.gif';
@@ -119,7 +119,7 @@
}
$c_url = urlencode( $p_url );
- $t_page_id = get_page_id( $p_page );
+ $t_page_id = page_get_id( $p_page );
$url = $g_web_directory . '/themes/' . $g_theme . '/images/';
$add_picture = $url . 'notes_add.gif';
|