From 0f103b1c069063a2e6109a0ba7e566104f4ba8fa Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 4 Dec 2008 20:05:58 +0000 Subject: Moving albums around with a drag and drop interface seems to work and preserve the left right pointers. * changed _lock and _unlock to protected methods lock and lock respectively * added a moveTo method on the Item_Model * Corrected the hole closure on delete. * added moveTo on the ORM_MTPP class * Changed the rearrange javascript to do moves with ajax --- core/controllers/welcome.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/controllers') diff --git a/core/controllers/welcome.php b/core/controllers/welcome.php index 8f8421d3..1d2082d4 100644 --- a/core/controllers/welcome.php +++ b/core/controllers/welcome.php @@ -125,7 +125,7 @@ class Welcome_Controller extends Template_Controller { $data = "digraph G {\n"; foreach ($items as $item) { $data .= " $item->parent_id -> $item->id\n"; - $data .= " $item->id [label=\"$item->id <$item->left, $item->right>\"]\n"; + $data .= " $item->id [label=\"$item->id $item->title <$item->left, $item->right>\"]\n"; } $data .= "}\n"; -- cgit v1.2.3