mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Remove file upload type from member extra vars
This commit is contained in:
parent
a6d9f84147
commit
102df52ef4
2 changed files with 5 additions and 1 deletions
|
|
@ -307,6 +307,10 @@ class MemberAdminModel extends Member
|
||||||
$id_list = implode(',',$list);
|
$id_list = implode(',',$list);
|
||||||
Context::set('id_list',$id_list);
|
Context::set('id_list',$id_list);
|
||||||
|
|
||||||
|
$extravar_types = lang('common.column_type_list');
|
||||||
|
unset($extravar_types['file']);
|
||||||
|
Context::set('extravar_types', $extravar_types);
|
||||||
|
|
||||||
$oTemplate = TemplateHandler::getInstance();
|
$oTemplate = TemplateHandler::getInstance();
|
||||||
$tpl = $oTemplate->compile($this->module_path.'tpl', 'insert_join_form');
|
$tpl = $oTemplate->compile($this->module_path.'tpl', 'insert_join_form');
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
<label for="columnType" class="x_control-label"><em style="color:red">*</em> {$lang->column_type}</label>
|
<label for="columnType" class="x_control-label"><em style="color:red">*</em> {$lang->column_type}</label>
|
||||||
<div class="x_controls">
|
<div class="x_controls">
|
||||||
<select id="columnType" class="typeSelect" name="column_type">
|
<select id="columnType" class="typeSelect" name="column_type">
|
||||||
<option loop="$lang->column_type_list=>$key,$type_info" value="{$key}" selected="selected"|cond="$formInfo->column_type == $key" >{$lang->column_type_list[$key]}</option>
|
<option loop="$extravar_types=>$key,$type_info" value="{$key}" selected="selected"|cond="$formInfo->column_type == $key" >{$lang->column_type_list[$key]}</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue