Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Pixel Humain
survey
Commits
3d0cffa3
Commit
3d0cffa3
authored
Jun 19, 2020
by
Tibor Katelbach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lart revolution tweaks
parent
041fc1af
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1123 additions
and
4 deletions
+1123
-4
data/sommomAll.json
data/sommomAll.json
+1116
-0
views/tpls/forms/costum/community/emailist.php
views/tpls/forms/costum/community/emailist.php
+1
-1
views/tpls/forms/costum/community/wizard.php
views/tpls/forms/costum/community/wizard.php
+4
-1
views/tpls/forms/formbuilder.php
views/tpls/forms/formbuilder.php
+2
-2
No files found.
data/sommomAll.json
0 → 100644
View file @
3d0cffa3
This diff is collapsed.
Click to expand it.
views/tpls/forms/costum/community/emailist.php
View file @
3d0cffa3
...
...
@@ -127,7 +127,7 @@
inputType
:
"
text
"
,
label
:
"
Sujet
"
,
values
:
sectionDyf
.
<?php
echo
$kunik
?>
ParamsData
.
mail_type
}
}
,
mail_type
:
{
inputType
:
"
textarea
"
,
label
:
"
Mail type
"
,
...
...
views/tpls/forms/costum/community/wizard.php
View file @
3d0cffa3
...
...
@@ -37,6 +37,9 @@ if( isset(Yii::app()->session["costum"]["tpls"][$keyTpl]) ) {
.swMain
>
ul
li
>
a
.selected
::before
,
.swMain
li
>
a
.done
::before
{
border-color
:
<?php
echo
(
@
$color1
)
?
$color1
:
$defaultColor
?>
;
}
.bgFormColor
{
background-color
:
black
;
}
</style>
...
...
@@ -44,7 +47,7 @@ if( isset(Yii::app()->session["costum"]["tpls"][$keyTpl]) ) {
foreach
(
$formList
as
$k
=>
$v
)
{
?>
<div
id=
'
<?php
echo
$v
?>
'
class=
'col-sm-offset-1 col-sm-10 sectionStep '
style=
"padding-bottom:40px"
>
<div
id=
'
<?php
echo
$v
?>
'
class=
'col-sm-offset-1 col-sm-10 sectionStep
bgFormColor
'
style=
"padding-bottom:40px"
>
<?php
$form
=
PHDB
::
findOne
(
Form
::
COLLECTION
,[
"id"
=>
$v
]
);
?>
...
...
views/tpls/forms/formbuilder.php
View file @
3d0cffa3
...
...
@@ -52,7 +52,7 @@ if( isset( $form["inputs"] ) ){ ?>
//fin nouvelle repositionnement
//echo json_encode($form["inputs"]) ;
echo
"<ul class='questionList sticky'>"
;
echo
"<ul class='questionList sticky
bgFormColor
'>"
;
foreach
(
$form
[
"inputs"
]
as
$key
=>
$input
)
{
$canAnswer
=
Yii
::
app
()
->
session
[
"userId"
]
==
$answer
[
"user"
]
||
Yii
::
app
()
->
session
[
"costum"
][
"form"
][
"anyOnewithLinkCanAnswer"
];
...
...
@@ -97,7 +97,7 @@ if( isset( $form["inputs"] ) ){ ?>
"answer"
=>
$answer
,
"answers"
=>
$answers
,
//sub answers for this input
"label"
=>
$input
[
"label"
]
,
//$ct." - ".$input["label"] ,
"titleColor"
=>
"#16A9B1"
,
"titleColor"
=>
(
isset
(
Yii
::
app
()
->
session
[
"costum"
][
"colors"
][
"pink"
]))
?
Yii
::
app
()
->
session
[
"costum"
][
"colors"
][
"pink"
]
:
"#16A9B1"
,
// "titleColor" => "#3399FF",
"info"
=>
isset
(
$input
[
"info"
])
?
$input
[
"info"
]
:
""
,
"placeholder"
=>
isset
(
$input
[
"placeholder"
])
?
$input
[
"placeholder"
]
:
""
,
...
...
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