Skip to content

Commit 1d34525

Browse files
author
Kristan Kenney
committed
Update terminology and fix domain value
1 parent e74bbad commit 1d34525

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

web/templates/admin/edit_web.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -317,25 +317,25 @@
317317
</tr>
318318
<tr>
319319
<td class="vst-text step-top">
320-
<label><input type="checkbox" size="20" class="vst-checkbox" name="v-redirect-checkbox" <?php if (!empty($v_redirect)) echo "checked=yes" ?> onclick="javascript:elementHideShow('v_redirect');"><?php print _('Enable address redirection for this domain');?></label>
320+
<label><input type="checkbox" size="20" class="vst-checkbox" name="v-redirect-checkbox" <?php if (!empty($v_redirect)) echo "checked=yes" ?> onclick="javascript:elementHideShow('v_redirect');"><?php print _('Enable domain redirection');?></label>
321321
</td>
322322
</tr>
323323
<tr>
324324
<td class="step-left">
325325
<table style="display:<?php if (empty($v_redirect)) { echo 'none';} else {echo 'block';}?> ;" id="v_redirect">
326326
<tr>
327-
<td>
328-
<input type="radio" name="v-redirect" value="<?php echo 'www.'.$domain;?>" <?php if ($v_redirect == "www.".$domain) echo "checked"; ?>/><?=sprintf(_('Always redirect visitors to %s'),"www.".$domain);?><br />
329-
<input type="radio" name="v-redirect" value="<?php echo $domain;?>" <?php if( $v_redirect == $domain) echo "checked";?>/><?=sprintf(_('Always redirect visitors to %s'),$domain);?><br />
330-
<input type="radio" name="v-redirect" value="custom" <?php if( !empty($v_redirect_custom)) echo "checked";?> id="v-redirect-custom-value"/><?=_("Redirect visitors to custom URL or domain");?>
327+
<td class="step-top">
328+
<input type="radio" name="v-redirect" value="<?php echo 'www.'.$v_domain;?>" <?php if ($v_redirect == "www.".$v_domain) echo "checked"; ?>/><?=sprintf(_('Redirect visitors to %s'),"www.".$v_domain);?><br />
329+
<input type="radio" name="v-redirect" value="<?php echo $v_domain;?>" <?php if( $v_redirect == $v_domain) echo "checked";?>/><?=sprintf(_('Redirect visitors to %s'),$v_domain);?><br />
330+
<input type="radio" name="v-redirect" value="custom" <?php if( !empty($v_redirect_custom)) echo "checked";?> id="v-redirect-custom-value"/><?=_("Redirect visitors to a custom domain or web address");?>
331331
</td>
332332
</tr>
333333
<tr>
334334
<td>
335335
<table id="custom_redirect" style="display:<?php if (empty($v_redirect_custom)) { echo 'none';} else {echo 'block';}?> ;">
336336
<tr>
337337
<td class="vst-text input-label">
338-
<?=_('Address');?>
338+
<?=_('Target domain or URL');?>:
339339
</td>
340340
</tr>
341341
<tr>
@@ -348,7 +348,7 @@
348348
</tr>
349349
<tr>
350350
<td class="vst-text input-label">
351-
<?=_('Status code');?>
351+
<?=_('Status code');?>:
352352
</td>
353353
</tr>
354354
<tr>
@@ -363,8 +363,6 @@
363363
</select>
364364
</td>
365365
</tr>
366-
<tr>
367-
</tr>
368366
</table>
369367
</td>
370368
</tr>

0 commit comments

Comments
 (0)