<{if $xoops_isadmin}>
<{foreach from=$positions item=bt}> <{/foreach}> <{foreach from=$menu_var item=m}> <{if $m.submenu}> <{foreach from=$m.submenu item=m2}> <{if $m2.submenu}> <{foreach from=$m2.submenu item=m3}> <{/foreach}> <{/if}> <{/foreach}> <{/if}> <{/foreach}> <{foreach from=$slider_var item=slide}> <{/foreach}> <{php}> /****佈景額外設定****/ global $xoopsConfig,$xoopsDB; $theme_name=$xoopsConfig['theme_set']; if(file_exists(XOOPS_ROOT_PATH."/themes/{$theme_name}/config2.php")){ include_once XOOPS_ROOT_PATH."/themes/{$theme_name}/language/{$xoopsConfig['language']}/main.php"; echo ""; $sql="select `theme_id` from ".$xoopsDB->prefix("tad_themes")." where `theme_name`='{$theme_name}'"; $result=$xoopsDB->query($sql) or redirect_header($_SERVER['PHP_SELF'],3, mysql_error()."
".$sql); list($theme_id)=$xoopsDB->fetchRow($result); $sql="select `name`, `type`, `value` from ".$xoopsDB->prefix("tad_themes_config2")." where `theme_id`='{$theme_id}'"; $config2=""; $result=$xoopsDB->query($sql) or redirect_header($_SERVER['PHP_SELF'],3, mysql_error()."
".$sql); while(list($name,$type,$value)=$xoopsDB->fetchRow($result)){ $config2[$name]=$value; } require XOOPS_ROOT_PATH."/themes/{$theme_name}/config2.php"; foreach($theme_config as $k=>$config){ $name=$config['name']; $value=is_null($config2[$name])?$config['default']:$config2[$name]; if($config['type']=="array"){ $value_arr=json_decode($value,true); $value=""; foreach($value_arr as $i=>$items){ if(is_array($items)){ foreach($items as $key=>$val){ $val=str_replace("{XOOPS_URL}",XOOPS_URL,$val); $value.="
\${$name}[$i]['$key']=\"{$val}\";
"; } }else{ $items=str_replace("{XOOPS_URL}",XOOPS_URL,$items); $value.="
\${$name}[$i]=\"{$items}\";
"; } } } echo ""; } } <{/php}>

基本設定

佈景種類$theme_kind<{$theme_kind}>
佈景編號$theme_id<{$theme_id}>
佈景名稱$theme_name<{$theme_name}>
載入選單種類$menu_var_kind<{$menu_var_kind}>
開除錯$debug<{$debug}>
顯示搜尋工具$use_search<{$use_search}>
內容區設定$content_zone<{$content_zone}>
左區域設定$leftBlocks<{$leftBlocks}>
中區域設定$centerBlocks<{$centerBlocks}>
右區域設定$rightBlocks<{$rightBlocks}>
第二左區域設定$leftBlocks2<{$leftBlocks2}>
第二右區域設定$rightBlocks2<{$rightBlocks2}>
樣板設定檔$xoops_themecss<{$xoops_themecss}>

Tad Themes 偏好設定

是否在工具列顯示網站標題文字$auto_mainmenu<{$auto_mainmenu}>
顯示主選單下拉選單$show_sitename<{$show_sitename}>

Tad Tools 偏好設定

是否在登入選單整合OpenID?$openid_login<{$openid_login}>
登入選單一排要呈現幾個OpenID圖示$openid_logo<{$openid_logo}>
是否釘選住導覽列?$use_pin<{$use_pin}>

其他設定

左邊區塊數$left_count<{$left_count}>
右邊區塊數$right_count<{$right_count}>
選單是否有用到 popup 模式$have_popup<{$have_popup}>
popup 語法$tad_themes_popup_code<{$tad_themes_popup_code}>

網頁布局設定

版面類型$theme_type<{$theme_type}>
版面寬度$theme_width<{$theme_width}>
文字大小$font_size<{$font_size}>
內容區顏色$base_color<{$base_color}>
左區塊顏色$lb_color<{$lb_color}>
中區塊顏色$cb_color<{$cb_color}>
右區塊顏色$rb_color<{$rb_color}>
左區塊寬度$lb_width<{$lb_width}>
中區塊寬度$center_width<{$center_width}>
右區塊寬度$rb_width<{$rb_width}>
中左區塊寬度$clb_width<{$clb_width}>
中右區塊寬度$crb_width<{$crb_width}>
上方邊界$margin_top<{$margin_top}>
下方邊界$margin_bottom<{$margin_bottom}>
文字顏色$font_color<{$font_color}>
連結顏色$link_color<{$link_color}>
滑鼠移到連結顏色$hover_color<{$hover_color}>

背景圖設定

預設背景圖$bg_img<{$bg_img}>
背景顏色$bg_color<{$bg_color}>
背景重複$bg_repeat<{$bg_repeat}>
背景模式$bg_attachment<{$bg_attachment}>
背景位置$bg_position<{$bg_position}>

滑動圖片設定

滑動圖片寬度$slide_width<{$slide_width}>
滑動圖片高度$slide_height<{$slide_height}>
是否可上傳滑動圖片$use_slide<{$use_slide}>

logo 圖設定

logo 圖$logo_img<{$logo_img}>
logo 圖位置$logo_position<{$logo_position}>
logo 圖上方位置$logo_top<{$logo_top}>
logo 圖右方位置$logo_right<{$auto_mainlogo_rightmenu}>
logo 圖下方位置$logo_bottom<{$logo_bottom}>
logo 圖左方位置$logo_left<{$logo_left}>
Logo 圖位置$logo_place<{$logo_place}>

<{$bt.block_position}>區塊標題設定

區塊標題列背景重複$<{$bt.block_position}>.bt_bg_repeat<{$bt.bt_bg_repeat}>
區塊標題列背景圖$<{$bt.block_position}>.bt_bg_img<{$bt.bt_bg_img}>
區塊標題文字縮排$<{$bt.block_position}>.bt_text_padding<{$bt.bt_text_padding}>
區塊標題文字大小$<{$bt.block_position}>.bt_text_size<{$bt.bt_text_size}>
區塊標題列文字顏色$<{$bt.block_position}>.bt_text<{$bt.bt_text}>
區塊標題列背景顏色$<{$bt.block_position}>.bt_bg_color<{$bt.bt_bg_color}>
區塊標題工具按鈕$<{$bt.block_position}>.block_config<{$bt.block_config}>
區塊標題圓角設定$<{$bt.block_position}>.bt_radius<{$bt.bt_radius}>
區塊整體樣式手動設定$<{$bt.block_position}>.block_style<{$bt.block_style}>
區塊標題區樣式手動設定$<{$bt.block_position}>.block_title_style<{$bt.block_title_style}>
區塊內容區樣式手動設定$<{$bt.block_position}>.block_content_style<{$bt.block_content_style}>

導覽列設定

導覽列位置$navbar_pos<{$navbar_pos}>
導覽列漸層顏色(top)$navbar_bg_top<{$navbar_bg_top}>
導覽列漸層顏色(bottom)$navbar_bg_bottom<{$navbar_bg_bottom}>
導覽列連結區塊底色$navbar_hover<{$navbar_hover}>
導覽列文字顏色$navbar_color<{$navbar_color}>
導覽列文字移過顏色$navbar_color_hover<{$navbar_color_hover}>
導覽列圖示顏色$navbar_icon<{$navbar_icon}>
導覽列背景圖$navbar_img<{$navbar_img}>

導覽列 logo 圖設定

導覽列圖示(舊)$navbar_logo_img<{$navbar_logo_img}>
導覽列 logo 圖$logo_img<{$logo_img}>

自訂選單 $menu_var

<{$m.title}>$menu_var[<{$m.id}>]array('id'=><{$m.id}> , 'title'=><{$m.title}> , 'url'=><{$m.url}>, 'target'=><{$m.target}>, 'icon'=><{$m.icon}>, 'submenu'=><{$m.submenu}>)
<{$m2.title}>$menu_var[<{$m.id}>]['submenu'][<{$m2.id}>]array('id'=><{$m2.id}> , 'title'=><{$m2.title}> , 'url'=><{$m2.url}>, 'target'=><{$m2.target}>, 'icon'=><{$m2.icon}>, 'submenu'=><{$m2.submenu}>)
<{$m3.title}>$menu_var[<{$m.id}>]['submenu'][<{$m2.id}>]['submenu'][<{$m3.id}>]array('id'=><{$m3.id}> , 'title'=><{$m3.title}> , 'url'=><{$m3.url}>, 'target'=><{$m3.target}>, 'icon'=><{$m3.icon}>, 'submenu'=><{$m3.submenu}>)

滑動圖文 $slider_var

<{$slide.file_name}>$slider_var[<{$slide.files_sn}>]array('files_sn'=><{$slide.files_sn}> , 'sort'=><{$slide.sort}> , 'file_name'=><{$slide.file_name}> , 'description'=><{$slide.description}> , 'text_description'=><{$slide.text_description}> , 'original_filename'=><{$slide.original_filename}> , 'sub_dir'=><{$slide.sub_dir}> , 'file_url'=><{$slide.file_url}>, 'file_thumb_url'=><{$slide.file_thumb_url}>)

佈景額外設定

{$config['text']}\${$name}{$value}
<{/if}>