Bug #18269 » irre_7611_rev8536_v2.patch
t3lib/class.t3lib_tceforms_inline.php (working copy) | ||
---|---|---|
// Render the level links (create new record, localize all, synchronize):
|
||
if ($config['appearance']['levelLinksPosition']!='none') {
|
||
$levelLinks = $this->getLevelInteractionLink('newRecord', $nameObject . self::Structure_Separator . $foreign_table, $config);
|
||
if ($language>0) {
|
||
// Add the "Localize all records" link before all child records:
|
||
if (isset($config['appearance']['showAllLocalizationLink']) && $config['appearance']['showAllLocalizationLink']) {
|
||
$levelLinks.= $this->getLevelInteractionLink('localize', $nameObject . self::Structure_Separator . $foreign_table, $config);
|
||
}
|
||
// Add the "Synchronize with default language" link before all child records:
|
||
if (isset($config['appearance']['showSynchronizationLink']) && $config['appearance']['showSynchronizationLink']) {
|
||
$levelLinks.= $this->getLevelInteractionLink('synchronize', $nameObject . self::Structure_Separator . $foreign_table, $config);
|
||
}
|
||
}
|
||
}
|
||
// Add the level links before all child records:
|
||
if (in_array($config['appearance']['levelLinksPosition'], array('both', 'top'))) {
|
||
$item.= $levelLinks;
|
||
}
|
||
|
||
if ($language>0) {
|
||
$localizationLinks = "";
|
||
// Add the "Localize all records" link before all child records:
|
||
if (isset($config['appearance']['showAllLocalizationLink']) && $config['appearance']['showAllLocalizationLink']) {
|
||
$localizationLinks .= $this->getLevelInteractionLink('localize', $nameObject . self::Structure_Separator . $foreign_table, $config);
|
||
}
|
||
// Add the "Synchronize with default language" link before all child records:
|
||
if (isset($config['appearance']['showSynchronizationLink']) && $config['appearance']['showSynchronizationLink']) {
|
||
$localizationLinks .= $this->getLevelInteractionLink('synchronize', $nameObject . self::Structure_Separator . $foreign_table, $config);
|
||
}
|
||
}
|
||
$item.=$localizationLinks;
|
||
|
||
$item .= '<div id="'.$nameObject.'_records">';
|
||
$relationList = array();
|
- « Previous
- 1
- 2
- 3
- Next »