Browse Source

- removed some debug traces !!

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1337 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 14 years ago
parent
commit
59c423fa65
1 changed files with 0 additions and 2 deletions
  1. 0 2
      core/attributedef.class.inc.php

+ 0 - 2
core/attributedef.class.inc.php

@@ -1352,7 +1352,6 @@ class AttributeText extends AttributeString
 		if (preg_match_all(WIKI_URL, $sText, $aAllMatches, PREG_SET_ORDER /* important !*/ |PREG_OFFSET_CAPTURE /* important ! */))
 		{
 			$aUrls = array();
-			echo "<pre>".print_r($aAllMatches,true)."</pre><br/>\n";
 			$i = count($aAllMatches);
 			// Replace the URLs by an actual hyperlink <a href="...">...</a>
 			// Let's do it backwards so that the initial positions are not modified by the replacement
@@ -1363,7 +1362,6 @@ class AttributeText extends AttributeString
 				$i--;
 				$sUrl = $aAllMatches[$i][0][0]; // String corresponding to the main pattern
 				$iPos = $aAllMatches[$i][0][1]; // Position of the main pattern
-				echo "<p>Replacing: '$sUrl', located at: $iPos, length: ".strlen($sUrl)."</p>\n";
 				$sText = substr_replace($sText, "<a href=\"$sUrl\">$sUrl</a>", $iPos, strlen($sUrl));
 				
 			}