Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Variables.

Variables: Difference between revisions

From MoodleDocs
Line 5: Line 5:
== 接口 ==
== 接口 ==


*''lang'' - 如果你想改变任何网站的文本,建设创建本地化语言包。细节请参阅 [[语言]]  
*''lang'' - 如果你想改变任何网站的文本,建设创建本地化语言包。细节请参阅 [[Language]]  
*''timezone'' -  这个字段用来设置Moodle的默认时区。 它影响系统中的相关时间信息如课程截止日期。如果你已经设计,但时间仍然有问题,确保服务器时间正确。用户还可以设置自己的时区,请 [[编辑个人资料]].
*''timezone'' -  这个字段用来设置Moodle的默认时区。 它影响系统中的相关时间信息如课程截止日期。如果你已经设计,但时间仍然有问题,确保服务器时间正确。用户还可以设置自己的时区,请 [[Edit profile]].
*''themelist'', ''allowuserthemes'', ''allowcoursethemes'' - 请参阅 [[主题配置]] 的详细信息
*''themelist'', ''allowuserthemes'', ''allowcoursethemes'' - 请参阅 [[Theme config|Theme configuration]] 的详细信息


== 操作系统 ==
== 操作系统 ==

Revision as of 15:12, 20 March 2011

本页是给Moodle 1.6站点的管理员看的(见 Talk:Variables).

注意: 在Moodle以后的版本中,变量(variables)也许在不同的位置。例如,"maxbytes" 变量在网站管理区下的"安全-> 网站策略-> 最大上传文件尺寸"


接口

  • lang - 如果你想改变任何网站的文本,建设创建本地化语言包。细节请参阅 Language
  • timezone - 这个字段用来设置Moodle的默认时区。 它影响系统中的相关时间信息如课程截止日期。如果你已经设计,但时间仍然有问题,确保服务器时间正确。用户还可以设置自己的时区,请 Edit profile.
  • themelist, allowuserthemes, allowcoursethemes - 请参阅 Theme configuration 的详细信息

操作系统

用户

权限

杂项

  • debug - Set debug to on in order to get more information about PHP errors. This is often helpful to an administrator when trying to get more information about an error or problem being experienced. Normally, debug is set to off. For more information about debugging in Moodle 1.7 onwards, see Debugging.

参见