From e2f0d5dae9c136554895f421828a1404ebac74be Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 16 Aug 2007 20:54:42 +0000 Subject: [PATCH] Removing dead function in Template.php * Template.php: (print_around): Removed --- Template.php | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/Template.php b/Template.php index 8400c1a..b0ebfdf 100644 --- a/Template.php +++ b/Template.php @@ -647,34 +647,6 @@ class BSTemplate } } -// ################################################################### -/** -* Debugging function used to print characters in a string that are -* around a certain position. -* -* @access private -* -* @param string The haystack string -* @param integer Position to print around -*/ -function print_around($str, $pos) -{ - echo '>>> PA >>>>>>>>['; - echo htmlspecialchars($str[ $pos - 5 ]); - echo htmlspecialchars($str[ $pos - 4 ]); - echo htmlspecialchars($str[ $pos - 3 ]); - echo htmlspecialchars($str[ $pos - 2 ]); - echo htmlspecialchars($str[ $pos - 1 ]); - echo '©'; - echo htmlspecialchars($str[ $pos + 0 ]); - echo htmlspecialchars($str[ $pos + 1 ]); - echo htmlspecialchars($str[ $pos + 2 ]); - echo htmlspecialchars($str[ $pos + 3 ]); - echo htmlspecialchars($str[ $pos + 4 ]); - echo htmlspecialchars($str[ $pos + 5 ]); - echo ']<<<<<<<< PA <<<'; -} - /*=====================================================================*\ || ################################################################### || # $HeadURL$ -- 2.22.5