--- loncom/interface/loncommon.pm 2003/11/10 20:19:37 1.150
+++ loncom/interface/loncommon.pm 2003/11/10 23:25:52 1.152
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.150 2003/11/10 20:19:37 matthew Exp $
+# $Id: loncommon.pm,v 1.152 2003/11/10 23:25:52 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2144,7 +2144,7 @@ a:hover { color: black; background: yell
a:focus { color: red; background: yellow }
+style="margin-top: 0px;$addstyle" $addentries>
END
my $upperleft='
';
@@ -2159,7 +2159,7 @@ END
# No Remote
return $bodytag.&Apache::lonmenu::menubuttons($forcereg,'web',
$forcereg).
- ''.$title.
+ '';
}
@@ -2745,9 +2745,10 @@ the routine &Apache::lonnet::transfer_pr
############################################################
############################################################
-
+my $uniq=0;
sub get_cgi_id {
- return (time.'_'.int(rand(1000)));
+ $uniq=($uniq++)%100000;
+ return (time.'_'.$uniq);
}
############################################################
|