diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-03-27 03:43:21 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-03-27 03:43:21 +0000 |
| commit | 921f3a2eeeca9be23cb006a31b6d6f71e186374a (patch) | |
| tree | f9626ae5191418410714b662799649de5a1ea37c /core/views/admin_themes_preview.html.php | |
| parent | d7719a7e72de2ddc46c9173b0871f53e32ef40fc (diff) | |
Put csrf token into Admin_View and Theme_View by default, then use it
directly wherever possible instead of access::csrf_token().
Diffstat (limited to 'core/views/admin_themes_preview.html.php')
| -rw-r--r-- | core/views/admin_themes_preview.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/views/admin_themes_preview.html.php b/core/views/admin_themes_preview.html.php index d4fa617d..a7aea172 100644 --- a/core/views/admin_themes_preview.html.php +++ b/core/views/admin_themes_preview.html.php @@ -1,6 +1,6 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <p> - <a href="<?= url::site("admin/themes/choose/$type/$theme_name?csrf=" . access::csrf_token()) ?>"> + <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> |
