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
33bbee91
Commit
33bbee91
authored
Sep 04, 2008
by
Richard Mansfield
Browse files
Use site name for the owner of site files in artefact chooser
parent
54b22a19
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/artefact/file/lib.php
View file @
33bbee91
...
@@ -626,7 +626,7 @@ JAVASCRIPT;
...
@@ -626,7 +626,7 @@ JAVASCRIPT;
}
}
else
if
(
$artefact
->
institution
)
{
else
if
(
$artefact
->
institution
)
{
if
(
$artefact
->
institution
==
'mahara'
)
{
if
(
$artefact
->
institution
==
'mahara'
)
{
$folderdata
[
$ownerkey
]
->
ownername
=
get_
strin
g
(
'
S
ite'
)
.
':'
;
$folderdata
[
$ownerkey
]
->
ownername
=
get_
confi
g
(
'
s
ite
name
'
)
.
':'
;
}
}
else
{
else
{
$folderdata
[
$ownerkey
]
->
ownername
=
get_field
(
'institution'
,
'displayname'
,
'name'
,
$artefact
->
institution
)
.
':'
;
$folderdata
[
$ownerkey
]
->
ownername
=
get_field
(
'institution'
,
'displayname'
,
'name'
,
$artefact
->
institution
)
.
':'
;
...
...
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