Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
c6bc2b52
Commit
c6bc2b52
authored
Mar 08, 2018
by
Thomas Löffler
Browse files
Add information about distribution images into extensions.xml file
parent
2cb47c1b
Pipeline
#3792
passed with stages
in 5 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/ter/class.tx_ter_helper.php
View file @
c6bc2b52
...
...
@@ -431,6 +431,11 @@ class tx_ter_helper
$versionObj
->
appendChild
(
new
DOMElement
(
'state'
,
$this
->
xmlentities
(
$extensionVersionArr
[
'state'
])));
$versionObj
->
appendChild
(
new
DOMElement
(
'reviewstate'
,
intval
(
$extensionVersionArr
[
'reviewstate'
])));
$versionObj
->
appendChild
(
new
DOMElement
(
'category'
,
$this
->
xmlentities
(
$extensionVersionArr
[
'category'
])));
if
(
$extensionsAndVersionsArr
[
'category'
]
===
'distribution'
)
{
$prefixPathToDistributionFiles
=
'fileadmin/'
.
$extensionKey
[
0
]
.
'/'
.
$extensionKey
[
1
]
.
'/'
.
$extensionKey
.
'_'
.
$versionNumber
.
'_'
;
$versionObj
->
appendChild
(
new
DOMElement
(
'distributionImage'
,
$this
->
xmlentities
(
$prefixPathToDistributionFiles
.
'Distribution.png'
)));
$versionObj
->
appendChild
(
new
DOMElement
(
'distributionImageWelcome'
,
$this
->
xmlentities
(
$prefixPathToDistributionFiles
.
'DistributionWelcome.png'
)));
}
$versionObj
->
appendChild
(
new
DOMElement
(
'downloadcounter'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment