Project

General

Profile

Bug #15770 ยป bug_2775_officeimport.diff

Administrator Admin, 2006-03-11 16:14

View differences:

class.tx_rlmpofficeimport_cm1.new.php 2006-03-11 15:57:05.000000000 +0100
$localItems['moreoptions_tx_rlmpofficeimport_cm1']=$backRef->linkItem(
$GLOBALS['LANG']->getLLL('cm1_title_activate',$LL),
$backRef->excludeIcon('<img src="'.t3lib_extMgm::extRelPath('rlmp_officeimport').'cm1/cm_icon_activate.gif" width="15" height="12" border="0" align="top" alt="" />'),
$backRef->excludeIcon('<img'.t3lib_iconWorks::skinImg($backRef->backPath,t3lib_extMgm::extRelPath('rlmp_officeimport').'cm1/cm_icon_activate.gif','width="15" height="12"').' alt="" />'),
"top.loadTopMenu('".t3lib_div::linkThisScript()."&cmLevel=1&subname=moreoptions_tx_rlmpofficeimport_cm1');return false;",
0,
1
......
$url = t3lib_extMgm::extRelPath('rlmp_officeimport').'cm1/index.php?id='.$uid.'&doctype='.$docType;
$localItems[] = $backRef->linkItem(
$GLOBALS['LANG']->getLLL('cm1_title'.$docType,$LL),
$backRef->excludeIcon('<img src="'.t3lib_extMgm::extRelPath('rlmp_officeimport').'cm1/cm_icon'.$docType.'.gif" width="16" height="16" border="0" align="top" alt="" />'),
$backRef->excludeIcon('<img'.t3lib_iconWorks::skinImg($backRef->backPath,t3lib_extMgm::extRelPath('rlmp_officeimport').'cm1/cm_icon'.$docType.'.gif','width="16" height="16"').' alt="" />'),
$backRef->urlRefForCM($url),
1 // Disables the item in the top-bar. Set this to zero if you with the item to appear in the top bar!
);
    (1-1/1)