Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stud.IP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan-Hendrik Willms
Stud.IP
Commits
07e1a73a
Commit
07e1a73a
authored
1 year ago
by
Jan-Hendrik Willms
Browse files
Options
Downloads
Patches
Plain Diff
prevent php8 warnings, fixes #2447
Closes #2447 Merge request
studip/studip!1644
parent
396d3e64
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/views/settings/calendar.php
+34
-30
34 additions, 30 deletions
app/views/settings/calendar.php
with
34 additions
and
30 deletions
app/views/settings/calendar.php
+
34
−
30
View file @
07e1a73a
...
...
@@ -118,36 +118,40 @@ $cal_step_weeks = [
</fieldset>
<?
if
(
Config
::
get
()
->
CALENDAR_GROUP_ENABLE
)
:
?>
<fieldset>
<legend>
<?=
_
(
'Gruppenterminkalender'
)
?>
</legend>
<label>
<?=
_
(
"Zeitintervall der Tagesansicht"
)
?>
<select
name=
"cal_step_day_group"
id=
"cal_step_day_group"
>
<?
foreach
(
$cal_step_days
as
$index
=>
$label
)
:
?>
<option
value=
"
<?=
$index
?>
"
<?
if
(
$step_day_group
==
$index
)
echo
'selected'
;
?>
>
<?=
$label
?>
</option>
<?
endforeach
;
?>
</select>
</label>
<label>
<?=
_
(
'Zeitintervall der Wochenansicht'
)
?>
<select
name=
"cal_step_week_group"
id=
"cal_step_week_group"
>
<?
foreach
(
$cal_step_weeks
as
$index
=>
$label
)
:
?>
<option
value=
"
<?=
$index
?>
"
<?
if
(
$step_week_group
==
$index
)
echo
'selected'
;
?>
>
<?=
$label
?>
</option>
<?
endforeach
;
?>
</select>
</label>
</fieldset>
<?
endif
?>
<?
if
(
Config
::
get
()
->
CALENDAR_GROUP_ENABLE
)
:
?>
<fieldset>
<legend>
<?=
_
(
'Gruppenterminkalender'
)
?>
</legend>
<label>
<?=
_
(
"Zeitintervall der Tagesansicht"
)
?>
<select
name=
"cal_step_day_group"
id=
"cal_step_day_group"
>
<?
foreach
(
$cal_step_days
as
$index
=>
$label
)
:
?>
<option
value=
"
<?=
$index
?>
"
<?
if
(
isset
(
$step_day_group
)
&&
$step_day_group
==
$index
)
echo
'selected'
;
?>
>
<?=
$label
?>
</option>
<?
endforeach
;
?>
</select>
</label>
<label>
<?=
_
(
'Zeitintervall der Wochenansicht'
)
?>
<select
name=
"cal_step_week_group"
id=
"cal_step_week_group"
>
<?
foreach
(
$cal_step_weeks
as
$index
=>
$label
)
:
?>
<option
value=
"
<?=
$index
?>
"
<?
if
(
isset
(
$step_week_group
)
&&
$step_week_group
==
$index
)
echo
'selected'
;
?>
>
<?=
$label
?>
</option>
<?
endforeach
;
?>
</select>
</label>
</fieldset>
<?
endif
?>
<footer>
<?
if
(
Request
::
option
(
'atime'
))
:
?>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment