includes/lang.php
changeset 355 d15e4411ef65
parent 348 87e08a6e4fec
child 371 dc6026376919
equal deleted inserted replaced
354:979d99a0b00e 355:d15e4411ef65
   544     foreach ( $subs as $key => $value )
   544     foreach ( $subs as $key => $value )
   545     {
   545     {
   546       $subs[$key] = strval($value);
   546       $subs[$key] = strval($value);
   547       $string = str_replace("%{$key}%", "{$subs[$key]}", $string);
   547       $string = str_replace("%{$key}%", "{$subs[$key]}", $string);
   548     }
   548     }
   549     return "{$string}*";
   549     return $string . '*';
   550   }
   550   }
   551   
   551   
   552 } // class Language
   552 } // class Language
   553 
   553 
   554 ?>
   554 ?>