引用 | 编辑
dycheng81
2005-09-15 16:45 |
楼主
▼ |
||
x0
【类型】主程式【版本】2.02 我发现了一个关于网页模板的问题,不知该如何解决 任何人可以直接输入网页模板网址查看网页模板 这好像有点危险 我测试过数位男女的模板网址好像有被修改过,我打 http://bbs.mychat.to/template/mychat/index.htm 都找不到网页 不知是如何修改的.... x0
|
引用 | 编辑
月光
2005-09-21 17:36 |
1楼
▲ ▼ |
这...有点难度因为要把风格资料夹的名称改掉!!当然也必须修改php档案...我也成经想要修改但不知道指定读取板块的php档案是哪一个后来发现〝global.php〞中有
复制程式 function GetLang($lang,$EXT="php"){ global $tplpath; file_exists("./template/$tplpath/lang_$lang.$EXT") ? $path="./template/$tplpath/lang_$lang.$EXT" : $path="./template/wind/lang_$lang.$EXT"; return $path; } function PrintEot($template,$EXT="htm"){ global $tplpath; if(!$template) $template=N; file_exists("./template/$tplpath/$template.$EXT") ? $path="./template/$tplpath/$template.$EXT" : $path="./template/wind/$template.$EXT"; return $path; } 不过经过修改后论坛前台的风格读取无误..但是后台的却读取不到了我晕.... x0 |