mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
added admin search
This commit is contained in:
parent
ac2aa3c1ce
commit
f685d8d333
76 changed files with 871 additions and 114 deletions
|
@ -1,7 +1,15 @@
|
|||
<?php
|
||||
$back = getenv("HTTP_REFERER");
|
||||
if (empty($back)) {
|
||||
$back = "location.href='/list/ip/'";
|
||||
} else {
|
||||
$back = "javascript:history.back(1)";
|
||||
}
|
||||
?>
|
||||
|
||||
<table class="sub-menu" style="background: white;">
|
||||
<tr>
|
||||
<td style="padding: 10px 2px 0 0;" ><a class="add-name"><b>Adding IP Address</b></a>
|
||||
<td style="padding: 10px 2px 10px 0;" ><a class="name"><b>Adding IP Address</b></a>
|
||||
<?php
|
||||
if (!empty($_SESSION['error_msg'])) {
|
||||
echo "<a class=\"add-error\"> → ".$_SESSION['error_msg']."</a>";
|
||||
|
@ -129,7 +137,7 @@
|
|||
<tr>
|
||||
<td style="padding: 24px 0 0 0;">
|
||||
<input type="submit" name="ok" value="OK" class="button">
|
||||
<input type="button" class="button" value="Cancel" onclick="location.href='/list/ip/'">
|
||||
<input type="button" class="button" value="Cancel" onclick="<?php echo $back ?>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue