rhymix/modules/communication/tpl/index.html
flyskyko 579ac47d85 change validator message markup
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8619 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-22 05:47:52 +00:00

57 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>
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>
<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>