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

bisitz bisitz at source.lon-capa.org
Wed Nov 28 12:25:41 EST 2012


bisitz		Wed Nov 28 17:25:41 2012 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - Less confusion in table mode - how to enter a parameter? Replaced Asterix by appropriate icon and tool tip
  - Removed unused style
  - Corrected code indentation
  
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.527 loncom/interface/lonparmset.pm:1.528
--- loncom/interface/lonparmset.pm:1.527	Thu Oct  4 13:41:10 2012
+++ loncom/interface/lonparmset.pm	Wed Nov 28 17:25:40 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.527 2012/10/04 13:41:10 bisitz Exp $
+# $Id: lonparmset.pm,v 1.528 2012/11/28 17:25:40 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -768,11 +768,14 @@
     my $result = '';
     # Values of zero are valid.
     if (! $value && $value ne '0') {
-    if ($editable) {
-        $result = '<span class="LC_clickhere">*</span>';
-    } else {
-        $result=' ';
-    }
+        if ($editable) {
+            $result =
+                '<img src="/res/adm/pages/editmap.png"'
+               .' alt="'.&mt('Change').'"'
+               .' title="'.&mt('Change').'" />';
+        } else {
+            $result=' ';
+        }
     } else {
         if ($type eq 'date_interval') {
             my ($sec,$min,$hour,$mday,$mon,$year)=gmtime($value);




More information about the LON-CAPA-cvs mailing list