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
795e4395
Commit
795e4395
authored
13 years ago
by
dapphp
Browse files
Options
Download
Patches
Plain Diff
Support changing background color using bgcol URL parameter
parent
b4bab943
securimage_flash
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
securimage_play.as
+7
-1
securimage_play.as
securimage_play.swf
+0
-0
securimage_play.swf
with
7 additions
and
1 deletion
+7
-1
securimage_play.as
+
7
−
1
View file @
795e4395
...
...
@@ -109,7 +109,6 @@ package {
_flashVars
=
parameters
;
_iconArea
=
iconArea
;
// Set up accessibility for screen reader support
_accessProps
=
new
AccessibilityProperties
()
;
_accessProps
.
name
=
"Play Audio Captcha"
;
...
...
@@ -155,6 +154,13 @@ package {
if
(
_flashVars
.
lang
!=
undefined
)
{
lang
=
_flashVars
.
lang
;
}
if
(
_flashVars
.
bgcol
!=
undefined
)
{
if
(
_flashVars
.
bgcol
.
match
(
/^#
[
0-9a-fA-F
]{6}
$/
)
!=
null
)
{
_flashVars
.
bgcol
=
_flashVars
.
bgcol
.
replace
(
"#"
,
""
)
;
_iconArea
.
opaqueBackground
=
parseInt
(
_flashVars
.
bgcol
,
16
)
;
}
}
if
(
_flashVars
.
icon_file
!=
undefined
)
{
icon_file
=
_flashVars
.
icon_file
;
...
...
This diff is collapsed.
Click to expand it.
securimage_play.swf
+
0
−
0
View file @
795e4395
No preview for this file type
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