Removing dead function in Template.php
authorRobert Sesek <rsesek@bluestatic.org>
Thu, 16 Aug 2007 20:54:42 +0000 (20:54 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Thu, 16 Aug 2007 20:54:42 +0000 (20:54 +0000)
* Template.php:
(print_around): Removed

Template.php

index 8400c1afc7e280179846d77b720a60c1413b8efa..b0ebfdfea1297f1f2e35a25a1feaa55e873d4fc8 100644 (file)
@@ -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$