includes/lang.php
changeset 390 9bcc185dc151
parent 387 92664d2efab8
child 391 85f91037cd4f
equal deleted inserted replaced
389:da3bb3e99323 390:9bcc185dc151
   552     foreach ( $subs as $key => $value )
   552     foreach ( $subs as $key => $value )
   553     {
   553     {
   554       $subs[$key] = strval($value);
   554       $subs[$key] = strval($value);
   555       $string = str_replace("%{$key}%", "{$subs[$key]}", $string);
   555       $string = str_replace("%{$key}%", "{$subs[$key]}", $string);
   556     }
   556     }
   557     return $string;
   557     return "$string*";
   558   }
   558   }
   559   
   559   
   560 } // class Language
   560 } // class Language
   561 
   561 
   562 ?>
   562 ?>