Obsolete
/
dnsmanagerv1
Archived
3
0
Fork 0

ajout de l'IP du visiteur en proposition de valeur pour un RR

master
Philippe Pittoli 2014-07-06 02:24:06 +02:00
parent 2bcf598b71
commit dafda2310d
2 changed files with 4 additions and 1 deletions

View File

@ -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 };
}
}

View File

@ -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">