summaryrefslogtreecommitdiff
path: root/themes/default
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-12 08:26:38 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-12 08:26:38 +0000
commitbc421a615ab89cf5416af12173471235cdf5d297 (patch)
treea4318a7c649423e2a4a23327ba8aa1fa183397eb /themes/default
parentce6d7b8d3799cf5996a7c4fd512bf4efb85d1c5b (diff)
Implement deleting dashboard blocks.
* Refactor blocks so that they have a separate id vs css_id. This way we can have a unique identifier for each visual block. * Store blocks with a random id as their unique identifier * Add Admin_Dashboard::remove_block() and modify themes/admin_default/views/block.html.php to call it when you click the remove box.
Diffstat (limited to 'themes/default')
-rw-r--r--themes/default/views/block.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/views/block.html.php b/themes/default/views/block.html.php
index 42d09196..a2357ab6 100644
--- a/themes/default/views/block.html.php
+++ b/themes/default/views/block.html.php
@@ -1,5 +1,5 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<div id="<?= $id ?>" class="gBlock">
+<div id="<?= $css_id ?>" class="gBlock">
<h2><?= $title ?></h2>
<div class="gBlockContent">
<?= $content ?>