#423 업로드 폼 아래에 이미지 제한 크기 표시

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4122 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2008-04-20 13:04:31 +00:00
parent 938c8830fd
commit fb08c61fce
3 changed files with 17 additions and 7 deletions

View file

@ -111,6 +111,10 @@
function dispMemberAdminInfo() { function dispMemberAdminInfo() {
// 추가 가입폼 목록을 받음 // 추가 가입폼 목록을 받음
$oMemberModel = &getModel('member'); $oMemberModel = &getModel('member');
$oModuleModel = &getModel('module');
$member_config = $oModuleModel->getModuleConfig('member');
Context::set('member_config', $member_config);
Context::set('extend_form_list', $oMemberModel->getCombineJoinForm($this->member_info)); Context::set('extend_form_list', $oMemberModel->getCombineJoinForm($this->member_info));
$this->setTemplateFile('member_info'); $this->setTemplateFile('member_info');

View file

@ -55,7 +55,7 @@
</tr> </tr>
<!--@if($member_config->profile_image == 'Y')--> <!--@if($member_config->profile_image == 'Y')-->
<tr> <tr>
<th scope="row">{$lang->profile_image}</th> <th scope="row">{$lang->profile_image}</th>
<td> <td>
<!--@if($member_info->profile_image->src)--> <!--@if($member_info->profile_image->src)-->
@ -69,11 +69,12 @@
<div class="form"><input type="file" name="profile_image" value="" /></div> <div class="form"><input type="file" name="profile_image" value="" /></div>
<a href="#" onclick="doUploadProfileImage();return false;" class="button"><span>{$lang->cmd_registration}</span></a> <a href="#" onclick="doUploadProfileImage();return false;" class="button"><span>{$lang->cmd_registration}</span></a>
</div> </div>
<p>{$lang->profile_image_max_width} : {$member_config->profile_image_max_width}px, {$lang->profile_image_max_height} : {$member_config->profile_image_max_height}px</p>
</td> </td>
</tr> </tr>
<!--@end--> <!--@end-->
<!--@if($member_config->image_name == 'Y')--> <!--@if($member_config->image_name == 'Y')-->
<tr> <tr>
<th scope="row">{$lang->image_name}</th> <th scope="row">{$lang->image_name}</th>
<td> <td>
<!--@if($member_info->image_name->src)--> <!--@if($member_info->image_name->src)-->
@ -87,11 +88,12 @@
<div class="form"><input type="file" name="image_name" value="" /></div> <div class="form"><input type="file" name="image_name" value="" /></div>
<a href="#" onclick="doUploadImageName();return false;" class="button"><span>{$lang->cmd_registration}</span></a> <a href="#" onclick="doUploadImageName();return false;" class="button"><span>{$lang->cmd_registration}</span></a>
</div> </div>
<p>{$lang->image_name_max_width} : {$member_config->image_name_max_width}px, {$lang->image_name_max_height} : {$member_config->image_name_max_height}px</p>
</td> </td>
</tr> </tr>
<!--@end--> <!--@end-->
<!--@if($member_config->image_mark == 'Y')--> <!--@if($member_config->image_mark == 'Y')-->
<tr> <tr>
<th scope="row">{$lang->image_mark}</th> <th scope="row">{$lang->image_mark}</th>
<td> <td>
<!--@if($member_info->image_mark->src)--> <!--@if($member_info->image_mark->src)-->
@ -105,6 +107,7 @@
<div class="form"><input type="file" name="image_mark" value="" /></div> <div class="form"><input type="file" name="image_mark" value="" /></div>
<a href="#" onclick="doUploadImageMark();return false;" class="button"><span>{$lang->cmd_registration}</span></a> <a href="#" onclick="doUploadImageMark();return false;" class="button"><span>{$lang->cmd_registration}</span></a>
</div> </div>
<p>{$lang->image_mark_max_width} : {$member_config->image_mark_max_width}px, {$lang->image_mark_max_height} : {$member_config->image_mark_max_height}px</p>
</td> </td>
</tr> </tr>
<!--@end--> <!--@end-->
@ -167,7 +170,7 @@
</th> </th>
<td> <td>
<!-- 일반 text --> <!-- 일반 text -->
<!--@if($val->column_type == 'text')--> <!--@if($val->column_type == 'text')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" /> <input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!-- 홈페이지 주소 --> <!-- 홈페이지 주소 -->

View file

@ -43,6 +43,7 @@
<input type="file" name="profile_image" value="" /> <input type="file" name="profile_image" value="" />
<span class="button"><input type="submit" value="{$lang->cmd_submit}" /></span> <span class="button"><input type="submit" value="{$lang->cmd_submit}" /></span>
</form> </form>
<p>{$lang->profile_image_max_width} : {$member_config->profile_image_max_width}px, {$lang->profile_image_max_height} : {$member_config->profile_image_max_height}px</p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -65,6 +66,7 @@
<input type="file" name="image_name" value="" /> <input type="file" name="image_name" value="" />
<span class="button"><input type="submit" value="{$lang->cmd_submit}" /></span> <span class="button"><input type="submit" value="{$lang->cmd_submit}" /></span>
</form> </form>
<p>{$lang->image_name_max_width} : {$member_config->image_name_max_width}px, {$lang->image_name_max_height} : {$member_config->image_name_max_height}px</p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -78,7 +80,7 @@
<!--@end--> <!--@end-->
</td> </td>
</tr> </tr>
<tr> <tr>
<td> <td>
<form action="./" method="post" enctype="multipart/form-data" target="hidden_iframe"> <form action="./" method="post" enctype="multipart/form-data" target="hidden_iframe">
<input type="hidden" name="member_srl" value="{$member_info->member_srl}" /> <input type="hidden" name="member_srl" value="{$member_info->member_srl}" />
@ -87,6 +89,7 @@
<input type="file" name="image_mark" value="" /> <input type="file" name="image_mark" value="" />
<span class="button"><input type="submit" value="{$lang->cmd_submit}" /></span> <span class="button"><input type="submit" value="{$lang->cmd_submit}" /></span>
</form> </form>
<p>{$lang->image_mark_max_width} : {$member_config->image_mark_max_width}px, {$lang->image_mark_max_height} : {$member_config->image_mark_max_height}px</p>
</td> </td>
</tr> </tr>
<tr> <tr>
@ -148,9 +151,9 @@
<th scope="row">{htmlspecialchars($val->column_title)}<!--@if($val->is_opened)--> <span class="publicItem">({$lang->public})</span><!--@end--></th> <th scope="row">{htmlspecialchars($val->column_title)}<!--@if($val->is_opened)--> <span class="publicItem">({$lang->public})</span><!--@end--></th>
<td> <td>
<!--@if($val->column_type=='tel')--> <!--@if($val->column_type=='tel')-->
{htmlspecialchars($val->value[0])} {htmlspecialchars($val->value[0])}
<!--@if($val->value[1])-->-<!--@end--> <!--@if($val->value[1])-->-<!--@end-->
{htmlspecialchars($val->value[1])} {htmlspecialchars($val->value[1])}
<!--@if($val->value[2])-->-<!--@end--> <!--@if($val->value[2])-->-<!--@end-->
{htmlspecialchars($val->value[2])} {htmlspecialchars($val->value[2])}
<!--@elseif($val->column_type=='kr_zip')--> <!--@elseif($val->column_type=='kr_zip')-->