Select UI fix. board_insert.html UI cleaning.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12226 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-11-15 02:38:55 +00:00
parent 2cb9487ba1
commit d139d0abd5
18 changed files with 47 additions and 46 deletions

View file

@ -48,7 +48,7 @@
<div class="x_controls"> <div class="x_controls">
<input cond="$var->type == 'text'" type="text" name="{$var->name}" id="{$var->name}" value="{htmlspecialchars($var->value)}"> <input cond="$var->type == 'text'" type="text" name="{$var->name}" id="{$var->name}" value="{htmlspecialchars($var->value)}">
<textarea cond="$var->type == 'textarea'" name="{$var->name}" id="{$var->name}" class="lang_code" rows="8" cols="42">{htmlspecialchars($var->value)}</textarea> <textarea cond="$var->type == 'textarea'" name="{$var->name}" id="{$var->name}" class="lang_code" rows="8" cols="42">{htmlspecialchars($var->value)}</textarea>
<select cond="$var->type == 'select'" name="{$var->name}" id="{$var->name}" style="width:220px"> <select cond="$var->type == 'select'" name="{$var->name}" id="{$var->name}">
<option loop="$var->options => $option" value="{$option->value}" selected="selected"|cond="$var->value == $option->value">{$option->title}</option> <option loop="$var->options => $option" value="{$option->value}" selected="selected"|cond="$var->value == $option->value">{$option->title}</option>
</select> </select>
<span class="x_help-inline">{nl2br($var->description)}</span> <span class="x_help-inline">{nl2br($var->description)}</span>
@ -68,7 +68,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label">{$lang->run_method}</label> <label class="x_control-label">{$lang->run_method}</label>
<div class="x_controls"> <div class="x_controls">
<select name="xe_run_method" style="width:220px"> <select name="xe_run_method">
<option value="run_selected" selected="selected"|cond="$addon_info->xe_run_method === 'run_selected'">{$lang->run_selected_module}</option> <option value="run_selected" selected="selected"|cond="$addon_info->xe_run_method === 'run_selected'">{$lang->run_selected_module}</option>
<option value="no_run_selected" selected="selected"|cond="$addon_info->xe_run_method === 'no_run_selected'">{$lang->no_run_selected_module}</option> <option value="no_run_selected" selected="selected"|cond="$addon_info->xe_run_method === 'no_run_selected'">{$lang->no_run_selected_module}</option>
</select> </select>

View file

@ -83,7 +83,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label" for="menuNameList">{$lang->module}</label> <label class="x_control-label" for="menuNameList">{$lang->module}</label>
<div class="x_controls"> <div class="x_controls">
<select name="menu_name" id="menuNameList" style="width:220px"> <select name="menu_name" id="menuNameList">
</select> </select>
</div> </div>
</div> </div>

View file

@ -40,7 +40,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label for="change_lang_type" class="x_control-label">{$lang->default_lang}</label> <label for="change_lang_type" class="x_control-label">{$lang->default_lang}</label>
<div class="x_controls"> <div class="x_controls">
<select name="change_lang_type" id="change_lang_type" style="width:220px"> <select name="change_lang_type" id="change_lang_type">
<option value="{$key}" selected="selected"|cond="$key==$selected_lang" loop="$lang_supported=>$key,$val">{$val}</option> <option value="{$key}" selected="selected"|cond="$key==$selected_lang" loop="$lang_supported=>$key,$val">{$val}</option>
</select> </select>
</div> </div>

View file

@ -117,7 +117,7 @@ body>.x,
.x label, .x label,
.x input, .x input,
.x button{line-height:16px} .x button{line-height:16px}
.x select{width:auto;padding:0;height:26px;line-height:26px} .x select{padding:0;height:26px;line-height:26px}
.x select[multiple]{height:auto} .x select[multiple]{height:auto}
.x textarea{vertical-align:top} .x textarea{vertical-align:top}
.x .x_tab-content{overflow:visible} .x .x_tab-content{overflow:visible}
@ -135,6 +135,7 @@ body>.x,
.x .section>h2{position:relative;border-bottom:1px dotted #ddd} .x .section>h2{position:relative;border-bottom:1px dotted #ddd}
.x .center{text-align:center} .x .center{text-align:center}
.x .search{margin:20px 0} .x .search{margin:20px 0}
.x .search select{width:auto}
.x .search>input[type="search"]{height:16px;line-height:16px;width:120px} .x .search>input[type="search"]{height:16px;line-height:16px;width:120px}
.x .vr{color:#ccc;font-style:normal} .x .vr{color:#ccc;font-style:normal}
.x .nowr{white-space:nowrap} .x .nowr{white-space:nowrap}

File diff suppressed because one or more lines are too long

View file

@ -15,7 +15,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label for="use_vote_up" class="x_control-label">{$lang->cmd_vote}</label> <label for="use_vote_up" class="x_control-label">{$lang->cmd_vote}</label>
<div class="x_controls"> <div class="x_controls">
<select name="use_vote_up" id="use_vote_up" style="width:220px"> <select name="use_vote_up" id="use_vote_up">
<option value="Y" selected="selected"|cond="$comment_config->use_vote_up=='Y'">{$lang->use}</option> <option value="Y" selected="selected"|cond="$comment_config->use_vote_up=='Y'">{$lang->use}</option>
<option value="S" selected="selected"|cond="$comment_config->use_vote_up=='S'">{$lang->use_and_display}</option> <option value="S" selected="selected"|cond="$comment_config->use_vote_up=='S'">{$lang->use_and_display}</option>
<option value="N" selected="selected"|cond="$comment_config->use_vote_up=='N'">{$lang->notuse}</option> <option value="N" selected="selected"|cond="$comment_config->use_vote_up=='N'">{$lang->notuse}</option>
@ -25,7 +25,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label for="use_vote_down" class="x_control-label">{$lang->cmd_vote_down}</label> <label for="use_vote_down" class="x_control-label">{$lang->cmd_vote_down}</label>
<div class="x_controls"> <div class="x_controls">
<select name="use_vote_down" id="use_vote_down" style="width:220px"> <select name="use_vote_down" id="use_vote_down">
<option value="Y" selected="selected"|cond="$comment_config->use_vote_down=='Y'">{$lang->use}</option> <option value="Y" selected="selected"|cond="$comment_config->use_vote_down=='Y'">{$lang->use}</option>
<option value="S" selected="selected"|cond="$comment_config->use_vote_down=='S'">{$lang->use_and_display}</option> <option value="S" selected="selected"|cond="$comment_config->use_vote_down=='S'">{$lang->use_and_display}</option>
<option value="N" selected="selected"|cond="$comment_config->use_vote_down=='N'">{$lang->notuse}</option> <option value="N" selected="selected"|cond="$comment_config->use_vote_down=='N'">{$lang->notuse}</option>
@ -35,7 +35,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label for="use_comment_validation" class="x_control-label">{$lang->cmd_comment_validation}</label> <label for="use_comment_validation" class="x_control-label">{$lang->cmd_comment_validation}</label>
<div class="x_controls"> <div class="x_controls">
<select name="use_comment_validation" id="use_comment_validation" style="width:220px"> <select name="use_comment_validation" id="use_comment_validation">
<option value="N" selected="selected"|cond="$comment_config->use_comment_validation=='N'">{$lang->notuse}</option> <option value="N" selected="selected"|cond="$comment_config->use_comment_validation=='N'">{$lang->notuse}</option>
<option value="Y" selected="selected"|cond="$comment_config->use_comment_validation=='Y'">{$lang->use}</option> <option value="Y" selected="selected"|cond="$comment_config->use_comment_validation=='Y'">{$lang->use}</option>
</select> </select>

View file

@ -9,7 +9,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label for="use_history" class="x_control-label">{$lang->history}</label> <label for="use_history" class="x_control-label">{$lang->history}</label>
<div class="x_controls"> <div class="x_controls">
<select name="use_history" id="use_history" style="width:220px"> <select name="use_history" id="use_history">
<option value="N" selected="selected"|cond="$document_config->use_history=='N'">{$lang->notuse}</option> <option value="N" selected="selected"|cond="$document_config->use_history=='N'">{$lang->notuse}</option>
<option value="Y" selected="selected"|cond="$document_config->use_history=='Y'">{$lang->use}</option> <option value="Y" selected="selected"|cond="$document_config->use_history=='Y'">{$lang->use}</option>
<option value="Trace" selected="selected"|cond="$document_config->use_history=='Trace'">{$lang->trace_only}</option> <option value="Trace" selected="selected"|cond="$document_config->use_history=='Trace'">{$lang->trace_only}</option>
@ -20,7 +20,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label for="use_vote_up" class="x_control-label">{$lang->cmd_vote}</label> <label for="use_vote_up" class="x_control-label">{$lang->cmd_vote}</label>
<div class="x_controls"> <div class="x_controls">
<select name="use_vote_up" id="use_vote_up" style="width:220px"> <select name="use_vote_up" id="use_vote_up">
<option value="Y" selected="selected"|cond="$document_config->use_vote_up=='Y'">{$lang->use}</option> <option value="Y" selected="selected"|cond="$document_config->use_vote_up=='Y'">{$lang->use}</option>
<option value="S" selected="selected"|cond="$document_config->use_vote_up=='S'">{$lang->use_and_display}</option> <option value="S" selected="selected"|cond="$document_config->use_vote_up=='S'">{$lang->use_and_display}</option>
<option value="N" selected="selected"|cond="$document_config->use_vote_up=='N'">{$lang->notuse}</option> <option value="N" selected="selected"|cond="$document_config->use_vote_up=='N'">{$lang->notuse}</option>
@ -30,7 +30,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label for="use_vote_down" class="x_control-label">{$lang->cmd_vote_down}</label> <label for="use_vote_down" class="x_control-label">{$lang->cmd_vote_down}</label>
<div class="x_controls"> <div class="x_controls">
<select name="use_vote_down" id="use_vote_down" style="width:220px"> <select name="use_vote_down" id="use_vote_down">
<option value="Y" selected="selected"|cond="$document_config->use_vote_down=='Y'">{$lang->use}</option> <option value="Y" selected="selected"|cond="$document_config->use_vote_down=='Y'">{$lang->use}</option>
<option value="S" selected="selected"|cond="$document_config->use_vote_down=='S'">{$lang->use_and_display}</option> <option value="S" selected="selected"|cond="$document_config->use_vote_down=='S'">{$lang->use_and_display}</option>
<option value="N" selected="selected"|cond="$document_config->use_vote_down=='N'">{$lang->notuse}</option> <option value="N" selected="selected"|cond="$document_config->use_vote_down=='N'">{$lang->notuse}</option>

View file

@ -18,20 +18,20 @@
<tr> <tr>
<th scope="row" style="text-align:right">{$lang->editor_skin}</th> <th scope="row" style="text-align:right">{$lang->editor_skin}</th>
<td> <td>
<select name="editor_skin" onchange="getEditorSkinColorList(this.value, null, 'document')" style="width:220px"> <select name="editor_skin" onchange="getEditorSkinColorList(this.value, null, 'document')">
<option loop="$editor_skin_list => $editor" value="{$editor}" selected="selected"|cond="$editor==$editor_config->editor_skin">{$editor}</option> <option loop="$editor_skin_list => $editor" value="{$editor}" selected="selected"|cond="$editor==$editor_config->editor_skin">{$editor}</option>
</select> </select>
<br/> <br/>
<select name="sel_editor_colorset" id="sel_editor_colorset" data-display="none"|cond="!count($editor_colorset_list)" style="width:220px"> <select name="sel_editor_colorset" id="sel_editor_colorset" data-display="none"|cond="!count($editor_colorset_list)">
<option loop="$editor_colorset_list => $key, $val" value="{$val->name}" selected="selected"|cond="$editor_config->sel_editor_colorset == $val->name">{$val->title}</option> <option loop="$editor_colorset_list => $key, $val" value="{$val->name}" selected="selected"|cond="$editor_config->sel_editor_colorset == $val->name">{$val->title}</option>
</select> </select>
</td> </td>
<td> <td>
<select name="comment_editor_skin" onchange="getEditorSkinColorList(this.value, null, 'comment')" style="width:220px"> <select name="comment_editor_skin" onchange="getEditorSkinColorList(this.value, null, 'comment')">
<option loop="$editor_skin_list => $editor" value="{$editor}" selected="selected"|cond="$editor==$editor_config->comment_editor_skin">{$editor}</option> <option loop="$editor_skin_list => $editor" value="{$editor}" selected="selected"|cond="$editor==$editor_config->comment_editor_skin">{$editor}</option>
</select> </select>
<br/> <br/>
<select name="sel_comment_editor_colorset" id="sel_comment_editor_colorset" data-display="none"|cond="!count($editor_comment_colorset_list)" style="width:220px"> <select name="sel_comment_editor_colorset" id="sel_comment_editor_colorset" data-display="none"|cond="!count($editor_comment_colorset_list)">
<option loop="$editor_comment_colorset_list => $key, $val" value="{$val->name}" selected="selected"|cond="$editor_config->sel_comment_editor_colorset == $val->name">{$val->title}</option> <option loop="$editor_comment_colorset_list => $key, $val" value="{$val->name}" selected="selected"|cond="$editor_config->sel_comment_editor_colorset == $val->name">{$val->title}</option>
</select> </select>
</td> </td>
@ -39,12 +39,12 @@
<tr> <tr>
<th scope="row" style="text-align:right">{$lang->content_style}</th> <th scope="row" style="text-align:right">{$lang->content_style}</th>
<td> <td>
<select name="content_style" style="width:220px"> <select name="content_style">
<option loop="$content_style_list => $key, $val" value="{$key}" selected="selected"|cond="$key==$editor_config->content_style||!$editor_config->content_style&&$key=='default'">{$val->title}</option> <option loop="$content_style_list => $key, $val" value="{$key}" selected="selected"|cond="$key==$editor_config->content_style||!$editor_config->content_style&&$key=='default'">{$val->title}</option>
</select> </select>
</td> </td>
<td> <td>
<select name="comment_content_style" style="width:220px"> <select name="comment_content_style">
<option loop="$content_style_list => $key, $val" value="{$key}" selected="selected"|cond="$key==$editor_config->comment_content_style||!$editor_config->comment_content_style&&$key=='default'">{$val->title}</option> <option loop="$content_style_list => $key, $val" value="{$key}" selected="selected"|cond="$key==$editor_config->comment_content_style||!$editor_config->comment_content_style&&$key=='default'">{$val->title}</option>
</select> </select>
</td> </td>

View file

@ -19,7 +19,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label for="skin" class="x_control-label">{$lang->skin}</label> <label for="skin" class="x_control-label">{$lang->skin}</label>
<div class="x_controls"> <div class="x_controls">
<select name="skin" id="skin" style="width:220px"> <select name="skin" id="skin">
<option loop="$skin_list => $key, $val" value="{$key}" selected="selected"|cond="$config->skin == $key">{$val->title}</option> <option loop="$skin_list => $key, $val" value="{$key}" selected="selected"|cond="$config->skin == $key">{$val->title}</option>
</select> </select>
<span class="x_help-block">{$lang->about_skin}</span> <span class="x_help-block">{$lang->about_skin}</span>
@ -28,13 +28,13 @@
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label">{$lang->target}</label> <label class="x_control-label">{$lang->target}</label>
<div class="x_controls"> <div class="x_controls">
<select name="target" style="width:220px"> <select name="target">
<option value="include">{$lang->include_search_target}</option> <option value="include">{$lang->include_search_target}</option>
<option value="exclude" selected="selected"|cond="$config->target=='exclude'">{$lang->exclude_search_target}</option> <option value="exclude" selected="selected"|cond="$config->target=='exclude'">{$lang->exclude_search_target}</option>
</select> </select>
<input type="hidden" name="target_module_srl" id="target_module_srl" value="{$config->target_module_srl}" /> <input type="hidden" name="target_module_srl" id="target_module_srl" value="{$config->target_module_srl}" />
<select class="modulelist_selected" size="8" multiple="multiple" style="display:block;width:220px;vertical-align:top;margin:5px 0"></select> <select class="modulelist_selected" size="8" multiple="multiple" style="display:block;vertical-align:top;margin:5px 0"></select>
<a href="#" id="__module_srl_list_target_module_srl" class="x_btn moduleTrigger" data-multiple="true" style="margin:0 -5px 0 0;border-radius:2px 0 0 0px">{$lang->cmd_add}</a> <a href="#" id="__module_srl_list_target_module_srl" class="x_btn moduleTrigger" data-multiple="true" style="margin:0 -5px 0 0;border-radius:2px 0 0 0px">{$lang->cmd_add}</a>
<button type="button" class="x_btn modulelist_del" style="border-radius:0 2px 2px 0">{$lang->cmd_delete}</button> <button type="button" class="x_btn modulelist_del" style="border-radius:0 2px 2px 0">{$lang->cmd_delete}</button>
<script> <script>

View file

@ -90,7 +90,7 @@
</form> </form>
</block> </block>
<select cond="$var->type == 'select'" name="{$name}" id="{$name}" style="width:220px;"> <select cond="$var->type == 'select'" name="{$name}" id="{$name}">
<option loop="$var->options => $key, $val" value="{$key}" selected="selected"|cond="$key == $var->value">{$val->val}</option> <option loop="$var->options => $key, $val" value="{$key}" selected="selected"|cond="$key == $var->value">{$val->val}</option>
</select> </select>
@ -124,7 +124,7 @@
<div loop="$selected_layout->menu => $menu_name, $menu_info" class="x_control-group"> <div loop="$selected_layout->menu => $menu_name, $menu_info" class="x_control-group">
<label class="x_control-label" for="{$menu_name}">{$menu_info->title}({$menu_name})</label> <label class="x_control-label" for="{$menu_name}">{$menu_info->title}({$menu_name})</label>
<div class="x_controls"> <div class="x_controls">
<select name="{$menu_name}" id="{$menu_name}" style="width:220px"> <select name="{$menu_name}" id="{$menu_name}">
<option value="0">{$lang->cmd_select}</option> <option value="0">{$lang->cmd_select}</option>
<option selected="selected"|cond="!$menu_info->menu_srl||$menu_info->menu_srl == -1" value="-1">{$lang->sitemap_with_homemenu}</option> <option selected="selected"|cond="!$menu_info->menu_srl||$menu_info->menu_srl == -1" value="-1">{$lang->sitemap_with_homemenu}</option>
<option loop="$menu_list => $key, $val" value="{$val->menu_srl}" selected="selected"|cond="$val->menu_srl == $menu_info->menu_srl">{$val->title}</option> <option loop="$menu_list => $key, $val" value="{$val->menu_srl}" selected="selected"|cond="$val->menu_srl == $menu_info->menu_srl">{$val->title}</option>

View file

@ -431,7 +431,7 @@
,$lang->cmd_delete); ,$lang->cmd_delete);
}elseif($formInfo->name == 'find_account_question'){ }elseif($formInfo->name == 'find_account_question'){
$formTag->type = 'select'; $formTag->type = 'select';
$inputTag = '<select name="find_account_question" id="find_account_question" style="width:220px;display:block;margin:0 0 8px 0">%s</select>'; $inputTag = '<select name="find_account_question" id="find_account_question" style="display:block;margin:0 0 8px 0">%s</select>';
$optionTag = array(); $optionTag = array();
foreach($lang->find_account_question_items as $key=>$val){ foreach($lang->find_account_question_items as $key=>$val){
if($key == $memberInfo['find_account_question']) $selected = 'selected="selected"'; if($key == $memberInfo['find_account_question']) $selected = 'selected="selected"';

View file

@ -7,7 +7,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label" for="layout">{$lang->layout}</label> <label class="x_control-label" for="layout">{$lang->layout}</label>
<div class="x_controls"> <div class="x_controls">
<select id="layout" name="layout_srl" style="width:220px"> <select id="layout" name="layout_srl">
<option value="0">{$lang->notuse}</option> <option value="0">{$lang->notuse}</option>
<option loop="$layout_list => $key,$val" value="{$val->layout_srl}" selected="selected"|cond="$val->layout_srl == $config->layout_srl">{$val->title} ({$val->layout})</option> <option loop="$layout_list => $key,$val" value="{$val->layout_srl}" selected="selected"|cond="$val->layout_srl == $config->layout_srl">{$val->title} ({$val->layout})</option>
</select> </select>
@ -16,7 +16,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label" for="skin">{$lang->skin}</label> <label class="x_control-label" for="skin">{$lang->skin}</label>
<div class="x_controls"> <div class="x_controls">
<select id="skin" name="skin" onchange="doGetSkinColorset(this.options[this.selectedIndex].value)" style="width:220px"> <select id="skin" name="skin" onchange="doGetSkinColorset(this.options[this.selectedIndex].value)">
<option loop="$skin_list=>$key,$val" value="{$key}" selected="selected"|cond="$config->skin==$key">{$val->title} ({$key})</option> <option loop="$skin_list=>$key,$val" value="{$key}" selected="selected"|cond="$config->skin==$key">{$val->title} ({$key})</option>
</select> </select>
</div> </div>
@ -28,7 +28,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label" for="mlayout">{$lang->mobile_layout}</label> <label class="x_control-label" for="mlayout">{$lang->mobile_layout}</label>
<div class="x_controls"> <div class="x_controls">
<select id="mlayout" name="mlayout_srl" style="width:220px"> <select id="mlayout" name="mlayout_srl">
<option value="0">{$lang->notuse}</option> <option value="0">{$lang->notuse}</option>
<option loop="$mlayout_list => $key,$val" value="{$val->layout_srl}" selected="selected"|cond="$val->layout_srl == $config->mlayout_srl">{$val->title} ({$val->layout})</option> <option loop="$mlayout_list => $key,$val" value="{$val->layout_srl}" selected="selected"|cond="$val->layout_srl == $config->mlayout_srl">{$val->title} ({$val->layout})</option>
</select> </select>
@ -37,7 +37,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label" for="mskin">{$lang->mobile_skin}</label> <label class="x_control-label" for="mskin">{$lang->mobile_skin}</label>
<div class="x_controls"> <div class="x_controls">
<select id="mskin" name="mskin" style="width:220px"> <select id="mskin" name="mskin">
<option loop="$mskin_list=>$key,$val" value="{$key}" selected="selected"|cond="$config->mskin==$key">{$val->title} ({$key})</option> <option loop="$mskin_list=>$key,$val" value="{$key}" selected="selected"|cond="$config->mskin==$key">{$val->title} ({$key})</option>
</select> </select>
</div> </div>

View file

@ -19,7 +19,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label for="columnType" class="x_control-label">{$lang->column_type} *</label> <label for="columnType" class="x_control-label">{$lang->column_type} *</label>
<div class="x_controls"> <div class="x_controls">
<select id="columnType" class="typeSelect" name="column_type" style="width:220px"> <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="$lang->column_type_list=>$key,$type_info" value="{$key}" selected="selected"|cond="$formInfo->column_type == $key" >{$lang->column_type_list[$key]}</option>
</select> </select>
</div> </div>

View file

@ -12,7 +12,7 @@
<div loop="$grant_list => $grant_name, $grant_item" class="x_control-group"> <div loop="$grant_list => $grant_name, $grant_item" class="x_control-group">
<label class="x_control-label" for="{$grant_name}_default">{$grant_item->title}</label> <label class="x_control-label" for="{$grant_name}_default">{$grant_item->title}</label>
<div class="x_controls"> <div class="x_controls">
<select name="{$grant_name}_default" id="{$grant_name}_default" class="grant_default" style="width:220px"> <select name="{$grant_name}_default" id="{$grant_name}_default" class="grant_default">
<option value="0" cond="$grant_item->default == 'guest'">{$lang->grant_to_all}</option> <option value="0" cond="$grant_item->default == 'guest'">{$lang->grant_to_all}</option>
<option value="-1" cond="$grant_item->default != 'manager'">{$lang->grant_to_login_user}</option> <option value="-1" cond="$grant_item->default != 'manager'">{$lang->grant_to_login_user}</option>
<option value="-2" cond="$grant_item->default != 'manager'" selected="selected"|cond="$default_grant[$grant_name]=='site'">{$lang->grant_to_site_user}</option> <option value="-2" cond="$grant_item->default != 'manager'" selected="selected"|cond="$default_grant[$grant_name]=='site'">{$lang->grant_to_site_user}</option>

View file

@ -6,7 +6,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label" for="module_category_srl">{$lang->module_category}</label> <label class="x_control-label" for="module_category_srl">{$lang->module_category}</label>
<div class="x_controls"> <div class="x_controls">
<select name="module_category_srl" id="module_category_srl" style="width:220px"> <select name="module_category_srl" id="module_category_srl">
<option value="" selected="selected">{$lang->keep_existing_value}</option> <option value="" selected="selected">{$lang->keep_existing_value}</option>
<option value="0">{$lang->notuse}</option> <option value="0">{$lang->notuse}</option>
<option loop="$module_category => $key, $val" value="{$key}" selected="selected"|cond="$module_info->module_category_srl==$key">{$val->title}</option> <option loop="$module_category => $key, $val" value="{$key}" selected="selected"|cond="$module_info->module_category_srl==$key">{$val->title}</option>
@ -17,7 +17,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label" for="layout_srl">{$lang->layout}</label> <label class="x_control-label" for="layout_srl">{$lang->layout}</label>
<div class="x_controls"> <div class="x_controls">
<select name="layout_srl" id="layout_srl" style="width:220px"> <select name="layout_srl" id="layout_srl">
<option value="" selected="selected">{$lang->keep_existing_value}</option> <option value="" selected="selected">{$lang->keep_existing_value}</option>
<option value="0">{$lang->notuse}</option> <option value="0">{$lang->notuse}</option>
<option loop="$layout_list => $key, $val" value="{$val->layout_srl}" selected="selected"|cond="$module_info->layout_srl==$val->layout_srl">{$val->title} ({$val->layout})</option> <option loop="$layout_list => $key, $val" value="{$val->layout_srl}" selected="selected"|cond="$module_info->layout_srl==$val->layout_srl">{$val->title} ({$val->layout})</option>
@ -28,7 +28,7 @@
<div class="x_control-group" cond="count($skin_list)"> <div class="x_control-group" cond="count($skin_list)">
<label class="x_control-label" for="skin">{$lang->skin}</label> <label class="x_control-label" for="skin">{$lang->skin}</label>
<div class="x_controls"> <div class="x_controls">
<select name="skin" id="skin" style="width:220px"> <select name="skin" id="skin">
<option value="" selected="selected">{$lang->keep_existing_value}</option> <option value="" selected="selected">{$lang->keep_existing_value}</option>
<option loop="$skin_list => $key, $val" value="{$key}" selected="selected"|cond="$module_info->skin==$key">{$val->title}</option> <option loop="$skin_list => $key, $val" value="{$key}" selected="selected"|cond="$module_info->skin==$key">{$val->title}</option>
</select> </select>
@ -38,7 +38,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label" for="mlayout_srl">{$lang->mobile_layout}</label> <label class="x_control-label" for="mlayout_srl">{$lang->mobile_layout}</label>
<div class="x_controls"> <div class="x_controls">
<select name="mlayout_srl" id="mlayout_srl" style="width:220px"> <select name="mlayout_srl" id="mlayout_srl">
<option value="" selected="selected">{$lang->keep_existing_value}</option> <option value="" selected="selected">{$lang->keep_existing_value}</option>
<option value="0">{$lang->notuse}</option> <option value="0">{$lang->notuse}</option>
<option loop="$mlayout_list => $key, $val" value="{$val->layout_srl}" selected="selected"|cond="$module_info->mlayout_srl== $val->layout_srl">{$val->title} ({$val->layout})</option> <option loop="$mlayout_list => $key, $val" value="{$val->layout_srl}" selected="selected"|cond="$module_info->mlayout_srl== $val->layout_srl">{$val->title} ({$val->layout})</option>
@ -48,7 +48,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label" for="mskin">{$lang->mobile_skin}</label> <label class="x_control-label" for="mskin">{$lang->mobile_skin}</label>
<div class="x_controls"> <div class="x_controls">
<select name="mskin" id="mskin" style="width:220px"> <select name="mskin" id="mskin">
<option value="" selected="selected">{$lang->keep_existing_value}</option> <option value="" selected="selected">{$lang->keep_existing_value}</option>
<option loop="$mskin_list=> $key, $val" value="{$key}" selected="selected"|cond="$module_info->mskin== $key">{$val->title}</option> <option loop="$mskin_list=> $key, $val" value="{$key}" selected="selected"|cond="$module_info->mskin== $key">{$val->title}</option>
</select> </select>

View file

@ -20,7 +20,7 @@
</label> </label>
<div class="x_controls"> <div class="x_controls">
<div class="x_input-append" style="margin-bottom:8px"> <div class="x_input-append" style="margin-bottom:8px">
<select name="_admin_member" multiple="multiple" size="{count($admin_member)?count($admin_member):1}" style="width:220px"> <select name="_admin_member" multiple="multiple" size="{count($admin_member)?count($admin_member):1}">
<option loop="$admin_member => $key, $val" value="{$val->email_address}"|cond="$member_config->identifier=='email_address'" value="{$val->user_id}"|cond="$member_config->identifier!='email_address'"> <option loop="$admin_member => $key, $val" value="{$val->email_address}"|cond="$member_config->identifier=='email_address'" value="{$val->user_id}"|cond="$member_config->identifier!='email_address'">
{$val->nick_name} (<block cond="$member_config->identifier=='email_address'">{$val->email_address}</block><block cond="$member_config->identifier!='email_address'">{$val->user_id}</block>) {$val->nick_name} (<block cond="$member_config->identifier=='email_address'">{$val->email_address}</block><block cond="$member_config->identifier!='email_address'">{$val->user_id}</block>)
</option> </option>

View file

@ -11,7 +11,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label for="open_rss" class="x_control-label">{$lang->open_rss}</label> <label for="open_rss" class="x_control-label">{$lang->open_rss}</label>
<div class="x_controls"> <div class="x_controls">
<select name="open_rss" id="open_rss" style="width:220px"> <select name="open_rss" id="open_rss">
<option loop="$lang->open_rss_types => $key, $val" value="{$key}" selected="selected"|cond="(!$rss_config->open_rss && $key == 'N') || ($rss_config->open_rss == $key)">{$val}</option> <option loop="$lang->open_rss_types => $key, $val" value="{$key}" selected="selected"|cond="(!$rss_config->open_rss && $key == 'N') || ($rss_config->open_rss == $key)">{$val}</option>
</select> </select>
</div> </div>
@ -19,7 +19,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label for="open_total_feed" class="x_control-label">{$lang->open_feed_to_total}</label> <label for="open_total_feed" class="x_control-label">{$lang->open_feed_to_total}</label>
<div class="x_controls"> <div class="x_controls">
<select name="open_total_feed" id="open_total_feed" style="width:220px"> <select name="open_total_feed" id="open_total_feed">
<option value="N" selected="selected"|cond="!$rss_config->open_total_feed || $rss_config->open_total_feed == 'N'">{$lang->use}</option> <option value="N" selected="selected"|cond="!$rss_config->open_total_feed || $rss_config->open_total_feed == 'N'">{$lang->use}</option>
<option value="T_N" selected="selected"|cond="$rss_config->open_total_feed == 'T_N'">{$lang->notuse}</option> <option value="T_N" selected="selected"|cond="$rss_config->open_total_feed == 'T_N'">{$lang->notuse}</option>
</select> </select>

View file

@ -5,7 +5,7 @@
<div class="x_control-group" style="border-top:0;padding-top:0"> <div class="x_control-group" style="border-top:0;padding-top:0">
<label class="x_control-label" for="skin">{$lang->skin}</label> <label class="x_control-label" for="skin">{$lang->skin}</label>
<div class="x_controls"> <div class="x_controls">
<select name="skin" id="skin" style="width:220px"> <select name="skin" id="skin">
<option value="">{$lang->select}</option> <option value="">{$lang->select}</option>
<option loop="$skin_list => $skin_name, $skin" value="{$skin_name}">{$skin->title} ({$skin_name})</option> <option loop="$skin_list => $skin_name, $skin" value="{$skin_name}">{$skin->title} ({$skin_name})</option>
</select> </select>
@ -15,7 +15,7 @@
<div class="x_control-group"> <div class="x_control-group">
<label class="x_control-label" for="colorset">{$lang->colorset}</label> <label class="x_control-label" for="colorset">{$lang->colorset}</label>
<div class="x_controls"> <div class="x_controls">
<select name="colorset" id="widget_colorset" style="width:220px"> <select name="colorset" id="widget_colorset">
</select> </select>
</div> </div>
</div> </div>
@ -47,7 +47,7 @@
<div cond="$var->type == 'textarea'"> <div cond="$var->type == 'textarea'">
<textarea cond="$var->type == 'textarea'" name="{$id}" id="{$id}" rows="8" cols="42"></textarea> <textarea cond="$var->type == 'textarea'" name="{$id}" id="{$id}" rows="8" cols="42"></textarea>
</div> </div>
<select cond="$var->type == 'select'" name="{$id}" id="{$id}" style="width:220px"> <select cond="$var->type == 'select'" name="{$id}" id="{$id}">
<option loop="$var->options => $key, $val" value="{$key}">{$val}</option> <option loop="$var->options => $key, $val" value="{$key}">{$val}</option>
</select> </select>
<block cond="$var->type == 'select-multi-order'"> <block cond="$var->type == 'select-multi-order'">
@ -59,7 +59,7 @@
<!--@end--> <!--@end-->
<div style="display:inline-block"> <div style="display:inline-block">
<label>{$lang->display_no}</label> <label>{$lang->display_no}</label>
<select class="multiorder_show" size="8" multiple="multiple" style="width:220px;vertical-align:top;margin-bottom:5px"> <select class="multiorder_show" size="8" multiple="multiple" style="vertical-align:top;margin-bottom:5px">
<option loop="$var->options => $key, $val" cond="!$var->init_options[$key]" value="{$key}" default="true"|cond="$var->default_options[$key]">{$val}</option> <option loop="$var->options => $key, $val" cond="!$var->init_options[$key]" value="{$key}" default="true"|cond="$var->default_options[$key]">{$val}</option>
</select> </select>
<br> <br>
@ -67,7 +67,7 @@
</div> </div>
<div style="display:inline-block"> <div style="display:inline-block">
<label>{$lang->display_yes}</label> <label>{$lang->display_yes}</label>
<select class="multiorder_selected" size="8" multiple="multiple" style="width:220px;vertical-align:top;margin-bottom:5px"> <select class="multiorder_selected" size="8" multiple="multiple" style="vertical-align:top;margin-bottom:5px">
<option loop="$var->options => $key, $val" cond="$var->init_options[$key]" value="{$key}" default="true"|cond="$var->default_options[$key]">{$val}</option> <option loop="$var->options => $key, $val" cond="$var->init_options[$key]" value="{$key}" default="true"|cond="$var->default_options[$key]">{$val}</option>
</select> </select>
<br> <br>
@ -97,7 +97,7 @@
</block> </block>
<block cond="$var->type == 'module_srl_list'"> <block cond="$var->type == 'module_srl_list'">
<input type="hidden" name="{$id}" value="" /> <input type="hidden" name="{$id}" value="" />
<select class="modulelist_selected" size="8" multiple="multiple" style="width:220px;vertical-align:top;margin-bottom:5px"></select> <select class="modulelist_selected" size="8" multiple="multiple" style="vertical-align:top;margin-bottom:5px"></select>
<p class="x_help-inline">{$var->description}</p> <p class="x_help-inline">{$var->description}</p>
<br> <br>
<a href="#" id="__module_srl_list_{$id}" class="x_btn moduleTrigger" data-multiple="true" style="margin:0 -5px 0 0;border-radius:2px 0 0 2px">{$lang->cmd_add}</a> <a href="#" id="__module_srl_list_{$id}" class="x_btn moduleTrigger" data-multiple="true" style="margin:0 -5px 0 0;border-radius:2px 0 0 2px">{$lang->cmd_add}</a>
@ -110,7 +110,7 @@
</block> </block>
<block cond="$var->type == 'mid'"> <block cond="$var->type == 'mid'">
<input type="hidden" name="{$id}" value="" /> <input type="hidden" name="{$id}" value="" />
<input type="text" style="width:220px" readonly="readonly" /> <input type="text" readonly="readonly" />
<a href="#" class="x_btn moduleTrigger">{$lang->cmd_select}</a> <a href="#" class="x_btn moduleTrigger">{$lang->cmd_select}</a>
<button type="button" class="x_btn delete">{$lang->cmd_delete}</button> <button type="button" class="x_btn delete">{$lang->cmd_delete}</button>
<script> <script>
@ -122,7 +122,7 @@
<input type="hidden" name="{$id}" /> <input type="hidden" name="{$id}" />
<a class="x_btn x_btn-mini modalAnchor filebox" href="#modalFilebox">{$lang->cmd_select}</a> <a class="x_btn x_btn-mini modalAnchor filebox" href="#modalFilebox">{$lang->cmd_select}</a>
</block> </block>
<select cond="$var->type == 'menu'" name="{$id}" style="width:220px"> <select cond="$var->type == 'menu'" name="{$id}">
<option value="">-</option> <option value="">-</option>
<option loop="$menu_list => $key, $val" value="{$val->menu_srl}">{$val->title}</option> <option loop="$menu_list => $key, $val" value="{$val->menu_srl}">{$val->title}</option>
</select> </select>