--- loncom/interface/lonindexer.pm 2012/05/07 05:15:00 1.213.4.1
+++ loncom/interface/lonindexer.pm 2012/05/25 23:21:44 1.213.4.2
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Directory Indexer
#
-# $Id: lonindexer.pm,v 1.213.4.1 2012/05/07 05:15:00 raeburn Exp $
+# $Id: lonindexer.pm,v 1.213.4.2 2012/05/25 23:21:44 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -166,6 +166,7 @@ ENDSUBM
$r->print(&Apache::loncommon::start_page(undef,$js,
{'only_body' =>1,
'add_modal' => 1,
+ 'add_wishlist' => 1,
'add_entries' =>
{'onload' => "load();"},}
).
@@ -416,7 +417,7 @@ ENDHEADER
if ($env{'form.catalogmode'}) {
# "Popup mode"
$r->print(&Apache::loncommon::start_page('Browse published resources',$js,
- {'only_body' => 1, 'add_modal' =>1,
+ {'only_body' => 1, 'add_wishlist'=>1, 'add_modal' =>1,
'domain' => $headerdom,}));
} else {
# Only display page header and breadcrumbs in non-popup mode
@@ -591,6 +592,7 @@ END
$r->print(&Apache::loncommon::start_data_table("LC_tableBrowseRes")
.&Apache::loncommon::start_data_table_header_row());
$r->print("
".&mt('Name')." | \n");
+ $r->print(" | \n");
$r->print("".&mt('Title')." | \n")
if ($hash{'display_attrs_0'} == 1);
$r->print(''.&mt("Size")." (".&mt("bytes").") ".
@@ -937,7 +939,7 @@ sub display_line {
$r->print (' print (' alt="'.$msg.'" class="LC_fileicon" />'.
"\n");
- $r->print(&mt("Up")."$tabtag");
+ $r->print(&mt("Up")." | $tabtag");
$r->print(&Apache::loncommon::end_data_table_row());
return OK;
}
@@ -972,7 +974,7 @@ $r->print ('(".&Apache::lonnet::domain($listname,'description').
")");
}
- $r->print("$tabtag");
+ $r->print(" | $tabtag");
$r->print(&Apache::loncommon::end_data_table_row());
return OK;
@@ -1004,7 +1006,12 @@ $r->print ('print(' | ');
+# Wishlistlink
+ $r->print(''.
+ ' '.$tabtag);
$r->print(&Apache::loncommon::end_data_table_row());
return OK;
}
@@ -1095,6 +1102,12 @@ $r->print ('\n");
+# Wishlistlink
+ $r->print(' | '.
+ ' | ');
if ($hash{'display_attrs_0'} == 1) {
$r->print(' '.($title eq '' ? ' ' : $title).
' | '."\n");
@@ -1243,7 +1256,12 @@ $r->print (''
."\n");
$r->print ("$listname");
- $r->print('');
+# Wishlistlink
+ $r->print(''.
+ ' | ');
# Attributes
my $filelink = $startdir.$filecom[0].'/default';