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
10c4ea27
Commit
10c4ea27
authored
Jun 19, 2020
by
Tibor Katelbach
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'anatole' into 'master'
Anatole See merge request
!4
parents
041fc1af
76553f4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
12 deletions
+1
-12
views/tpls/forms/costum/community/wizard.php
views/tpls/forms/costum/community/wizard.php
+0
-11
views/tpls/forms/formbuilder.php
views/tpls/forms/formbuilder.php
+1
-1
No files found.
views/tpls/forms/costum/community/wizard.php
View file @
10c4ea27
...
...
@@ -99,20 +99,9 @@ jQuery(document).ready(function() {
descHtml
=
dataHelper
.
markdownToHtml
(
$
(
v
).
html
());
$
(
v
).
html
(
descHtml
);
});
// Todo BUG en nav private
if
(
localStorage
!==
null
&&
localStorage
.
wizardStep
!==
null
)
showStepForm
(
localStorage
.
wizardStep
);
});
function
showStepForm
(
id
){
mylog
.
log
(
"
showStepForm
"
,
id
);
$
(
"
.sectionStep
"
).
addClass
(
"
hide
"
);
$
(
id
).
removeClass
(
"
hide
"
);
localStorage
.
setItem
(
"
wizardStep
"
,
id
);
}
</script>
...
...
views/tpls/forms/formbuilder.php
View file @
10c4ea27
...
...
@@ -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