--- loncom/publisher/lonpublisher.pm 2008/03/18 23:31:31 1.232 +++ loncom/publisher/lonpublisher.pm 2008/06/27 18:52:35 1.238 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Publication Handler # -# $Id: lonpublisher.pm,v 1.232 2008/03/18 23:31:31 raeburn Exp $ +# $Id: lonpublisher.pm,v 1.238 2008/06/27 18:52:35 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -143,6 +143,8 @@ my $cudom; my $registered_cleanup; my $modified_urls; +my $lock; + =pod =item B @@ -329,9 +331,9 @@ sub textfield { $value=~s/\s+/ /gs; $title=&mt($title); $env{'form.'.$name}=$value; - return "\n

$title:". - "


". - ''; + return "\n".&Apache::lonhtmlcommon::row_title($title) + .'' + .&Apache::lonhtmlcommon::row_closure(); } sub text_with_browse_field { @@ -341,12 +343,16 @@ sub text_with_browse_field { $value=~s/\s+/ /gs; $title=&mt($title); $env{'form.'.$name}=$value; - return "\n

$title:". - "


". - ''. - ''.&mt('Select').' '. - ''.&mt('Search').''; - + return "\n".&Apache::lonhtmlcommon::row_title($title) + .'' + .'
' + .'' + .&mt('Select') + .' ' + .'' + .&mt('Search') + .'' + .&Apache::lonhtmlcommon::row_closure(); } sub hiddenfield { @@ -370,8 +376,8 @@ sub selectbox { } else { $env{'form.'.$name}=$idlist[0]; } - my $selout="\n

$title:". - '


'; foreach (@idlist) { $selout.='