Update of /cvsroot/webnotes/webnotes/sample
In directory usw-pr-cvs1:/tmp/cvs-serv29798/sample
Modified Files:
webservices.php xml.php
Log Message:
Committed changes supplied by rmetira:
- Added the note id to the variables sent to the theme.
- Added the first version of phpnet theme.
- Change the sample files/doc to require_once() rather than include the API.
Index: webservices.php
===================================================================
RCS file: /cvsroot/webnotes/webnotes/sample/webservices.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- webservices.php 5 Sep 2002 06:25:20 -0000 1.2
+++ webservices.php 9 Sep 2002 11:24:31 -0000 1.3
@@ -17,7 +17,7 @@
<p>The above definition was copied from <a href="http://www.webopedia.com">Webopedia</a>.</p>
<?php
- include("../core/api.php"); # replace with actual path
+ require_once("../core/api.php"); # replace with actual path
print_web_notes( __FILE__, $PHP_SELF );
?>
</body>
Index: xml.php
===================================================================
RCS file: /cvsroot/webnotes/webnotes/sample/xml.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- xml.php 5 Sep 2002 06:25:20 -0000 1.2
+++ xml.php 9 Sep 2002 11:24:31 -0000 1.3
@@ -10,7 +10,7 @@
<p>The above definition was copied from <a href="http://www.webopedia.com">Webopedia</a>.</p>
<?php
- include("../core/api.php"); # replace with actual path
+ require_once("../core/api.php"); # replace with actual path
print_web_notes( __FILE__, $PHP_SELF );
?>
</body>
|