");
$r->print("\n");
- if ($env{'form.readfile'}) {
+ if (($env{'form.readfile'}) || ($env{'form.bookmarks'})) {
$r->print("$lt{'in'} | \n");
} else {
$r->print("$lt{'co'} | \n");
@@ -405,7 +382,7 @@ END
$r->print("$lt{'pa'} | \n");
} else {
$r->print(&Apache::loncommon::start_page(undef,$js,
- {'only_body' => 1});
+ {'only_body' => 1}));
$r->print(<
@@ -419,18 +396,18 @@ END
my $key=$_;
$ctr++;
my $iconname=&Apache::loncommon::icon($key);
- if (($clen > 1) || ($env{'form.readfile'})) {
+ if (($clen > 1) || ($env{'form.readfile'}) || ($env{'form.bookmarks'})) {
$r->print("");
- if ($env{'form.readfile'}) {
+ 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));
- if (($clen > 1) || ($env{'form.readfile'})) {
+ if (($clen > 1) || ($env{'form.readfile'}) || ($env{'form.bookmarks'})) {
$r->print(" | ");
- unless ($env{'form.readfile'}) {
+ unless (($env{'form.readfile'}) || ($env{'form.bookmarks'})) {
$r->print("".
&select_box($clen,$ctr).
" | ");
@@ -442,7 +419,7 @@ END
$r->print("$key \n");
}
}
- if (($clen > 1) || ($env{'form.readfile'})) {
+ if (($clen > 1) || ($env{'form.readfile'}) || ($env{'form.bookmarks'})) {
$r->print("
|