Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_news
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_news
Merge requests
!54
[TASK] Remove inline styles and scripts from plugin preview and pagination
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[TASK] Remove inline styles and scripts from plugin preview and pagination
cleanup_BackendModule
into
master
Overview
0
Commits
6
Pipelines
0
Changes
11
Merged
Kevin Ditscheid
requested to merge
cleanup_BackendModule
into
master
1 year ago
Overview
0
Commits
6
Pipelines
0
Changes
3
Expand
0
0
Merge request reports
Compare
version 2
version 5
5abd75d7
1 year ago
version 4
e169f266
1 year ago
version 3
a9b53936
1 year ago
version 2
7788062b
1 year ago
version 1
3a1faf7b
1 year ago
master (base)
and
version 3
latest version
62f5ae53
6 commits,
1 year ago
version 5
5abd75d7
5 commits,
1 year ago
version 4
e169f266
4 commits,
1 year ago
version 3
a9b53936
3 commits,
1 year ago
version 2
7788062b
2 commits,
1 year ago
version 1
3a1faf7b
1 commit,
1 year ago
Show latest version
3 files
+
20
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
Classes/Hooks/PageLayoutController.php
+
1
−
2
Options
@@ -73,9 +73,8 @@ class PageLayoutController {
$buttonLabel
=
LocalizationUtility
::
translate
(
'backend.button.goToNewsModule'
,
'SgNews'
);
$buttonLabel
=
'<span style="vertical-align: middle;">'
.
$buttonLabel
.
'</span>'
;
$path
=
''
;
$onclick
=
'TYPO3.SgNewsModule.sgNewsGoToNewsModule('
.
$categoryRow
[
'uid'
]
.
$path
.
'); return false;'
;
$wrap
=
' <div class="btn-group" role="group">%s</div>'
;
$link
=
'<a href="#"
onclick="'
.
$onclick
.
'" class="btn btn-primary">%s</a>'
;
$link
=
'<a href="#"
data-uid="'
.
$categoryRow
[
'uid'
]
.
'" data-path="'
.
$path
.
'" class="btn btn-primary
to-news-module
">%s</a>'
;
$link
=
sprintf
(
$link
,
$icon
.
' '
.
$buttonLabel
);
$out
=
sprintf
(
$wrap
,
$link
);
return
$out
;
Loading