From f5ce181aa89d295e108bd25cb7c6914cf020d565 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 12 Jun 2021 01:37:18 +0200 Subject: Show first image from items content If a item has at least one Markdown image embedded in its content, show this image within the
tag in the item.php template files. --- theme/admin/html/page/item.php | 5 ++++- theme/admin/html/post/item.php | 5 ++++- theme/admin/html/user/item.php | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) (limited to 'theme/admin/html') diff --git a/theme/admin/html/page/item.php b/theme/admin/html/page/item.php index a92b2fd..c61984c 100644 --- a/theme/admin/html/page/item.php +++ b/theme/admin/html/page/item.php @@ -8,6 +8,9 @@
+ + +

@@ -26,4 +29,4 @@
  • " title="text('delete_page')?>">
  • - \ No newline at end of file + diff --git a/theme/admin/html/post/item.php b/theme/admin/html/post/item.php index 8258d30..ae06752 100644 --- a/theme/admin/html/post/item.php +++ b/theme/admin/html/post/item.php @@ -8,6 +8,9 @@
    + + +

    @@ -26,4 +29,4 @@
  • " title="text('delete_post')?>">
  • - \ No newline at end of file + diff --git a/theme/admin/html/user/item.php b/theme/admin/html/user/item.php index d8e43cf..ae16637 100644 --- a/theme/admin/html/user/item.php +++ b/theme/admin/html/user/item.php @@ -7,6 +7,9 @@
    + + +

    @@ -25,4 +28,4 @@
  • " title="text('delete_user')?>">
  • - \ No newline at end of file + -- cgit v1.2.3