Enlightenment CVS committal

Author  : dj2
Project : web
Module  : www

Dir     : web/www/site


Modified Files:
        site.php 


Log Message:
- return the string and print in the calling function 

===================================================================
RCS file: /cvs/e/web/www/site/site.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- site.php    25 Mar 2007 06:23:26 -0000      1.3
+++ site.php    27 Mar 2007 02:42:38 -0000      1.4
@@ -85,7 +85,7 @@
       else if (file_exists("p/$b/link")) {
          $h = read_var("p/$b/link");
       }
-      print("<tr><td class='$c'><a class='nav' href='$h'>$l</a></td></tr>\n");
+      return "<tr><td class='$c'><a class='nav' href='$h'>$l</a></td></tr>\n";
   }
 
   function nav_subs() {



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to