extend sys support to layouts

This commit is contained in:
friendica
2014-11-12 00:48:09 -08:00
parent 9be4fcce55
commit ada2e43ea2
4 changed files with 213 additions and 133 deletions

View File

@@ -214,9 +214,7 @@ function editwebpage_content(&$a) {
));
$ob = (($observer) ? $observer['xchan_hash'] : '');
if(($itm[0]['author_xchan'] === $ob) || ($itm[0]['owner_xchan'] === $ob))
if(($itm[0]['author_xchan'] === $ob_hash) || ($itm[0]['owner_xchan'] === $ob_hash))
$o .= '<br /><br /><a class="page-delete-link" href="item/drop/' . $itm[0]['id'] . '" >' . t('Delete Webpage') . '</a><br />';