From eeb84c5be16ecca239adae9c851bc0f7db0875a1 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Sat, 4 Mar 2023 01:46:45 +0300 Subject: blog: support ToC --- handler/admin/AutoAddOrEdit.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'handler/admin/AutoAddOrEdit.php') diff --git a/handler/admin/AutoAddOrEdit.php b/handler/admin/AutoAddOrEdit.php index 027c827..1627642 100644 --- a/handler/admin/AutoAddOrEdit.php +++ b/handler/admin/AutoAddOrEdit.php @@ -39,6 +39,7 @@ abstract class AutoAddOrEdit extends AdminRequestHandler { string $text = '', ?array $tags = null, bool $visible = false, + bool $toc = false, string $short_name = '', ?string $error_code = null, bool $saved = false, @@ -53,6 +54,7 @@ abstract class AutoAddOrEdit extends AdminRequestHandler { text: $text, tags: $tags ? implode(', ', $tags) : '', visible: $visible, + toc: $toc, saved: $saved, short_name: $short_name, error_code: $error_code -- cgit v1.2.3