');
+ if ($env{'form.bookmarks'}) {
+ $r->print(&mt('There are no resources in your bookmarks to import.'));
+ }
+ $r->print('
');
+ }
} else {
$r->print(&Apache::loncommon::start_page(undef,$js,
{'only_body' => 1}));
@@ -393,36 +407,44 @@ END
");
+ $r->print(&Apache::loncommon::start_data_table_row()
+ ." | ");
if (($env{'form.readfile'}) || ($env{'form.bookmarks'})) {
$r->print(&checkbox($ctr-1));
} else {
$r->print(&movers($clen,$ctr));
}
}
- $r->print(&hidden($ctr-1,$thash{$key},$key));
+ $r->print(&hidden($ctr-1,$resource->{'title'},$resource->{'url'},
+ $resource->{'id'}));
if (($clen > 1) || ($env{'form.readfile'}) || ($env{'form.bookmarks'})) {
$r->print(" | ");
unless (($env{'form.readfile'}) || ($env{'form.bookmarks'})) {
- $r->print("".
+ $r->print(" | ".
&select_box($clen,$ctr).
" | ");
}
- $r->print("");
+ $r->print(" | ");
$r->print(" ");
- $r->print(" | ");
- $r->print("$thash{$key}$nhash{$key} | \n");
- $r->print("$key |
\n");
+ $r->print("