老班长休闲吧's Archiver

老班长 发表于 2006-4-19 08:45

[04-19] 天气预报增强 for 4.0 4.1

[size=4][color=Red]本站演示:[/color][/size][url=http://www.kissing.joyren.com/plugin.php?identifier=weather&module=weather]http://www.kissing.joyren.com/plugin.php?identifier=weather&module=weather[/url]


══════════════════════════════════════
■ 安装方法:
══════════════════════════════════════
■ 1. 按结构上传所有文件;
■ 2. 以管理员身份进入后台,
■ 添加插件, 导入  *plug_weather.txt 并开启插件.
3. 打开templates\模板文件夹\css.htm
查找:
在前面加:

[code].historical_today {
        border: 1px solid #DDDDDD;
}
.eng { font-family: "Times New Roman", "Times", "serif";  font-weight: bolder; font-size: 25px; color: #002250; line-height: 35px }
.shikuang {
        border: 1px solid {INNERBORDERCOLOR};
}
.shikuang_1 {
        border: 5px solid {ALTBG2};
}
.shikuang_2 {
        border: 0px solid {INNERBORDERCOLOR};
}
.shikuang_jb {
        border: 1px solid {INNERBORDERCOLOR};
}
.font_sl {
        font-family: {FONT};
        font-size: {FONTSIZE};
        color:{TABLETEXT};
        text-indent: 10;
}

[/code]

保存退出.
4. 打开templates\default\actions.lang.php
查找:


[code]211 => '修改系统设置',
[/code]

下面加:


[code]222 => '天气预报中心',
[/code]
(确认在这个文件中没有数字222)
保存退出OK.


[color=#ff0000]php版本<4.3.0 或 24小时预报有问题的请下载下面php文件覆盖安装[/color]

琼宇山人 发表于 2006-5-31 15:16

适合什么样的版本啊?

先看看!!

老班长 发表于 2006-5-31 15:21

回复 #2 琼宇山人 的帖子

请看标题

天气预报增强 for 4.0 4.1

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.