Fix #1548
This commit is contained in:
parent
c564af24db
commit
31d2e980c3
|
@ -95,7 +95,11 @@ for($i=0;$i<count($rdb);$i++) {
|
|||
<tr>
|
||||
<th><label for="dbn"><?php __("MySQL Database"); ?></label></th>
|
||||
<td>
|
||||
<span class="int" id="dbnpfx"><?php echo $mem->user["login"]; ?>_</span><input type="text" class="int" name="dbn" id="dbn" value="" size="20" maxlength="30" />
|
||||
<?php
|
||||
// Max 16 caracters for the database name if we want the mysql user to be automatically created.
|
||||
$max_dbsufix_size=(16-strlen($mem->user["login"].'_'));
|
||||
?>
|
||||
<span class="int" id="dbnpfx"><?php echo $mem->user["login"]; ?>_</span><input type="text" class="int" name="dbn" id="dbn" value="" size="20" maxlength="<?php echo $max_dbsufix_size ;?>" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue