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
Pixel Humain
survey
Commits
49db4fbb
Commit
49db4fbb
authored
Apr 14, 2020
by
Anatole Rakotoson
Browse files
sommom
parent
00cfed05
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/tpls/forms/cplx/answers.php
View file @
49db4fbb
...
...
@@ -167,7 +167,9 @@ mode <?php echo $mode ?>
<?php
if
(
count
(
$uids
)
){
$people
=
PHDB
::
find
(
Person
::
COLLECTION
,[
"_id"
=>
array
(
'$in'
=>
$uids
)],
[
"name"
,
"username"
]);
echo
"<h5>Created by : "
.
$people
[
$ans
[
'user'
]][
"name"
]
.
"</h5><hr>"
;
if
(
isset
(
$people
[
$ans
[
'user'
]][
"name"
])){
echo
"<h5>Created by : "
.
$people
[
$ans
[
'user'
]][
"name"
]
.
"</h5><hr>"
;
}
foreach
(
$localLinks
as
$type
=>
$ls
)
{
echo
"<h5>"
.
$type
.
"</h5><ul>"
;
foreach
(
$ls
as
$ix
=>
$uid
)
{
...
...
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