Changed $uid to $tree_id, so not to confuse anyone between and acroynm

for unique identifier as opposed to user id. :-)
This commit is contained in:
Tim Almdal
2009-03-04 16:01:18 +00:00
parent f7d82ec52f
commit fbc650bddb
2 changed files with 6 additions and 6 deletions
@@ -32,7 +32,7 @@ class Server_Add_Controller extends Controller {
$tree = new View("server_add_tree.html");
$tree->data = array();
$tree->uid = "tree_$id";
$tree->tree_id = "tree_$id";
foreach (array_keys($paths) as $path) {
$tree->data[$path] = array("path" => $path, "is_dir" => true);
}
@@ -49,7 +49,7 @@ class Server_Add_Controller extends Controller {
$tree = new View("server_add_tree.html");
$tree->data = $this->_get_children($path);
$tree->uid = "tree_" . md5($path);
$tree->tree_id = "tree_" . md5($path);
print $tree;
}