Skip to content

Commit

Permalink
* Add document link that explain setting DNS.
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjianhua committed Dec 9, 2022
1 parent dbda073 commit 763fd1c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/module/instance/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ public function getAutoBackupSettings($instanceID)
$settings = new stdclass;
$settings->backupTime = "{$hour}:{$minute}";
$settings->autoBackup = boolval(zget($instance, 'autoBackup', false));
$settings->keepDays = intval(zget($instance, 'backupKeepDays', 10));
$settings->keepDays = intval(zget($instance, 'backupKeepDays', 7));
$settings->cycleDays = 1; /* Cycle days is always is 1 at present. */

return $settings;
Expand Down
1 change: 1 addition & 0 deletions frontend/module/system/css/editdomain.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
table tr th.new-domain-label{vertical-align: top; padding-top: 14px;}
4 changes: 2 additions & 2 deletions frontend/module/system/view/editdomain.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@
<td></td>
</tr>
<tr>
<th><?php echo $lang->system->domain->newDomain;?></th>
<th class='new-domain-label'><?php echo $lang->system->domain->newDomain;?></th>
<td class='required w-400px'>
<?php echo html::input('customDomain', zget($domainSettings, 'customDomain', ''), "class='form-control' placeholder=''");?>
<div class='with-padding'>
<span><?php echo $lang->system->domain->setDNS;?></span>
<?php echo html::a('#', $lang->system->domain->dnsHelperLink, '', "class='text-primary'");?>
<?php echo html::a('https://www.qucheng.com/book/Installation-manual/47.html', $lang->system->domain->dnsHelperLink, '_blank', "class='text-primary'");?>
</div>
</td>
<td></td>
Expand Down

0 comments on commit 763fd1c

Please sign in to comment.