1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
<?php
/**
* Template for logon screen
*
* Zoph is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* Zoph is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with Zoph; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* @author Jeroen Roos
* @package ZophTemplates
*/
if (!defined("ZOPH")) {
die("Illegal call");
}
?>
<!DOCTYPE html>
<html lang="<?= $tpl_lang ?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link TYPE="text/css" REL="stylesheet" HREF="<?= $tpl_path ?>css/login.css">
<title><?= $tpl_title . ' - ' . translate("logon",0) ?></title>
</head>
<body>
<img alt="background" class="background" srcset="<?= $tpl_path ?>image/background 2x, <?= $tpl_path ?>image/background 1x">
<h1><?= $tpl_title ?></h1>
<div class="logon">
<h1>Zoph</h1>
<form action="<?= $tpl_path ?>zoph/welcome" method="POST">
<label for="uname"><?= translate("username",0) ?></label>
<input type="text" name="uname" id="uname">
<label for="pword"><?= translate("password",0) ?></label>
<input type="password" name="pword" id="pword">
<input type="hidden" name="redirect" value="<?= $tpl_redirect ?>">
<input type="submit" value="<?= translate("logon",0); ?>">
</form>
</div>
<div class="alert error"><?= $tpl_error ?></div>
<div class="alert warning"><?= $tpl_warning ?></div>
</body>
</html>
|