issue 485 if new lang add, langcode manager apply admin layout.

but layout should be not apply to langcode manager


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9646 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-10-14 02:00:11 +00:00
parent 75478d2757
commit 8ddabdefee
4 changed files with 8 additions and 2 deletions

View file

@ -161,6 +161,9 @@ class HTMLDisplayHandler {
case 'hidden':
$str = preg_replace('@\svalue="[^"]*?"@', ' ', $str).' value="'.$INPUT_ERROR[$match[3]].'"';
break;
case 'password':
$str = preg_replace('@\svalue="[^"]*?"@', ' ', $str);
break;
case 'radio':
case 'checkbox':
$str = preg_replace('@\schecked(="[^"]*?")?@', ' ', $str);