Admin HTML Markup Clean.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9371 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2011-09-27 09:50:44 +00:00
parent 773c18bde2
commit 12ca869ccd
75 changed files with 2992 additions and 3093 deletions

View file

@ -1,17 +1,11 @@
<!--%import("popup.js")-->
<!--%import("popup.css")-->
<!--%import("../lang")-->
<div id="popHeader">
<h3 class="xeAdmin">{$component_info->title} ver. {$component_info->version}</h3>
</div>
<h1 class="h1">{$component_info->title} ver. {$component_info->version}</h1>
<form action="./" method="get" onSubmit="return false" id="fo">
<input type="hidden" name="editor_sequence" value="{$editor_sequence}" />
<div id="popBody">
<table cellspacing="0" class="rowTable">
<input type="hidden" name="editor_sequence" value="{$editor_sequence}" />
<div class="table">
<table width="100%" border="1" cellspacing="0">
<col width="120" />
<col />
<tr>
@ -79,10 +73,8 @@
</tr>
</table>
</div>
<div id="popFooter">
<a href="#" onclick="insertSlideShow()" class="button black strong"><span>{$lang->cmd_insert}</span></a>
<a href="#" onclick="winopen('./?module=editor&amp;act=dispEditorComponentInfo&amp;component_name={$component_info->component_name}','ComponentInfo','left=10,top=10,width=10,height=10,resizable=no,scrollbars=no,toolbars=no');return false;" class="button"><span>{$lang->about_component}</span></a>
<div class="btnArea">
<span class="btn"><button type="button" onclick="insertSlideShow()">{$lang->cmd_insert}</button></span>
<span class="btn"><a href="./?module=editor&amp;act=dispEditorComponentInfo&amp;component_name={$component_info->component_name}" target="_blank" onclick="window.open('this.href','ComponentInfo','width=10,height=10');return false;">{$lang->about_component}</a></span>
</div>
</form>

View file

@ -1,18 +1,13 @@
<!--%import("popup.js")-->
<!--%import("popup.css")-->
<!--%import("../lang")-->
<div id="popHeader">
<h3 class="xeAdmin">{$component_info->title} ver. {$component_info->version}</h3>
</div>
<h1 class="h1">{$component_info->title} ver. {$component_info->version}</h1>
<form action="./" method="get" onSubmit="return false" id="fo">
<div id="popBody">
<table cellspacing="0" class="rowTable">
<div class="table">
<table width="100%" border="1" cellspacing="0">
<col width="100" />
<col />
<tr>
<th scope="row"><div>{$lang->image_url}</div></th>
<td><input type="text" id="image_url" value="{url_decode($manual_url)}" class="inputTypeText w400" /></td>
@ -85,9 +80,9 @@
</tr>
</table>
</div>
<div id="popFooter" class="tCenter">
<a href="#" id="btn_insert" class="button black strong"><span>{$lang->cmd_insert}</span></a>
<a href="#" onclick="winopen('./?module=editor&amp;act=dispEditorComponentInfo&amp;component_name={$component_info->component_name}','ComponentInfo','left=10,top=10,width=10,height=10,resizable=no,scrollbars=no,toolbars=no');return false;" class="button"><span>{$lang->about_component}</span></a>
<div class="btnArea">
<span class="btn"><button type="button" id="btn_insert">{$lang->cmd_insert}</button></span>
<span class="btn"><a href="./?module=editor&amp;act=dispEditorComponentInfo&amp;component_name={$component_info->component_name}" target="_blank" onclick="window.open('this.href','ComponentInfo','width=10,height=10');return false;">{$lang->about_component}</a></span>
</div>
</form>

View file

@ -6,14 +6,10 @@
<load target="popup.min.css" />
<load target="popup.min.js" />
<!--@end-->
<div id="popHeader">
<h3 class="xeAdmin">{$component_info->title} ver. {$component_info->version}</h3>
</div>
<h1 class="h1">{$component_info->title} ver. {$component_info->version}</h1>
<form action="./" method="get" onsubmit="return false" id="fo">
<div id="popBody">
<table cellspacing="0" class="rowTable">
<div class="table">
<table width="100%" border="1" cellspacing="0">
<col width="150" />
<col />
<tr>
@ -48,9 +44,9 @@
</td>
</table>
</div>
<div id="popFooter">
<a href="#" class="button black strong _insert"><span>{$lang->cmd_insert}</span></a>
<a href="./?module=editor&amp;act=dispEditorComponentInfo&amp;component_name={$component_info->component_name}" class="button _xe_popup"><span>{$lang->about_component}</span></a>
<div class="btnArea">
<span class="btn"><button type="button">{$lang->cmd_insert}</button></span>
<span class="btn"><a href="./?module=editor&amp;act=dispEditorComponentInfo&amp;component_name={$component_info->component_name}" target="_blank">{$lang->about_component}</a></span>
</div>
</form>

View file

@ -10,19 +10,13 @@
var msg_poll_cannot_modify = "{$lang->msg_poll_cannot_modify}";
</script>
<div id="popHeader" class="wide">
<h3 class="xeAdmin">{$component_info->title} ver. {$component_info->version}</h3>
</div>
<h1 class="h1">{$component_info->title} ver. {$component_info->version}</h1>
<form action="./" method="post" id="fo_component" onSubmit="procFilter(this, insert_poll); return false;">
<input type="hidden" name="component" value="{$component_info->component_name}" />
<input type="hidden" name="method" value="insertPoll" />
<input type="hidden" name="poll_srl" value="" />
<div id="popBody">
<table cellspacing="0" class="rowTable">
<input type="hidden" name="component" value="{$component_info->component_name}" />
<input type="hidden" name="method" value="insertPoll" />
<input type="hidden" name="poll_srl" value="" />
<div class="table">
<table width="100%" border="1" cellspacing="0">
<col width="100" />
<col />
<tr>
@ -62,7 +56,6 @@
</td>
</tr>
</table>
<div id="poll_source" class="clear" style="display:none">
<div class="clear"></div>
@ -93,14 +86,10 @@
<button type="button" class="_del_item">{$lang->cmd_del_item}</button>
<button type="button" class="_del_poll">{$lang->cmd_del_poll}</button>
</div>
</div>
<div id="popFooter">
<span class="button black strong"><input type="submit" value="{$lang->cmd_submit}" /></span>
<button type="button" id="add_poll">{$lang->cmd_add_poll}</button>
<a href="./?module=editor&amp;act=dispEditorComponentInfo&amp;component_name={$component_info->component_name}" class="button _xe_popup"><span>{$lang->about_component}</span></a>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_submit}" /></span>
<span class="btn"><button type="button" id="add_poll">{$lang->cmd_add_poll}</button></span>
<span class="btn"><a href="./?module=editor&amp;act=dispEditorComponentInfo&amp;component_name={$component_info->component_name}" target="_blank">{$lang->about_component}</a></span>
</div>
</form>

View file

@ -1,211 +1,211 @@
<!--%import("filter/insert_editor_module_config.xml")-->
<load target="js/editor_module_config.js" usecdn="true" />
<form action="./" method="post" onsubmit="return procFilter(this, insert_editor_module_config)">
<input type="hidden" name="target_module_srl" value="{$module_info->module_srl?$module_info->module_srl:$module_srls}" />
<h4 class="xeAdmin">{$lang->editor}</h4>
<table cellspacing="0" class="crossTable">
<thead>
<tr>
<th scope="col"><div>&nbsp;</div></th>
<th scope="col" class="half_wide"><div>{$lang->document}</div></th>
<th scope="col" class="half_wide"><div>{$lang->comment}</div></th>
</tr>
</thead>
<tbody>
<tr>
<th rowspan="2"><div>{$lang->editor_skin}</div></th>
<td colspan="2"><p>{$lang->about_editor_skin}</p></td>
</tr>
<tr>
<td>
<select name="editor_skin" onchange="getEditorSkinColorList(this.value, null, 'document')">
<!--@foreach($editor_skin_list as $editor)-->
<option value="{$editor}" <!--@if($editor==$editor_config->editor_skin)-->selected="selected"<!--@end-->>{$editor}</option>
<!--@end-->
</select>
<br/>
<select name="sel_editor_colorset" id="sel_editor_colorset"<!--@if(!count($editor_colorset_list))--> style="display:none"<!--@end-->>
<!--@foreach($editor_colorset_list as $key => $val)-->
<option value="{$val->name}" <!--@if($editor_config->sel_editor_colorset == $val->name)-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
</td>
<td>
<select name="comment_editor_skin" onchange="getEditorSkinColorList(this.value, null, 'comment')">
<!--@foreach($editor_skin_list as $editor)-->
<option value="{$editor}" <!--@if($editor==$editor_config->comment_editor_skin)-->selected="selected"<!--@end-->>{$editor}</option>
<!--@end-->
</select>
<br/>
<select name="sel_comment_editor_colorset" id="sel_comment_editor_colorset"<!--@if(!count($editor_comment_colorset_list))--> style="display:none"<!--@end-->>
<!--@foreach($editor_comment_colorset_list as $key => $val)-->
<option value="{$val->name}" <!--@if($editor_config->sel_comment_editor_colorset == $val->name)-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->content_style}</div></th>
<td colspan="2"><p>{$lang->about_content_style}</p></td>
</tr>
<tr>
<td>
<select name="content_style">
<!--@foreach($content_style_list as $key => $val)-->
<option value="{$key}" <!--@if($key==$editor_config->content_style||!$editor_config->content_style&&$key=='default')-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
</td>
<td>
<select name="comment_content_style">
<!--@foreach($content_style_list as $key => $val)-->
<option value="{$key}" <!--@if($key==$editor_config->comment_content_style||!$editor_config->comment_content_style&&$key=='default')-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->content_font}</div></th>
<td colspan="2"><p>{$lang->about_content_font}</p></td>
</tr>
<tr>
<td colspan="2">
<input type="text" name="content_font" value="{str_replace(array('"','\''),'',$editor_config->content_font)}" class="inputTypeText w400" />
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->content_font_size}</div></th>
<td colspan="2"><p>{$lang->about_content_font_size}</p></td>
</tr>
<tr>
<td colspan="2">
<input type="text" name="content_font_size" value="{$editor_config->content_font_size}" class="inputTypeText w80" />
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->editor_height}</div></th>
<td colspan="2"><p>{$lang->about_editor_height}</p></td>
</tr>
<tr>
<td>
<input type="text" name="editor_height" value="{$editor_config->editor_height}" class="inputTypeText w80" />px
</td>
<td>
<input type="text" name="comment_editor_height" value="{$editor_config->comment_editor_height}" class="inputTypeText w80" />px
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->enable_autosave}</div></th>
<td colspan="2"><p>{$lang->about_enable_autosave}</p></td>
</tr>
<tr>
<td colspan="2"><input type="checkbox" value="Y" name="enable_autosave" <!--@if($editor_config->enable_autosave=='Y')-->checked="checked"<!--@end-->/></td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->enable_html_grant}</div></th>
<td colspan="2"><p>{$lang->about_enable_html_grant}</p></td>
</tr>
<tr>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="enable_html_grant" value="{$k}" id="enable_html_{$k}" <!--@if(in_array($k, $editor_config->enable_html_grant))-->checked="checked"<!--@end-->/> <label for="enable_html_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('enable_html_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('enable_html_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="enable_comment_html_grant" value="{$k}" id="enable_comment_html_{$k}" <!--@if(in_array($k, $editor_config->enable_comment_html_grant))-->checked="checked"<!--@end-->/> <label for="enable_comment_html_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('enable_comment_html_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('enable_comment_html_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->upload_file_grant}</div></th>
<td colspan="2"><p>{$lang->about_upload_file_grant}</p></td>
</tr>
<tr>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="upload_file_grant" value="{$k}" id="fileupload_{$k}" <!--@if(in_array($k, $editor_config->upload_file_grant))-->checked="checked"<!--@end-->/> <label for="fileupload_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('upload_file_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('upload_file_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="comment_upload_file_grant" value="{$k}" id="comment_fileupload_{$k}" <!--@if(in_array($k, $editor_config->comment_upload_file_grant))-->checked="checked"<!--@end-->/> <label for="comment_fileupload_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('comment_upload_file_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('comment_upload_file_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->enable_default_component_grant}</div></th>
<td colspan="2"><p>{$lang->about_default_component_grant}</p></td>
</tr>
<tr>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="enable_default_component_grant" value="{$k}" id="default_componen_{$k}" <!--@if(in_array($k, $editor_config->enable_default_component_grant))-->checked="checked"<!--@end-->/> <label for="default_componen_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('enable_default_component_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('enable_default_component_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="enable_comment_default_component_grant" value="{$k}" id="comment_default_component_{$k}" <!--@if(in_array($k, $editor_config->enable_comment_default_component_grant))-->checked="checked"<!--@end-->/> <label for="comment_default_component_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('enable_comment_default_component_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('enable_comment_default_component_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->enable_component_grant}</div></th>
<td colspan="2"><p>{$lang->about_component_grant}</p></td>
</tr>
<tr>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="enable_component_grant" value="{$k}" id="componen_{$k}" <!--@if(in_array($k, $editor_config->enable_component_grant))-->checked="checked"<!--@end-->/> <label for="componen_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('enable_component_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('enable_component_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="enable_comment_component_grant" value="{$k}" id="comment_component_{$k}" <!--@if(in_array($k, $editor_config->enable_comment_component_grant))-->checked="checked"<!--@end-->/> <label for="comment_component_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('enable_comment_component_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('enable_comment_component_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
</tr>
<tr>
<th class="button" colspan="3">
<span class="button black strong"><input type="submit" value="{$lang->cmd_save}"/></span>
</th>
</tr>
</tbody>
</table>
<input type="hidden" name="target_module_srl" value="{$module_info->module_srl?$module_info->module_srl:$module_srls}" />
<h3 class="h3">{$lang->editor}</h3>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<thead>
<tr>
<th scope="col"><div>&nbsp;</div></th>
<th scope="col" class="half_wide"><div>{$lang->document}</div></th>
<th scope="col" class="half_wide"><div>{$lang->comment}</div></th>
</tr>
</thead>
<tbody>
<tr>
<th rowspan="2"><div>{$lang->editor_skin}</div></th>
<td colspan="2"><p>{$lang->about_editor_skin}</p></td>
</tr>
<tr>
<td>
<select name="editor_skin" onchange="getEditorSkinColorList(this.value, null, 'document')">
<!--@foreach($editor_skin_list as $editor)-->
<option value="{$editor}" <!--@if($editor==$editor_config->editor_skin)-->selected="selected"<!--@end-->>{$editor}</option>
<!--@end-->
</select>
<br/>
<select name="sel_editor_colorset" id="sel_editor_colorset"<!--@if(!count($editor_colorset_list))--> style="display:none"<!--@end-->>
<!--@foreach($editor_colorset_list as $key => $val)-->
<option value="{$val->name}" <!--@if($editor_config->sel_editor_colorset == $val->name)-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
</td>
<td>
<select name="comment_editor_skin" onchange="getEditorSkinColorList(this.value, null, 'comment')">
<!--@foreach($editor_skin_list as $editor)-->
<option value="{$editor}" <!--@if($editor==$editor_config->comment_editor_skin)-->selected="selected"<!--@end-->>{$editor}</option>
<!--@end-->
</select>
<br/>
<select name="sel_comment_editor_colorset" id="sel_comment_editor_colorset"<!--@if(!count($editor_comment_colorset_list))--> style="display:none"<!--@end-->>
<!--@foreach($editor_comment_colorset_list as $key => $val)-->
<option value="{$val->name}" <!--@if($editor_config->sel_comment_editor_colorset == $val->name)-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->content_style}</div></th>
<td colspan="2"><p>{$lang->about_content_style}</p></td>
</tr>
<tr>
<td>
<select name="content_style">
<!--@foreach($content_style_list as $key => $val)-->
<option value="{$key}" <!--@if($key==$editor_config->content_style||!$editor_config->content_style&&$key=='default')-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
</td>
<td>
<select name="comment_content_style">
<!--@foreach($content_style_list as $key => $val)-->
<option value="{$key}" <!--@if($key==$editor_config->comment_content_style||!$editor_config->comment_content_style&&$key=='default')-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->content_font}</div></th>
<td colspan="2"><p>{$lang->about_content_font}</p></td>
</tr>
<tr>
<td colspan="2">
<input type="text" name="content_font" value="{str_replace(array('"','\''),'',$editor_config->content_font)}" class="inputTypeText w400" />
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->content_font_size}</div></th>
<td colspan="2"><p>{$lang->about_content_font_size}</p></td>
</tr>
<tr>
<td colspan="2">
<input type="text" name="content_font_size" value="{$editor_config->content_font_size}" class="inputTypeText w80" />
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->editor_height}</div></th>
<td colspan="2"><p>{$lang->about_editor_height}</p></td>
</tr>
<tr>
<td>
<input type="text" name="editor_height" value="{$editor_config->editor_height}" class="inputTypeText w80" />px
</td>
<td>
<input type="text" name="comment_editor_height" value="{$editor_config->comment_editor_height}" class="inputTypeText w80" />px
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->enable_autosave}</div></th>
<td colspan="2"><p>{$lang->about_enable_autosave}</p></td>
</tr>
<tr>
<td colspan="2"><input type="checkbox" value="Y" name="enable_autosave" <!--@if($editor_config->enable_autosave=='Y')-->checked="checked"<!--@end-->/></td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->enable_html_grant}</div></th>
<td colspan="2"><p>{$lang->about_enable_html_grant}</p></td>
</tr>
<tr>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="enable_html_grant" value="{$k}" id="enable_html_{$k}" <!--@if(in_array($k, $editor_config->enable_html_grant))-->checked="checked"<!--@end-->/> <label for="enable_html_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('enable_html_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('enable_html_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="enable_comment_html_grant" value="{$k}" id="enable_comment_html_{$k}" <!--@if(in_array($k, $editor_config->enable_comment_html_grant))-->checked="checked"<!--@end-->/> <label for="enable_comment_html_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('enable_comment_html_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('enable_comment_html_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->upload_file_grant}</div></th>
<td colspan="2"><p>{$lang->about_upload_file_grant}</p></td>
</tr>
<tr>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="upload_file_grant" value="{$k}" id="fileupload_{$k}" <!--@if(in_array($k, $editor_config->upload_file_grant))-->checked="checked"<!--@end-->/> <label for="fileupload_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('upload_file_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('upload_file_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="comment_upload_file_grant" value="{$k}" id="comment_fileupload_{$k}" <!--@if(in_array($k, $editor_config->comment_upload_file_grant))-->checked="checked"<!--@end-->/> <label for="comment_fileupload_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('comment_upload_file_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('comment_upload_file_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->enable_default_component_grant}</div></th>
<td colspan="2"><p>{$lang->about_default_component_grant}</p></td>
</tr>
<tr>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="enable_default_component_grant" value="{$k}" id="default_componen_{$k}" <!--@if(in_array($k, $editor_config->enable_default_component_grant))-->checked="checked"<!--@end-->/> <label for="default_componen_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('enable_default_component_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('enable_default_component_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="enable_comment_default_component_grant" value="{$k}" id="comment_default_component_{$k}" <!--@if(in_array($k, $editor_config->enable_comment_default_component_grant))-->checked="checked"<!--@end-->/> <label for="comment_default_component_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('enable_comment_default_component_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('enable_comment_default_component_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
</tr>
<tr>
<th rowspan="2"><div>{$lang->enable_component_grant}</div></th>
<td colspan="2"><p>{$lang->about_component_grant}</p></td>
</tr>
<tr>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="enable_component_grant" value="{$k}" id="componen_{$k}" <!--@if(in_array($k, $editor_config->enable_component_grant))-->checked="checked"<!--@end-->/> <label for="componen_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('enable_component_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('enable_component_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
<td>
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" name="enable_comment_component_grant" value="{$k}" id="comment_component_{$k}" <!--@if(in_array($k, $editor_config->enable_comment_component_grant))-->checked="checked"<!--@end-->/> <label for="comment_component_{$k}">{$v->title}</label>
<!--@end-->
<br/>
<span class="button small green"><input type="button" onclick="XE.checkboxToggleAll('enable_comment_component_grant',{ checked:true});return false" value="{$lang->cmd_select_all}" /></span>
<span class="button small red"><input type="button" onclick="XE.checkboxToggleAll('enable_comment_component_grant',{ checked:false});return false" value="{$lang->cmd_unselect_all}" /></span>
</td>
</tr>
<tr>
<th class="button" colspan="3">
<span class="button black strong"><input type="submit" value="{$lang->cmd_save}"/></span>
</th>
</tr>
</tbody>
</table>
</div>
</form>

View file

@ -1,20 +1,15 @@
<load target="css/editor.css" usecdn="true" />
<load target="css/editor_admin.css" usecdn="true" />
<load target="js/editor_admin.js" usecdn="true" />
<div id="popHeader" class="wide">
<h3 class="xeAdmin">{$lang->cmd_setup}</h3>
</div>
<h1 class="h1">{$lang->cmd_setup}</h1>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<form ruleset="setupComponent" action="./" method="post">
<input type="hidden" name="act" value="procEditorAdminSetupComponent" />
<input type="hidden" name="component_name" value="{$component_name}" />
<div id="popBody">
<table cellspacing="0" class="rowTable">
<input type="hidden" name="act" value="procEditorAdminSetupComponent" />
<input type="hidden" name="component_name" value="{$component_name}" />
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr class="row2">
<th scope="row"><div>{$lang->component_name}</div></th>
<td>{$component->component_name} ver. {$component->version}</td>
@ -87,9 +82,7 @@
</table>
</div>
<div id="popFooter">
<span class="button black strong"><input type="submit" value="{$lang->cmd_apply}" /></span>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_apply}" /></span>
</div>
</form>

View file

@ -1,12 +1,10 @@
<load target="css/editor.css" usecdn="true" />
<load target="../../../modules/admin/tpl/css/admin.css" usecdn="true" />
<div id="popHeader" class="wide">
<h3 class="xeAdmin">{$component->title} ver. {$component->version}</h3>
</div>
<h1 class="h1">{$component->title} ver. {$component->version}</h1>
<div id="popBody">
<table cellspacing="0" class="rowTable">
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr class="row2">
<th scope="row"><div>{$lang->component_author}</div></th>
<td>
@ -42,12 +40,10 @@
</div>
<!--@if($component->history)-->
<div id="popHistoryHeadder">
<h3 class="xeAdmin">{$lang->component_history}</h3>
</div>
<h1 class="h1">{$lang->component_history}</h1>
<div id="popHistoryBody">
<table cellspacing="0" class="rowTable">
<div class="table">
<table width="100%" border="1" cellspacing="0">
<!--@foreach($component->history as $history)-->
<tr class="row{$cycle_idx}">
<th scope="row"><div>