<{if $xoops_isadmin}>
<{foreach from=$positions item=bt}> <{/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}/config2.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}'"; $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; } foreach($theme_config as $k=>$config){ $name=$config['name']; $value=is_null($config2[$name])?$config['default']:$config2[$name]; echo ""; } } <{/php}>

基本設定

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

偏好設定

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

網頁布局設定

版面類型$theme_type<{$theme_type}>
版面寬度$theme_width<{$theme_width}>
文字大小$font_size<{$font_size}>
左區塊顏色$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}>

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}>

導覽列設定

導覽列位置$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}>

導覽列 logo 圖設定

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

佈景額外設定

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