rhymix/modules/communication/tpl/index.html
ovclas 8f7335c776 issue 46 Validator apply communication module.
standalone method apply validator.
Auto Form generation error in Template engine is fixed


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8482 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-15 07:48:45 +00:00

55 lines
2.2 KiB
HTML

<!--%import("js/communication_admin.js")-->
<!--%import("../../editor/tpl/js/editor_module_config.js",optimized=false)-->
<h3 class="xeAdmin">{$lang->communication} <span class="gray">{$lang->cmd_management}</span></h3>
<div class="infoText">{nl2br($lang->about_communication)}</div>
<p class="xe_validator_error">{$XE_VALIDATOR_ERROR}</p>
<form ruleset="insertConfig" action="./" method="post">
<input type="hidden" name="act" value="procCommunicationAdminInsertConfig">
<table cellspacing="0" class="rowTable">
<tr>
<th scope="row"><div>{$lang->editor_skin}</div></th>
<td>
<select name="editor_skin" onchange="getEditorSkinColorList(this.value)">
<!--@foreach($editor_skin_list as $editor_skin)-->
<option value="{$editor_skin}" <!--@if($editor_skin==$communication_config->editor_skin)-->selected="selected"<!--@end-->>{$editor_skin}</option>
<!--@end-->
</select>
<select name="editor_colorset" id="sel_editor_colorset" style="display:none">
</select>
<script type="text/javascript">//<![CDATA[
getEditorSkinColorList('{$communication_config->editor_skin}','{$communication_config->editor_colorset}');
//]]></script>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->skin}</div></th>
<td>
<select name="skin" onchange="doGetSkinColorset(this.options[this.selectedIndex].value);return false;">
<!--@foreach($communication_skin_list as $key=>$val)-->
<option value="{$key}" <!--@if($key==$communication_config->skin)-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->colorset}</div></th>
<td><div id="communication_colorset"></div></td>
</tr>
<tr>
<th colspan="2" class="button">
<span class="button strong black"><input type="submit" value="{$lang->cmd_registration}" /></span>
</th>
</tr>
</table>
</form>
<script type="text/javascript">
jQuery(function() { doGetSkinColorset("{$communication_config->skin}"); });
</script>