inc/auth.inc.php
changeset 71 e1b918eaf69a
parent 65 ce1c4d5e1576
child 79 0c0aa144356a
equal deleted inserted replaced
70:47248e2af079 71:e1b918eaf69a
     1 <?
     1 <?php
     2 
     2 
     3 /*  PowerAdmin, a friendly web-based admin tool for PowerDNS.
     3 /*  PowerAdmin, a friendly web-based admin tool for PowerDNS.
     4  *  See <https://rejo.zenger.nl/poweradmin> for more details.
     4  *  See <https://rejo.zenger.nl/poweradmin> for more details.
     5  *
     5  *
     6  *  Copyright 2007, 2008  Rejo Zenger <rejo@zenger.nl>
     6  *  Copyright 2007, 2008  Rejo Zenger <rejo@zenger.nl>
    82 	if ( $msg )
    82 	if ( $msg )
    83 	{
    83 	{
    84 		print "<div class=\"$type\">$msg</div>\n";
    84 		print "<div class=\"$type\">$msg</div>\n";
    85 	}
    85 	}
    86 	?>
    86 	?>
    87 	<h2><? echo _('Login'); ?></h2>
    87 	<h2><?php echo _('Login'); ?></h2>
    88 	<?
    88 	<?php
    89 	?>
    89 	?>
    90 	<form method="post" action="<? echo $_SERVER["PHP_SELF"] ?>">
    90 	<form method="post" action="<?php echo $_SERVER["PHP_SELF"] ?>">
    91 	 <table border="0">
    91 	 <table border="0">
    92 	  <tr>
    92 	  <tr>
    93 	   <td class="n"><? echo _('Login'); ?>:</td>
    93 	   <td class="n"><?php echo _('Login'); ?>:</td>
    94 	   <td class="n"><input type="text" class="input" name="username"></td>
    94 	   <td class="n"><input type="text" class="input" name="username"></td>
    95 	  </tr>
    95 	  </tr>
    96 	  <tr>
    96 	  <tr>
    97 	   <td class="n"><? echo _('Password'); ?>:</td>
    97 	   <td class="n"><?php echo _('Password'); ?>:</td>
    98 	   <td class="n"><input type="password" class="input" name="password"></td>
    98 	   <td class="n"><input type="password" class="input" name="password"></td>
    99 	  </tr>
    99 	  </tr>
   100 	  <tr>
   100 	  <tr>
   101 	   <td class="n">&nbsp;</td>
   101 	   <td class="n">&nbsp;</td>
   102 	   <td class="n">
   102 	   <td class="n">
   103 	    <input type="submit" name="authenticate" class="button" value=" <? echo _('Login'); ?> ">
   103 	    <input type="submit" name="authenticate" class="button" value=" <?php echo _('Login'); ?> ">
   104 	   </td>
   104 	   </td>
   105 	  </tr>
   105 	  </tr>
   106 	 </table>
   106 	 </table>
   107 	</form>
   107 	</form>
   108 	<?
   108 	<?php
   109 	include_once('inc/footer.inc.php');
   109 	include_once('inc/footer.inc.php');
   110 	exit;
   110 	exit;
   111 }
   111 }
   112 
   112 
   113 
   113