HTML, CSS, Web Accessibility...

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9675 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2011-10-18 12:17:31 +00:00
parent 349434a372
commit 341bfa73ed
26 changed files with 451 additions and 578 deletions

View file

@ -1,6 +1,6 @@
<!--%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)">
<form action="./" method="post" onsubmit="return procFilter(this, insert_editor_module_config)" class="form">
<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">
@ -14,11 +14,11 @@
</thead>
<tbody>
<tr>
<th rowspan="2">{$lang->editor_skin}</th>
<td colspan="2"><p>{$lang->about_editor_skin}</p></td>
<th rowspan="2" scope="row">{$lang->editor_skin}</th>
<td colspan="2" class="text">{$lang->about_editor_skin}</td>
</tr>
<tr>
<td>
<td class="text">
<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>
@ -31,7 +31,7 @@
<!--@end-->
</select>
</td>
<td>
<td class="text">
<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>
@ -46,158 +46,124 @@
</td>
</tr>
<tr>
<th rowspan="2">{$lang->content_style}</th>
<td colspan="2"><p>{$lang->about_content_style}</p></td>
<th rowspan="2" scope="row">{$lang->content_style}</th>
<td colspan="2" class="text"><p>{$lang->about_content_style}</p></td>
</tr>
<tr>
<td>
<td class="text">
<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>
<td class="text">
<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 class="text">
</tr>
<tr>
<th rowspan="2" scope="row"><label for="content_font">{$lang->content_font}</label></th>
<td colspan="2" class="text">{$lang->about_content_font}</td>
</tr>
<tr>
<td colspan="2" class="text">
<input type="text" name="content_font" id="content_font" value="{str_replace(array('"','\''),'',$editor_config->content_font)}" />
</td>
</tr>
<tr>
<th rowspan="2">{$lang->content_font}</th>
<td colspan="2"><p>{$lang->about_content_font}</p></td>
<th rowspan="2" scope="row"><label for="content_font_size">{$lang->content_font_size}</label></th>
<td colspan="2" class="text">{$lang->about_content_font_size}</td>
</tr>
<tr>
<td colspan="2">
<input type="text" name="content_font" value="{str_replace(array('"','\''),'',$editor_config->content_font)}" />
<td colspan="2" class="text">
<input type="text" name="content_font_size" id="content_font_size" value="{$editor_config->content_font_size}" style="width:50px" />
</td>
</tr>
<tr>
<th rowspan="2">{$lang->content_font_size}</th>
<td colspan="2"><p>{$lang->about_content_font_size}</p></td>
<th rowspan="2" scope="row">{$lang->editor_height}</th>
<td colspan="2" class="text">{$lang->about_editor_height}</td>
</tr>
<tr>
<td colspan="2">
<input type="text" name="content_font_size" value="{$editor_config->content_font_size}" />
<td class="text">
<input type="text" name="editor_height" value="{$editor_config->editor_height}" style="width:30px" /> px
</td>
<td class="text">
<input type="text" name="comment_editor_height" value="{$editor_config->comment_editor_height}" style="width:30px" /> px
</td>
</tr>
<tr>
<th rowspan="2">{$lang->editor_height}</th>
<td colspan="2"><p>{$lang->about_editor_height}</p></td>
<th rowspan="2" scope="row">{$lang->enable_autosave}</th>
<td colspan="2" class="text">{$lang->about_enable_autosave}</td>
</tr>
<tr>
<td>
<input type="text" name="editor_height" value="{$editor_config->editor_height}" />px
</td>
<td>
<input type="text" name="comment_editor_height" value="{$editor_config->comment_editor_height}" />px
</td>
<td colspan="2" class="text"><input type="checkbox" value="Y" name="enable_autosave" <!--@if($editor_config->enable_autosave=='Y')-->checked="checked"<!--@end-->/></td>
</tr>
<tr>
<th rowspan="2">{$lang->enable_autosave}</th>
<td colspan="2"><p>{$lang->about_enable_autosave}</p></td>
<th rowspan="2" scope="row">{$lang->enable_html_grant}</th>
<td colspan="2" class="text">{$lang->about_enable_html_grant}</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">{$lang->enable_html_grant}</th>
<td colspan="2"><p>{$lang->about_enable_html_grant}</p></td>
</tr>
<tr>
<td>
<td class="text">
<!--@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>
<td class="text">
<!--@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">{$lang->upload_file_grant}</th>
<td colspan="2"><p>{$lang->about_upload_file_grant}</p></td>
<th rowspan="2" scope="row">{$lang->upload_file_grant}</th>
<td colspan="2" class="text">{$lang->about_upload_file_grant}</td>
</tr>
<tr>
<td>
<td class="text">
<!--@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>
<td class="text">
<!--@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">{$lang->enable_default_component_grant}</th>
<td colspan="2"><p>{$lang->about_default_component_grant}</p></td>
<th rowspan="2" scope="row">{$lang->enable_default_component_grant}</th>
<td colspan="2" class="text">{$lang->about_default_component_grant}</td>
</tr>
<tr>
<td>
<td class="text">
<!--@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>
<td class="text">
<!--@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">{$lang->enable_component_grant}</th>
<td colspan="2"><p>{$lang->about_component_grant}</p></td>
<th rowspan="2" scope="row">{$lang->enable_component_grant}</th>
<td colspan="2" class="text">{$lang->about_component_grant}</td>
</tr>
<tr>
<td>
<td class="text">
<!--@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>
<td class="text">
<!--@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>
</tbody>