return;
}
- $o .= replace_macros(get_markup_template("section_title.tpl"),array(
+ $o .= replace_macros(get_markup_template("section_title.tpl"),[
'$title' => t('Edit post')
- ));
+ ]);
$tpl = get_markup_template('jot-header.tpl');
- $a->page['htmlhead'] .= replace_macros($tpl, array(
+ $a->page['htmlhead'] .= replace_macros($tpl, [
'$baseurl' => System::baseUrl(),
'$ispublic' => ' ', // t('Visible to <strong>everybody</strong>'),
'$geotag' => $geotag,
'$nickname' => $a->user['nickname']
- ));
+ ]);
$tpl = get_markup_template('jot-end.tpl');
- $a->page['end'] .= replace_macros($tpl, array(
+ $a->page['end'] .= replace_macros($tpl, [
'$baseurl' => System::baseUrl(),
'$ispublic' => ' ', // t('Visible to <strong>everybody</strong>'),
'$geotag' => $geotag,
'$nickname' => $a->user['nickname']
- ));
+ ]);
$tpl = get_markup_template("jot.tpl");
//$tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins));
- $o .= replace_macros($tpl,array(
+ $o .= replace_macros($tpl,[
'$is_edit' => true,
'$return_path' => $_SESSION['return_url'],
'$action' => 'item',
'$message' => t('Message'),
'$browser' => t('Browser'),
'$shortpermset' => t('permissions'),
- ));
+ ]);
return $o;