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

www www@source.lon-capa.org
Fri, 03 Jun 2011 13:00:39 -0000


www		Fri Jun  3 13:00:39 2011 EDT

  Modified files:              
    /loncom/interface	loncommon.pm lonhtmlcommon.pm 
  Log:
  Somehow communicate that one can click on this
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.1007 loncom/interface/loncommon.pm:1.1008
--- loncom/interface/loncommon.pm:1.1007	Fri May 27 22:58:13 2011
+++ loncom/interface/loncommon.pm	Fri Jun  3 13:00:39 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.1007 2011/05/27 22:58:13 raeburn Exp $
+# $Id: loncommon.pm,v 1.1008 2011/06/03 13:00:39 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4961,6 +4961,10 @@
   text-decoration:none;
 }
 
+.LC_setting {
+  text-decoration:underline;
+}
+
 .LC_error {
   color: red;
   font-size: larger;
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.289 loncom/interface/lonhtmlcommon.pm:1.290
--- loncom/interface/lonhtmlcommon.pm:1.289	Tue Jan 18 22:59:06 2011
+++ loncom/interface/lonhtmlcommon.pm	Fri Jun  3 13:00:39 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.289 2011/01/18 22:59:06 www Exp $
+# $Id: lonhtmlcommon.pm,v 1.290 2011/06/03 13:00:39 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -72,7 +72,7 @@
 sub coursepreflink {
    my ($text,$category)=@_;
    if (&Apache::lonnet::allowed('opa',$env{'request.course.id'})) {
-      return '<a href="'.&HTML::Entities::encode("/adm/courseprefs?phase=display&actions=$category",'<>&"').'">'.$text.'</a>';
+      return '<a href="'.&HTML::Entities::encode("/adm/courseprefs?phase=display&actions=$category",'<>&"').'"><span class="LC_setting">'.$text.'</span></a>';
    } else {
       return '';
    }
@@ -95,7 +95,7 @@
     $filter=&entity_encode($filter);
     $part=&entity_encode($part);
     if (($symb) && (&Apache::lonnet::allowed('opa')) && ($target ne 'tex')) {
-       return "<a href='/adm/parmset?symb=$symb&filter=$filter&part=$part'>$linktext</a>";
+       return "<a href='/adm/parmset?symb=$symb&filter=$filter&part=$part'><span class='LC_setting'>$linktext</span></a>";
     } else {
        return $linktext;
     }