+++ /dev/null
-{include="head"}
- <body class="light-style">
- <header>
- <h1><a href="index.php"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1>
- </header>
- <div id="main">
- <form method="post" action="?install" name="loginform">
- <fieldset class="w500p center">
- <h2 class="mbs txtcenter">install your poche</h2>
- <div class="row">
- <label class="col w150p" for="login">Login</label>
- <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus />
- </div>
- <div class="row">
- <label class="col w150p" for="password">Password</label>
- <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2">
- </div>
- <div class="row">
- <label class="col w150p" for="password_repeat">Repeat your password</label>
- <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="Password" tabindex="3">
- </div>
- <div class="row mts txtcenter">
- <button class="bouton" type="submit" tabindex="4">Install</button>
- </div>
- </fieldset>
- <input type="hidden" name="returnurl" value="<?php echo htmlspecialchars($referer);?>">
- <input type="hidden" name="token" value="<?php echo Session::getToken(); ?>">
- </form>
-
-{include="footer"}
+++ /dev/null
-{include="head"}
- <body class="light-style">
- <header>
- <h1><a href="index.php"><img src="./img/logo.png" alt="logo poche" /></a>poche</h1>
- </header>
- <div id="main">
- <form method="post" action="?login" name="loginform">
- <fieldset class="w500p center">
- <h2 class="mbs txtcenter">login to your poche</h2>
- <div class="row">
- <label class="col w150p" for="login">Login</label>
- <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus {if="$demo == '1'"}value="poche"{/if} />
- </div>
- <div class="row">
- <label class="col w150p" for="password">Password</label>
- <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2" {if="$demo == '1'"}value="poche"{/if} />
- </div>
- <div class="row">
- <label class="col w150p">Stay signed in</label>
- <div class="col">
- <input type="checkbox" name="longlastingsession" tabindex="3">
- <small class="inbl">(Do not check on public computers)</small>
- </div>
- </div>
- <div class="row mts txtcenter">
- <button class="bouton" type="submit" tabindex="4">Sign in</button>
- </div>
- </fieldset>
- <input type="hidden" name="returnurl" value="<?php echo htmlspecialchars($referer);?>">
- <input type="hidden" name="token" value="<?php echo Session::getToken(); ?>">
- </form>
-
-{include="footer"}
+++ /dev/null
-<div id="messages"><?php echo $msg->display(); ?></div>
\ No newline at end of file