fix title of edit card which showed up as 'edit block' due to copy/paste

This commit is contained in:
zotlabs 2017-08-24 18:39:50 -07:00
parent 5c92337821
commit 45c033b9aa

View File

@ -123,7 +123,7 @@ class Card_edit extends \Zotlabs\Web\Controller {
$editor = status_editor($a, $x); $editor = status_editor($a, $x);
$o .= replace_macros(get_markup_template('edpost_head.tpl'), array( $o .= replace_macros(get_markup_template('edpost_head.tpl'), array(
'$title' => t('Edit Block'), '$title' => t('Edit Card'),
'$delete' => ((($itm[0]['author_xchan'] === $ob_hash) || ($itm[0]['owner_xchan'] === $ob_hash)) ? t('Delete') : false), '$delete' => ((($itm[0]['author_xchan'] === $ob_hash) || ($itm[0]['owner_xchan'] === $ob_hash)) ? t('Delete') : false),
'$id' => $itm[0]['id'], '$id' => $itm[0]['id'],
'$editor' => $editor '$editor' => $editor