[LON-CAPA-cvs] cvs: loncom /interface lonsupportreq.pm /localize/localize de.pm

bisitz bisitz at source.lon-capa.org
Fri Jan 17 12:08:08 EST 2014


bisitz		Fri Jan 17 17:08:08 2014 EDT

  Modified files:              
    /loncom/interface	lonsupportreq.pm 
    /loncom/localize/localize	de.pm 
  Log:
  Help students to easily find out which fields are required and which not.
  - Add marker to all required fields and display info text to explain.
  - Improve/consistent layout of feedback if not correctly filled in.
  
  
  
Index: loncom/interface/lonsupportreq.pm
diff -u loncom/interface/lonsupportreq.pm:1.75 loncom/interface/lonsupportreq.pm:1.76
--- loncom/interface/lonsupportreq.pm:1.75	Wed Jan 15 18:48:35 2014
+++ loncom/interface/lonsupportreq.pm	Fri Jan 17 17:08:04 2014
@@ -1,5 +1,5 @@
 #
-# $Id: lonsupportreq.pm,v 1.75 2014/01/15 18:48:35 bisitz Exp $
+# $Id: lonsupportreq.pm,v 1.76 2014/01/17 17:08:04 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -294,6 +294,11 @@
     }
     $r->print('<form method="post" action="" name="logproblem"'.$formtype.'>'."\n");
     my $output = &Apache::lonhtmlcommon::start_pick_box().
+                 &Apache::lonhtmlcommon::row_headline().
+                 '<span class="LC_info">'.
+                 &mt('(All fields marked with * are required.)').
+                 '</span>'.
+                 &Apache::lonhtmlcommon::row_closure().
                  &Apache::lonhtmlcommon::row_title($lt{'name'},undef,$css[$num])."\n";
     my $fullname = '';
     if ((defined($lastname) && $lastname ne '') && (defined($firstname) && $firstname ne '')) {
@@ -1005,10 +1010,11 @@
         $r->print(<<"END");
  <tr>
   <td colspan="3">$reviewtext 
-  $lt{'ifyo'}<br />
-<span style="font-size:90%;"><b>$lt{'stud'}</b>: 
-$stuwarn $lt{'cont'}</span>
-<br /><br />
+  $lt{'ifyo'}
+<p class="LC_info">
+<b>$lt{'stud'}:</b> 
+$stuwarn $lt{'cont'}
+</p><br />
   </td>
  </tr>
 END
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.580 loncom/localize/localize/de.pm:1.581
--- loncom/localize/localize/de.pm:1.580	Thu Jan 16 18:38:28 2014
+++ loncom/localize/localize/de.pm	Fri Jan 17 17:08:07 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # German Localization Lexicon
 #
-# $Id: de.pm,v 1.580 2014/01/16 18:38:28 bisitz Exp $
+# $Id: de.pm,v 1.581 2014/01/17 17:08:07 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -13246,8 +13246,8 @@
    '[quant,_1,error]'
 => '[quant,_1,Fehler,Fehler]',
 
-   'Please fill out all fields below.'
-=> 'Bitte füllen Sie alle Felder aus!',
+   'Please fill out all required fields below!'
+=> 'Bitte füllen Sie alle Pflichtfelder aus!',
 
    'Caution: this folder is set to randomly pick a subset of resources. Adding or removing resources from this folder will change the set of resources that the students see, resulting in spurious or missing credit for completed problems, not limited to ones you modify. Do not modify the contents of this folder if it is in active student use.'
 => 'Achtung, dieses Verzeichnis ist so eingestellt, dass zufällig eine Teilmenge der Ressourcen gewählt wird. Hinzufügen oder Entfernen von Ressourcen zu/aus diesem Verzeichnis wird die Auswahl ändern, die die Studierenden sehen. Dies kann eine falsche oder fehlende Punktevergabe für abgeschlossene Aufgaben zur Folge haben, was nicht beschränkt auf die Ressourcen ist, die Sie ändern. Ändern Sie daher die Inhalte dieses Verzeichnisses nicht, wenn es in aktueller studentischer Verwendung ist.',
@@ -28718,6 +28718,12 @@
    'While Loop Block'
 => 'While-Schleifen-Block',
 
+   '(All fields marked with * are required.)'
+=> '(Alle mit * markierten Felder sind Pflichtfelder.)',
+
+   'required'
+=> 'Pflichtfeld',
+
 #SYNCMARKER
 );
 1;




More information about the LON-CAPA-cvs mailing list