From 034182734b65d8acb6be79bc48182d8d2d885a07 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 11 Oct 2024 19:17:40 +0000 Subject: [PATCH] bug fixes --- Theme/Backend/Components/Upload/BaseView.php | 6 ++++++ Theme/Backend/Components/Upload/upload-list.tpl.php | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Theme/Backend/Components/Upload/BaseView.php b/Theme/Backend/Components/Upload/BaseView.php index 1b10662..6e69368 100755 --- a/Theme/Backend/Components/Upload/BaseView.php +++ b/Theme/Backend/Components/Upload/BaseView.php @@ -54,6 +54,10 @@ class BaseView extends View */ public string $name = ''; + public string $apiUri = ''; + + public string $ref = ''; + /** * Media files * @@ -81,6 +85,8 @@ class BaseView extends View $this->name = $data[1] ?? 'UNDEFINED'; $this->virtualPath = $data[2] ?? $this->virtualPath; $this->files = $data[3] ?? $this->files; + $this->apiUri = $data[4] ?? ''; + $this->ref = $data[5] ?? ''; return parent::render(); } diff --git a/Theme/Backend/Components/Upload/upload-list.tpl.php b/Theme/Backend/Components/Upload/upload-list.tpl.php index e5401aa..6a8ef4b 100755 --- a/Theme/Backend/Components/Upload/upload-list.tpl.php +++ b/Theme/Backend/Components/Upload/upload-list.tpl.php @@ -19,7 +19,7 @@ use phpOMS\Uri\UriFactory;
getHtml('Upload', 'Media', 'Backend'); ?>
-
+
@@ -48,7 +48,7 @@ use phpOMS\Uri\UriFactory;
-
+ @@ -56,10 +56,14 @@ use phpOMS\Uri\UriFactory;
+
+
+ +