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

zhu zhu@source.lon-capa.org
Thu, 19 Feb 2009 11:27:52 -0000


zhu		Thu Feb 19 11:27:52 2009 EDT

  Modified files:              
    /loncom/interface	lonpreferences.pm 
  Log:
  added &mt
  
  
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.141 loncom/interface/lonpreferences.pm:1.142
--- loncom/interface/lonpreferences.pm:1.141	Thu Feb 19 11:01:29 2009
+++ loncom/interface/lonpreferences.pm	Thu Feb 19 11:27:52 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Preferences
 #
-# $Id: lonpreferences.pm,v 1.141 2009/02/19 11:01:29 weissno Exp $
+# $Id: lonpreferences.pm,v 1.142 2009/02/19 11:27:52 zhu Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1667,15 +1667,8 @@
 END
     $r->print(&Apache::loncommon::end_data_table_row().
 	      &Apache::loncommon::end_data_table());
-    $r->print(<<"END");
-<br />
-<br />
-<input type="submit" name="sub" value="Save" />
-<br />
-<br />
-Note: $lt{'thde'}
-</form>
-END
+
+    $r->print('<br /><br /><input type="submit" name="sub" value="'.&mt('Save').'" /><br /><br />'.&mt('Note').': '.$lt{'thde'}.'</form>');
 }
                                                                                                                 
 sub verify_and_change_discussion {