Skip to content

Commit 36fc6f5

Browse files
author
Kristan Kenney
committed
Adjust strings
1 parent 0b64d2e commit 36fc6f5

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

web/templates/admin/edit_web.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -318,23 +318,22 @@
318318
</tr>
319319
<tr>
320320
<td class="vst-text step-top">
321-
<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 _('Redirect');?></label>
321+
<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>
322322
</td>
323323
</tr>
324324
<tr>
325325
<td class="step-left">
326326
<table style="display:<?php if (empty($v_redirect)) { echo 'none';} else {echo 'block';}?> ;" id="v_redirect">
327327
<tr>
328328
<td class="vst-text input-label">
329-
<?php $v_redirect;?>
330329
<?=_('Redirect');?>
331330
</td>
332331
</tr>
333332
<tr>
334333
<td>
335-
<input type="radio" name="v-redirect" value="<?php echo 'www.'.$domain;?>" <?php if ($v_redirect == "www.".$domain) echo "checked"; ?>/> <?=sprintf(_('Always redirect to %s'),"www.".$domain);?><br />
336-
<input type="radio" name="v-redirect" value="<?php echo $domain;?>" <?php if( $v_redirect == $domain) echo "checked";?>/> <?=sprintf(_('Always redirect to %s'),$domain);?><br />
337-
<input type="radio" name="v-redirect" value="custom" <?php if( !empty($v_redirect_custom)) echo "checked";?> id="v-redirect-custom-value"/> <?=_("Redirect to custom URL or domain");?>
334+
<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 />
335+
<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 />
336+
<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");?>
338337
</td>
339338
</tr>
340339
<tr>
@@ -362,11 +361,11 @@
362361
<td class="vst-text input-label">
363362
<select class="vst-list" name="v-redirect-code">
364363
<?php foreach ($redirect_code_options as $status_code): ?>
365-
<option value="<?php echo $status_code;?>"
366-
<?=($v_redirect_code === $status_code || (empty($v_redirect_code) && $status_code === $v_redirect_code))?' selected="selected" ':''; ?>>
367-
<?php echo $status_code;?>
368-
</option>
369-
<?php endforeach; ?>
364+
<option value="<?php echo $status_code;?>"
365+
<?=($v_redirect_code === $status_code || (empty($v_redirect_code) && $status_code === $v_redirect_code))?' selected="selected" ':''; ?>>
366+
<?php echo $status_code;?>
367+
</option>
368+
<?php endforeach; ?>
370369
</select>
371370
</td>
372371
</tr>

0 commit comments

Comments
 (0)