X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcrepair.php;h=457a06685db35df037ebfd41c2796b961caf0195;hb=d80888842926eba272ae0e86d7666daeef201dc3;hp=670143d35f751b8741f49c59b5edce739f20914f;hpb=1058d055d16f0cd7ce000c22b038dbad86334ce3;p=friendica.git
diff --git a/mod/crepair.php b/mod/crepair.php
index 670143d35f..457a06685d 100644
--- a/mod/crepair.php
+++ b/mod/crepair.php
@@ -22,11 +22,12 @@ function crepair_init(&$a) {
if($contact_id) {
$a->data['contact'] = $r[0];
- $o .= '
';
- $o .= '
' . $a->data['contact']['name'] . '
';
- $o .= '
';
- $o .= '
';
- $a->page['aside'] .= $o;
+ $tpl = get_markup_template("vcard-widget.tpl");
+ $vcard_widget .= replace_macros($tpl, array(
+ '$name' => $a->data['contact']['name'],
+ '$photo' => $a->data['contact']['photo']
+ ));
+ $a->page['aside'] .= $vcard_widget;
}
}
@@ -165,7 +166,7 @@ function crepair_content(&$a) {
$tpl = get_markup_template('crepair.tpl');
$o .= replace_macros($tpl, array(
'$update_profile' => update_profile,
- '$udprofilenow' => t('Update profile now'),
+ '$udprofilenow' => t('Refetch contact data'),
'$label_name' => t('Name'),
'$label_nick' => t('Account Nickname'),
'$label_attag' => t('@Tagname - overrides Name/Nickname'),