summaryrefslogtreecommitdiff
path: root/modules/server_add/views/server_add_tree.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-10 21:30:33 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-10 21:30:33 +0000
commit5c82ce33a21d309a58413106cc8910a2704137ee (patch)
tree713fa89dace64d8dfa6135dc3f09b24e6bad71cd /modules/server_add/views/server_add_tree.html.php
parent068c44e2011aee23ad6f43c0e238c2dba65da8e3 (diff)
Refactor the server add module to make use of the task api (Ticket
#125). Haven't quite figured out what to do with the errors in the context. Maybe they should show on the mainenance screen?
Diffstat (limited to 'modules/server_add/views/server_add_tree.html.php')
-rw-r--r--modules/server_add/views/server_add_tree.html.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/server_add/views/server_add_tree.html.php b/modules/server_add/views/server_add_tree.html.php
index cb3a8fb7..69ff09a6 100644
--- a/modules/server_add/views/server_add_tree.html.php
+++ b/modules/server_add/views/server_add_tree.html.php
@@ -14,9 +14,9 @@ $("#<?= $tree_id ?>").ready(function() {
<? foreach ($data as $file => $file_info): ?>
<li class="<?= empty($file_info["is_dir"]) ? "gFile" : "gDirectory gCollapsed ui-icon-left" ?>">
<? if (!empty($file_info["is_dir"])): ?>
- <span class="ui-icon ui-icon-plus" ref="<?= $file ?>"></span>
+ <span class="ui-icon ui-icon-plus"></span>
<? endif ?>
- <label> <?= form::checkbox("checkbox", $file) . " $file" ?> </label>
+ <label> <?= form::checkbox("checkbox[]", $file_info["path"]) . " $file" ?> </label>
</li>
<? endforeach ?>
</ul>