mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
issue 2529 add a design setting.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11630 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
941e4eec5f
commit
eac8841cc4
4 changed files with 47 additions and 7 deletions
|
|
@ -824,6 +824,10 @@
|
|||
<value xml:lang="ko"><![CDATA[신규 메일 주소로 변경 후 인증 메일 발송]]></value>
|
||||
<value xml:lang="en"><![CDATA[New email address]]></value>
|
||||
</item>
|
||||
<item name="cmd_set_design_info">
|
||||
<value xml:lang="ko"><![CDATA[디자인 설정]]></value>
|
||||
<value xml:lang="en"><![CDATA[Desgin Setting]]></value>
|
||||
</item>
|
||||
<item name="cmd_login">
|
||||
<value xml:lang="ko"><![CDATA[로그인]]></value>
|
||||
<value xml:lang="en"><![CDATA[Sign In]]></value>
|
||||
|
|
|
|||
|
|
@ -186,7 +186,7 @@
|
|||
Context::set('config', $config);
|
||||
|
||||
$oTemplate = &TemplateHandler::getInstance();
|
||||
$tpl = $oTemplate->compile($this->module_path.'tpl', 'colorset_list');
|
||||
$tpl = $oTemplate->compile($this->module_path.'tpl', 'new_colorset_list');
|
||||
}
|
||||
|
||||
$this->add('tpl', $tpl);
|
||||
|
|
|
|||
|
|
@ -132,12 +132,13 @@
|
|||
</div>
|
||||
</section>
|
||||
<section class="section">
|
||||
<h1>디자인 설정</h1>
|
||||
<h1>{$lang->cmd_set_design_info}</h1>
|
||||
<div>
|
||||
<div class="x_control-group">
|
||||
<label for="skin">{$lang->layout}</label>
|
||||
<label for="layout">{$lang->layout}</label>
|
||||
<div class="x_controls">
|
||||
<select name="layout_srl">
|
||||
<select id="layout" name="layout_srl">
|
||||
<option value="0">{$lang->notuse}</option>
|
||||
<option loop="$layout_list => $key,$val" value="{$val->layout_srl}" selected="selected"|cond="$val->layout_srl == $config->layout_srl">{$val->title} ({$val->layout})</option>
|
||||
</select>
|
||||
</div>
|
||||
|
|
@ -149,9 +150,26 @@
|
|||
<option loop="$skin_list=>$key,$val" value="{$key}" selected="selected"|cond="$config->skin==$key">{$val->title} ({$key})</option>
|
||||
</select>
|
||||
</div>
|
||||
<div id="colorset" style="display:none"|cond="!$config->colorset">
|
||||
<label for="member_colorset">{$lang->colorset}</label>
|
||||
<div class="x_controls"><div id="member_colorset"></div></div>
|
||||
</div>
|
||||
<div id="colorset" class="x_control-group" style="display:none"|cond="!$config->colorset">
|
||||
<label for="member_colorset">{$lang->colorset}</label>
|
||||
<div class="x_controls"><div id="member_colorset"></div></div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label for="mlayout">{$lang->mobile_layout}</label>
|
||||
<div class="x_controls">
|
||||
<select id="mlayout" name="mlayout_srl">
|
||||
<option value="0">{$lang->notuse}</option>
|
||||
<option loop="$mlayout_list => $key,$val" value="{$val->layout_srl}" selected="selected"|cond="$val->layout_srl == $config->mlayout_srl">{$val->title} ({$val->layout})</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label for="mskin">{$lang->mobile_skin}</label>
|
||||
<div class="x_controls">
|
||||
<select id="mskin" name="mskin">
|
||||
<option loop="$mskin_list=>$key,$val" value="{$key}" selected="selected"|cond="$config->mskin==$key">{$val->title} ({$key})</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -289,3 +307,6 @@
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<script>
|
||||
jQuery(function() { doGetSkinColorset("{$config->skin}"); });
|
||||
</script>
|
||||
|
|
|
|||
15
modules/member/tpl/new_colorset_list.html
Normal file
15
modules/member/tpl/new_colorset_list.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<!--@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;margin-right:10px;">
|
||||
<label for="colorset_{$key}" class="x_inline"><input type="radio" name="colorset" value="{$val->name}" id="colorset_{$key}" <!--@if($config->colorset==$val->name)-->checked="checked"<!--@end-->/>
|
||||
{$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>
|
||||
<!--@end-->
|
||||
Loading…
Add table
Add a link
Reference in a new issue