From 33504f6013af6671a1e46c7ec7351fa1f665c99a Mon Sep 17 00:00:00 2001 From: Jacek Pyziak Date: Tue, 17 Mar 2026 19:14:37 +0100 Subject: [PATCH] update --- .vscode/ftp-kr.sync.cache.json | 22 +++++----- templates/tasks/task_popup.php | 75 ++++++++++++++++++++++++++++++++-- 2 files changed, 83 insertions(+), 14 deletions(-) diff --git a/.vscode/ftp-kr.sync.cache.json b/.vscode/ftp-kr.sync.cache.json index dc728ee..b5893c6 100644 --- a/.vscode/ftp-kr.sync.cache.json +++ b/.vscode/ftp-kr.sync.cache.json @@ -333,6 +333,12 @@ } } }, + ".gitignore": { + "type": "-", + "size": 14, + "lmtime": 1773532569285, + "modified": false + }, ".htaccess": { "type": "-", "size": 1055, @@ -503,8 +509,8 @@ "cron": { "main-view.php": { "type": "-", - "size": 2995, - "lmtime": 0, + "size": 3332, + "lmtime": 1773602150426, "modified": false } }, @@ -643,9 +649,9 @@ "site": { "layout-cron.php": { "type": "-", - "size": 6400, - "lmtime": 1770653884637, - "modified": true + "size": 3723, + "lmtime": 1773602132022, + "modified": false }, "layout-logged.php": { "type": "-", @@ -839,12 +845,6 @@ "size": 230708, "lmtime": 1771920013460, "modified": false - }, - ".gitignore": { - "type": "-", - "size": 14, - "lmtime": 1773532569285, - "modified": false } } }, diff --git a/templates/tasks/task_popup.php b/templates/tasks/task_popup.php index 5fef117..a153d46 100644 --- a/templates/tasks/task_popup.php +++ b/templates/tasks/task_popup.php @@ -26,6 +26,7 @@ $checklist_count = is_array( $this -> task['actions'] ) ? count( $this -> task['actions'] ) : 0; $comments_count = is_array( $this -> task['comments'] ) ? count( $this -> task['comments'] ) : 0; $attachments_count = is_array( $this -> task_attachments ) ? count( $this -> task_attachments ) : 0; + $image_extensions = [ 'jpg', 'jpeg', 'png', 'gif', 'webp', 'bmp', 'svg' ]; $popup_wiki_data = \factory\Tasks::task_wiki_entries_for_user( (int)$this -> task['id'], (int)$this -> user['id'] ); $task_wiki_entries = isset( $popup_wiki_data['entries'] ) && is_array( $popup_wiki_data['entries'] ) ? $popup_wiki_data['entries'] : []; $wiki_visible_count = isset( $popup_wiki_data['visible_count'] ) ? (int)$popup_wiki_data['visible_count'] : 0; @@ -167,11 +168,24 @@