Automatic installer.php lang files by installer_builder (20060726)
[moodle.git] / sso / hive / expired.php
blob31dcfe3fa4df3859304da29d4e1d224ba4140520
1 <?php // $Id$
2 // expired.php - called by hive when the session has expired.
4 require('../../config.php');
6 require('lib.php');
8 require_login();
10 //MW theres no easy way to log in seamlessly. We need the users unhashed password.
11 // It's a security risk to carry that in $SESSION so we put up login form.
12 print_header();
13 notify('Your session has expired. Please log in again.');
15 <form action="login.php" method="post" name="login" id="login">
16 <table border="0" align="center">
17 <tr>
18 <td width="80%">
19 <table align="center" class="loginform">
20 <tr class="username">
21 <td align="right" class="c0">
22 <?php print_string("username") ?>:
23 </td>
24 <td class="c1">
25 <input type="text" name="username" size="15" value="<?php p($frm->username) ?>" alt="<?php print_string("username") ?>" />
26 </td>
27 </tr>
28 <tr class="password">
29 <td align="right" class="c0">
30 <?php print_string("password") ?>:
31 </td>
32 <td class="c1">
33 <input type="password" name="password" size="15" value="" alt="<?php print_string("password") ?>" />
34 </td>
35 </tr>
36 </table>
37 </td>
38 <td width="20%">
39 <input type="submit" value="<?php print_string("login") ?>" />
40 </td>
41 </tr>
42 </table>
43 </form>
44 <br />
45 <?php
46 close_window_button();