$o .= '<div class="error-message">' . $msg2 . EOL . EOL. $msg3 . '</div>';
- $tpl = load_view_file('view/crepair.tpl');
+ $tpl = file_get_contents('view/crepair.tpl');
$o .= replace_macros($tpl, array(
'$label_name' => t('Name'),
'$label_nick' => t('Account Nickname'),