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

Variables: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 1: Line 1:
This page is for administrators of Moodle 1.6 sites (see [[Talk:Variables]]).   
本页是给Moodle 1.6站点的管理员看的([[Talk:Variables]]).   
:'''NOTE: In later versions of Moodle, variables may be in different locations in the interface. For instance, the "maxbytes" variable is in the site administration block under Security -> Site Policies -> Maximum uploaded file size.'''
:'''注意: 在Moodle以后的版本中,变量(variables)也许在不同的位置。例如,"maxbytes" 变量在网站管理区下的"安全-> 网站策略-> 最大上传文件尺寸"




== Interface ==
== 接口 ==


*''lang'' - If you wish to change any text on your site, it is recommended that a local language pack is created. Please refer to [[Language]] for details
*''lang'' - If you wish to change any text on your site, it is recommended that a local language pack is created. Please refer to [[Language]] for details
Line 9: Line 9:
*''themelist'', ''allowuserthemes'', ''allowcoursethemes'' - Please refer to the [[Theme config|Theme configuration]] for details
*''themelist'', ''allowuserthemes'', ''allowcoursethemes'' - Please refer to the [[Theme config|Theme configuration]] for details


== Operating System ==
== 操作系统 ==


*''slasharguments'' - Please refer to the FAQ [[Installation_FAQ#Uploaded_files_give_.22File_not_found.22|Uploaded files give "File not found"]] and the [[Installing_Moodle#Check_web_server_settings|check web server settings]] instructions
*''slasharguments'' - Please refer to the FAQ [[Installation_FAQ#Uploaded_files_give_.22File_not_found.22|Uploaded files give "File not found"]] and the [[Installing_Moodle#Check_web_server_settings|check web server settings]] instructions


==User==
==用户==


*''autologinguests'' - Please refer to [[Guest access]]
*''autologinguests'' - Please refer to [[Guest access]]


== Permissions ==
== 权限==


*''opentogoogle'' - Please refer to [[Search engine optimization]] for further information
*''opentogoogle'' - Please refer to [[Search engine optimization]] for further information


== Miscellaneous ==
== 杂项==


*''maxeditingtime'' - Please refer to the forum discussions [http://moodle.org/mod/forum/discuss.php?d=28679 Editing a forum post after the 30 minutes deadline] and [http://moodle.org/mod/forum/discuss.php?d=5367 The philosophy underlying "no editing after 30 minutes"]
*''maxeditingtime'' - Please refer to the forum discussions [http://moodle.org/mod/forum/discuss.php?d=28679 Editing a forum post after the 30 minutes deadline] and [http://moodle.org/mod/forum/discuss.php?d=5367 The philosophy underlying "no editing after 30 minutes"]
Line 27: Line 27:
*''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]].
*''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]].


== See also ==
== 参见==


*[[Administration FAQ]]
*[[Administration FAQ]]

Revision as of 14:54, 20 March 2011

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

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


接口

  • lang - If you wish to change any text on your site, it is recommended that a local language pack is created. Please refer to Language for details
  • timezone - This field is used to set the default timezone used by Moodle. It affects time-related messages on the system such as assignment deadlines. If you have set this and still have time problems, make sure the time is set correctly on the server. Users can also set their timezone, see Edit profile.
  • themelist, allowuserthemes, allowcoursethemes - Please refer to the Theme configuration for details

操作系统

用户

权限

杂项

  • 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.

参见