Newer
Older
mailpiler / webui / view / theme / default / templates / login / login.tpl

<?php if(!isset($_SESSION['username'])){ ?>
<form name="login" action="index.php?route=login/login" method="post">
   <input type="hidden" name="relocation" value="<?php if(isset($_GET['route']) && !preg_match("/^login/", $_GET['route']) ) { print $_SERVER['QUERY_STRING']; } ?>" />


   <div id="search">

      <div id="search1">

         <div class="row">
            <div class="fcell"><?php print $text_email; ?>:</div>
            <div class="fcell"><input type="text" class="textregular" name="username" /></div>
         </div>

         <div class="row">
            <div class="fcell"><?php print $text_password; ?>:</div>
            <div class="fcell"><input type="password" class="textregular" name="password" /></div>
         </div>

         <div class="row">
            <div class="fcell">&nbsp;</div>
            <div class="fcell"><input type="submit" value="<?php print $text_submit; ?>" /> <input type="reset" value="<?php print $text_cancel; ?>" /></div>
         </div>
      

      </div>

   </div>

</form>

<?php if(isset($x)){ ?><p class="loginfailed"><?php print $x; ?></p><?php } ?>

<?php } ?>