mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
add signup form
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9108 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
113fd92399
commit
c82f734f6f
2 changed files with 7 additions and 3 deletions
|
|
@ -234,9 +234,13 @@
|
|||
|
||||
$fields = array();
|
||||
foreach($signupForm as $formInfo){
|
||||
if ($formInfo->required || $formInfo->mustRequired && $formInfo->name != 'password')
|
||||
if ($formInfo->required || $formInfo->mustRequired){
|
||||
if($formInfo->name == 'password')
|
||||
$fields[] = '<field name="password" ><if test="$act == \'procMemberInsert\'" attr="password" value="true" /></field>';
|
||||
else
|
||||
$fields[] = sprintf('<field name="%s" required="true" />', $formInfo->name);
|
||||
}
|
||||
}
|
||||
|
||||
$xml_buff = sprintf($buff, implode('', $fields));
|
||||
FileHandler::writeFile($xml_file, $xml_buff);
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
<p class="q">{$identifierForm->title} <em style="color:red">*</em></p>
|
||||
<p class="a">
|
||||
<input type="hidden" name="{$identifierForm->name}" value="{$identifierForm->value}" />
|
||||
<input type="text" name="{$identifierForm->name}" value="{$identifierForm->value}" disabled="disabled" />
|
||||
<input type="text" name="{$identifierForm->name}" value="{$identifierForm->value}" />
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue