--- loncom/publisher/lonpubdir.pm 2005/07/12 14:56:36 1.85
+++ loncom/publisher/lonpubdir.pm 2005/07/12 15:55:58 1.86
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construction Space Directory Lister
#
-# $Id: lonpubdir.pm,v 1.85 2005/07/12 14:56:36 albertel Exp $
+# $Id: lonpubdir.pm,v 1.86 2005/07/12 15:55:58 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -521,7 +521,7 @@ sub putdirectory {
''.
''.
''.
- ''.
+ ''.
''.
''.
'';
@@ -529,9 +529,9 @@ sub putdirectory {
}
$r->print('
'.
' | '.
+ $Apache::lonnet::perlvar{'lonIconsURL'}.'/folder_closed.gif" alt="folder" />'.
''.$actionitem.' | '.
- ''.
+ ' | '.
$disfilename.' | '.
''.($kaputt?&Apache::lonhtmlcommon::authorbombs($resdir.'/'.$disfilename.'/'):'').$Apache::lonpublisher::metadatafields{'title'}.' '.
$Apache::lonpublisher::metadatafields{'subject'}.' '.
@@ -597,7 +597,7 @@ sub putresource {
}
}
$title.="\n".' '.
- ($$bombs{$targetdir.'/'.$filename}?'':'Edit Metadata').'';
+ ($$bombs{$targetdir.'/'.$filename}?'':'Edit Metadata').'';
$status.="\n".' '.&mt('Retrieve').'';
}
@@ -622,7 +622,7 @@ sub putresource {
&create_pubselect($r,\$pub_select,$udom,$uname,$thisdisfn,$filename,$resdir,$pubstatus,$publish_button,$numres);
$r->print(' |
'.
''.($filename=~/[\#\~]$/?' ':
- ' | ').
+ '').''.
''.$pub_select.' | '.
''.
''.
@@ -663,7 +663,7 @@ sub create_pubselect {
''.
'
';
+ &HTML::Entities::encode($uname.$thisdisfn.'/'.$filename,'<>&"').'" />';
$$numres ++;
}
|