z
This commit is contained in:
73
update/data/skins/enhanced/user/db/db_user_create.html
Normal file
73
update/data/skins/enhanced/user/db/db_user_create.html
Normal file
@@ -0,0 +1,73 @@
|
||||
|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_VIEW?DOMAIN=`DOMAIN`&name=`name`">`LANG_VIEW` `name`</a> » <a class=tree href="/HTM_DB_USER_CREATE?DOMAIN=`DOMAIN`&name=`name`">`LANG_NEW_USER`</a>|
|
||||
|?HELP_SECTION=`USER_HELPER`/mysql.html#adduser|
|
||||
|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=createuser>
|
||||
<input type=hidden name=domain value="|DOMAIN|">
|
||||
<input type=hidden name=name value="|name|">
|
||||
|
||||
<tr><td class=listtitle colspan=2>|LANG_ADD_USER_TO| |name|</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|
|
||||
Reference in New Issue
Block a user