diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-01-23 21:47:24 -0500 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-01-23 21:47:24 -0500 |
commit | 5744c93cbc355bc013ebfa49cf80dc450558f17a (patch) | |
tree | 0cb12640dbf453a1d3de128a92f975b683750408 | |
parent | 994f5a336e963bc91722afd622b2d3b4a3487654 (diff) | |
download | GradeBook-5744c93cbc355bc013ebfa49cf80dc450558f17a.tar.gz GradeBook-5744c93cbc355bc013ebfa49cf80dc450558f17a.zip |
login fill info from cookie
Ignore-this: 8b1bb2979b5238fab9a53856b2aafbe3
darcs-hash:20110124024724-067c0-f2f754dbacb92bef402cf2ef90e6bcb00bdc611c.gz
-rwxr-xr-x | GradeBook.tcl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/GradeBook.tcl b/GradeBook.tcl index 24dfdbd..9292cd3 100755 --- a/GradeBook.tcl +++ b/GradeBook.tcl @@ -302,11 +302,12 @@ proc Greetings {} { proc askToLogin {} { global script_name + global user password puts "<div class=\"login\">" puts "Either you are here first time or you password and user name does not match. <br>" puts "Please login <br>" puts "<form name=\"input\" action=\"$script_name\" method=\"post\" />" - puts {Login: <input type="text" name="user"><br>} + puts "Login: <input type=\"text\" name=\"user\" value=\"$user\"><br>" puts {Password: <input type="password" name="password"><br>} puts {<input type="hidden" name="action" value="logon"/>} puts {<input type="submit" value="Submit" />} |