Editor UI, Member UI fix.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9256 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2011-09-21 09:25:11 +00:00
parent ad6463e9ae
commit 039e830b34
4 changed files with 30 additions and 23 deletions

View file

@ -28,8 +28,8 @@
$editor_config = $oModuleModel->getModuleConfig('editor'); $editor_config = $oModuleModel->getModuleConfig('editor');
//editor_config init //editor_config init
if(!$editor_config->editor_height) $editor_config->editor_height = 500; if(!$editor_config->editor_height) $editor_config->editor_height = 400;
if(!$editor_config->comment_editor_height) $editor_config->comment_editor_height = 120; if(!$editor_config->comment_editor_height) $editor_config->comment_editor_height = 100;
if(!$editor_config->editor_skin) $editor_config->editor_skin = 'xpresseditor'; if(!$editor_config->editor_skin) $editor_config->editor_skin = 'xpresseditor';
if(!$editor_config->comment_editor_skin) $editor_config->comment_editor_skin = 'xpresseditor'; if(!$editor_config->comment_editor_skin) $editor_config->comment_editor_skin = 'xpresseditor';
if(!$editor_config->sel_editor_colorset) $editor_config->sel_editor_colorset= 'white'; if(!$editor_config->sel_editor_colorset) $editor_config->sel_editor_colorset= 'white';
@ -62,7 +62,7 @@
foreach($component_list as $component_name => $xml_info) { foreach($component_list as $component_name => $xml_info) {
if($packages[$xml_info->package_srl]) $xml_info->need_update = $packages[$xml_info->package_srl]->need_update; if($packages[$xml_info->package_srl]) $xml_info->need_update = $packages[$xml_info->package_srl]->need_update;
} }
$editor_config_default = array( "editor_height" => "500", "comment_editor_height" => "120","content_font_size"=>"12"); $editor_config_default = array( "editor_height" => "400", "comment_editor_height" => "100","content_font_size"=>"12");
Context::set('editor_config', $editor_config); Context::set('editor_config', $editor_config);
Context::set('editor_skin_list', $editor_skin_list); Context::set('editor_skin_list', $editor_skin_list);

View file

@ -46,8 +46,8 @@
if($editor_config->enable_autosave!='N') $editor_config->enable_autosave = "Y"; if($editor_config->enable_autosave!='N') $editor_config->enable_autosave = "Y";
if(!$editor_config->editor_height) if($editor_default_config->editor_height? $editor_config->editor_height = $editor_default_config->editor_height : $editor_config->editor_height = 500); if(!$editor_config->editor_height) if($editor_default_config->editor_height? $editor_config->editor_height = $editor_default_config->editor_height : $editor_config->editor_height = 400);
if(!$editor_config->comment_editor_height) if($editor_default_config->comment_editor_height? $editor_config->comment_editor_height = $editor_default_config->comment_editor_height : $editor_config->comment_editor_height = 120); if(!$editor_config->comment_editor_height) if($editor_default_config->comment_editor_height? $editor_config->comment_editor_height = $editor_default_config->comment_editor_height : $editor_config->comment_editor_height = 100);
if(!$editor_config->editor_skin) if($editor_default_config->editor_skin? $editor_config->editor_skin = $editor_default_config->editor_skin : $editor_config->editor_skin = 'xpresseditor'); if(!$editor_config->editor_skin) if($editor_default_config->editor_skin? $editor_config->editor_skin = $editor_default_config->editor_skin : $editor_config->editor_skin = 'xpresseditor');
if(!$editor_config->comment_editor_skin) if($editor_default_config->comment_editor_skin? $editor_config->comment_editor_skin = $editor_default_config->comment_editor_skin : $editor_config->comment_editor_skin = 'xpresseditor'); if(!$editor_config->comment_editor_skin) if($editor_default_config->comment_editor_skin? $editor_config->comment_editor_skin = $editor_default_config->comment_editor_skin : $editor_config->comment_editor_skin = 'xpresseditor');
if(!$editor_config->content_style) if($editor_default_config->content_style? $editor_config->content_style = $editor_default_config->content_style : $editor_config->content_style = 'default'); if(!$editor_config->content_style) if($editor_default_config->content_style? $editor_config->content_style = $editor_default_config->content_style : $editor_config->content_style = 'default');

View file

@ -931,6 +931,18 @@
<value xml:lang="tr"><![CDATA[Üye Listesi]]></value> <value xml:lang="tr"><![CDATA[Üye Listesi]]></value>
<value xml:lang="vi"><![CDATA[Danh sách thành viên]]></value> <value xml:lang="vi"><![CDATA[Danh sách thành viên]]></value>
</item> </item>
<item name="cmd_member_config">
<value xml:lang="ko"><![CDATA[회원 설정]]></value>
<value xml:lang="en"><![CDATA[Member Setting]]></value>
<value xml:lang="jp"><![CDATA[Member Setting]]></value>
<value xml:lang="zh-CN"><![CDATA[Member Setting]]></value>
<value xml:lang="zh-TW"><![CDATA[Member Setting]]></value>
<value xml:lang="fr"><![CDATA[Member Setting]]></value>
<value xml:lang="ru"><![CDATA[Member Setting]]></value>
<value xml:lang="es"><![CDATA[Member Setting]]></value>
<value xml:lang="tr"><![CDATA[Member Setting]]></value>
<value xml:lang="vi"><![CDATA[Member Setting]]></value>
</item>
<item name="cmd_module_config"> <item name="cmd_module_config">
<value xml:lang="ko"><![CDATA[기본 설정]]></value> <value xml:lang="ko"><![CDATA[기본 설정]]></value>
<value xml:lang="en"><![CDATA[Default Setting]]></value> <value xml:lang="en"><![CDATA[Default Setting]]></value>
@ -980,7 +992,7 @@
<value xml:lang="vi"><![CDATA[Tên sử dụng cấm đăng kí]]></value> <value xml:lang="vi"><![CDATA[Tên sử dụng cấm đăng kí]]></value>
</item> </item>
<item name="cmd_manage_form"> <item name="cmd_manage_form">
<value xml:lang="ko"><![CDATA[가입 폼 관리]]></value> <value xml:lang="ko"><![CDATA[가입 양식]]></value>
<value xml:lang="en"><![CDATA[Sign up Form]]></value> <value xml:lang="en"><![CDATA[Sign up Form]]></value>
<value xml:lang="jp"><![CDATA[会員登録フォーム管理]]></value> <value xml:lang="jp"><![CDATA[会員登録フォーム管理]]></value>
<value xml:lang="zh-CN"><![CDATA[扩展注册表单]]></value> <value xml:lang="zh-CN"><![CDATA[扩展注册表单]]></value>

View file

@ -12,9 +12,9 @@
<input type="hidden" name="act" value="procMemberAdminInsertConfig" /> <input type="hidden" name="act" value="procMemberAdminInsertConfig" />
<input type="hidden" name="success_return_url" value="{getUrl('act', $act)}" /> <input type="hidden" name="success_return_url" value="{getUrl('act', $act)}" />
<input type="hidden" name="agreement" value="{htmlspecialchars($config->agreement)}" /> <input type="hidden" name="agreement" value="{htmlspecialchars($config->agreement)}" />
<h1 class="h1">Setting</h1> <h1 class="h1">{$lang->cmd_member_config}</h1>
<fieldset class="section suSetting"> <fieldset class="section suSetting">
<h2 class="h2">Sign Up Setting</h2> <h2 class="h2">{$lang->cmd_module_config}</h2>
<ul> <ul>
<li> <li>
<p class="q">{$lang->enable_join}</p> <p class="q">{$lang->enable_join}</p>
@ -33,16 +33,14 @@
<li> <li>
<p class="q"><label for="webmaster_name">{$lang->webmaster_name}</label></p> <p class="q"><label for="webmaster_name">{$lang->webmaster_name}</label></p>
<p class="a"> <p class="a">
<input type="text" id="webmaster_name" name="webmaster_name" value="{$config->webmaster_name}" size="20" /> <input type="text" id="webmaster_name" name="webmaster_name" value="{$config->webmaster_name}" size="20" /></p>
<p>{$lang->about_webmaster_name}</p> <p class="desc">{$lang->about_webmaster_name}</p>
</p>
</li> </li>
<li> <li>
<p class="q"><label for="webmaster_email">{$lang->webmaster_email}</label></p> <p class="q"><label for="webmaster_email">{$lang->webmaster_email}</label></p>
<p class="a"> <p class="a">
<input type="text" id="webmaster_email" name="webmaster_email" value="{$config->webmaster_email}" size="40" /> <input type="text" id="webmaster_email" name="webmaster_email" value="{$config->webmaster_email}" size="40" /></p>
<p>{$lang->about_webmaster_email}</p> <p class="desc">{$lang->about_webmaster_email}</p>
</p>
</li> </li>
<li> <li>
<p class="q"><label for="limit_day">{$lang->limit_day}</label></p> <p class="q"><label for="limit_day">{$lang->limit_day}</label></p>
@ -59,23 +57,20 @@
<li> <li>
<p class="q"><label for="after_login_url">{$lang->after_login_url}</label></p> <p class="q"><label for="after_login_url">{$lang->after_login_url}</label></p>
<p class="a"> <p class="a">
<input type="text" id="after_login_url" name="after_login_url" value="{$config->after_login_url}" /> <input type="text" id="after_login_url" name="after_login_url" value="{$config->after_login_url}" /></p>
<p>{$lang->about_after_login_url}</p> <p class="desc">{$lang->about_after_login_url}</p>
</p>
</li> </li>
<li> <li>
<p class="q"><label for="after_logout_url">{$lang->after_logout_url}</label></p> <p class="q"><label for="after_logout_url">{$lang->after_logout_url}</label></p>
<p class="a"> <p class="a">
<input type="text" id="after_logout_url" name="after_logout_url" value="{$config->after_logout_url}" /> <input type="text" id="after_logout_url" name="after_logout_url" value="{$config->after_logout_url}" /></p>
<p>{$lang->about_after_logout_url}</p> <p class="desc">{$lang->about_after_logout_url}</p>
</p>
</li> </li>
<li> <li>
<p class="q"><label for="redirect_url">{$lang->redirect_url}</label></p> <p class="q"><label for="redirect_url">{$lang->redirect_url}</label></p>
<p class="a"> <p class="a">
<input type="text" id="redirect_url" name="redirect_url" value="{$config->redirect_url}" /> <input type="text" id="redirect_url" name="redirect_url" value="{$config->redirect_url}" /></p>
<p>{$lang->about_redirect_url}</p> <p class="desc">{$lang->about_redirect_url}</p>
</p>
</li> </li>
<li> <li>
<p class="q"><label for="skin">{$lang->skin}</label></p> <p class="q"><label for="skin">{$lang->skin}</label></p>