Index: cm1/index.php =================================================================== --- cm1/index.php (revision 34155) +++ cm1/index.php (working copy) @@ -435,6 +435,12 @@ class tx_templavoila_cm1 extends t3lib_SCbase { function updPath(inPath) { // document.location = "'.t3lib_div::linkThisScript(array('htmlPath'=>'','doMappingOfPath'=>1)).'&htmlPath="+top.rawurlencode(inPath); } + + function openValidator(strToPost) { + 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.submit(); + } ').$this->doc->getDynTabMenuJScode(); // Setting up the context sensitive menu: @@ -849,10 +855,18 @@ class tx_templavoila_cm1 extends t3lib_SCbase { $onCl = 'return top.openUrlInWindow(\'' . t3lib_div::getIndpEnv('TYPO3_SITE_URL') . $relFilePath . '\',\'FileView\');'; $tRows[]=' - ' . $this->cshItem('xMOD_tx_templavoila', 'mapping_file', $this->doc->backPath, '|') . ' - ' . $GLOBALS['LANG']->getLL('templateFile') . ': + ' . $this->cshItem('xMOD_tx_templavoila', 'mapping_file', $this->doc->backPath, '|') . ' + ' . $GLOBALS['LANG']->getLL('templateFile') . ': ' . htmlspecialchars($relFilePath) . ' + + + + doc->backPath, t3lib_extMgm::extRelPath('templavoila') . 'resources/icons/html_go.png') . ' align="top" /> + ' . $GLOBALS['LANG']->getLL('validateTpl') . ' + + +   ' . $GLOBALS['LANG']->getLL('templateObject') . ': @@ -1260,8 +1274,16 @@ class tx_templavoila_cm1 extends t3lib_SCbase { $onCl = 'return top.openUrlInWindow(\''.t3lib_div::getIndpEnv('TYPO3_SITE_URL').$relFilePath.'\',\'FileView\');'; $tRows[]=' - '.$GLOBALS['LANG']->getLL('templateFile').': + '.$GLOBALS['LANG']->getLL('templateFile').': '.htmlspecialchars($relFilePath).' + + + + + doc->backPath, t3lib_extMgm::extRelPath('templavoila') . 'resources/icons/html_go.png') . ' align="top" /> + ' . $GLOBALS['LANG']->getLL('validateTpl') . ' + + '; // Finding Data Structure Record: Index: cm1/locallang.xml =================================================================== --- cm1/locallang.xml (revision 34155) +++ cm1/locallang.xml (working copy) @@ -219,6 +219,7 @@ +