[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm

raeburn raeburn at source.lon-capa.org
Mon Apr 13 14:52:44 EDT 2015


raeburn		Mon Apr 13 18:52:44 2015 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  - "Content Access Blocked" text needs to be displayed below the standard
    LON-CAPA inline menu.
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1216 loncom/interface/loncommon.pm:1.1217
--- loncom/interface/loncommon.pm:1.1216	Thu Apr  9 14:34:38 2015
+++ loncom/interface/loncommon.pm	Mon Apr 13 18:52:44 2015
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.1216 2015/04/09 14:34:38 droeschl Exp $
+# $Id: loncommon.pm,v 1.1217 2015/04/13 18:52:44 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4969,13 +4969,15 @@
   
     my $popupUrl = "/adm/blockingstatus/$querystring";
     my $text = &mt('Communication Blocked');
+    my $class = 'LC_comblock';
     if ($activity eq 'docs') {
         $text = &mt('Content Access Blocked');
+        $class = '';
     } elsif ($activity eq 'printout') {
         $text = &mt('Printing Blocked');
     }
     $output .= <<"END_BLOCK";
-<div class='LC_comblock'>
+<div class='$class'>
   <a onclick='openWindow("$popupUrl","Blocking Table",600,300,"no","no");return false;' href='/adm/blockingstatus/$querystring'
   title='$text'>
   <img class='LC_noBorder LC_middle' title='$text' src='/res/adm/pages/comblock.png' alt='$text'/></a>




More information about the LON-CAPA-cvs mailing list