線上書籍

Home

[1061] XOOPS佈景設計

<?php $i = 0; $theme_config[$i]['name'] = "show_var"; $theme_config[$i]['text'] = TF_SHOW_VAR; $theme_config[$i]['desc'] = TF_SHOW_VAR_DESC; $theme_config[$i]['type'] = "yesno"; $theme_config[$i]['default'] = "0"; //字型設定 $i++; $theme_config[$i]['name'] = "font_family"; $theme_config[$i]['text'] = TF_FONT_FAMILY; $theme_config[$i]['desc'] = TF_FONT_FAMILY_DESC; $theme_config[$i]['type'] = "text"; $theme_config[$i]['default'] = constant('TF_FONT_FAMILY_DEFAULT'); //頁尾底色 $i++; $theme_config[$i]['name'] = "footer_bgcolor"; $theme_config[$i]['text'] = TF_FOOTER_BGCOLOR; $theme_config[$i]['desc'] = TF_FOOTER_BGCOLOR_DESC; $theme_config[$i]['type'] = "color"; $theme_config[$i]['default'] = "#CBA37F"; //頁尾文字色 $i++; $theme_config[$i]['name'] = "footer_color"; $theme_config[$i]['text'] = TF_FOOTER_COLOR; $theme_config[$i]['desc'] = TF_FOOTER_COLOR_DESC; $theme_config[$i]['type'] = "color"; $theme_config[$i]['default'] = "#FFFFFF"; //頁尾底圖 $i++; $theme_config[$i]['name'] = "footer_img"; $theme_config[$i]['text'] = TF_FOOTER_IMG; $theme_config[$i]['desc'] = TF_FOOTER_IMG_DESC; $theme_config[$i]['type'] = "file"; $theme_config[$i]['default'] = XOOPS_URL . "/themes/" . basename(__DIR__) . "/images/bg3.gif"; //頁尾內容樣式設定 $i++; $theme_config[$i]['name'] = "footer_style"; $theme_config[$i]['text'] = TF_FOOTER_STYLE; $theme_config[$i]['desc'] = TF_FOOTER_STYLE_DESC; $theme_config[$i]['type'] = "textarea"; $theme_config[$i]['default'] = "line-height:180%;text-align:center;"; //頂頭選單陣列 // $i++; // $theme_config[$i]['name'] = "topmenu"; // $theme_config[$i]['text'] = TF_TOPMENU; // $theme_config[$i]['desc'] = TF_TOPMENU_DESC; // $theme_config[$i]['type'] = "array"; // $theme_config[$i]['default'] = constant('TF_TOPMENU_DEFAULT');