add_supermaster.php
changeset 71 e1b918eaf69a
parent 50 ed18c8317cff
child 79 0c0aa144356a
equal deleted inserted replaced
70:47248e2af079 71:e1b918eaf69a
    57 
    57 
    58 include_once("inc/header.inc.php");
    58 include_once("inc/header.inc.php");
    59     
    59     
    60     if ($error != "")
    60     if ($error != "")
    61     {
    61     {
    62     	?><div class="error"><? echo _('Error'); ?>: <? echo $error; ?></div><?
    62     	?><div class="error"><?php echo _('Error'); ?>: <?php echo $error; ?></div><?php
    63     }
    63     }
    64     elseif ($success != "")
    64     elseif ($success != "")
    65     {
    65     {
    66     	?><div class="success"><? echo $success; ?></div><?
    66     	?><div class="success"><?php echo $success; ?></div><?php
    67     }
    67     }
    68     
    68     
    69     ?>
    69     ?>
    70     <h2><? echo _('Add supermaster'); ?></h2>
    70     <h2><?php echo _('Add supermaster'); ?></h2>
    71     <form method="post" action="add_supermaster.php">
    71     <form method="post" action="add_supermaster.php">
    72      <table>
    72      <table>
    73       <tr>
    73       <tr>
    74        <td class="n"><? echo _('IP address of supermaster'); ?>:</td>
    74        <td class="n"><?php echo _('IP address of supermaster'); ?>:</td>
    75        <td class="n">
    75        <td class="n">
    76         <input type="text" class="input" name="master_ip" value="<? if ($error) print $_POST["master_ip"]; ?>">
    76         <input type="text" class="input" name="master_ip" value="<?php if ($error) print $_POST["master_ip"]; ?>">
    77        </td>
    77        </td>
    78       </tr>
    78       </tr>
    79       <tr>
    79       <tr>
    80        <td class="n"><? echo _('Hostname in NS record'); ?>:</td>
    80        <td class="n"><?php echo _('Hostname in NS record'); ?>:</td>
    81        <td class="n">
    81        <td class="n">
    82         <input type="text" class="input" name="ns_name" value="<? if ($error) print $_POST["ns_name"]; ?>">
    82         <input type="text" class="input" name="ns_name" value="<?php if ($error) print $_POST["ns_name"]; ?>">
    83        </td>
    83        </td>
    84       </tr>
    84       </tr>
    85       <tr>
    85       <tr>
    86        <td class="n"><? echo _('Account'); ?>:</td>
    86        <td class="n"><?php echo _('Account'); ?>:</td>
    87        <td class="n">
    87        <td class="n">
    88         <input type="text" class="input" name="account" value="<? if ($error) print $_POST["account"]; ?>">
    88         <input type="text" class="input" name="account" value="<?php if ($error) print $_POST["account"]; ?>">
    89        </td>
    89        </td>
    90       </tr>
    90       </tr>
    91       <tr>
    91       <tr>
    92        <td class="n">&nbsp;</td>
    92        <td class="n">&nbsp;</td>
    93        <td class="n">
    93        <td class="n">
    94         <input type="submit" class="button" name="submit" value="<? echo _('Add supermaster'); ?>">
    94         <input type="submit" class="button" name="submit" value="<?php echo _('Add supermaster'); ?>">
    95        </td>
    95        </td>
    96       </tr>
    96       </tr>
    97      </table>
    97      </table>
    98     </form>
    98     </form>
    99 <?
    99 <?php
   100 include_once("inc/footer.inc.php");
   100 include_once("inc/footer.inc.php");
   101 ?>
   101 ?>