From 5296f72b3266b13eda235aab536d08c20d714dfd Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 11 Oct 2024 22:12:30 +0000 Subject: [PATCH] fix bugs --- Theme/Backend/script-create.tpl.php | 2 +- Theme/Backend/script-list.tpl.php | 6 +++--- Theme/Backend/script-template-create.tpl.php | 2 +- Theme/Backend/script-view.tpl.php | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Theme/Backend/script-create.tpl.php b/Theme/Backend/script-create.tpl.php index 8245694..2ba1a38 100644 --- a/Theme/Backend/script-create.tpl.php +++ b/Theme/Backend/script-create.tpl.php @@ -24,7 +24,7 @@ echo $this->data['nav']->render(); ?>
-
+
getHtml('Report'); ?>
diff --git a/Theme/Backend/script-list.tpl.php b/Theme/Backend/script-list.tpl.php index 80e4413..a85f5b7 100644 --- a/Theme/Backend/script-list.tpl.php +++ b/Theme/Backend/script-list.tpl.php @@ -29,8 +29,8 @@ $accountDir = $account->id . ' ' . $account->login; $collections = $this->data['collections']; $mediaPath = \urldecode($this->getData('path') ?? '/'); -$previous = empty($templates) ? '{/base}/helper/list' : '{/base}/helper/list?{?}&offset=' . \reset($templates)->id . '&ptype=p'; -$next = empty($templates) ? '{/base}/helper/list' : 'helper/list?{?}&offset=' . \end($templates)->id . '&ptype=n'; +$previous = empty($templates) ? '{/base}/script/list' : '{/base}/script/list?{?}&offset=' . \reset($templates)->id . '&ptype=p'; +$next = empty($templates) ? '{/base}/script/list' : 'script/list?{?}&offset=' . \end($templates)->id . '&ptype=n'; echo $this->data['nav']->render(); ?>
@@ -96,7 +96,7 @@ echo $this->data['nav']->render(); ?> $template) : ++$count; - $url = UriFactory::build('{/base}/helper/report/view?{?}&id=' . $template->id); ?> + $url = UriFactory::build('{/base}/script/report/view?{?}&id=' . $template->id); ?>