mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #1147 from ExolonDX/branch_master_15
This commit is contained in:
commit
941823677d
@ -80,10 +80,10 @@ include("head.inc");
|
||||
<?php if ($savemsg) print_info_box($savemsg); ?>
|
||||
<?php if (isset($config['pptpd']['radius']['enable']))
|
||||
print_info_box(gettext("Warning: RADIUS is enabled. The local user database will not be used.")); ?>
|
||||
<?php if (is_subsystem_dirty('pptpusers')): ?><p>
|
||||
<?php print_info_box_np(gettext("The PPTP user list has been modified").".<br />".gettext("You must apply the changes in order for them to take effect").".<br /><b>".gettext("Warning: this will terminate all current PPTP sessions")."!</b>");?><br />
|
||||
<?php if (is_subsystem_dirty('pptpusers')): ?><br/>
|
||||
<?php print_info_box_np(gettext("The PPTP user list has been modified").".<br />".gettext("You must apply the changes in order for them to take effect").".<br /></b><b>".gettext("Warning: this will terminate all current PPTP sessions")."!");?><br />
|
||||
<?php endif; ?>
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||||
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="vpn pptp users">
|
||||
<tr><td class="tabnavtbl">
|
||||
<?php
|
||||
$tab_array = array();
|
||||
@ -94,15 +94,15 @@ include("head.inc");
|
||||
<tr>
|
||||
<td>
|
||||
<div id="mainarea">
|
||||
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
|
||||
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area">
|
||||
<tr>
|
||||
<td class="listhdrr"><?=gettext("Username");?></td>
|
||||
<td class="listhdr"><?=gettext("IP address");?></td>
|
||||
<td class="list">
|
||||
<table border="0" cellspacing="0" cellpadding="1">
|
||||
<table border="0" cellspacing="0" cellpadding="1" summary="add">
|
||||
<tr>
|
||||
<td width="17"></td>
|
||||
<td><a href="vpn_pptp_users_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add user");?>" width="17" height="17" border="0"></a></td>
|
||||
<td><a href="vpn_pptp_users_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add user");?>" width="17" height="17" border="0" alt="add" /></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
@ -115,17 +115,17 @@ include("head.inc");
|
||||
<td class="listr">
|
||||
<?=htmlspecialchars($secretent['ip']);?>
|
||||
</td>
|
||||
<td class="list" nowrap> <a href="vpn_pptp_users_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="<?=gettext("edit user");?>" width="17" height="17" border="0"></a>
|
||||
<a href="vpn_pptp_users.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this user?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title="<?=gettext("delete user");?>" width="17" height="17" border="0"></a></td>
|
||||
<td class="list nowrap"><a href="vpn_pptp_users_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="<?=gettext("edit user");?>" width="17" height="17" border="0" alt="edit" /></a>
|
||||
<a href="vpn_pptp_users.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this user?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title="<?=gettext("delete user");?>" width="17" height="17" border="0" alt="delete" /></a></td>
|
||||
</tr>
|
||||
<?php $i++; endforeach; ?>
|
||||
<tr>
|
||||
<td class="list" colspan="2"></td>
|
||||
<td class="list">
|
||||
<table border="0" cellspacing="0" cellpadding="1">
|
||||
<table border="0" cellspacing="0" cellpadding="1" summary="add">
|
||||
<tr>
|
||||
<td width="17"></td>
|
||||
<td><a href="vpn_pptp_users_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add user");?>" width="17" height="17" border="0"></a></td>
|
||||
<td><a href="vpn_pptp_users_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add user");?>" width="17" height="17" border="0" alt="add" /></a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
@ -143,17 +143,18 @@ include("head.inc");
|
||||
<?php if ($input_errors) print_input_errors($input_errors); ?>
|
||||
<form action="vpn_pptp_users_edit.php" method="post" name="iform" id="iform">
|
||||
<div id="mainarea">
|
||||
<table width="100%" border="0" cellpadding="6" cellspacing="0">
|
||||
<table width="100%" border="0" cellpadding="6" cellspacing="0" summary="vpn pptp users edit">
|
||||
<tr>
|
||||
<td width="22%" valign="top" class="vncellreq"><?=gettext("Username");?></td>
|
||||
<td width="78%" class="vtable">
|
||||
<?=$mandfldhtml;?><input name="username" type="text" class="formfld user" id="username" size="20" value="<?=htmlspecialchars($pconfig['username']);?>">
|
||||
<?=$mandfldhtml;?><input name="username" type="text" class="formfld user" id="username" size="20" value="<?=htmlspecialchars($pconfig['username']);?>" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="22%" valign="top" class="vncellreq"><?=gettext("Password");?></td>
|
||||
<td width="78%" class="vtable">
|
||||
<?=$mandfldhtml;?><input name="password" type="password" class="formfld pwd" id="password" size="20">
|
||||
<br /><?=$mandfldhtml;?><input name="password2" type="password" class="formfld pwd" id="password2" size="20">
|
||||
<?=$mandfldhtml;?><input name="password" type="password" class="formfld pwd" id="password" size="20" />
|
||||
<br /><?=$mandfldhtml;?><input name="password2" type="password" class="formfld pwd" id="password2" size="20" />
|
||||
(<?=gettext("confirmation");?>)<?php if (isset($id) && $a_secret[$id]): ?><br />
|
||||
<span class="vexpl"><?=gettext("If you want to change the users' password, ".
|
||||
"enter it here twice.");?></span><?php endif; ?></td>
|
||||
@ -161,15 +162,15 @@ include("head.inc");
|
||||
<tr>
|
||||
<td width="22%" valign="top" class="vncell"><?=gettext("IP address");?></td>
|
||||
<td width="78%" class="vtable">
|
||||
<input name="ip" type="text" class="formfld unknown" id="ip" size="20" value="<?=htmlspecialchars($pconfig['ip']);?>">
|
||||
<input name="ip" type="text" class="formfld unknown" id="ip" size="20" value="<?=htmlspecialchars($pconfig['ip']);?>" />
|
||||
<br /><span class="vexpl"><?=gettext("If you want the user to be assigned a specific IP address, enter it here.");?></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="vncell" width="22%" valign="top"> </td>
|
||||
<td class="vncell" width="78%">
|
||||
<input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>">
|
||||
<input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" />
|
||||
<?php if (isset($id) && $a_secret[$id]): ?>
|
||||
<input name="id" type="hidden" value="<?=htmlspecialchars($id);?>">
|
||||
<input name="id" type="hidden" value="<?=htmlspecialchars($id);?>" />
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
@ -179,5 +180,3 @@ include("head.inc");
|
||||
<?php include("fend.inc"); ?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user