--- loncom/interface/londocs.pm 2005/01/08 06:42:15 1.164
+++ loncom/interface/londocs.pm 2005/01/30 12:51:21 1.165
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.164 2005/01/08 06:42:15 albertel Exp $
+# $Id: londocs.pm,v 1.165 2005/01/30 12:51:21 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1303,10 +1303,11 @@ END
$folderpath.=$folderarg.'&'.$foldername;
$url.='folderpath='.&Apache::lonnet::escape($folderpath);
$parameterset='';
+ '" />'.
+''.&mt('Store').'';
}
if ($ispage) {
@@ -1333,21 +1334,17 @@ END
if (($allowed) && ($folder!~/^supplemental/)) {
my %lt=&Apache::lonlocal::texthash(
'hd' => 'Hidden',
- 'ec' => 'URL hidden',
- 'sp' => 'Store Parameters');
+ 'ec' => 'URL hidden');
my $enctext=
((&Apache::lonratedt::getparameter($orderidx,'parameter_encrypturl'))[0]=~/^yes$/i?' checked="1"':'');
my $hidtext=
((&Apache::lonratedt::getparameter($orderidx,'parameter_hiddenresource'))[0]=~/^yes$/i?' checked="1"':'');
$line.=(<
-
+
- |
+
$parameterset |
-
-
- |
ENDPARMS
}
$line.="";
@@ -1960,16 +1957,20 @@ function makeabout() {
this.document.forms.newaboutsomeone.importdetail.value=
'About '+user+'=/adm/'+comp[1]+'/'+comp[0]+'/aboutme';
this.document.forms.newaboutsomeone.submit();
- }
+ } else {
+ alert("Not a valid user\@domain");
+ }
+ } else {
+ alert("Please enter both user and domain in the format user\@domain");
}
}
}
function makeims() {
- var caller = document.forms.ims.folder.value
- var newlocation = "/adm/imsimportdocs?folder="+caller+"&phase=one"
- newWindow = window.open("","IMSimport","HEIGHT=700,WIDTH=750,scrollbars=yes")
- newWindow.location.href = newlocation
+ var caller = document.forms.ims.folder.value;
+ var newlocation = "/adm/imsimportdocs?folder="+caller+"&phase=one";
+ newWindow = window.open("","IMSimport","HEIGHT=700,WIDTH=750,scrollbars=yes");
+ newWindow.location.href = newlocation;
}