Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SobiPro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Christoph Flathmann
SobiPro
Commits
d3dae87c
Commit
d3dae87c
authored
Feb 08, 2019
by
Sigrid Suski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transferring override settings now via request
parent
d80317f3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
Site/lib/views/listing.php
Site/lib/views/listing.php
+4
-1
Site/lib/views/section.php
Site/lib/views/section.php
+4
-1
No files found.
Site/lib/views/listing.php
View file @
d3dae87c
...
...
@@ -17,6 +17,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
*/
use
Sobi\Input\Input
;
defined
(
'SOBIPRO'
)
||
exit
(
'Restricted access'
);
SPLoader
::
loadView
(
'section'
);
...
...
@@ -126,8 +128,9 @@ class SPListingView extends SPSectionView implements SPView
* @throws SPException
* @throws \Sobi\Error\Exception
*/
public
function
display
(
$type
=
'listing'
,
$out
=
null
,
$override
=
null
)
public
function
display
(
$type
=
'listing'
,
$out
=
null
)
{
$override
=
Input
::
String
(
'override'
)
?
Input
::
String
(
'override'
)
:
null
;
$this
->
_type
=
$type
;
switch
(
$type
)
{
case
'listing'
:
...
...
Site/lib/views/section.php
View file @
d3dae87c
...
...
@@ -35,6 +35,8 @@ class SPSectionView extends SPFrontView implements SPView
* @param bool $fields
*
* @return array|bool|mixed
* @throws SPException
* @throws \Sobi\Error\Exception
*/
protected
function
category
(
$category
,
$fields
=
true
)
{
...
...
@@ -658,8 +660,9 @@ class SPSectionView extends SPFrontView implements SPView
* @throws SPException
* @throws \Sobi\Error\Exception
*/
public
function
display
(
$type
=
'section'
,
$out
=
null
,
$override
=
null
)
public
function
display
(
$type
=
'section'
,
$out
=
null
)
{
$override
=
Input
::
String
(
'override'
)
?
Input
::
String
(
'override'
)
:
null
;
$this
->
_type
=
$type
;
switch
(
$this
->
get
(
'task'
)
)
{
case
'view'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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
Legal Notice / Impressum
|
Data Protection / Datenschutzinformation