[LON-CAPA-cvs] cvs: loncom /publisher lonpubdir.pm
bisitz
lon-capa-cvs-allow@mail.lon-capa.org
Wed, 16 Jan 2008 18:15:15 -0000
bisitz Wed Jan 16 13:15:15 2008 EDT
Modified files:
/loncom/publisher lonpubdir.pm
Log:
Corrected wrong usage of "'" in version 1.106 which made the dropboxes left of each resource in Construction Space lose there function.
Index: loncom/publisher/lonpubdir.pm
diff -u loncom/publisher/lonpubdir.pm:1.106 loncom/publisher/lonpubdir.pm:1.107
--- loncom/publisher/lonpubdir.pm:1.106 Wed Jan 16 07:08:04 2008
+++ loncom/publisher/lonpubdir.pm Wed Jan 16 13:15:15 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construction Space Directory Lister
#
-# $Id: lonpubdir.pm,v 1.106 2008/01/16 12:08:04 bisitz Exp $
+# $Id: lonpubdir.pm,v 1.107 2008/01/16 18:15:15 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -217,9 +217,10 @@
}
my $esc_thisdisfn = &Apache::loncommon::escape_single($thisdisfn);
+ my $doctitle=&mt('LON-CAPA Construction Space');
my $pubdirscript=(<<ENDPUBDIRSCRIPT);
<script type="text/javascript">
-top.document.title = '$esc_thisdisfn/ - '.&mt('LON-CAPA Construction Space');
+top.document.title = '$esc_thisdisfn/ - $doctitle';
// Store directory location for menu bar to find
parent.lastknownpriv='/~$uname$esc_thisdisfn/';