mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
#62 nick_name 글자 제한 추가.
This commit is contained in:
parent
998fb3c444
commit
ddba034036
1 changed files with 4 additions and 0 deletions
|
|
@ -487,6 +487,10 @@ class memberAdminController extends member
|
|||
{
|
||||
$fields[] = sprintf('<field name="%s" required="true" rule="userid" length="3:20" />', $formInfo->name);
|
||||
}
|
||||
else if($formInfo->name == 'nick_name')
|
||||
{
|
||||
$fields[] = sprintf('<field name="%s" required="true" rule="userid" length="2:20" />', $formInfo->name);
|
||||
}
|
||||
else if(strpos($formInfo->name, 'image') !== false)
|
||||
{
|
||||
$fields[] = sprintf('<field name="%s"><if test="$act != \'procMemberAdminInsert\' && $__%s_exist != \'true\'" attr="required" value="true" /></field>', $formInfo->name, $formInfo->name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue