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

bisitz bisitz at source.lon-capa.org
Fri Dec 7 11:12:18 EST 2012


bisitz		Fri Dec  7 16:12:18 2012 EDT

  Modified files:              
    /loncom/interface	lonconfigsettings.pm 
  Log:
  Consistent layout: actionbox
  
  
Index: loncom/interface/lonconfigsettings.pm
diff -u loncom/interface/lonconfigsettings.pm:1.22 loncom/interface/lonconfigsettings.pm:1.23
--- loncom/interface/lonconfigsettings.pm:1.22	Tue Oct 30 10:39:02 2012
+++ loncom/interface/lonconfigsettings.pm	Fri Dec  7 16:12:18 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: lonconfigsettings.pm,v 1.22 2012/10/30 10:39:02 foxr Exp $
+# $Id: lonconfigsettings.pm,v 1.23 2012/12/07 16:12:18 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -153,7 +153,9 @@
     }
     my $dest='"javascript:changePage(document.'.$phase.','."'$newphase'".')"';
     if ($phase eq 'process') {
-        $r->print('<p><a href='.$dest.'>'.$button_text.'</a></p>');
+        $r->print(
+            &Apache::lonhtmlcommon::actionbox(
+                ['<a href='.$dest.'>'.$button_text.'</a>']));
     } else {
         my $onclick;
         if ($phase eq 'display') {




More information about the LON-CAPA-cvs mailing list