core MDL-19799 Updated print_header and build_navigation to OUTPUT and PAGE equivalents
[moodle.git] / sso / hive / expired.php
CommitLineData
03f5a0f8 1<?php // $Id$
2 // expired.php - called by hive when the session has expired.
3
4 require('../../config.php');
5
6 require('lib.php');
7
8 require_login();
9
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.
70f25518 12 echo $OUTPUT->header();
aa9a6867 13 echo $OUTPUT->notification('Your session has expired. Please log in again.');
03f5a0f8 14?>
b7dc2256 15 <form action="login.php" method="post" id="login">
03f5a0f8 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
5231a15c 46 echo $OUTPUT->close_window_button();
03f5a0f8 47?>