MDL-51948 core: Patch core areas for LTR forms

Part of MDL-55071
This commit is contained in:
Frederic Massart
2016-09-23 10:55:14 +01:00
committed by Dan Poltawski
parent fc7f69e7e8
commit 525ef9c8b4
15 changed files with 41 additions and 65 deletions
+1
View File
@@ -52,6 +52,7 @@ class cachestore_memcache_addinstance_form extends cachestore_addinstance_form {
$form->setType('prefix', PARAM_TEXT); // We set to text but we have a rule to limit to alphanumext.
$form->setDefault('prefix', 'mdl_');
$form->addRule('prefix', get_string('prefixinvalid', 'cachestore_memcache'), 'regex', '#^[a-zA-Z0-9\-_]+$#');
$form->setForceLtr('prefix');
$form->addElement('header', 'clusteredheader', get_string('clustered', 'cachestore_memcache'));