version 1.120, 2009/04/02 15:09:10
|
version 1.122, 2009/04/03 10:46:13
|
Line 352 my $image;
|
Line 352 my $image;
|
'<input type="file" name="uploaddoc" size="50" />'. |
'<input type="file" name="uploaddoc" size="50" />'. |
'<input type="submit" name="storeupl" value="'.&mt('Upload').'" />'. |
'<input type="submit" name="storeupl" value="'.&mt('Upload').'" />'. |
'<input type="hidden" name="popup" value="'.$env{'form.popup'}.'" />'. |
'<input type="hidden" name="popup" value="'.$env{'form.popup'}.'" />'. |
'</form><form method="post"><input type="submit" name="delupl" value="'.&mt('Delete Photo').'" /> </form><p> |
'</form>'); |
'); |
if ($syllabus{'uploaded.photourl'}) { |
|
$r->print('<form method="post"><input type="submit" name="delupl" value="'.&mt('Delete Photo').'" /> </form>') |
|
} |
|
$r->print('<p>'); |
} |
} |
|
|
if($allowed) { |
if($allowed) { |
Line 406 my $image;
|
Line 408 my $image;
|
&& &Apache::lonnet::allowed('srm',$env{'request.course.id'}) |
&& &Apache::lonnet::allowed('srm',$env{'request.course.id'}) |
&& &in_course($cdom,$cnum)) { |
&& &in_course($cdom,$cnum)) { |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
$r->print('<a name="coursecomment" />'; |
$r->print('<a name="coursecomment" />'); |
&Apache::lontemplate::print_start_template($r,&mt('User Notes, Records of Face-To-Face Discussions, and Critical Messages in Course'),'LC_ContentBoxSpecial'); |
&Apache::lontemplate::print_start_template($r,&mt('User Notes, Records of Face-To-Face Discussions, and Critical Messages in Course'),'LC_ContentBoxSpecial'); |
$r->print('<span class="LC_info">'); |
$r->print('<span class="LC_info">'); |
$r->print(&mt('Shared by course faculty and staff').&Apache::loncommon::help_open_topic("Course_Face_To_Face_Records,Course_Critical_Message")); |
$r->print(&mt('Shared by course faculty and staff').&Apache::loncommon::help_open_topic("Course_Face_To_Face_Records,Course_Critical_Message")); |