/[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.19 by ravilov, Tue Oct 23 16:13:59 2001 UTC revision 1.20 by ravilov, Sat Oct 27 16:54:50 2001 UTC
# Line 164  Line 164 
164                          $idx2 = $idx + 1;                          $idx2 = $idx + 1;
165                          while ($idx1 > 0 && stristr($allowed, $str[$idx1 - 1])) $idx1--;                          while ($idx1 > 0 && stristr($allowed, $str[$idx1 - 1])) $idx1--;
166                          while ($idx2 < strlen($str) && stristr($allowed, $str[$idx2])) $idx2++;                          while ($idx2 < strlen($str) && stristr($allowed, $str[$idx2])) $idx2++;
167                          if ($idx2 > strlen($str) - 1) $idx2 = strlen($str) - 1;                          if ($idx2 > strlen($str)) $idx2 = strlen($str) - 1;
168                          if ($str[$idx2 - 1] == '.') $idx2--;                          if ($str[$idx2 - 1] == '.') $idx2--;
169                          $str1 = substr($str, 0, $idx1);                          $str1 = substr($str, 0, $idx1);
170                          $str2 = substr($str, $idx1, $idx2 - $idx1);                          $str2 = substr($str, $idx1, $idx2 - $idx1);

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

  ViewVC Help
Powered by ViewVC 1.1.26