Project

General

Profile

Bug #14518 » pageedit.diff

Administrator Admin, 2005-04-11 13:13

View differences:

/var/www/typo3_src-3.8.0beta1/typo3/sysext/cms/layout/db_layout.php 2005-04-11 12:54:07.740784112 +0200
// Creating the top edit page icon:
if ($this->CALC_PERMS&2) {
$params='&edit[pages]['.$this->id.']=edit';
$this->editIcon='<a href="#" onclick="'.htmlspecialchars(t3lib_BEfunc::editOnClick($params,$BACK_PATH)).'"><img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/edit2.gif','width="11" height="12"').' vspace="2" align="top" title="'.$LANG->getLL('edit',1).'" alt="" /></a>';
$this->editIcon='<a href="#" onclick="'.htmlspecialchars(t3lib_BEfunc::editOnClick($params,$BACK_PATH)).'"><img'.t3lib_iconWorks::skinImg($BACK_PATH,'gfx/edit2.gif','width="11" height="12"').' vspace="2" align="top" title="'.$LANG->getLL('editPageTitle',1).'" alt="" /></a>';
} else {
$this->editIcon='';
}
(2-2/3)