Source for file login.php
Documentation is available at login.php
* Print a polite login form
* @author Stuart Prescott
* @copyright Copyright Stuart Prescott
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* path (bumblebee root)/inc/actions/login.php
/** Load ancillary functions */
require_once 'inc/typeinfo.php';
require_once 'inc/bb/configreader.php';
require_once 'inc/actions/actionaction.php';
/** Data reflector object */
require_once 'inc/formslib/datareflector.php';
* Print a polite login form
* Authentication is undertaken by the class BumblebeeAuth
if ($conf->value('display', 'LoginPage') !==
null &&
$conf->value('display', 'LoginPage') !==
"") {
echo
$conf->value('display', 'LoginPage');
echo
'<h2>' .
T_('Login required').
'</h2>';
echo
'<p>' .
T_('Please login to view or book instrument usage') .
'</p>';
<td><input name="username" type="text" size="16" /></td>
<td><input name="pass" type="password" size="16" /></td>
<td><input name="submit" type="submit" value="%s" /></td>
// save the rest of the query string for later use
$reflector->excludeLogin();
$reflector->exclude('changeuser');
/* $reflector->addLimit(array('action', 'forceaction', $basename.'action', $basename.'forceaction'),
array('view', 'calendar'));*/
echo
$reflector->display($this->PD);
Documentation generated on Tue, 06 Mar 2007 10:01:44 +0000 by phpDocumentor 1.3.0