summaryrefslogtreecommitdiff
path: root/core/views/admin_themes_preview.html.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/admin_themes_preview.html.php')
-rw-r--r--core/views/admin_themes_preview.html.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/views/admin_themes_preview.html.php b/core/views/admin_themes_preview.html.php
new file mode 100644
index 00000000..c31d4118
--- /dev/null
+++ b/core/views/admin_themes_preview.html.php
@@ -0,0 +1,7 @@
+<h1> <?= t("Theme Preview: {{theme_name}}", array("theme_name" => $info->name)) ?> </h1>
+<iframe src="<?= $url ?>" style="width: 600px; height: 500px"></iframe>
+<p>
+ <a href="<?= url::site("admin/themes/choose/$type/$theme_name?csrf=" . access::csrf_token()) ?>">
+ <?= t("Activate <b>{{theme_name}}</b>", array("theme_name" => $info->name)) ?>
+ </a>
+</p>