コード例 #1
0
ファイル: functions.php プロジェクト: Cythral/futurebb
 static function replace_interface_strings($text)
 {
     //this is for header text, when spitting it out in real time to replace stuff like $username$
     global $futurebb_user;
     $text = str_replace('$username$', $futurebb_user['username'], $text);
     $text = str_replace('$reghash$', futurebb_hash(LoginController::GetRandID()), $text);
     return $text;
 }