mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@11 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f64088ccaa
commit
56e5b008f4
4 changed files with 44 additions and 36 deletions
|
|
@ -2,9 +2,9 @@
|
|||
<field>
|
||||
<item target="sid" required="true" />
|
||||
<item target="act" required="true" />
|
||||
<item target="form_type" required="true" />
|
||||
<item target="join_form_column_name" required="true" filter="alpha"/>
|
||||
<item target="join_form_column_title" required="true" />
|
||||
<item target="column_type" required="true" />
|
||||
<item target="column_name" required="true" filter="alpha"/>
|
||||
<item target="column_title" required="true" />
|
||||
</field>
|
||||
<response>
|
||||
<item name="error" />
|
||||
|
|
|
|||
|
|
@ -11,37 +11,37 @@
|
|||
|
||||
<table>
|
||||
<tr>
|
||||
<th rowspan="2">{$lang->join_form_type}</th>
|
||||
<th rowspan="2">{$lang->column_type}</th>
|
||||
<td>
|
||||
<select name="form_type">
|
||||
<option value="text">{$lang->join_form->text}</option>
|
||||
<option value="homepage">{$lang->join_form->homepage}</option>
|
||||
<option value="email_address">{$lang->join_form->email_address}</option>
|
||||
<option value="tel">{$lang->join_form->tel}</option>
|
||||
<option value="textarea">{$lang->join_form->textarea}</option>
|
||||
<option value="checkbox">{$lang->join_form->checkbox}</option>
|
||||
<option value="radio">{$lang->join_form->radio}</option>
|
||||
<option value="kr_zip">{$lang->join_form->kr_zip}</option>
|
||||
<option value="jp_zip">{$lang->join_form->jp_zip}</option>
|
||||
<select name="column_type">
|
||||
<option value="text">{$lang->column_type_list->text}</option>
|
||||
<option value="homepage">{$lang->column_type_list->homepage}</option>
|
||||
<option value="email_address">{$lang->column_type_list->email_address}</option>
|
||||
<option value="tel">{$lang->column_type_list->tel}</option>
|
||||
<option value="textarea">{$lang->column_type_list->textarea}</option>
|
||||
<option value="checkbox">{$lang->column_type_list->checkbox}</option>
|
||||
<option value="radio">{$lang->column_type_list->radio}</option>
|
||||
<option value="kr_zip">{$lang->column_type_list->kr_zip}</option>
|
||||
<option value="jp_zip">{$lang->column_type_list->jp_zip}</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->about_join_form_type}</td>
|
||||
<td>{$lang->about_column_type}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">{$lang->join_form_column_name}</th>
|
||||
<td><input type="text" name="join_form_column_name" value="" /></td>
|
||||
<th rowspan="2">{$lang->column_name}</th>
|
||||
<td><input type="text" name="column_name" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->about_join_form_column_name}</td>
|
||||
<td>{$lang->about_column_name}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th rowspan="2">{$lang->join_form_column_title}</th>
|
||||
<td><input type="text" name="join_form_column_title" value="" /></td>
|
||||
<th rowspan="2">{$lang->column_title}</th>
|
||||
<td><input type="text" name="column_title" value="" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{$lang->about_join_form_column_title}</td>
|
||||
<td>{$lang->about_column_title}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"><input type="submit" value="{$lang->cmd_registration}" />
|
||||
|
|
|
|||
|
|
@ -24,18 +24,18 @@
|
|||
$lang->group_title = "그룹제목";
|
||||
$lang->group_srl = "그룹번호";
|
||||
|
||||
$lang->join_form_type = "형식";
|
||||
$lang->join_form->text = "한줄 입력칸";
|
||||
$lang->join_form->homepage = "홈페이지 형식";
|
||||
$lang->join_form->email_address = "이메일 형식";
|
||||
$lang->join_form->tel = "전화번호 형식";
|
||||
$lang->join_form->textarea = "여러줄 입력칸";
|
||||
$lang->join_form->checkbox = "다중 선택";
|
||||
$lang->join_form->radio = "단일 선택";
|
||||
$lang->join_form->kr_zip = "한국주소";
|
||||
$lang->join_form->jp_zip = "일본주소";
|
||||
$lang->join_form_column_name = "입력항목 이름";
|
||||
$lang->join_form_column_title = "입력항목 제목";
|
||||
$lang->column_type = "형식";
|
||||
$lang->column_type_list->text = "한줄 입력칸";
|
||||
$lang->column_type_list->homepage = "홈페이지 형식";
|
||||
$lang->column_type_list->email_address = "이메일 형식";
|
||||
$lang->column_type_list->tel = "전화번호 형식";
|
||||
$lang->column_type_list->textarea = "여러줄 입력칸";
|
||||
$lang->column_type_list->checkbox = "다중 선택";
|
||||
$lang->column_type_list->radio = "단일 선택";
|
||||
$lang->column_type_list->kr_zip = "한국주소";
|
||||
$lang->column_type_list->jp_zip = "일본주소";
|
||||
$lang->column_name = "입력항목 이름";
|
||||
$lang->column_title = "입력항목 제목";
|
||||
|
||||
$lang->msg_new_member = "회원 추가";
|
||||
$lang->msg_update_member = "회원 정보 수정";
|
||||
|
|
@ -56,7 +56,7 @@
|
|||
$lang->about_description = "회원에 대한 관리자 메모입니다";
|
||||
$lang->about_group = "한 아이디는 여러개의 group에 속할 수 있습니다";
|
||||
|
||||
$lang->about_join_form_type = "추가하실 가입폼의 형식을 지정해주세요";
|
||||
$lang->about_join_form_column_name = "템플릿에서 사용할수 있는 영문으로 된 이름을 적어주세요 (변수명)";
|
||||
$lang->about_join_form_column_title = "가입 또는 정보 수정/조회시에 표시될 제목입니다";
|
||||
$lang->about_column_type = "추가하실 가입폼의 형식을 지정해주세요";
|
||||
$lang->about_column_name = "템플릿에서 사용할수 있는 영문으로 된 이름을 적어주세요 (변수명)";
|
||||
$lang->about_column_title = "가입 또는 정보 수정/조회시에 표시될 제목입니다";
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -233,6 +233,14 @@
|
|||
}/*}}}*/
|
||||
|
||||
function procInsertJoinForm() {/*{{{*/
|
||||
$args->column_type = Context::get('column_type');
|
||||
$args->column_name = Context::get('column_name');
|
||||
$args->column_title = Context::get('column_title');
|
||||
|
||||
$oDB = &DB::getInstance();
|
||||
$output = $oDB->executeQuery('member.insertJoinForm', $args);
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
$this->add('sid','member');
|
||||
$this->add('act','dispJoinForm');
|
||||
$this->setMessage('success_registed');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue