--- loncom/interface/loncommon.pm 2009/05/28 15:19:54 1.831 +++ loncom/interface/loncommon.pm 2009/05/30 21:02:33 1.834 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.831 2009/05/28 15:19:54 bisitz Exp $ +# $Id: loncommon.pm,v 1.834 2009/05/30 21:02:33 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4183,6 +4183,34 @@ sub designparm { ############################################## =pod +=item * &authorspace() + +Inputs: ./. + +Returns: Path to the Construction Space of the current user's + accessed author space + The author space will be that of the current user + when accessing the own author space + and that of the co-author/assistent co-author + when accessing the co-author's/assistent co-author's + space + +=cut + +sub authorspace { + my $caname = ''; + if ($env{'request.role'} =~ /^ca|^aa/) { + (undef,$caname) = + ($env{'request.role'}=~/($match_domain)\/($match_username)$/); + } else { + $caname = $env{'user.name'}; + } + return '/priv/'.$caname.'/'; +} + +############################################## +=pod + =item * &head_subbox() Inputs: $content (contains HTML code with page functions, etc.) @@ -5418,6 +5446,13 @@ div.LC_feedback_link { width: 100%; padding-bottom: 10px; border: 1px $tabbg solid; + height: 22px; + line-height: 22px; + padding-top: 5px; +} + +div.LC_feedback_link img { + height: 22px; } div.LC_feedback_link a{ @@ -6010,12 +6045,6 @@ ol#LC_PathBreadcrumbs li a { border: solid 1px $lg_border_color; } -.LC_ContentBoxSpecialContactInfo { - border: solid 1px $lg_border_color; - max-width:25%; - min-width:25%; -} - .LC_AboutMe_Image { float:left; margin-right:10px; @@ -6102,19 +6131,6 @@ div.LC_columnSection>* { overflow:hidden; } -.ContentBoxSpecialTemplate { - border: solid 1px $lg_border_color; -} - -.ContentBoxTemplate { - padding:10px; -} - -div.LC_columnSection > .ContentBoxTemplate, -div.LC_columnSection > .ContentBoxSpecialTemplate { - width: 600px; -} - .clear { clear: both; line-height: 0;