From b6097ec27baa11de274c364906aa9948481ded7a Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 11 Feb 2016 20:47:37 +0100 Subject: [PATCH] show/legend: modularize view scripts --- application/views/scripts/show/legend.phtml | 20 +++++++++++++++++++ application/views/scripts/show/overview.phtml | 20 +------------------ 2 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 application/views/scripts/show/legend.phtml diff --git a/application/views/scripts/show/legend.phtml b/application/views/scripts/show/legend.phtml new file mode 100644 index 0000000..083f5fe --- /dev/null +++ b/application/views/scripts/show/legend.phtml @@ -0,0 +1,20 @@ + + diff --git a/application/views/scripts/show/overview.phtml b/application/views/scripts/show/overview.phtml index 1eb0d57..c51d6ae 100644 --- a/application/views/scripts/show/overview.phtml +++ b/application/views/scripts/show/overview.phtml @@ -12,25 +12,7 @@
images)): ?> - +render('show/legend.phtml') ?> images as $title => $url): ?>