--- loncom/interface/loncommon.pm 2013/04/24 02:43:59 1.1123
+++ loncom/interface/loncommon.pm 2013/05/03 14:28:35 1.1125
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.1123 2013/04/24 02:43:59 raeburn Exp $
+# $Id: loncommon.pm,v 1.1125 2013/05/03 14:28:35 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -6480,6 +6480,11 @@ div.LC_edit_problem_saves {
padding-bottom: 5px;
}
+.LC_edit_opt {
+ padding-left: 1em;
+ white-space: nowrap;
+}
+
img.stift {
border-width: 0;
vertical-align: middle;
@@ -10204,7 +10209,9 @@ sub upload_embedded {
} else {
$output .= &mt('Uploaded [_1]',''.
$path.$fname.'').'
';
- &Apache::lonnet::make_public_indefinitely($result);
+ if ($context eq 'syllabus') {
+ &Apache::lonnet::make_public_indefinitely($result);
+ }
}
} else {
# Save the file