Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SOA fields #184

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</div>
</div>
<div class="form-group">
<label for="default_ttl" class="col-sm-2 control-label">Default TTL</label>
<label for="default_ttl" class="col-sm-2 control-label">Minimum TTL</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="default_ttl" name="default_ttl" value="<?php out(DNSTime::abbreviate($template->default_ttl))?>" required pattern="([0-9]+[smhdwSMHDW]?)+">
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
</div>
</div>
<div class="form-group">
<label for="default_ttl" class="col-sm-2 control-label">Default TTL</label>
<label for="default_ttl" class="col-sm-2 control-label">Minimum TTL</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="default_ttl" name="default_ttl" value="" required pattern="([0-9]+[smhdwSMHDW]?)+">
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/zone.php
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@
</div>
</div>
<div class="form-group">
<label for="default_ttl" class="col-sm-2 control-label"><abbr title="The time a NAME ERROR = NXDOMAIN result may be cached by any resolver.">Default TTL</abbr></label>
<label for="default_ttl" class="col-sm-2 control-label"><abbr title="The time a valueless answer to a question may be cached by any resolver unless the SOA TTL is lower.">Minimum TTL</abbr></label>
<div class="col-sm-10">
<?php if($active_user->admin) { ?>
<input type="text" class="form-control" id="default_ttl" name="default_ttl" required pattern="([0-9]+[smhdwSMHDW]?)+" maxlength="40" value="<?php out(DNSTime::abbreviate($zone->soa->default_ttl))?>">
Expand Down
2 changes: 1 addition & 1 deletion templates/zones.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
</div>
</div>
<div class="form-group">
<label for="default_ttl" class="col-sm-2 control-label">Default TTL</label>
<label for="default_ttl" class="col-sm-2 control-label">Minimum TTL</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="default_ttl" name="default_ttl" value="" required pattern="([0-9]+[smhdwSMHDW]?)+">
</div>
Expand Down