Skip to content

Commit 869c549

Browse files
committed
Correct typo, replace 'LoadAverage' with 'Load Average'
1 parent dc65561 commit 869c549

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

web/add/web/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
$aliases = implode(",",$aliases_arr);
6161
$aliases = escapeshellarg($aliases);
6262

63-
// Define proxy extentions
63+
// Define proxy extensions
6464
$v_proxy_ext = $_POST['v_proxy_ext'];
6565
$proxy_ext = preg_replace("/\n/", ",", $v_proxy_ext);
6666
$proxy_ext = preg_replace("/\r/", ",", $proxy_ext);
@@ -272,7 +272,7 @@
272272
$fp = fopen($v_ftp_password, "w");
273273
fwrite($fp, $v_ftp_user_data['v_ftp_password']."\n");
274274
fclose($fp);
275-
exec (VESTA_CMD."v-add-web-domain-ftp ".$user." ".$v_domain." ".$v_ftp_user." ".$v_ftp_password . " " . $v_ftp_path, $output, $return_var);
275+
exec (VESTA_CMD."v-add-web-domain-ftp ".$user." ".$v_domain." ".$v_ftp_user." ".$v_ftp_password . " " . $v_ftp_path, $output, $return_var);
276276
check_return_code($return_var,$output);
277277
unset($output);
278278
unlink($v_ftp_password);

web/edit/web/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@
222222
$restart_proxy = 'yes';
223223
}
224224

225-
// Change proxy template / Update extention list
225+
// Change proxy template / Update extension list
226226
if ((!empty($_SESSION['PROXY_SYSTEM'])) && (!empty($v_proxy)) && (!empty($_POST['v_proxy'])) && (empty($_SESSION['error_msg']))) {
227227
$ext = preg_replace("/\n/", " ", $_POST['v_proxy_ext']);
228228
$ext = preg_replace("/,/", " ", $ext);

web/templates/admin/add_firewall_banlist.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<table class="data-col2" width="600px">
5555
<tr>
5656
<td class="vst-text step-top">
57-
<?php print __('Banlist') ?>
57+
<?php print __('Banlist') ?>
5858
</td>
5959
</tr>
6060
<tr>
@@ -72,7 +72,7 @@
7272
</tr>
7373
<tr>
7474
<td class="vst-text input-label">
75-
<?php print __('IP address');?> <span class="optional">(<?php print __('CDIR format is supported');?>)</span>
75+
<?=__('IP address')?> <span class="optional">(<?=__('CIDR format is supported')?>)</span>
7676
</td>
7777
</tr>
7878
<tr>
@@ -95,4 +95,4 @@
9595
</tr>
9696
</table>
9797
</from>
98-
</div>
98+
</div>

web/templates/admin/add_web.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
<textarea size="20" class="vst-textinput" name="v_aliases" id="v_aliases" ><?php if (!empty($v_aliases)) echo htmlentities($v_aliases); ?></textarea>
143143
</td>
144144
</tr>
145-
<?php if (!empty($_SESSION['PROXY_SYSTEM'])) { echo ""; ?>
145+
<?php if (!empty($_SESSION['PROXY_SYSTEM'])) { echo ""; ?>
146146
<tr>
147147
<td class="vst-text step-top" >
148148
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_proxy" <?php if ($v_proxy !== 'off') echo "checked=yes" ?> onclick="javascript:elementHideShow('proxytable');"> <?php print __('Proxy Support');?></label>
@@ -153,7 +153,7 @@
153153
<table style="display:<?php if ($v_proxy == 'off') { echo 'none';} else {echo 'block';}?>;" id="proxytable" >
154154
<tr>
155155
<td class="vst-text input-label step-left">
156-
<?php print __('Proxy Extentions');?>
156+
<?php print __('Proxy Extensions');?>
157157
</td>
158158
</tr>
159159
<tr>
@@ -164,7 +164,7 @@
164164
</table>
165165
</td>
166166
</tr>
167-
<?php echo ""; }?>
167+
<?php echo ""; }?>
168168
<tr>
169169
<td class="step-top vst-text">
170170
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_ssl" <?php if($v_ssl == 'yes' || $v_ssl == 'on') echo "checked=yes" ?> onclick="javascript:elementHideShow('ssltable');"> <?php print __('SSL Support');?></label> /
@@ -242,7 +242,7 @@
242242
}
243243
echo ">" . htmlentities(__($value)) . "</option>\n";
244244
}
245-
?>
245+
?>
246246
</select>
247247
</td>
248248
</tr>

web/templates/admin/list_services.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
</td>
9292
<td>
9393
<div class="l-unit__stat-cols clearfix">
94-
<div class="l-unit__stat-col l-unit__stat-col--left"><?=__('LoadAverage')?>:</div>
94+
<div class="l-unit__stat-col l-unit__stat-col--left"><?=__('Load Average')?>:</div>
9595
<div class="l-unit__stat-col l-unit__stat-col--right"><b><?=$sys['sysinfo']['LOADAVERAGE']?></b></div>
9696
</div>
9797
</td>

0 commit comments

Comments
 (0)