--- loncom/publisher/lonpubdir.pm 2011/12/23 14:54:26 1.139
+++ loncom/publisher/lonpubdir.pm 2011/12/23 17:21:18 1.140
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construction Space Directory Lister
#
-# $Id: lonpubdir.pm,v 1.139 2011/12/23 14:54:26 www Exp $
+# $Id: lonpubdir.pm,v 1.140 2011/12/23 17:21:18 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -596,11 +596,18 @@ sub putresource {
if (!$meta_same) {
$title = &mt('Metadata Modified').'
'.$title.
- '
'.&mt('Metadata Diffs').'';
- $title.="\n".'
'.&mt('Retrieve Metadata').'';
+ '
'.
+ &Apache::loncommon::modal_link(
+ '/adm/diff?filename=/priv/'.$linkfilename.'.meta'.'&versiontwo=priv',
+ &mt('Metadata Diffs'),600,500);
+ $title.="\n".'
'.
+ &Apache::loncommon::modal_link(
+ '/adm/retrieve?filename='.$linkfilename.'.meta&inhibitmenu=yes&add_modal=yes',
+ &mt('Retrieve Metadata'),600,500);
}
- $status.="\n".'
'.&mt('Retrieve').'';
+ $status.="\n".'
'.
+ &Apache::loncommon::modal_link(
+ '/adm/retrieve?filename='.$linkfilename.'&inhibitmenu=yes&add_modal=yes',&mt('Retrieve'),600,500);
}
my $editlink='';
my $editlink2='';