PHP_SMART_HOME_V3/app/views/templates/oauth.phtml

35 lines
747 B
PHTML
Raw Permalink Normal View History

2020-05-16 23:27:06 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<?php
$partial = new Partial('head');
$partial->prepare('baseDir',$BASEDIR);
$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');
2020-06-26 14:58:08 +00:00
$partial->prepare('baseDir', BASEDIR);
2020-05-16 23:27:06 +00:00
$partial->render();
?>
</body>
</html>