]> git.mxchange.org Git - friendica.git/blobdiff - mod/crepair.php
Merge remote-tracking branch 'friendika/master' into newacl
[friendica.git] / mod / crepair.php
index 617c381f7d52a10bd3b3686a7603784d64038f87..4babd6bf7b955bee1b1f43e2590b60470030f0c9 100644 (file)
@@ -39,7 +39,7 @@ function crepair_post(&$a) {
        );
 
        if($r)
-               notice( t('Contact settings applied.') . EOL);
+               info( t('Contact settings applied.') . EOL);
        else
                notice( t('Contact update failed.') . EOL);
 
@@ -80,7 +80,7 @@ function crepair_content(&$a) {
 
        $o .= '<div class="error-message">' . $msg2 . EOL . EOL. $msg3 . '</div>';
 
-       $tpl = load_view_file('view/crepair.tpl');
+       $tpl = get_markup_template('crepair.tpl');
        $o .= replace_macros($tpl, array(
                '$label_name' => t('Name'),
                '$label_nick' => t('Account Nickname'),
@@ -102,4 +102,4 @@ function crepair_content(&$a) {
 
        return $o;
 
-}
\ No newline at end of file
+}