mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
fixed admin theme
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9089 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
34cd3544ba
commit
bd67a0846e
3 changed files with 34 additions and 16 deletions
|
|
@ -5,13 +5,18 @@ jQuery(function($){
|
|||
|
||||
var themes = {};
|
||||
|
||||
<!--@foreach($theme_list as $key=>$val)-->
|
||||
// Example - default theme
|
||||
themes['xe_default'] = {
|
||||
'layout': '82',
|
||||
'board' : 'xe_v3', // board module has the xe_v3 skin by default
|
||||
'poll' : 'simple' // poll module has the simple skin by default
|
||||
{@$skins = array()}
|
||||
<!--@foreach($val->skin_infos as $module=>$skin_info)-->
|
||||
{@$skins[] = "'".$module."' : '".$skin_info->name."'";}
|
||||
<!--@end-->
|
||||
themes['{$key}'] = {
|
||||
'layout': '{$val->layout_info->layout_srl}',
|
||||
{implode(',',$skins)}
|
||||
};
|
||||
|
||||
<!--@end-->
|
||||
$('#theme').data('themes', themes);
|
||||
|
||||
});
|
||||
|
|
@ -35,7 +40,12 @@ $('#theme').data('themes', themes);
|
|||
<label for="{$key}">{$val->title}({$key})</label>
|
||||
<ul>
|
||||
<li>· 버전: {$val->version}</li>
|
||||
<li>· 제작: {$val->publisher}</li>
|
||||
<li>· 제작:
|
||||
<!--@foreach($val->publisher as $publisher)-->
|
||||
<a href="{$publisher->homepage}" cond="$publisher->homepage">{$publisher->name}</a>
|
||||
<!--@if(!$publisher->homepage)-->{$publisher->name}<!--@end-->
|
||||
<!--@endforeach-->
|
||||
</li>
|
||||
<li>· 설명: {$val->description}</li>
|
||||
<li>· 경로: {$val->path}</li>
|
||||
</ul>
|
||||
|
|
@ -79,7 +89,7 @@ $('#theme').data('themes', themes);
|
|||
</ul>
|
||||
</li>
|
||||
<li loop="$module_list=>$mkey,$mval" cond="$mkey!='__IS_PARSE__'" data-skintype="{$mkey}">
|
||||
<p class="q">선택한 {$mkey} 스킨</p>
|
||||
<p class="q">선택한 {$mval['title']} 스킨</p>
|
||||
<ul class="a">
|
||||
<li class="i noDirection" cond="!$theme_info->skin_info[$mkey]">
|
||||
<span class="thumb"><span class="frame"></span></span>
|
||||
|
|
@ -88,7 +98,7 @@ $('#theme').data('themes', themes);
|
|||
<li>선택한 테마에는 이 항목에 대한 스킨 정보가 없습니다. 스킨을 직접 선택하세요.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="i" loop="$mval=>$skey,$sval">
|
||||
<li class="i" loop="$mval['skins']=>$skey,$sval">
|
||||
{@ $id = $mkey.'_'.$skey }
|
||||
<span class="thumb"><span class="frame"><!--@if($sval->thumbnail)--><img src="{$sval->thumbnail}" alt="" /><!--@else-->Thumbnail does not exist<!--@end--></span></span>
|
||||
<input type="radio" name="{$mkey}-skin" id="{$id}" value="{$skey}" checked="checked"|cond="$theme_info->skin_info[$mkey]==$skey" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue