Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Issue forks
colorbox-3183921
Commits
218306cc
Commit
218306cc
authored
Apr 22, 2010
by
frjo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#778102
: Improvments for contact forms in colorbox by user recrit..
parent
98809b10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
colorbox.pages.inc
colorbox.pages.inc
+6
-6
No files found.
colorbox.pages.inc
View file @
218306cc
...
...
@@ -20,17 +20,17 @@ function colorbox_login() {
function
colorbox_form_page
(
$form_id
)
{
$GLOBALS
[
'devel_shutdown'
]
=
FALSE
;
// Prevent devel module from spewing.
// Load includes for certain common forms.
switch
(
$form_id
)
{
case
'contact_mail_page'
:
module_load_include
(
'inc'
,
'contact'
,
'contact.pages'
);
print
contact_site_page
();
break
;
default
:
$form
=
drupal_get_form
(
$form_id
);
if
(
!
empty
(
$form
))
{
print
$form
;
}
}
$form
=
drupal_get_form
(
$form_id
);
if
(
!
empty
(
$form
))
{
print
$form
;
}
exit
;
}
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