--- loncom/homework/structuretags.pm 2012/02/01 18:51:52 1.465.2.14.2.1
+++ loncom/homework/structuretags.pm 2011/01/07 05:09:32 1.484
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.465.2.14.2.1 2012/02/01 18:51:52 raeburn Exp $
+# $Id: structuretags.pm,v 1.484 2011/01/07 05:09:32 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -129,16 +129,8 @@ sub homework_js {
<<'JS';
@@ -162,12 +154,10 @@ JS
sub setmode_javascript {
return <<"ENDSCRIPT";
ENDSCRIPT
}
@@ -185,7 +175,7 @@ function file_deletion_check(formname) {
}
var str = new RegExp("^HWFILE.+_delete\$");
var delboxes = new Array();
- for (i=0; i';
}
-sub problem_edit_action_button {
- my ($name,$action,$accesskey,$text,$flag)=@_;
- my $actionscript="setmode(this.form,'$action')";
- return "\n";
-}
-
sub problem_edit_buttons {
- my ($mode)=@_;
-# Buttons that do not save
- my $result='
'
@@ -2312,12 +2267,11 @@ sub start_simpleeditbutton {
# .&mt('Note: it can take up to 10 minutes for changes to take effect for all users.')
# .&Apache::loncommon::help_open_topic('Caching')
# .'';
- $result.=&Apache::loncommon::head_subbox(
- &Apache::lonhtmlcommon::start_funclist()
+ $result.=&Apache::lonhtmlcommon::start_funclist()
.&Apache::lonhtmlcommon::add_item_funclist(
''
.&mt('Edit').'')
- .&Apache::lonhtmlcommon::end_funclist());
+ .&Apache::lonhtmlcommon::end_funclist();
}
return $result;