Index: index.php =================================================================== --- index.php (revision 38835) +++ index.php (working copy) @@ -462,9 +462,9 @@ document.location = "'.t3lib_div::linkThisScript(array('htmlPath'=>'','doMappingOfPath'=>1)).'&htmlPath="+top.rawurlencode(inPath); } - function openValidator(strToPost) { + function openValidator(tpl) { var valform = new Element(\'form\',{method: \'post\', target:\'_blank\', action: \'http://validator.w3.org/check#validate_by_input\'}); - valform.insert(new Element(\'input\',{name: \'fragment\', value:strToPost, type: \'hidden\'}));$(document.body).insert(valform); + valform.insert(new Element(\'input\',{name: \'fragment\', value:tpl.template, type: \'hidden\'}));$(document.body).insert(valform); valform.submit(); } ').$this->doc->getDynTabMenuJScode(); @@ -945,7 +945,7 @@ - + ' . tx_templavoila_icons::getIcon('extensions-templavoila-htmlvalidate') . ' ' . $GLOBALS['LANG']->getLL('validateTpl') . ' @@ -1364,7 +1364,7 @@ - + ' . tx_templavoila_icons::getIcon('extensions-templavoila-htmlvalidate') . ' ' . $GLOBALS['LANG']->getLL('validateTpl') . '