'
.&mt('The information you submit can be viewed by anybody who is logged into LON-CAPA. Do not provide information that you are not ready to share publicly.')
@@ -244,14 +244,14 @@ sub handler {
if ($target ne 'tex') {
if($allowed){
$r->print(&Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes',&mt('Help with filling in text boxes')));
- }
+ }
}
#----------------Print Functions
if ($target ne 'tex'){
$r->print(&Apache::lontemplate::start_functionslist());
if($allowed){
- my $query_string = &build_query_string({'forcestudent' => '1','popup' => $env{'form.popup'}});
+ my $query_string = &build_query_string({'forcestudent' => '1','popup' => $env{'form.popup'}});
$r->print(&Apache::lontemplate::item_functionslist(
'
'
.&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView')));
@@ -269,7 +269,7 @@ sub handler {
$r->print(&Apache::lontemplate::item_functionslist(
&Apache::loncommon::track_student_link('View recent activity by this student',$cnum,$cdom)));
}
- if (&Apache::lonnet::allowed('vgr', $env{'request.course.id'}) ||
+ if (&Apache::lonnet::allowed('vgr', $env{'request.course.id'}) ||
&Apache::lonnet::allowed('vgr', $env{'request.course.id'}.'/'.
$env{'request.course.sec'})) {
$r->print(&Apache::lontemplate::item_functionslist(
@@ -279,7 +279,7 @@ sub handler {
&Apache::loncommon::noteswrapper(&mt('Add Records'),$cnum,$cdom)));
}
$r->print(&Apache::lontemplate::end_functionslist());
- }
+ }
#------Print Headtitle
if ($target ne 'tex') {
$r->print('
');
@@ -292,13 +292,13 @@ sub handler {
}
else {
$r->print('\noindent{\large\textbf{'.&Apache::loncommon::plainname($cnum,$cdom).'}}\\\\\\\\');
- $r->print('\textbf{'.&Apache::lonnet::domain($cdom,'description').'}\\\\');
+ $r->print('\textbf{'.&Apache::lonnet::domain($cdom,'description').'}\\\\');
}
# does this user have privileges to post, etc?
-
- my $query_string;
-
+
+ my $query_string;
+
if (($env{'form.uploaddoc.filename'}) &&
($env{'form.storeupl'}) && ($allowed)) {
if ($env{'form.uploaddoc.filename'}=~/\.(gif|jpg|png|jpeg)$/i) {
@@ -330,25 +330,25 @@ sub handler {
&Apache::lonnet::put('aboutme',\%syllabus,$cdom,$cnum);
}
-my $image;
+my $image;
# ---------------------------------------------------------------- Get syllabus
if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) {
if ($syllabus{'uploaded.photourl'}) {
&Apache::lonnet::allowuploaded('/adm/aboutme',
$syllabus{'uploaded.photourl'});
-
+
#This call is to resize all "Personal Information" images in the LonCapa System. When its done, you can remove this line.
&Apache::lonnet::resizeImage(&Apache::lonnet::filelocation('',$syllabus{'uploaded.photourl'}));
#---End Resize---
$image=qq{

};
-
+
if ($target eq 'tex') {
$image=&Apache::lonxml::xmlparse($r,'tex',$image);
}
-
+
}
-
+
if ($allowed) {
$r->print(
'