From 780f52186f9342c2e2e9f6e90166b3464a728b42 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 20 Oct 2023 16:53:42 +0000 Subject: [PATCH] fix bugs --- Theme/Backend/qa-dashboard.tpl.php | 6 +++--- Theme/Backend/qa-question.tpl.php | 10 +++++----- Theme/Backend/styles.css | 2 ++ Theme/Backend/styles.scss | 2 ++ 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Theme/Backend/qa-dashboard.tpl.php b/Theme/Backend/qa-dashboard.tpl.php index 81518c3..8e71197 100755 --- a/Theme/Backend/qa-dashboard.tpl.php +++ b/Theme/Backend/qa-dashboard.tpl.php @@ -50,7 +50,7 @@ echo $this->data['nav']->render(); ?>
- printHtml($question->name); ?> + printHtml($question->name); ?>
@@ -59,11 +59,11 @@ echo $this->data['nav']->render(); ?> getTags(); foreach ($tags as $tag) : if ($tag->id === 0) { continue; } ?> - icon) ? '' : '' . $this->printHtml($tag->icon) . ''; ?>printHtml($tag->getL11n()); ?> + icon) ? '' : ''; ?>printHtml($tag->getL11n()); ?> - + printHtml($question->createdBy->account->name2); ?> printHtml($question->createdBy->account->name1); ?> createdBy->image->id > 0) : ?> <?= $this->getHtml('AccountImage', '0', '0'); ?> diff --git a/Theme/Backend/qa-question.tpl.php b/Theme/Backend/qa-question.tpl.php index f7d6d68..efab113 100755 --- a/Theme/Backend/qa-question.tpl.php +++ b/Theme/Backend/qa-question.tpl.php @@ -73,15 +73,15 @@ echo $this->data['nav']->render(); foreach ($tags as $tag) : if ($tag->id === 0) { continue; } ?> - icon) ? '' : '' . $this->printHtml($tag->icon) . ''; ?>printHtml($tag->getL11n()); ?> + icon) ? '' : ''; ?>printHtml($tag->getL11n()); ?> getMedia(); foreach ($files as $file) : ?> - name; ?> + name; ?> - +
printHtml($question->createdBy->account->name2); ?> printHtml($question->createdBy->account->name1); ?>
Score: createdBy->account->id] ?? 0; ?>
@@ -150,10 +150,10 @@ echo $this->data['nav']->render();
name; ?> + name; ?> -