fixed unskinned icon
authorIngo Renner <ingo.renner@typo3.org>
Tue, 22 Apr 2008 16:40:56 +0000 (16:40 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Tue, 22 Apr 2008 16:40:56 +0000 (16:40 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3608 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/sysext/tstemplate_ceditor/class.tx_tstemplateceditor.php

index a94ccd8..50ed819 100644 (file)
@@ -147,7 +147,13 @@ class tx_tstemplateceditor extends t3lib_extobjbase {
                                // Resetting the menu (stop)
 
                        $theOutput.=$this->pObj->doc->spacer(5);
-                       $theOutput.=$this->pObj->doc->section("Edit constants for template:",'<img src="'.$BACK_PATH.t3lib_iconWorks::getIcon("sys_template",$tplRow).'" width=18 height=16 align=top><b>'.$this->pObj->linkWrapTemplateTitle($tplRow["title"],"constants").'</b>'.htmlspecialchars(trim($tplRow["sitetitle"])?' - ('.$tplRow["sitetitle"].')':''),0,1);
+                       $theOutput.=$this->pObj->doc->section("Edit constants for template:",'<img '.t3lib_iconWorks::skinImg($BACK_PATH, t3lib_iconWorks::getIcon('sys_template', $tplRow)).' align="top" /> <b>'.$this->pObj->linkWrapTemplateTitle($tplRow["title"],"constants").'</b>'.htmlspecialchars(trim($tplRow["sitetitle"])?' - ('.$tplRow["sitetitle"].')':''),0,1);
+
+debug(array(
+       $BACK_PATH,
+       t3lib_iconWorks::getIcon("sys_template", $tplRow)
+));
+
                        if ($manyTemplatesMenu) {
                                $theOutput.=$this->pObj->doc->section("",$manyTemplatesMenu);
                                $theOutput.=$this->pObj->doc->divider(5);