[LON-CAPA-cvs] cvs: loncom /interface lonaboutme.pm
neumanie
neumanie@source.lon-capa.org
Fri, 17 Apr 2009 17:54:59 -0000
neumanie Fri Apr 17 17:54:59 2009 EDT
Modified files:
/loncom/interface lonaboutme.pm
Log:
Replace <blockqoute> to css Style LC_BoxPadding
Index: loncom/interface/lonaboutme.pm
diff -u loncom/interface/lonaboutme.pm:1.125 loncom/interface/lonaboutme.pm:1.126
--- loncom/interface/lonaboutme.pm:1.125 Wed Apr 15 10:49:30 2009
+++ loncom/interface/lonaboutme.pm Fri Apr 17 17:54:59 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Personal Information Page
#
-# $Id: lonaboutme.pm,v 1.125 2009/04/15 10:49:30 bisitz Exp $
+# $Id: lonaboutme.pm,v 1.126 2009/04/17 17:54:59 neumanie Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -95,7 +95,7 @@
return OK if $r->header_only;
my $target=$env{'form.grade_target'};
# ------------------------------------------------------------ Print the screen
- if ($target eq 'tex') {
+ if ($target eq 'tex') {
$r->print(&Apache::lonprintout::print_latex_header($env{'form.latex_type'}));
}
my (undef,undef,$cdom,$cnum,undef,$action)=split(/\//,$r->uri);
@@ -215,30 +215,28 @@
$args->{'no_nav_bar'} = 1;
}
$args->{'bread_crumbs'} = [{href=>"/adm/fhwfdev/$cnum/aboutme",text=>"Personal Information Page"}];
- my $start_page =
- &Apache::loncommon::start_page("Personal Data",$rss_link,$args);
+ my $start_page = &Apache::loncommon::start_page("Personal Data",$rss_link,$args);
$r->print($start_page);
-
- }
-
-#Print Privacy Note
- if ($allowed) {
- $r->print('<div class="LC_info">'
+
+ #Print Privacy Note
+ if ($allowed) {
+ $r->print('<div class="LC_info">'
.'<b>'.&mt('Privacy Note:').'</b> '
.&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.')
.'</div>'
);
}
-
+
#Print last modified
my $lastmod;
- if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) {
- $lastmod=$syllabus{'uploaded.lastmodified'};
- $lastmod=($lastmod?&Apache::lonlocal::locallocaltime($lastmod):&mt('never'));
+ if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) {
+ $lastmod=$syllabus{'uploaded.lastmodified'};
+ $lastmod=($lastmod?&Apache::lonlocal::locallocaltime($lastmod):&mt('never'));
$r->print('<div class="LC_info">');
$r->print(&mt('Last updated').': '.$lastmod . '');
$r->print('</div>');
+ }
}
#Print Help Text
if ($target ne 'tex') {
@@ -284,7 +282,7 @@
if ($target ne 'tex') {
$r->print('<div class="LC_ContentBoxSpecial">');
$r->print('<h2 class="LC_hcell">'.&Apache::loncommon::plainname($cnum,$cdom).'</h2>');
- $r->print('<blockquote>');
+ $r->print('<div class="LC_BoxPadding">' );
if ($courseenv{'nickname'}) {
$r->print('<h2>"'.$courseenv{'nickname'}.'"</h2>');
}
@@ -399,14 +397,9 @@
$r->print('</form>');
}
if ($target ne 'tex') {$r->print('<br />');} else {$r->print('\\\\');}
- } else {
- # &Apache::lontemplate::send_message($r,$cnum,$cdom);
+ } else {
$r->print('<p>'.&mt('No personal information provided').'.</p>');
- }
- if($target ne 'tex'){
- #$r->print('</blockquote>');
- #$r->print('</div>');
- }
+ }
if ($env{'request.course.id'}
&& &Apache::lonnet::allowed('srm',$env{'request.course.id'})
@@ -417,7 +410,7 @@
$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('</span> <p>');
-&Apache::lonmsgdisplay::disfacetoface($r,$cnum,$cdom);
+ &Apache::lonmsgdisplay::disfacetoface($r,$cnum,$cdom);
$r->print('</p>');
&Apache::lontemplate::print_end_template($r);
@@ -426,7 +419,7 @@
&Apache::lonmsgdisplay::disfacetoface($r,$cnum,$cdom);
}
}
- $r->print('</blockquote>');
+ $r->print('</div>');
$r->print('</div>');
if ($target ne 'tex') {
if ($env{'form.popup'}) {