3 |
3 |
vpn_ipsec_keys.php
|
4 |
4 |
part of m0n0wall (http://m0n0.ch/wall)
|
5 |
5 |
part of pfSense
|
6 |
|
|
|
6 |
|
7 |
7 |
Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>.
|
8 |
8 |
Copyright (C) 2013-2015 Electric Sheep Fencing, LP
|
9 |
9 |
All rights reserved.
|
10 |
|
|
|
10 |
|
11 |
11 |
Redistribution and use in source and binary forms, with or without
|
12 |
12 |
modification, are permitted provided that the following conditions are met:
|
13 |
|
|
|
13 |
|
14 |
14 |
1. Redistributions of source code must retain the above copyright notice,
|
15 |
15 |
this list of conditions and the following disclaimer.
|
16 |
|
|
|
16 |
|
17 |
17 |
2. Redistributions in binary form must reproduce the above copyright
|
18 |
18 |
notice, this list of conditions and the following disclaimer in the
|
19 |
19 |
documentation and/or other materials provided with the distribution.
|
20 |
|
|
|
20 |
|
21 |
21 |
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
22 |
22 |
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
23 |
23 |
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
... | ... | |
82 |
82 |
|
83 |
83 |
?>
|
84 |
84 |
|
85 |
|
<?php
|
|
85 |
<?php
|
86 |
86 |
if ($savemsg)
|
87 |
87 |
print_info_box($savemsg);
|
88 |
88 |
if (is_subsystem_dirty('ipsec'))
|
... | ... | |
133 |
133 |
<?=htmlspecialchars($secretent['pre-shared-key'])?>
|
134 |
134 |
</td>
|
135 |
135 |
<td>
|
136 |
|
<?php // TODO: this was a post. Why? ?>
|
137 |
|
<a class="btn btn-primary btn-xs" href="system_usermanager.php?act=edit&userid=<?=$secretent['id']?>">edit</a>
|
|
136 |
<a class="btn btn-primary btn-xs" href="system_usermanager.php?act=edit&userid=<?=$secretent['id']?>">edit user</a>
|
138 |
137 |
</td>
|
139 |
138 |
</tr>
|
140 |
139 |
<?php $i++; endforeach; ?>
|
... | ... | |
165 |
164 |
</table>
|
166 |
165 |
</div>
|
167 |
166 |
|
168 |
|
<a class="btn btn-success" href="vpn_ipsec_keys_edit.php"><?=gettext("add key")?></a>
|
|
167 |
<nav class="action-buttons">
|
|
168 |
<a class="btn btn-success" href="vpn_ipsec_keys_edit.php"><?=gettext("add key")?></a>
|
|
169 |
</nav>
|
169 |
170 |
|
170 |
171 |
<div class="alert alert-info">
|
171 |
172 |
<strong><?=gettext("Note"); ?>:</strong><br />
|
Tweak vpn_ipsec_keys layout
- Better name for 'edit user' button
- Wrap action buttons
- Sprinkle some clears in CSS for table container and forms (self-clearing with overflow:hidden)
Refs. #22