From 3c88c5e66aaf45015726b86c4127266ee073e8e4 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 6 Mar 2024 13:02:22 +0000 Subject: cleanup context and introduce schema:identifier for future use --- Zotlabs/Lib/Activity.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index 0275c87ac..4c89e22bd 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -3535,21 +3535,17 @@ class Activity { 'schema' => 'http://schema.org#', 'ostatus' => 'http://ostatus.org#', 'diaspora' => 'https://diasporafoundation.org/ns/', + 'litepub' => 'http://litepub.social/ns#', 'commentPolicy' => 'zot:commentPolicy', - 'locationAddress' => 'zot:locationAddress', - 'locationPrimary' => 'zot:locationPrimary', - 'locationDeleted' => 'zot:locationDeleted', - 'nomadicLocation' => 'zot:nomadicLocation', - 'nomadicHubs' => 'zot:nomadicHubs', - 'emojiReaction' => 'zot:emojiReaction', - 'expires' => 'zot:expires', - 'directMessage' => 'zot:directMessage', 'Bookmark' => 'zot:Bookmark', 'Category' => 'zot:Category', + 'directMessage' => 'litepub:directMessage', + 'PropertyValue' => 'schema:PropertyValue', 'value' => 'schema:value', + 'uuid' => 'schema:identifier', 'conversation' => 'ostatus:conversation', -- cgit v1.2.3 From 69bed9c889a5c153f7b9cece49be3b81bde24e32 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 6 Mar 2024 13:04:06 +0000 Subject: minor mod thing fixes --- Zotlabs/Module/Thing.php | 2 ++ view/tpl/thing_edit.tpl | 4 ++-- view/tpl/thing_input.tpl | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Zotlabs/Module/Thing.php b/Zotlabs/Module/Thing.php index 8a1591442..3bf902fb0 100644 --- a/Zotlabs/Module/Thing.php +++ b/Zotlabs/Module/Thing.php @@ -302,6 +302,8 @@ class Thing extends \Zotlabs\Web\Controller { return; } + profile_load($channel['channel_address']); + $acl = new \Zotlabs\Access\AccessList($channel); $channel_acl = $acl->get(); diff --git a/view/tpl/thing_edit.tpl b/view/tpl/thing_edit.tpl index 63b48f6fc..8067bec43 100644 --- a/view/tpl/thing_edit.tpl +++ b/view/tpl/thing_edit.tpl @@ -27,7 +27,7 @@ {{include file="field_checkbox.tpl" field=$activity}} -
+
{{if $lockstate}} -You can also create a scrollable modal that allows scroll the modal body by adding `.modal-dialog-scrollable` to `.modal-dialog`. +You can also create a scrollable modal that allows scrolling the modal body by adding `.modal-dialog-scrollable` to `.modal-dialog`.