[LON-CAPA-cvs] cvs: loncom /homework structuretags.pm /interface loncommon.pm /xml londefdef.pm
bisitz
bisitz@source.lon-capa.org
Thu, 28 May 2009 12:39:23 -0000
bisitz Thu May 28 12:39:23 2009 EDT
Modified files:
/loncom/xml londefdef.pm
/loncom/homework structuretags.pm
/loncom/interface loncommon.pm
Log:
Replaced special problem edit style "LC_edit_problem_header_edit_row" by normal <div> and standard problem divide <hr>
Index: loncom/xml/londefdef.pm
diff -u loncom/xml/londefdef.pm:1.407 loncom/xml/londefdef.pm:1.408
--- loncom/xml/londefdef.pm:1.407 Tue May 26 14:54:29 2009
+++ loncom/xml/londefdef.pm Thu May 28 12:39:12 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.407 2009/05/26 14:54:29 bisitz Exp $
+# $Id: londefdef.pm,v 1.408 2009/05/28 12:39:12 bisitz Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -588,9 +588,10 @@
</div>';
}
$result .= '
-<div class="LC_edit_problem_header_edit_row"><input type="submit" name="editmode" accesskey="e" value="'.&mt('Edit').'" /></div></div>
+<div><input type="submit" name="editmode" accesskey="e" value="'.&mt('Edit').'" /></div>
+</div>
</form>
-<br />';
+';
return $result;
}
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.446 loncom/homework/structuretags.pm:1.447
--- loncom/homework/structuretags.pm:1.446 Tue May 19 22:52:19 2009
+++ loncom/homework/structuretags.pm Thu May 28 12:39:17 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: structuretags.pm,v 1.446 2009/05/19 22:52:19 bisitz Exp $
+# $Id: structuretags.pm,v 1.447 2009/05/28 12:39:17 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -526,7 +526,8 @@
$result.='
</div>
- <div class="LC_edit_problem_header_edit_row">';
+ <hr class="LC_edit_problem_divide" />
+ <div>';
$result.='<input type="hidden" name="problemmode" value="view" />';
$result .= '<input type="button" name="submitmode" accesskey="e" value="'.&mt('Edit').'" '.
'onclick="javascript:setmode(this.form,'."'edit'".')" />';
@@ -534,6 +535,7 @@
'onclick="javascript:setmode(this.form,'."'editxml'".')" />';
$result.='
</div>
+ <hr class="LC_edit_problem_divide" />
'.&Apache::lonxml::message_location().'
</div>';
return $result;
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.829 loncom/interface/loncommon.pm:1.830
--- loncom/interface/loncommon.pm:1.829 Wed May 27 18:56:22 2009
+++ loncom/interface/loncommon.pm Thu May 28 12:39:23 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.829 2009/05/27 18:56:22 kalberla Exp $
+# $Id: loncommon.pm,v 1.830 2009/05/28 12:39:23 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5724,12 +5724,6 @@
margin-top: 5px;
}
-div.LC_edit_problem_header_edit_row {
- background: $tabbg;
- padding: 3px;
- margin-bottom: 5px;
-}
-
div.LC_edit_problem_header_title {
font-weight: bold;
font-size: larger;