75 lines
2.2 KiB
HTML
75 lines
2.2 KiB
HTML
|LF_STANDARD|
|
|
|LF_DB|
|
|
|?TREE=» <a class=tree href="/CMD_SHOW_DOMAIN?domain=`DOMAIN`">`DOMAIN`</a> » <a class=tree href="/CMD_DB?DOMAIN=`DOMAIN`">`LANG_MYSQL_SETUP`</a> » <a class=tree href="/CMD_DB_CREATE?DOMAIN=`DOMAIN`">`LANG_CREATE_DB`</a>|
|
|
|?HELP_SECTION=`USER_HELPER`/mysql.html#create|
|
|
|HTM_USER_TOP|
|
|
|
|
|?CHECK_PASS=|
|
|
|?RANDOM_PASS=randomPass()|
|
|
|*if AJAX="1"|
|
|
|?CHECK_PASS=onChange="ajax_checkPass()"|
|
|
|?RANDOM_PASS=ajax_randomPass('')|
|
|
<script type="text/javascript" src="JS_CREATION_CHECK"></script>
|
|
|*endif|
|
|
|
|
<script language="javascript">
|
|
|
|
|HTM_JAVASCRIPT|
|
|
|
|
function setGreyout(value)
|
|
{
|
|
if (document.reseller)
|
|
{
|
|
with (document.reseller)
|
|
{
|
|
if (value == '...')
|
|
{
|
|
user.disabled = false;
|
|
user.value = '';
|
|
passwd.disabled = false;
|
|
passwd.value = '';
|
|
passwd2.disabled = false;
|
|
passwd2.value = '';
|
|
|
|
}
|
|
else
|
|
{
|
|
user.value = value;
|
|
user.disabled = true;
|
|
passwd.value = '********';
|
|
passwd.disabled = true;
|
|
passwd2.value = '********';
|
|
passwd2.disabled = true;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<table class=list cellpadding=3 cellspacing=1>
|
|
<form name=reseller action="CMD_DB" method="post">
|
|
|
|
|HTM_PREVENT_AUTOFILL|
|
|
|
|
<input type=hidden name=action value=create>
|
|
<input type=hidden name=domain value="|DOMAIN|">
|
|
|
|
<tr><td class=listtitle colspan=2>|LANG_CREATE_DB|</td></tr>
|
|
|
|
<tr><td class=list>|LANG_DB_NAME|</td><td class=list><b>|USERNAME|_</b><input type=text name=name size=12></td></tr>
|
|
<tr><td class=list>|LANG_DB_USERNAME|</td><td class=list><b>|USERNAME|_</b><input type=text name=user size=12>
|
|
|*if DB_USER_LIST|
|
|
|LANG_DB_USE_EXISTING|
|
|
|DB_USER_LIST|
|
|
|*endif|</td></tr>
|
|
<tr><td class=list>|LANG_DB_PASS|</td><td class=list><input type=password id=passwd name=passwd size=20 |CHECK_PASS|> <input type=button value="|LANG_RANDOM|" onClick="|RANDOM_PASS|"><div id=passwd_result class=warning></div></td></tr>
|
|
<tr><td class=list>|LANG_DB_PASS_AGAIN|</td><td class=list><input type=password id=passwd2 name=passwd2 size=20 onChange="checkPass()"></td></tr>
|
|
|
|
<tr><td class=listtitle colspan=3 align=right>
|
|
<input type=submit name=create value="|LANG_CREATE|">
|
|
</td></tr>
|
|
</form>
|
|
</table>
|
|
|
|
|HTM_USER_BOTTOM|
|