Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
1fd2c11c
Commit
1fd2c11c
authored
Mar 20, 2016
by
Robert Lyon
Committed by
Gerrit Code Review
Mar 20, 2016
Browse files
Merge "Bug 1558885: Change the overriding start / end date lang string"
parents
28fcc277
a4134f74
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/lang/en.utf8/view.php
View file @
1fd2c11c
...
...
@@ -63,9 +63,9 @@ $string['deletethisview'] = 'Delete this page';
$string
[
'submitthisviewto1'
]
=
'Submit this page for assessment to'
;
$string
[
'submitthiscollectionto1'
]
=
'Submit this collection for assessment to'
;
$string
[
'forassessment1'
]
=
'Submit for assessment'
;
$string
[
'accessfromdate
2
'
]
=
'Nobody
else
can see this page before %s.'
;
$string
[
'accessuntildate
2
'
]
=
'Nobody
else
can see this page after %s.'
;
$string
[
'accessbetweendates
2
'
]
=
'Nobody
else
can see this page before %s or after %s.'
;
$string
[
'accessfromdate
3
'
]
=
'Nobody can see this page before %s.'
;
$string
[
'accessuntildate
3
'
]
=
'Nobody can see this page after %s.'
;
$string
[
'accessbetweendates
3
'
]
=
'Nobody can see this page before %s or after %s.'
;
$string
[
'artefactsinthisview'
]
=
'Artefacts in this page'
;
$string
[
'whocanseethisview'
]
=
'Who can see this page'
;
$string
[
'view'
]
=
'page'
;
...
...
htdocs/lib/view.php
View file @
1fd2c11c
...
...
@@ -6098,20 +6098,20 @@ class View {
public
static
function
access_override_description
(
$v
)
{
if
(
$v
[
'startdate'
]
&&
$v
[
'stopdate'
])
{
return
get_string
(
'accessbetweendates
2
'
,
'view'
,
'accessbetweendates
3
'
,
'view'
,
format_date
(
strtotime
(
$v
[
'startdate'
]),
'strftimedate'
),
format_date
(
strtotime
(
$v
[
'stopdate'
]),
'strftimedate'
)
);
}
if
(
$v
[
'startdate'
])
{
return
get_string
(
'accessfromdate
2
'
,
'view'
,
'accessfromdate
3
'
,
'view'
,
format_date
(
strtotime
(
$v
[
'startdate'
]),
'strftimedate'
)
);
}
if
(
$v
[
'stopdate'
])
{
return
get_string
(
'accessuntildate
2
'
,
'view'
,
'accessuntildate
3
'
,
'view'
,
format_date
(
strtotime
(
$v
[
'stopdate'
]),
'strftimedate'
)
);
}
...
...
Write
Preview
Supports
Markdown
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