Feature #23526 » 15686_v3.diff
t3lib/class.t3lib_befunc.php (working copy) | ||
---|---|---|
}
|
||
/**
|
||
* Returns the URL to a given module
|
||
*
|
||
* @param string $moduleName Name of the module
|
||
* @param array $urlParameters URL parameters that should be added as key value pairs
|
||
* @param bool/string $backPathOverride backpath that should be used instead of the global $BACK_PATH
|
||
* @param bool $returnAbsoluteUrl If set to true, the URL returned will be absolute, $backPathOverride will be ignored in this case
|
||
* @return bool/string calculated URL or FALSE
|
||
*/
|
||
public static function getModuleUrl($moduleName, $urlParameters = array(), $backPathOverride = FALSE, $returnAbsoluteUrl = FALSE) {
|
||
if (!$GLOBALS['BE_USER']->check('modules', $moduleName)) {
|
||
return FALSE;
|
||
}
|
||
if ($backPathOverride === FALSE) {
|
||
$backPath = $GLOBALS['BACK_PATH'];
|
||
} else {
|
||
$backPath = $backPathOverride;
|
||
}
|
||
$allUrlParameters = array();
|
||
$allUrlParameters['M'] = $moduleName;
|
||
$allUrlParameters = array_merge($allUrlParameters, $urlParameters);
|
||
$url = 'mod.php?' . t3lib_div::implodeArrayForUrl('', $allUrlParameters, '', TRUE);
|
||
if ($returnAbsoluteUrl) {
|
||
return t3lib_div::getIndpEnv('TYPO3_REQUEST_DIR') . $url;
|
||
} else {
|
||
return $backPath . $url;
|
||
}
|
||
}
|
||
/**
|
||
* Return a link to the list view
|
||
*
|
||
* @param array $urlParameters URL parameters that should be added as key value pairs
|
||
* @param string $linkTitle title for the link tag
|
||
* @param string $linkText optional link text after the icon
|
||
* @return string a complete link tag or empty string
|
||
*/
|
||
public static function getListViewLink($urlParameters = array(), $linkTitle = '', $linkText = '') {
|
||
$url = self::getModuleUrl('web_list', $urlParameters);
|
||
if (!t3lib_extMgm::isLoaded('list') || $url === FALSE) {
|
||
return '';
|
||
} else {
|
||
return '<a href="' . htmlspecialchars($url) . '" title="' . htmlspecialchars($linkTitle) . '">' .
|
||
t3lib_iconWorks::getSpriteIcon('actions-system-list-open') .
|
||
htmlspecialchars($linkText) .
|
||
'</a>';
|
||
}
|
||
}
|
||
/*******************************************
|
||
*
|
||
* Core
|
t3lib/class.t3lib_extmgm.php (working copy) | ||
---|---|---|
}
|
||
/**
|
||
* Static function for create a link to list view
|
||
*
|
||
* @param string $id page id / resource id
|
||
* @param string $additionalParams eg "&returnUrl=..."
|
||
* @param string $linkTitle title for the link tag
|
||
* @param string $linkText optional link text after the icon
|
||
* @param boolean $linkOnly if true only the href will be returned
|
||
* @return string link / href
|
||
*/
|
||
public function createListViewLink($id, $additionalParams = '', $linkTitle = '', $linkText = '', $linkOnly = FALSE) {
|
||
if (!self::isLoaded('list') || !$GLOBALS['BE_USER']->check('modules', 'web_list')) {
|
||
return '';
|
||
}
|
||
$href = $GLOBALS['BACK_PATH'] . self::extRelPath('list') . 'mod1/db_list.php?id=' .
|
||
$id . $additionalParams;
|
||
if ($linkOnly) {
|
||
return $href;
|
||
} else {
|
||
return '<a href="' . htmlspecialchars($href) . '" title="' . htmlspecialchars($linkTitle) . '">' .
|
||
t3lib_iconWorks::getSpriteIcon('actions-system-list-open') .
|
||
$linkText .
|
||
'</a>';
|
||
}
|
||
}
|
||
/**
|
||
* Gets the behaviour for caching ext_tables.php and ext_localconf.php files
|
||
* (see $TYPO3_CONF_VARS['EXT']['extCache'] setting in the install tool).
|
||
*
|
t3lib/class.t3lib_clipboard.php (working copy) | ||
---|---|---|
} else {
|
||
if (t3lib_extMgm::isLoaded('list')) {
|
||
$str = '<a href="' . htmlspecialchars(
|
||
$this->backPath . t3lib_extMgm::extRelPath('list') . 'mod1/db_list.php?id=' . $rec['pid']
|
||
t3lib_BEfunc::getModuleUrl(
|
||
'web_list',
|
||
array('id' => $rec['pid']),
|
||
$this->backPath)
|
||
) . '">' . $str . '</a>';
|
||
}
|
||
}
|
typo3/wizard_list.php (working copy) | ||
---|---|---|
if (!strcmp($this->pid,'') || strcmp($this->id,'')) { // If pid is blank OR if id is set, then return...
|
||
$redirectUrl = t3lib_div::sanitizeLocalUrl($this->P['returnUrl']);
|
||
} else { // Otherwise, show the list:
|
||
$redirectUrl = t3lib_extMgm::createListViewLink(
|
||
$this->pid,
|
||
'&table=' . $this->P['params']['table'] . '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
|
||
'',
|
||
'',
|
||
TRUE
|
||
);
|
||
$urlParameters = array();
|
||
$urlParameters['id'] = $this->pid;
|
||
$urlParameters['table'] = $this->P['params']['table'];
|
||
$urlParameters['returnUrl'] = t3lib_div::getIndpEnv('REQUEST_URI');
|
||
$redirectUrl = t3lib_BEfunc::getModuleUrl('web_list', $urlParameters);
|
||
}
|
||
t3lib_utility_Http::redirect($redirectUrl);
|
||
}
|
typo3/db_new.php (working copy) | ||
---|---|---|
// Record list
|
||
// If access to Web>List for user, then link to that module.
|
||
$buttons['record_list'] = t3lib_extMgm::createListViewLink(
|
||
$this->pageinfo['uid'],
|
||
'&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE)
|
||
$buttons['record_list'] = t3lib_BEfunc::getListViewLink(
|
||
array(
|
||
'id' => $this->pageinfo['uid'],
|
||
'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
|
||
),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
|
||
);
|
||
}
|
||
typo3/db_list.php (working copy) | ||
---|---|---|
'Referer: ' . t3lib_div::getIndpEnv('HTTP_REFERER')
|
||
);
|
||
if (t3lib_extMgm::isLoaded('list')) {
|
||
t3lib_utility_Http::redirect(t3lib_extMgm::extRelPath('list') . 'mod1/db_list.php?' . $query);
|
||
t3lib_utility_Http::redirect(t3lib_BEfunc::getModuleUrl('web_list', array(), '', TRUE) . '&' . $query);
|
||
} else {
|
||
$title = sprintf($GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:extension.not.installed'), 'list');
|
||
$message = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:link.to.dblist.correctly');
|
typo3/template.php (working copy) | ||
---|---|---|
*/
|
||
function viewPageIcon($id,$backPath,$addParams='hspace="3"') {
|
||
global $BE_USER;
|
||
$str = '';
|
||
// If access to Web>List for user, then link to that module.
|
||
$str .= t3lib_extMgm::createListViewLink(
|
||
$id,
|
||
'&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE)
|
||
$str = t3lib_BEfunc::getListViewLink(
|
||
array(
|
||
'id' => $id,
|
||
'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
|
||
),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
|
||
);
|
||
// Make link to view page
|
typo3/sysext/func/mod1/index.php (working copy) | ||
---|---|---|
}
|
||
// If access to Web>List for user, then link to that module.
|
||
$buttons['record_list'] = t3lib_extMgm::createListViewLink(
|
||
$this->pageinfo['uid'],
|
||
'&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE)
|
||
$buttons['record_list'] = t3lib_BEfunc::getListViewLink(
|
||
array(
|
||
'id' => $this->pageinfo['uid'],
|
||
'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
|
||
),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
|
||
);
|
||
}
|
||
return $buttons;
|
||
}
|
typo3/sysext/impexp/app/index.php (working copy) | ||
---|---|---|
// Record list
|
||
// If access to Web>List for user, then link to that module.
|
||
$buttons['record_list'] = t3lib_extMgm::createListViewLink(
|
||
$this->pageinfo['uid'],
|
||
'&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE)
|
||
$buttons['record_list'] = t3lib_BEfunc::getListViewLink(
|
||
array(
|
||
'id' => $this->pageinfo['uid'],
|
||
'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
|
||
),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
|
||
);
|
||
}
|
||
}
|
typo3/sysext/tstemplate/ts/index.php (working copy) | ||
---|---|---|
'</a>';
|
||
// If access to Web>List for user, then link to that module.
|
||
$buttons['record_list'] = t3lib_extMgm::createListViewLink(
|
||
$this->pageinfo['uid'],
|
||
'&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE)
|
||
$buttons['record_list'] = t3lib_BEfunc::getListViewLink(
|
||
array(
|
||
'id' => $this->pageinfo['uid'],
|
||
'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
|
||
),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
|
||
);
|
||
if ($this->extClassConf['name'] == 'tx_tstemplateinfo') {
|
typo3/sysext/perm/mod1/index.php (working copy) | ||
---|---|---|
}
|
||
// If access to Web>List for user, then link to that module.
|
||
$buttons['record_list'] = t3lib_extMgm::createListViewLink(
|
||
$this->pageinfo['uid'],
|
||
'&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE)
|
||
$buttons['record_list'] = t3lib_BEfunc::getListViewLink(
|
||
array(
|
||
'id' => $this->pageinfo['uid'],
|
||
'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
|
||
),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
|
||
);
|
||
return $buttons;
|
||
}
|
typo3/sysext/cms/layout/db_layout.php (working copy) | ||
---|---|---|
}
|
||
// If access to Web>List for user, then link to that module.
|
||
$buttons['record_list'] = t3lib_extMgm::createListViewLink(
|
||
$this->pageinfo['uid'],
|
||
'&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE)
|
||
$buttons['record_list'] = t3lib_BEfunc::getListViewLink(
|
||
array(
|
||
'id' => $this->pageinfo['uid'],
|
||
'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
|
||
),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
|
||
);
|
||
if (!$this->modTSconfig['properties']['disableIconToolbar']) {
|
typo3/sysext/cms/tslib/class.tslib_adminpanel.php (working copy) | ||
---|---|---|
}
|
||
}
|
||
if ($GLOBALS['BE_USER']->check('modules', 'web_list')) {
|
||
$toolBar .= '<a href="' . htmlspecialchars(TYPO3_mainDir . t3lib_extMgm::extRelPath('list') . 'mod1/db_list.php?id=' . $id . '&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI'))) . '">' .
|
||
$urlParams = array();
|
||
$urlParams['id'] = $id;
|
||
$urlParams['returnUrl'] = t3lib_div::getIndpEnv('REQUEST_URI');
|
||
$toolBar .= '<a href="' . htmlspecialchars(t3lib_BEfunc::getModuleUrl('web_list', $urlParams, '', TRUE)) . '">' .
|
||
'<img src="' . TYPO3_mainDir . 'gfx/list.gif" width="11" height="11" hspace="2" border="0" align="top" title="' . $this->extGetLL('edit_db_list') . '" alt="" /></a>';
|
||
}
|
||
typo3/sysext/lang/locallang_core.xml (working copy) | ||
---|---|---|
- javascript: method\'s name should be like: "TYPO3.MyExtension.Sample.myMethod"\n</label>
|
||
<label index="ExtDirect.noNamespace">Ext Direct error in "%s": no namespace has been found.</label>
|
||
<label index="extension.not.installed">Extension "%s" is not installed.</label>
|
||
<label index="link.to.dblist.correctly">Please, do not link to this page. Use t3lib_extMgm::createListViewLink() for link generation.</label>
|
||
<label index="link.to.dblist.correctly">Please, do not link to this page. Use t3lib_BEfunc::getListViewLink() for link generation.</label>
|
||
<label index="link.to.filefile.correctly">Please, do not link to this page.</label>
|
||
<label index="loadingIndicator">Loading ...</label>
|
||
</languageKey>
|
typo3/sysext/list/ext_autoload.php (working copy) | ||
---|---|---|
$extensionPath = t3lib_extMgm::extPath('list');
|
||
return array(
|
||
'sc_db_list' => $extensionPath . 'mod1/db_list.php',
|
||
'sc_db_list' => $extensionPath . 'mod1/index.php',
|
||
);
|
||
?>
|
typo3/sysext/list/mod1/db_list.php (working copy) | ||
---|---|---|
*/
|
||
unset($MCONF);
|
||
require ('conf.php');
|
||
require ($BACK_PATH.'init.php');
|
||
require ($BACK_PATH.'template.php');
|
||
$LANG->includeLLFile('EXT:lang/locallang_mod_web_list.xml');
|
||
require_once ($BACK_PATH.'class.db_list.inc');
|
||
require_once ($BACK_PATH.'class.db_list_extra.inc');
|
||
... | ... | |
// Initialize the dblist object:
|
||
$dblist = t3lib_div::makeInstance('localRecordList');
|
||
$dblist->backPath = $BACK_PATH;
|
||
$dblist->script = t3lib_extMgm::extRelPath('list') . 'mod1/db_list.php';
|
||
$dblist->script = t3lib_BEfunc::getModuleUrl('web_list', array(), '');
|
||
$dblist->calcPerms = $BE_USER->calcPerms($this->pageinfo);
|
||
$dblist->thumbs = $BE_USER->uc['thumbnailsByDefault'];
|
||
$dblist->returnUrl=$this->returnUrl;
|
||
... | ... | |
$this->id,
|
||
'SET[bigControlPanel]',
|
||
$this->MOD_SETTINGS['bigControlPanel'],
|
||
'db_list.php',
|
||
'',
|
||
($this->table ? '&table=' . $this->table : ''),
|
||
'id="checkLargeControl"'
|
||
);
|
||
... | ... | |
$this->id,
|
||
'SET[clipBoard]',
|
||
$this->MOD_SETTINGS['clipBoard'],
|
||
'db_list.php',
|
||
'',
|
||
($this->table ? '&table=' . $this->table : ''),
|
||
'id="checkShowClipBoard"'
|
||
);
|
||
... | ... | |
$this->id,
|
||
'SET[localization]',
|
||
$this->MOD_SETTINGS['localization'],
|
||
'db_list.php',
|
||
'',
|
||
($this->table ? '&table=' . $this->table : ''),
|
||
'id="checkLocalization"'
|
||
);
|
typo3/sysext/list/mod1/index.php (revision 0) | ||
---|---|---|
<?php
|
||
require_once(t3lib_extMgm::extPath('list') . 'mod1/db_list.php');
|
||
?>
|
typo3/sysext/list/mod1/conf.php (working copy) | ||
---|---|---|
<?php
|
||
define('TYPO3_MOD_PATH', 'sysext/list/mod1/');
|
||
$BACK_PATH='../../../';
|
||
$MLANG['default']['tabs_images']['tab'] = 'list.gif';
|
||
$MLANG['default']['ll_ref']='LLL:EXT:lang/locallang_mod_web_list.php';
|
||
// DO NOT REMOVE OR CHANGE THESE 2 LINES:
|
||
$MCONF['name'] = 'web_list';
|
||
$MCONF['script'] = '_DISPATCH';
|
||
$MCONF['script']='db_list.php';
|
||
$MCONF['access']='user,group';
|
||
$MCONF['name']='web_list';
|
||
$MCONF['access'] = 'user,group';
|
||
$MLANG['default']['tabs_images']['tab'] = 'list.gif';
|
||
$MLANG['default']['ll_ref'] = 'LLL:EXT:lang/locallang_mod_web_list.php';
|
||
?>
|
typo3/sysext/list/ext_tables.php (working copy) | ||
---|---|---|
}
|
||
if (TYPO3_MODE === 'BE') {
|
||
t3lib_extMgm::addModulePath('web_list', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
|
||
t3lib_extMgm::addModule('web', 'list', '', t3lib_extMgm::extPath($_EXTKEY) . 'mod1/');
|
||
}
|
||
?>
|
typo3/sysext/info/mod1/index.php (working copy) | ||
---|---|---|
}
|
||
// If access to Web>List for user, then link to that module.
|
||
$buttons['record_list'] = t3lib_extMgm::createListViewLink(
|
||
$this->pageinfo['uid'],
|
||
'&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE)
|
||
$buttons['record_list'] = t3lib_BEfunc::getListViewLink(
|
||
array(
|
||
'id' => $this->pageinfo['uid'],
|
||
'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
|
||
),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
|
||
);
|
||
return $buttons;
|
||
}
|
||
typo3/sysext/version/cm1/index.php (working copy) | ||
---|---|---|
}
|
||
// If access to Web>List for user, then link to that module.
|
||
$buttons['record_list'] = t3lib_extMgm::createListViewLink(
|
||
$this->pageinfo['uid'],
|
||
'&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE)
|
||
$buttons['record_list'] = t3lib_BEfunc::getListViewLink(
|
||
array(
|
||
'id' => $this->pageinfo['uid'],
|
||
'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
|
||
),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
|
||
);
|
||
}
|
||
return $buttons;
|
||
}
|
typo3/alt_shortcut.php (working copy) | ||
---|---|---|
// Load search for something.
|
||
if ($this->searchFor) {
|
||
$firstMP = intval($GLOBALS['WEBMOUNTS'][0]);
|
||
$urlParameters = array();
|
||
$urlParameters['id'] = intval($GLOBALS['WEBMOUNTS'][0]);
|
||
$urlParameters['search_field'] = $this->searchFor;
|
||
$urlParameters['search_levels'] = 4;
|
||
$this->content .= $this->doc->wrapScriptTags('jump(unescape("' .
|
||
rawurlencode(t3lib_extMgm::extRelPath('list') . 'mod1/db_list.php?id=' . $firstMP . '&search_field=' . rawurlencode($this->searchFor) . '&search_levels=4') .
|
||
rawurlencode(t3lib_BEfunc::getModuleUrl('web_list', $urlParameters, '')) .
|
||
'"), "web_list", "web");');
|
||
}
|
||
}
|
typo3/class.db_list.inc (working copy) | ||
---|---|---|
* @return string URL
|
||
*/
|
||
function listURL($altId='',$table=-1,$exclList='') {
|
||
$id = strcmp($altId, '') ? $altId : $this->id;
|
||
$additionalParams = '&table=' . rawurlencode($table == -1 ? $this->table : $table) .
|
||
($this->thumbs ? '&imagemode=' . $this->thumbs : '') .
|
||
($this->returnUrl ? '&returnUrl=' . rawurlencode($this->returnUrl) : '') .
|
||
($this->searchString ? '&search_field=' . rawurlencode($this->searchString) : '') .
|
||
($this->searchLevels ? '&search_levels=' . rawurlencode($this->searchLevels) : '') .
|
||
($this->showLimit ? '&showLimit=' . rawurlencode($this->showLimit) : '') .
|
||
($this->firstElementNumber ? '&pointer=' . rawurlencode($this->firstElementNumber) : '') .
|
||
((!$exclList || !t3lib_div::inList($exclList, 'sortField')) && $this->sortField ? '&sortField=' . rawurlencode($this->sortField) : '') .
|
||
((!$exclList || !t3lib_div::inList($exclList, 'sortRev')) && $this->sortRev ? '&sortRev=' . rawurlencode($this->sortRev) : '');
|
||
$urlParameters = array();
|
||
if (strcmp($altId, '')) {
|
||
$urlParameters['id'] = $altId;
|
||
} else {
|
||
$urlParameters['id'] = $this->id;
|
||
}
|
||
if ($this->thumbs) {
|
||
$urlParameters['imagemode'] = $this->thumbs;
|
||
}
|
||
if ($this->returnUrl) {
|
||
$urlParameters['returnUrl'] = $this->returnUrl;
|
||
}
|
||
if ($this->searchString) {
|
||
$urlParameters['search_field'] = $this->searchString;
|
||
}
|
||
if ($this->searchLevels) {
|
||
$urlParameters['search_levels'] = $this->searchLevels;
|
||
}
|
||
if ($this->showLimit) {
|
||
$urlParameters['showLimit'] = $this->showLimit;
|
||
}
|
||
if ($this->firstElementNumber) {
|
||
$urlParameters['pointer'] = $this->firstElementNumber;
|
||
}
|
||
if ((!$exclList || !t3lib_div::inList($exclList, 'sortField')) && $this->sortField) {
|
||
$urlParameters['sortField'] = $this->sortField;
|
||
}
|
||
if ((!$exclList || !t3lib_div::inList($exclList, 'sortRev')) && $this->sortRev) {
|
||
$urlParameters['sortRev'] = $this->sortRev;
|
||
}
|
||
return t3lib_extMgm::createListViewLink(
|
||
$id,
|
||
$additionalParams,
|
||
'',
|
||
'',
|
||
TRUE
|
||
);
|
||
return t3lib_BEfunc::getModuleUrl('web_list', $urlParameters);
|
||
}
|
||
/**
|
typo3/alt_clickmenu.php (working copy) | ||
---|---|---|
* @internal
|
||
*/
|
||
function DB_db_list($table,$uid,$rec) {
|
||
$url = t3lib_div::getIndpEnv('TYPO3_REQUEST_DIR') . t3lib_extMgm::extRelPath('list') . 'mod1/db_list.php?table='.($table=='pages'? '' : $table) . '&id=' . ($table == 'pages' ? $uid : $rec['pid']);
|
||
$urlParams = array();
|
||
$urlParams['id'] = ($table == 'pages') ? $uid : $rec['pid'];
|
||
$urlParams['table'] = $table == 'pages' ? '' : $table;
|
||
$url = t3lib_BEfunc::getModuleUrl('web_list', $urlParams, '', TRUE);
|
||
return $this->linkItem(
|
||
$GLOBALS['LANG']->makeEntities($GLOBALS['LANG']->getLL('CM_db_list')),
|
||
$this->excludeIcon(t3lib_iconWorks::getSpriteIcon('actions-system-list-open')),
|
- « Previous
- 1
- 2
- Next »