Enlightenment CVS committal
Author : mekius
Project : web
Module : www
Dir : web/www/p/about/people
Modified Files:
en-body
Log Message:
Clean up ?
===================================================================
RCS file: /cvs/e/web/www/p/about/people/en-body,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -3 -r1.8 -r1.9
--- en-body 13 Jun 2007 04:49:57 -0000 1.8
+++ en-body 13 Jun 2007 14:10:19 -0000 1.9
@@ -105,7 +105,8 @@
if(strstr($val->www, "http://"))
{
if($val->www[strlen($val->www)-1] == '/')
- $val->www[strlen($val->www)-1] = '';
+ $val->www[strlen($val->www)-1] = 0;
+
echo "<a href='".$val->www."'>".
str_replace(array('http://', 'www.'),'',$val->www)."</a>";
}
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs