:::

6-5 config2.php

<?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']="#EAEAEA";


//頁尾底圖
// $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/school2014/images/foot.jpg";



//頁尾內容樣式設定
$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']="height: 60px; line-height: 60px; 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');



//跑馬燈
$i++;
$theme_config[$i]['name']="marquee";
$theme_config[$i]['text']=TF_MARQUEE;
$theme_config[$i]['desc']=TF_MARQUEE_DESC;
$theme_config[$i]['type']="text";
$theme_config[$i]['default']=constant('TF_MARQUEE_DEFAULT');
?>

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D994%26tbsn%3D33

書籍目錄

展開 | 闔起

線上使用者

82人線上 (11人在瀏覽線上書籍)

會員: 0

訪客: 82

更多…