member모듈에서 쪽지/친구등의 커뮤니케이션 기능을 communication 모듈로 분리. member_extra_info 애드온에서 쪽지/친구와 관련된 기능을 member_communication 애드온으로 분리

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4226 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-05-30 09:33:04 +00:00
parent f7968229e6
commit 08cee6952c
135 changed files with 1980 additions and 1293 deletions

View file

@ -0,0 +1,16 @@
<!--@foreach($skin_info->colorset as $key => $val)-->
<!--@if($val->screenshot)-->
{@ $_img_info = getImageSize($val->screenshot); $_height = $_img_info[1]+40; $_width = $_img_info[0]+20; $_talign = "center"; }
<!--@else-->
{@ $_width = 200; $_height = 20; $_talign = "left"; }
<!--@end-->
<div style="float:left;text-align:{$_talign};margin-bottom:1em;width:{$_width}px;height:{$_height}px;margin-right:10px;">
<input type="radio" name="colorset" value="{$val->name}" id="colorset_{$key}" <!--@if($communication_config->colorset==$val->name)-->checked="checked"<!--@end-->/>
<label for="colorset_{$key}">{$val->title}</label>
<!--@if($val->screenshot)-->
<br />
<img src="{$val->screenshot}" alt="{$val->title}" style="border:1px solid #888888;padding:2px;margin:2px;"/>
<!--@end-->
</div>
<!--@if($key%2==1)--><div class="clear"></div><!--@end-->
<!--@end-->

View file

@ -0,0 +1,7 @@
<filter name="insert_config" module="communication" act="procCommunicationAdminInsertConfig" confirm_msg_code="confirm_submit">
<form />
<response>
<tag name="error" />
<tag name="message" />
</response>
</filter>

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 B

View file

@ -0,0 +1,52 @@
<!--%import("js/communication_admin.js")-->
<!--%import("filter/insert_config.xml")-->
<h3>{$lang->communication} <span class="gray">{$lang->cmd_management}</span></h3>
<div class="infoText">{nl2br($lang->about_communication)}</div>
<form action="./" method="get" onsubmit="return procFilter(this, insert_config)">
<table cellspacing="0" class="adminTable">
<col width="180" />
<col />
<tr>
<th scope="row">{$lang->editor_skin}</th>
<td>
<select name="editor_skin">
<!--@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>
</td>
</tr>
<tr>
<th scope="row">{$lang->skin}</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">{$lang->colorset}</th>
<td><div id="communication_colorset"></div></td>
</tr>
<tr>
<th scope="row" colspan="2" class="button">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" /></span>
</th>
</tr>
</table>
</form>
<script type="text/javascript">
xAddEventListener(window,'load', function() { doGetSkinColorset("{$communication_config->skin}"); });
</script>

View file

@ -0,0 +1,16 @@
/* 스킨 컬러셋 구해옴 */
function doGetSkinColorset(skin) {
var params = new Array();
params['skin'] = skin;
var response_tags = new Array('error','message','tpl');
exec_xml('communication', 'getCommunicationAdminColorset', params, doDisplaySkinColorset, response_tags);
}
function doDisplaySkinColorset(ret_obj) {
var tpl = ret_obj["tpl"];
var old_height = xHeight("communication_colorset");
xInnerHtml("communication_colorset", tpl);
var new_height = xHeight("communication_colorset");
}