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

@ -53,7 +53,7 @@
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_database" <?php if (!empty($v_database)) echo "value=".htmlentities($v_database); ?> disabled>
<input type="text" size="20" class="vst-input" name="v_database" value="<?=htmlentities(trim($v_database, "'"))?>" disabled>
<small class="hint"></small>
</td>
</tr>
@ -64,18 +64,18 @@
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_dbuser" <?php if (!empty($v_dbuser)) echo "value=".htmlentities($v_dbuser); ?>>
<input type="text" size="20" class="vst-input" name="v_dbuser" value="<?=htmlentities(trim($v_dbuser, "'"))?>">
<small class="hint"></small>
</td>
</tr>
<tr>
<td class="vst-text input-label">
<?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?php print __('generate');?></a>
<?php print __('Password');?> / <a href="javascript:randomString();" class="generate"><?=__('generate')?></a>
</td>
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input password" name="v_password" <?php if (!empty($v_password)) echo "value=".htmlentities($v_password); ?>>
<input type="text" size="20" class="vst-input password" name="v_password" value="<?=htmlentities(trim($v_password, "'"))?>">
</td>
</tr>
<tr>
@ -85,7 +85,7 @@
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_type" <?php if (!empty($v_type)) echo "value=".htmlentities($v_type); ?> disabled>
<input type="text" size="20" class="vst-input" name="v_type" value="<?=htmlentities(trim($v_type, "'"))?>" disabled>
</td>
</tr>
<tr>
@ -95,7 +95,7 @@
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_host" <?php if (!empty($v_host)) echo "value=".htmlentities($v_host); ?> disabled>
<input type="text" size="20" class="vst-input" name="v_host" value="<?=htmlentities(trim($v_host, "'"))?>" disabled>
</td>
</tr>
<tr>
@ -105,17 +105,17 @@
</tr>
<tr>
<td>
<input type="text" size="20" class="vst-input" name="v_charset" <?php if (!empty($v_charset)) echo "value=".htmlentities($v_charset); ?> disabled>
<input type="text" size="20" class="vst-input" name="v_charset" value="<?=htmlentities(trim($v_charset, "'"))?>" disabled>
</td>
</tr>
</table>
<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>