/[web]/nav/lib.php
ViewVC logotype

Diff of /nav/lib.php

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

revision 2042 by filip, Sat Feb 9 12:32:32 2013 UTC revision 2046 by rda, Sat Feb 9 14:46:57 2013 UTC
# Line 179  P; Line 179  P;
179    
180          global $_t;          global $_t;
181    
182          $_t[$s] = trim(str_replace(array('{ok}', '{OK}', '{Ok}', '{oK}'), '', $_t[$s]));          $s = array_key_exists($s, $_t) ? $_t[$s] : $s;
183          return array_key_exists($s, $_t) ? $_t[$s] : $s;          $s = trim(str_replace(array('{ok}', '{OK}', '{Ok}', '{oK}'), '', $s));
184    
185            return $s;
186      }      }
187  }  }
188    

Legend:
Removed from v.2042  
changed lines
  Added in v.2046

  ViewVC Help
Powered by ViewVC 1.1.30