/[health_html]/inc/global.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /inc/global.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ravilov, Fri Aug 3 09:56:32 2001 UTC revision 1.2 by ravilov, Fri Aug 3 11:21:16 2001 UTC
# Line 4  Line 4 
4                  $str = preg_replace("/(\<\/?\s*(\w+)>[^\>]*\>)/e",                  $str = preg_replace("/(\<\/?\s*(\w+)>[^\>]*\>)/e",
5                          "array_search(strtoupper('\\2'),\$allowed,false)?'\\1':HTMLSpecialChars('\\1')",                          "array_search(strtoupper('\\2'),\$allowed,false)?'\\1':HTMLSpecialChars('\\1')",
6                          $str);                          $str);
7                    $str = preg_replace("/(^\s+|\s+$)/", "", $str);
8                  return $str;                  return $str;
9          }          }
10          function ParseNewline($str) {          function ParseNewline($str) {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26