Theme admin refinement. Make more room to show the preview by enlarging the iframe and removing the heading above it.

This commit is contained in:
Chad Kieffer
2009-01-12 07:57:13 +00:00
parent f4d5681faa
commit 42e635bff0
4 changed files with 50 additions and 32 deletions
+2 -3
View File
@@ -1,8 +1,7 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<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)) ?>
<?= t("Activate <strong>{{theme_name}}</strong>", array("theme_name" => $info->name)) ?>
</a>
</p>
<iframe src="<?= $url ?>" style="width: 900px; height: 450px"></iframe>