normalise_link($ret["url"]));
if (!$r) {
- $r = array(array("location" => "", "about" => "", "keywords" => ""));
+ $r = [["location" => "", "about" => "", "keywords" => ""]];
} else {
$gcontact_id = $r[0]["id"];
}
$header = t("Connect/Follow");
- $o = replace_macros($tpl,array(
+ $o = replace_macros($tpl,[
'$header' => htmlentities($header),
//'$photo' => proxy_url($ret["photo"], false, PROXY_SIZE_SMALL),
'$desc' => "",
'$pls_answer' => t('Please answer the following:'),
- '$does_know_you' => array('knowyou', sprintf(t('Does %s know you?'),$ret["name"]), false, '', array(t('No'), t('Yes'))),
+ '$does_know_you' => ['knowyou', sprintf(t('Does %s know you?'),$ret["name"]), false, '', [t('No'), t('Yes')]],
'$add_note' => t('Add a personal note:'),
'$page_desc' => "",
'$friendica' => "",
'$about_label' => t("About:"), */
'$keywords' => $r[0]["keywords"],
'$keywords_label' => t("Tags:")
- ));
+ ]);
$a->page['aside'] = "";
if ($gcontact_id <> 0) {
$o .= replace_macros(get_markup_template('section_title.tpl'),
- array('$title' => t('Status Messages and Posts')
- ));
+ ['$title' => t('Status Messages and Posts')
+ ]);
// Show last public posts
$o .= Contact::getPostsFromUrl($ret["url"]);