-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Plg parentassociations #17881
[4.0] Plg parentassociations #17881
Changes from 1 commit
93316f8
4b84f8a
ee85e1a
8abb641
c0260e2
95ca61c
a9c17f9
4042619
0d76dcb
a74c77c
eec4a61
44412c3
cb73dc6
501ed15
2340d12
78801f5
26ac16b
e6e9114
3c46478
bedfca9
3511d68
9ec58f5
6aba9f7
5b760b4
0424019
38825cc
4eb770a
2168e1e
0c1d977
b21e025
239c66a
ff4e41d
c5f3b63
8bd1af9
f2dd35d
538442b
d3555e8
542522f
e291013
82fe241
57bf3c7
23ba4a4
bc8b651
0a527e8
45798f7
39f1cd2
6ad1f44
e1814dd
fa2d94c
47f444e
a9c6fdf
48a8b27
b7a819a
a0e7ad2
a7a1377
6a55daa
2049c8a
eccae50
9fda340
a64fbf0
d8becf2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -293,13 +293,13 @@ public static function getAssociationHtmlList($extensionName, $typeName, $itemId | |
public static function getAssociationHtmlList1($extensionName, $typeName, $itemId, $itemLanguage, $addLink = true, $associationMode) | ||
{ | ||
|
||
// enthält alle Verbindungen von Item | ||
// contains all associations from items | ||
// Get the associations list for this item. | ||
$items = self::getAssociationList($extensionName, $typeName, $itemId); | ||
//var_dump($items); | ||
$titleFieldName = self::getTypeFieldName($extensionName, $typeName, 'title'); | ||
|
||
// Alle Sprachen die aktiviert sind | ||
// all languages that are activated | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please start inline comments with an uppercase letter |
||
// Get all content languages. | ||
$languages = self::getContentLanguages(); | ||
|
||
|
@@ -328,9 +328,10 @@ public static function getAssociationHtmlList1($extensionName, $typeName, $itemI | |
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove empty line |
||
|
||
// CASE: Associated and approved | ||
if (($associationMode == 1) ) | ||
if (($associationMode == 1)) | ||
{ | ||
if(!isset($items[$langCode])){ | ||
if(!isset($items[$langCode])) | ||
{ | ||
continue; | ||
} | ||
if($approved == 0){ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please start inline comments with an uppercase letter