36 lines
787 B
PHTML
36 lines
787 B
PHTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<?php
|
|
$partial = new Partial('head');
|
|
$partial->prepare('baseDir',$BASEDIR);
|
|
$partial->prepare('baseUrl',$BASEURL);
|
|
$partial->render();
|
|
?>
|
|
<title><?php echo $TITLE ?></title>
|
|
</head>
|
|
<body class="no-transitions">
|
|
|
|
<?php
|
|
if (isset($ota) && $ota != '') {
|
|
$partial = new Partial('oauthLoginOta');
|
|
$partial->prepare('ota',$ota);
|
|
$partial->render();
|
|
} else {
|
|
$partial = new Partial('oauthLoginForm');
|
|
$partial->prepare('responseType',$RESPONSETYPE);
|
|
$partial->prepare('redirectUrl',$REDIRECTURL);
|
|
$partial->prepare('clientId',$CLIENTID);
|
|
$partial->prepare('state',$STATE);
|
|
$partial->render();
|
|
}
|
|
?>
|
|
|
|
<?php
|
|
$partial = new Partial('footer');
|
|
$partial->prepare('baseDir', BASEDIR);
|
|
$partial->render();
|
|
?>
|
|
</body>
|
|
</html>
|