Browse code

Change bundle structure

Sebastian Zoglowek authored on14/08/2022 15:51:15
Showing1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,8 +0,0 @@
1
-<figure class="image_container">
2
-
3
-  <?php if($this->addFallbackImage): ?>
4
-    <img src="<?= $this->singleSRC; ?>" width="200" height="200" itemprop="image">
5
-  <?php else: ?>
6
-    <?php $this->insert('picture_default', $this->picture); ?>
7
-  <?php endif; ?>
8
-</figure>
Browse code

[Hotfix] Do not parse image template when not checked in memberlist and reader

Sebastian Zoglowek authored on25/05/2022 16:56:24
Showing1 changed files
... ...
@@ -1,8 +1,8 @@
1 1
 <figure class="image_container">
2 2
 
3
-  <?php if($this->addImage): ?>
4
-    <?php $this->insert('picture_default', $this->picture); ?>
5
-  <?php else: ?>
3
+  <?php if($this->addFallbackImage): ?>
6 4
     <img src="<?= $this->singleSRC; ?>" width="200" height="200" itemprop="image">
5
+  <?php else: ?>
6
+    <?php $this->insert('picture_default', $this->picture); ?>
7 7
   <?php endif; ?>
8 8
 </figure>
Browse code

[Update] Refactoring and simplifying member templates

Sebastian Zoglowek authored on24/05/2022 01:40:07
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,8 @@
1
+<figure class="image_container">
2
+
3
+  <?php if($this->addImage): ?>
4
+    <?php $this->insert('picture_default', $this->picture); ?>
5
+  <?php else: ?>
6
+    <img src="<?= $this->singleSRC; ?>" width="200" height="200" itemprop="image">
7
+  <?php endif; ?>
8
+</figure>