25 Commits

Author SHA1 Message Date
Sam Hemelryk
e9c78971b5 Revert "MDL-40699 Language - Add option to Override Moodle's default behaviour to reset the UI language on logout"
This reverts commit 08174740fbdc5d0a86d67c3736d4c78dced11331.
2014-03-13 18:33:29 +01:00
Michael Milette
08174740fb MDL-40699 Language - Add option to Override Moodle's default behaviour to reset the UI language on logout
This change adds an option to the Site Admin > Langauge > Language Settings page which can prevent Moodle from changing language when users log out.

Affected files:
	lang/en/admin.php
	admin/settings/language.php
	login/logout.php

Signed-off-by: Michael Milette <michael.milette@instruxmedia.com>
2014-03-11 00:35:30 -04:00
Sam Hemelryk
e106013f34 MDL-26155 admin: Converted admin settings to use new lang_string 2012-01-03 09:09:40 +13:00
Petr Skoda
0715e3d938 MDL-29029 move multilang upgrade to admin tools
AMOS BEGIN
 MOV [multilangupgrade,core_admin],[pluginname,tool_ multilangupgrade]
 MOV [multilangupgradeinfo,core_admin],[multilangupgradeinfo,tool_ multilangupgrade]
AMOS END
2011-09-18 09:44:39 +02:00
Petr Skoda
bd41bdd922 MDL-29029 move lang pack import to admin tools
Includes lang related language pack cleanup.

AMOS BEGIN
 MOV [langpacks,core_admin],[pluginname,tool_langimport]
 MOV [install,core_admin],[install,tool_langimport]
 MOV [installedlangs,core_admin],[installedlangs,tool_langimport]
 MOV [langimport,core_admin],[langimport,tool_langimport]
 MOV [langimportdisabled,core_admin],[langimportdisabled,tool_langimport]
 MOV [langpackinstalled,core_admin],[langpackinstalled,tool_langimport]
 MOV [langpackremoved,core_admin],[langpackremoved,tool_langimport]
 MOV [langpackupdateskipped,core_admin],[langpackupdateskipped,tool_langimport]
 MOV [langpackuptodate,core_admin],[langpackuptodate,tool_langimport]
 MOV [langupdatecomplete,core_admin],[langupdatecomplete,tool_langimport]
 MOV [missinglangparent,core_admin],[missinglangparent,tool_langimport]
 MOV [nolangupdateneeded,core_admin],[nolangupdateneeded,tool_langimport]
 MOV [remotelangnotavailable,core_admin],[remotelangnotavailable,tool_langimport]
 MOV [uninstall,core_admin],[uninstall,tool_langimport]
 MOV [uninstallconfirm,core_admin],[uninstallconfirm,tool_langimport]
 MOV [updatelangs,core_admin],[updatelangs,tool_langimport]
AMOS END
2011-09-17 20:58:26 +02:00
David Mudrak
a9cbd19bff MDL-26804 core_string_manager::get_list_of_translations() can use a cache again
This patch reimplements the internal cache that was used to store the
list of available translations in Moodle 1.x. By default, the method
get_list_of_translations() still uses the file
moodledata/cache/languages to store the list of available translations.
The location of that file can be redefined in config.php. The internal
format of the cache file is JSON now (used to be a plain text list).

The patch also fixes a usage of the global $CFG in translation_exists()
methods where the internal property should be used instead.
2011-03-24 21:51:30 +01:00
David Mudrak
2134a91dd5 MDL-21696 Getting rid of legacy language customization stuff 2010-08-24 23:17:19 +00:00
David Mudrak
5cefe4f1b5 MDL-21696 Temporarily hiding language editing feature from admin tree
To be replaced by the new tool.
2010-05-25 23:53:36 +00:00
Martin Dougiamas
e641b745ee MDL-22015 Added a new setting langstringcache to enable/disable the string caching. Developers will want to switch this off. :) 2010-05-17 09:26:17 +00:00
Petr Skoda
1f96e907ea MDL-22084 making a clear distinction between list of our translations and list of all languages defined in ISO 639-2 2010-04-14 09:45:49 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
Petr Skoda
11b749ca90 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:32:02 +00:00
tjhunt
b032b49099 MDL-16348 Reorganise admin tree:
* New Capability report put under Users -> Permissions
* Miscellaneous category renamed to Development
* Unit tests and Functional DB test moved to be under Development.
* The hard-coded hack that was used to change the permission that controls the Backups and stats reports replaced with settings.php files.
* There were two hidden Miscellaneous things in the old category, so I moved them. Multilan upgrade now under Lanuages, and Online assignment cleanup now under Plugins -> Activity modules. Both still hidden.

There was already a way for admin report plugins to control where they appeared in the tree, but it was not documented, so see http://docs.moodle.org/en/Development:Admin_reports
2008-09-08 11:32:31 +00:00
stronk7
efcc5e0f3d Fixed copy/paste typo. MDL-11341 ;-) ; merged from 19_STABLE 2008-01-11 17:21:53 +00:00
poltawski
e67eff89e6 MDL-11341 - allow users with language editing perms to access language
editing
merged from MOODLE_19_STABLE
2008-01-11 16:27:15 +00:00
skodak
220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
skodak
5da9e750cf MDL-12570 option to disable lang autodetect from browser; merged from MOODLE_19_STABLE 2007-12-15 11:49:59 +00:00
skodak
a559f6306e MDL-11563 replaced hardcoded permission check from admin_tree_block 2007-10-28 22:35:00 +00:00
skodak
4642650fa2 MDL-9561 Langimport does not ignore langlist when langcache used
MDL-9563 Improve refreshing of langcache, detect permission problems
part2
merged from MOODLE_18_STABLE
2007-04-24 16:33:06 +00:00
toyomoyo
d16ce1946c fix for MDL-8585, introducing encoding setting for excel exports 2007-02-22 01:09:06 +00:00
toyomoyo
195e90f919 fix for MDL-8585, adding additonal CFG setting for latinexcelexport 2007-02-21 04:10:26 +00:00
moodler
73b998684b FIxes related to strange default languages 2006-09-25 06:04:02 +00:00
skodak
db51ddc52e old admin configuration cleanup - MDL-6595 MDL-6449 MDL-6447 2006-09-21 08:05:50 +00:00
moodler
8f8ed475f7 Added a new setting called $CFG->defaultuserroleid which defines
the role that ALL users get by default when they log in.
2006-09-14 09:39:23 +00:00
moodler
1ea1bcb36b New admin menu files 2006-09-03 14:52:43 +00:00