Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Issue forks
colorbox-3127345
Commits
218306cc
Commit
218306cc
authored
Apr 22, 2010
by
frjo
Browse files
#778102
: Improvments for contact forms in colorbox by user recrit..
parent
98809b10
Changes
1
Hide whitespace changes
Inline
Side-by-side
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