includes/lang.php
changeset 391 85f91037cd4f
parent 390 9bcc185dc151
child 504 bc8e0e9ee01d
equal deleted inserted replaced
390:9bcc185dc151 391:85f91037cd4f
   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 ?>