summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_themes_preview.html.php
diff options
context:
space:
mode:
authorTristan Zur <tzur@webserver.ccwn.org>2015-06-10 20:55:53 +0200
committerTristan Zur <tzur@webserver.ccwn.org>2015-06-10 20:55:53 +0200
commit406abd7c4df1ace2cd3e4e17159e8941a2e8c0c4 (patch)
treea324be16021f44f2fd6d55e609f47024e945b1db /modules/gallery/views/admin_themes_preview.html.php
Initial import
Diffstat (limited to 'modules/gallery/views/admin_themes_preview.html.php')
-rw-r--r--modules/gallery/views/admin_themes_preview.html.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/gallery/views/admin_themes_preview.html.php b/modules/gallery/views/admin_themes_preview.html.php
new file mode 100644
index 0000000..80a6158
--- /dev/null
+++ b/modules/gallery/views/admin_themes_preview.html.php
@@ -0,0 +1,8 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<h1><?= t("Preview of the %theme_name theme", array("theme_name" => $info->name)) ?></h1>
+<p>
+ <a href="<?= url::site("admin/themes/choose/$type/$theme_name?csrf=$csrf") ?>">
+ <?= t("Activate <strong>%theme_name</strong>", array("theme_name" => $info->name)) ?>
+ </a>
+</p>
+<iframe src="<?= $url ?>" style="width: 900px; height: 450px"></iframe>