ajout de l'IP du visiteur en proposition de valeur pour un RR
This commit is contained in:
parent
2bcf598b71
commit
dafda2310d
@ -283,6 +283,7 @@ prefix '/domain' => sub {
|
|||||||
, admin => session('admin')
|
, admin => session('admin')
|
||||||
, domain => param('domain')
|
, domain => param('domain')
|
||||||
, domain_zone => $zone->output()
|
, domain_zone => $zone->output()
|
||||||
|
, user_ip => request->address
|
||||||
, expert => true };
|
, expert => true };
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -298,7 +299,8 @@ prefix '/domain' => sub {
|
|||||||
, cname => $zone->cname()
|
, cname => $zone->cname()
|
||||||
, ptr => $zone->ptr()
|
, ptr => $zone->ptr()
|
||||||
, mx => $zone->mx()
|
, mx => $zone->mx()
|
||||||
, ns => $zone->ns() };
|
, ns => $zone->ns()
|
||||||
|
, user_ip => request->address };
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -151,6 +151,7 @@
|
|||||||
<div class="col-sm-3">
|
<div class="col-sm-3">
|
||||||
<input type="text" id="value" name="value" class="form-control" placeholder="IP ou ndd" >
|
<input type="text" id="value" name="value" class="form-control" placeholder="IP ou ndd" >
|
||||||
</div>
|
</div>
|
||||||
|
Votre adresse IP : <% user_ip %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
Reference in New Issue
Block a user