summaryrefslogtreecommitdiff
path: root/themes/admin_default
diff options
context:
space:
mode:
Diffstat (limited to 'themes/admin_default')
-rw-r--r--themes/admin_default/views/block.html.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/themes/admin_default/views/block.html.php b/themes/admin_default/views/block.html.php
index 7f14353a..b92675e3 100644
--- a/themes/admin_default/views/block.html.php
+++ b/themes/admin_default/views/block.html.php
@@ -1,8 +1,9 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<div id="<?= $id ?>" class="gBlock ui-widget-dialog">
+<div id="<?= $css_id ?>" class="gBlock ui-widget-dialog">
<div class="ui-dialog-titlebar ui-widget-header">
- <a href="#" class="ui-dialog-titlebar-close">
- <span class="ui-icon ui-icon-closethick">close</span>
+ <a href="<?= url::site("admin/dashboard/remove_block/$id?csrf=" . access::csrf_token()) ?>"
+ class="ui-dialog-titlebar-close">
+ <span class="ui-icon ui-icon-closethick">remove</span>
</a>
<?= $title ?>
</div>