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