WEB. templates fixed #915

This commit is contained in:
Dmitry Naumov-Socolov 2016-11-22 07:05:19 -05:00
commit 02ac870ab7
38 changed files with 381 additions and 382 deletions

View file

@ -41,7 +41,7 @@
<a class="data-date"><?=$v_time?></a>
</td>
</tr>
<tr><td class="data-<?php echo $v_status ?>"><b><?php echo __($v_status) ?></b></td></tr>
<tr><td class="data-<?php echo $v_status ?>"><b><?=__($v_status)?></b></td></tr>
</table>
</td>
<td class="data-dotted">
@ -53,7 +53,8 @@
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_ip" <?php if (!empty($v_ip)) echo "value=".htmlentities($v_ip); ?> disabled> <input type="hidden" name="v_ip" <?php if (!empty($v_ip)) echo "value=".htmlentities($v_ip); ?>>
<input type="text" size="20" class="vst-input" name="v_ip" value="<?=htmlentities(trim($v_ip, "'"))?>" disabled>
<input type="hidden" name="v_ip" value="<?=htmlentities(trim($v_ip, "'"))?>">
</td>
</tr>
<tr>
@ -63,7 +64,7 @@
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_netmask" <?php if (!empty($v_netmask)) echo "value=".htmlentities($v_netmask); ?> disabled>
<input type="text" size="20" class="vst-input" name="v_netmask" value="<?=htmlentities(trim($v_netmask, "'"))?>" disabled>
</td>
</tr>
<tr>
@ -73,12 +74,12 @@
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_netmask" <?php if (!empty($v_interace)) echo "value=".htmlentities($v_interace); ?> disabled>
<input type="text" size="20" class="vst-input" name="v_netmask" value="<?=htmlentities(trim($v_interace, "'"))?>" disabled>
</td>
</tr>
<tr>
<td class="vst-text input-label">
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_shared" <?php if (empty($v_dedicated)) echo "checked=yes" ?> onclick="javascript:elementHideShow('usrtable');"> <?php print __('Shared');?></label>
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_shared" <?php if (empty($v_dedicated)) echo "checked=yes" ?> onclick="javascript:elementHideShow('usrtable');"> <?=__('Shared')?></label>
</td>
</tr>
<tr>
@ -112,7 +113,7 @@
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_name" <?php if (!empty($v_name)) echo "value=".htmlentities($v_name); ?>>
<input type="text" size="20" class="vst-input" name="v_name" value="<?=htmlentities(trim($v_name, "'"))?>">
</td>
</tr>
<tr>
@ -122,7 +123,7 @@
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_nat" <?php if (!empty($v_nat)) echo "value=".htmlentities($v_nat); ?>>
<input type="text" size="20" class="vst-input" name="v_nat" value="<?=htmlentities(trim($v_nat, "'"))?>">
</td>
</tr>
@ -130,10 +131,10 @@
<table class="data-col2">
<tr>
<td class="step-top" width="116px">
<input type="submit" class="button" name="save" value="<?php print __('Save');?>">
<input type="submit" class="button" name="save" value="<?=__('Save')?>">
</td>
<td class="step-top">
<input type="button" class="button cancel" value="<?php print __('Back');?>" onclick="<?php echo $back ?>">
<input type="button" class="button cancel" value="<?=__('Back')?>" onclick="<?=$back?>">
</td>
</tr>
</table>