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

bowersj2 lon-capa-cvs@mail.lon-capa.org
Fri, 20 Jun 2003 15:01:02 -0000


bowersj2		Fri Jun 20 11:01:02 2003 EDT

  Modified files:              
    /loncom/interface	lonchat.pm 
  Log:
  Latex cheatsheet added to the chat window, but we need to make the 
  window bigger as it now has scrollbars.
  
  
Index: loncom/interface/lonchat.pm
diff -u loncom/interface/lonchat.pm:1.4 loncom/interface/lonchat.pm:1.5
--- loncom/interface/lonchat.pm:1.4	Mon Sep  9 17:01:58 2002
+++ loncom/interface/lonchat.pm	Fri Jun 20 11:01:02 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Chat
 #
-# $Id: lonchat.pm,v 1.4 2002/09/09 21:01:58 www Exp $
+# $Id: lonchat.pm,v 1.5 2003/06/20 15:01:02 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -30,6 +30,7 @@
 
 use strict;
 use Apache::Constants qw(:common);
+use Apache::loncommon;
 
 sub handler {
     my $r = shift;
@@ -41,6 +42,7 @@
 	&Apache::lonnet::chatsend($ENV{'form.newchat'},$ENV{'form.anonymous'});
     }
 # --------------------------------------------------- Print login screen header
+    my $latexHelp = Apache::loncommon::helpLatexCheatsheet();
     $r->print(<<ENDDOCUMENT);
 <html>
 <head>
@@ -48,6 +50,7 @@
 </head>
 <body bgcolor="#FFFFFF" onLoad="this.document.chatentry.newchat.focus();">
 <form method="post" name="chatentry">
+$latexHelp
 <input type="text" size="60" name="newchat">
 <input value="Post Anonymous" name="anonymous" type="submit">
 <input value="Post" name="newentry" type="submit">