From bc421a615ab89cf5416af12173471235cdf5d297 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 12 Jan 2009 08:26:38 +0000 Subject: 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. --- themes/admin_default/views/block.html.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'themes/admin_default') 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 @@ -
+
-- cgit v1.2.3