2 /* start output buffering: */
\r
3 global $savant, $_config;
\r
6 <?php if($_GET['guest'] != '1'){ ?>
\r
7 <form name="loginform" method="post" action="<?php echo $_config['elluminate']; ?>">
\r
8 <label for="userName" class="normalbody"><?php echo _AT('elluminate_name'); ?>:</label><br> <input type="text" name="username" id="userName" class="fieldOff" onFocus="doBg('username');" onBlur="dontBg('username');"><br>
\r
9 <label for="password" class="normalbody"><?php echo _AT('elluminate_password'); ?>:</label><br> <input type="password" name="password" class="fieldOff" onFocus="doBg('password');" onBlur="dontBg('password');"><br>
\r
11 <input button type="submit" name="submit" value="Login" class="button">
\r
13 <?php if($_config['elluminate_pw'] != ''){ ?>
\r
14 <a href="<?php echo $_SERVER['PHP_SELF']; ?>?guest=1">Login as a guest</a>
\r
17 <form name="loginform" method="post" action="<?php echo $_config['elluminate']; ?>">
\r
18 <label for="userName" class="normalbody"><?php echo _AT('elluminate_name'); ?>:</label><br/>
\r
19 <br /> <input type="text" name="username" id="userName" class="fieldOff" onFocus="doBg('username');" onBlur="dontBg('username');"><br>
\r
20 <input type="hidden" name="password" value="<?php echo $_config['elluminate_pw']; ?>">
\r
23 <input button type="submit" name="submit" value="Login" class="button">
\r
28 $savant->assign('dropdown_contents', ob_get_contents());
\r
31 $savant->assign('title', _AT('elluminate')); // the box title
\r
32 $savant->display('include/box.tmpl.php');
\r