Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
fusiondirectory
Securimage
Commits
b79e5e3a
Commit
b79e5e3a
authored
8 years ago
by
Drew Phillips
Committed by
GitHub
8 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #58 from snipershady/patch-1
Update example_form.ajax.php
parents
a3decda2
be701db8
master
nextgen
4.0.2
4.0.1
3.6.8
3.6.7
3.6.6
3.6.5
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
example_form.ajax.php
+2
-2
example_form.ajax.php
with
2 additions
and
2 deletions
+2
-2
example_form.ajax.php
+
2
−
2
View file @
b79e5e3a
...
@@ -20,7 +20,7 @@ process_si_contact_form();
...
@@ -20,7 +20,7 @@ process_si_contact_form();
<title>
Securimage Example Form
</title>
<title>
Securimage Example Form
</title>
<style
type=
"text/css"
>
<style
type=
"text/css"
>
<!
--
<!
--
#success_message
{
border
:
1px
solid
#000
;
width
:
550px
;
text-align
:
left
;
padding
:
10px
7px
;
background
:
#33ff33
;
color
:
#000
;
font-weight
;
bold;
font-size
:
1.2em
;
border-radius
:
4px
;
-moz-border-radius
:
4px
;
-webkit-border-radius
:
4px
;
}
#success_message
{
border
:
1px
solid
#000
;
width
:
550px
;
text-align
:
left
;
padding
:
10px
7px
;
background
:
#33ff33
;
color
:
#000
;
font-weight
:
bold
;
font-size
:
1.2em
;
border-radius
:
4px
;
-moz-border-radius
:
4px
;
-webkit-border-radius
:
4px
;
}
fieldset
{
width
:
90%
;
}
fieldset
{
width
:
90%
;
}
legend
{
font-size
:
24px
;
}
legend
{
font-size
:
24px
;
}
.note
{
font-size
:
18px
;
}
.note
{
font-size
:
18px
;
}
...
@@ -90,7 +90,7 @@ process_si_contact_form();
...
@@ -90,7 +90,7 @@ process_si_contact_form();
url
:
'
<?php
echo
htmlspecialchars
(
$_SERVER
[
'PHP_SELF'
],
ENT_QUOTES
)
?>
'
,
url
:
'
<?php
echo
htmlspecialchars
(
$_SERVER
[
'PHP_SELF'
],
ENT_QUOTES
)
?>
'
,
type
:
'
POST
'
,
type
:
'
POST
'
,
data
:
jQuery
(
'
#contact_form
'
).
serialize
(),
data
:
jQuery
(
'
#contact_form
'
).
serialize
(),
dataType
:
'
json
'
,
dataType
:
'
json
'
}).
done
(
function
(
data
)
{
}).
done
(
function
(
data
)
{
if
(
data
.
error
===
0
)
{
if
(
data
.
error
===
0
)
{
jQuery
(
'
#success_message
'
).
show
();
jQuery
(
'
#success_message
'
).
show
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets