For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > June 2007 > cvs: livedocs / livedoc_funcs.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: livedocs / livedoc_funcs.php
Hannes Magnusson

2007-06-25, 7:05 pm

bjori Mon Jun 25 15:21:25 2007 UTC

Modified files:
/livedocs livedoc_funcs.php
Log:
Let phpweb handle the printing of the notes


http://cvs.php.net/viewvc.cgi/lived...3&diff_format=u
Index: livedocs/livedoc_funcs.php
diff -u livedocs/livedoc_funcs.php:1.32 livedocs/livedoc_funcs.php:1.33
--- livedocs/livedoc_funcs.php:1.32 Tue Jun 19 23:22:52 2007
+++ livedocs/livedoc_funcs.php Mon Jun 25 15:21:25 2007
@@ -285,6 +285,11 @@

function format_user_notes($id)
{
+ // Let phpweb handle the notes
+ if (defined("PHPNET")) {
+ return "";
+ }
+
$notes = sqlite_array_query($GLOBALS['NOTESDB'], "SELECT id, xwhen, who, note from notes where sect='$id' order by xwhen desc");
if (empty($notes))
return '';
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com