[Nextcms-commits] CVS: nextcms class.Site.php,1.1.1.1,1.2
Status: Alpha
Brought to you by:
andrejb
|
From: Andrej B. <an...@us...> - 2002-03-25 09:47:36
|
Update of /cvsroot/nextcms/nextcms In directory usw-pr-cvs1:/tmp/cvs-serv29945 Modified Files: class.Site.php Log Message: fixed mailto: bug in resources all urls containing a : will now be handled as absolute urls Index: class.Site.php =================================================================== RCS file: /cvsroot/nextcms/nextcms/class.Site.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** class.Site.php 19 Mar 2002 17:51:05 -0000 1.1.1.1 --- class.Site.php 25 Mar 2002 09:47:32 -0000 1.2 *************** *** 173,177 **** if (!isset($url)) $url = $this->xmltree->getAttribute($this->id[$id], 'file'); if (!isset($url)) return; ! if (strstr($url, '://') || strstr($url, 'javascript:')) return $url; else --- 173,177 ---- if (!isset($url)) $url = $this->xmltree->getAttribute($this->id[$id], 'file'); if (!isset($url)) return; ! if (strstr($url, ':')) return $url; else |