From 49f43090b214c4346a114922696b7d9d96d2c02e Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Wed, 18 May 2016 22:07:49 -0400 Subject: Added plugin controller (WIP) --- app/Template/plugin/directory.php | 30 ++++++++++++++++++++++++++++++ app/Template/plugin/layout.php | 9 +++++++++ app/Template/plugin/show.php | 31 +++++++++++++++++++++++++++++++ app/Template/plugin/sidebar.php | 11 +++++++++++ 4 files changed, 81 insertions(+) create mode 100644 app/Template/plugin/directory.php create mode 100644 app/Template/plugin/layout.php create mode 100644 app/Template/plugin/show.php create mode 100644 app/Template/plugin/sidebar.php (limited to 'app/Template/plugin') diff --git a/app/Template/plugin/directory.php b/app/Template/plugin/directory.php new file mode 100644 index 00000000..82b9a441 --- /dev/null +++ b/app/Template/plugin/directory.php @@ -0,0 +1,30 @@ + + + +

+ + + + + + + + + + + + + + + + + + + +
+ text->e($plugin['title']) ?> + text->e($plugin['author']) ?>text->e($plugin['version']) ?>text->e($plugin['description']) ?> +
+ diff --git a/app/Template/plugin/layout.php b/app/Template/plugin/layout.php new file mode 100644 index 00000000..6eafa593 --- /dev/null +++ b/app/Template/plugin/layout.php @@ -0,0 +1,9 @@ +
+ +
diff --git a/app/Template/plugin/show.php b/app/Template/plugin/show.php new file mode 100644 index 00000000..8358fb2a --- /dev/null +++ b/app/Template/plugin/show.php @@ -0,0 +1,31 @@ + + + +

+ + + + + + + + + + + + + + + + + +
+ getPluginHomepage()): ?> + text->e($plugin->getPluginName()) ?> + + text->e($plugin->getPluginName()) ?> + + text->e($plugin->getPluginAuthor()) ?>text->e($plugin->getPluginVersion()) ?>text->e($plugin->getPluginDescription()) ?>
+ diff --git a/app/Template/plugin/sidebar.php b/app/Template/plugin/sidebar.php new file mode 100644 index 00000000..e1b47632 --- /dev/null +++ b/app/Template/plugin/sidebar.php @@ -0,0 +1,11 @@ + -- cgit v1.2.3