Project

General

Profile

Bug #20997 » 11881-tstemplateinfo.patch

Administrator Admin, 2009-09-04 22:59

View differences:

typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php (working copy)
</table>';
// Edit all icon:
$outCode.= '<BR><a href="#" onClick="' . t3lib_BEfunc::editOnClick(rawurlencode('&createExtension=0') . '&edit[sys_template][' . $tplRow['uid'] . ']=edit', $BACK_PATH, '') . '"><strong>' . $GLOBALS['LANG']->getLL('editTemplateRecord') . '</strong></a>';
$outCode.= '<br /><a href="#" onClick="' . t3lib_BEfunc::editOnClick(rawurlencode('&createExtension=0') .
'&edit[sys_template][' . $tplRow['uid'] . ']=edit', $BACK_PATH, '') . '"><strong><img ' .
t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/edit2.gif') .' width="11" height="12" hspace="3" border="0" title="' .
$GLOBALS['LANG']->getLL('editTemplateRecord') . '">' . $GLOBALS['LANG']->getLL('editTemplateRecord') . '</strong></a>';
$theOutput.= $this->pObj->doc->spacer(25);
$theOutput.= $this->pObj->doc->section('', $outCode);
typo3/sysext/tstemplate_info/locallang.xml (working copy)
<label index="setup">Setup:</label>
<label index="resources">Resources:</label>
<label index="editToView">(edit to view, %s lines)</label>
<label index="editTemplateRecord">Click here to edit the whole template record.</label>
<label index="editTemplateRecord">Edit the whole template record.</label>
</languageKey>
</data>
</T3locallang>
(1-1/3)