Rev 10558 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3742 | bpr | 1 | !read adm/title.phtml 2\ |
2 | WIMS模块的地址约定 |
||
23 | reyssat | 3 | |
4 | 激活的模块有一个形如 |
||
5901 | bpr | 5 | <span class="tt wims_fname">区域/范畴/名称.语言</span> |
23 | reyssat | 6 | 的地址. 对于正在开发中的模块, 上述地址转换成 |
5901 | bpr | 7 | <span class="tt wims_fname">区域~范畴~名称.语言</span>. |
23 | reyssat | 8 | |
9 | <ul> |
||
10558 | bpr | 10 | <li>区域: 受限于系统允许的区域. |
23 | reyssat | 11 | 其中以一个大写英文字母后接一个数字的是与学校的年级对应的区域. |
5901 | bpr | 12 | <span class="tt wims_fname">Lang</span>对应于语言学习材料, |
13 | <span class="tt wims_fname">tool</span>是各种在线工具, |
||
14 | <span class="tt wims_fname">local</span>是仅在本地服务站内使用的模块, |
||
15 | <span class="tt wims_fname">test</span>是未发布的测试区域, |
||
23 | reyssat | 16 | 这里面可以放任何东西. |
11676 | bpr | 17 | <div> |
18 | !read help/$lang/level.phtml |
||
19 | </div> |
||
5901 | bpr | 20 | </li><li><span class="tt wims_fname">范畴</span>: 这可以是你选取的任何词语, 不过当你提交模块供发布时, |
23 | reyssat | 21 | 它必须是系统能识别的范畴. |
22 | <p> |
||
23 | 请看以下已有模块的范畴. 有疑问时可以写信给 |
||
24 | !mailurl $sysadmin 发布协调员 |
||
25 | . |
||
10558 | bpr | 26 | </p> |
5901 | bpr | 27 | </li><li><span class="tt wims_fname">名称</span>: 你喜欢的任何(英语)字母串, 最好是4至12个小写英文字母. |
23 | reyssat | 28 | |
5901 | bpr | 29 | </li><li><span class="tt wims_fname">语言</span>: 两个英文字母的代码, 必须是网站支持的语言($wims_site_languages), |
23 | reyssat | 30 | 例如中文为 cn, 英文为 en. 必须与模块中的 INDEX 文件里定义的语言一致. |
31 | |||
3569 | bpr | 32 | </li></ul> |
23 | reyssat | 33 | |
10558 | bpr | 34 | <div> |
23 | reyssat | 35 | 一些已知的范畴: (不全) |
36 | !read wimshome/public_html/bases/sys/categories.phtml |
||
10558 | bpr | 37 | </div> |