File: 0.01.0a/skin/default/login.php (View as HTML)

  1: <?php 
  2: /* -------------------------------------------------------------
  3: This file is part of FreeDESK
  4: 
  5: FreeDESK is (C) Copyright 2012 David Cutting
  6: 
  7: FreeDESK is free software: you can redistribute it and/or modify
  8: it under the terms of the GNU General Public License as published by
  9: the Free Software Foundation, either version 3 of the License, or
 10: (at your option) any later version.
 11: 
 12: FreeDESK is distributed in the hope that it will be useful,
 13: but WITHOUT ANY WARRANTY; without even the implied warranty of
 14: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 15: GNU General Public License for more details.
 16: 
 17: You should have received a copy of the GNU General Public License
 18: along with FreeDESK.  If not, see www.gnu.org/licenses
 19: 
 20: For more information see www.purplepixie.org/freedesk/
 21: -------------------------------------------------------------- */
 22: ?>
 23: <div id="login_form" class="login_form">
 24: <div id="login_header" class="login_header">
 25: <?php echo $DESK->Lang->Get("login"); ?>
 26: </div>
 27: <div id="login_content" class="login_content">
 28: <form id="login_details_form" onsubmit="return false;">
 29: <div class="login_title"><?php echo $DESK->Lang->Get("username"); ?></div>
 30: <div class="login_field"><input type="text" name="username" size="15" id="login_username" /></div>
 31: <br />
 32: <div class="login_title"><?php echo $DESK->Lang->Get("password"); ?></div>
 33: <div class="login_field"><input type="password" name="password" size="15" id="login_password" /></div>
 34: <br /><br />
 35: <div class="login_button"><input type="submit" value="<?php echo $DESK->Lang->Get("login"); ?>" onclick="DESK.login_click()" /><br />
 36: <a href="#" onclick="DESK.hide_login();"><?php echo $DESK->Lang->Get("login_cancel"); ?></a></div>
 37: <div id="login_message"></div>
 38: </form>
 39: </div>
 40: <div id="login_footer" class="login_footer"></div>
 41: </div>
 42: 
 43: