/[hr-web]/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 dpavlin, Fri Apr 20 08:25:32 2001 UTC revision 1.2 by dpavlin, Sat Apr 21 08:37:49 2001 UTC
# Line 40  Line 40 
40          }          }
41          function HTML_escape($str) {          function HTML_escape($str) {
42                  $oldstr = $str;                                         # KLUDGY!!!                  $oldstr = $str;                                         # KLUDGY!!!
43                    $str = eregi_replace("<BR>", "\n", $str);               # KLUDGY!!!
44                  $str = eregi_replace("\<BR\>", "\n", $str);             # KLUDGY!!!                  $str = eregi_replace("\<BR\>", "\n", $str);             # KLUDGY!!!
45                  $foo = ($str != $oldstr);                               # KLUDGY!!!                  $foo = ($str != $oldstr);                               # KLUDGY!!!
46                  $str = str_replace("&", "&amp;", $str);                  $str = str_replace("&", "&amp;", $str);

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

  ViewVC Help
Powered by ViewVC 1.1.26