From de084d2c5587fcae0947543c2e128e4453b1198c Mon Sep 17 00:00:00 2001 From: Matthew Barbour Date: Mon, 26 Oct 2020 10:26:33 -0500 Subject: [PATCH] Image to Post - material theme --- themes/material/view.theme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/material/view.theme.php b/themes/material/view.theme.php index f81b56e0..f82ababc 100644 --- a/themes/material/view.theme.php +++ b/themes/material/view.theme.php @@ -16,7 +16,7 @@ class CustomViewImageTheme extends ViewImageTheme public function display_admin_block(Page $page, $parts) { if (count($parts) > 0) { - $page->add_block(new Block("Image Controls", join("
", $parts), "drawer", 50)); + $page->add_block(new Block("Post Controls", join("
", $parts), "drawer", 50)); } } @@ -41,7 +41,7 @@ class CustomViewImageTheme extends ViewImageTheme global $user; if (count($editor_parts) == 0) { - return ($image->is_locked() ? "
[Image Locked]" : ""); + return ($image->is_locked() ? "
[Post Locked]" : ""); } $html = make_form(make_link("post/set"))."