Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
3b8b894f
Commit
3b8b894f
authored
6 years ago
by
Vinciane
Browse files
Options
Downloads
Patches
Plain Diff
FIX #9193 save smtp config when click on next button
parent
474cfa80
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install/view/smtp_view.php
+9
-9
9 additions, 9 deletions
install/view/smtp_view.php
with
9 additions
and
9 deletions
install/view/smtp_view.php
+
9
−
9
View file @
3b8b894f
...
...
@@ -64,9 +64,9 @@
if
(
oneIsEmpty
)
{
$
(
'
#ajaxReturn_testConnect_ko
'
).
html
(
'
<?php
echo
_ONE_FIELD_EMPTY
;
?>
'
);
return
;
}
$
(
'
.wait
'
).
css
(
'
display
'
,
'
block
'
);
$
(
'
#ajaxReturn_testConnect_ko
'
).
html
(
''
);
}
$
(
'
.wait
'
).
css
(
'
display
'
,
'
block
'
);
$
(
'
#ajaxReturn_testConnect_ko
'
).
html
(
''
);
ajaxDB
(
'
testSmtp
'
,
...
...
@@ -84,10 +84,10 @@
'
false
'
);
if
(
oneIsEmpty
)
{
if
(
!
oneIsEmpty
)
{
$
(
'
#ajaxReturn_testConnect_ok
'
).
html
(
'
<?php
echo
"connexion ok"
;
?>
'
);
return
;
}
}
});
...
...
@@ -192,9 +192,9 @@
<td>
<input
type=
"button"
id=
"ajaxReturn_testConnect_button"
onClick=
"$('.wait').css('display','block');envoiMailTestSmtp( 'testSmtp','test', $('#smtpHost').val(), $('#smtpType').val(), $('#smtpPort').val(), $('#smtpUser').val(), $('#smtpPassword').val(), $('#smtpAuth').val(), $('#smtpMailTo').val(), $('#smtpDomains').val(), $('#smtpMailFrom').val());"
value=
"
<?php
echo
_VERIF_SMTP
;
?>
"
/>
</td>
<td>
<input
type=
"button"
id=
"ajaxReturn_testConnect_button"
onClick=
"$('.wait').css('display','block');envoiMailTestSmtp( 'testSmtp','add', $('#smtpHost').val(), $('#smtpType').val(), $('#smtpPort').val(), $('#smtpUser').val(), $('#smtpPassword').val(), $('#smtpAuth').val(), $('#smtpMailTo').val(), $('#smtpDomains').val(), $('#smtpMailFrom').val());"
value=
"
<?php
echo
_ADD_INFO_SMTP
;
?>
"
/>
</td>
<!--
<td>
<input type="button" id="ajaxReturn_testConnect_button" onClick="$('.wait').css('display','block');envoiMailTestSmtp( 'testSmtp','add', $('#smtpHost').val(), $('#smtpType').val(), $('#smtpPort').val(), $('#smtpUser').val(), $('#smtpPassword').val(), $('#smtpAuth').val(), $('#smtpMailTo').val(), $('#smtpDomains').val(), $('#smtpMailFrom').val());" value="
<?php
echo
_ADD_INFO_SMTP
;
?>
"/>
</td>
-->
</tr>
</table>
</form>
...
...
@@ -228,7 +228,7 @@
</a>
</div-->
<div
style=
"float: right;"
class=
"nextButton"
id=
"next"
>
<a
href=
"#"
onClick=
"goTo('index.php?step=password');"
>
<a
href=
"#"
onClick=
"
envoiMailTestSmtp( 'testSmtp','add', $('#smtpHost').val(), $('#smtpType').val(), $('#smtpPort').val(), $('#smtpUser').val(), $('#smtpPassword').val(), $('#smtpAuth').val(), $('#smtpMailTo').val(), $('#smtpDomains').val(), $('#smtpMailFrom').val());
goTo('index.php?step=password');"
>
<?php
echo
_NEXT_INSTALL
;
?>
</a>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment