Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3421017
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
drupal-3421017
Commits
669fc40b
Commit
669fc40b
authored
18 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#85584
by erdemkose: bugfix: pass to the form.
parent
23d0f350
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
includes/form.inc
+1
-1
1 addition, 1 deletion
includes/form.inc
includes/locale.inc
+2
-2
2 additions, 2 deletions
includes/locale.inc
with
3 additions
and
3 deletions
includes/form.inc
+
1
−
1
View file @
669fc40b
...
...
@@ -107,7 +107,7 @@ function drupal_get_form($form_id) {
$_SESSION
[
'form'
][
$form_build_id
]
=
$args
;
$form
[
'#build_id'
]
=
$form_build_id
;
}
drupal_pr
ocess
_form
(
$args
[
0
],
$form
);
drupal_pr
epare
_form
(
$args
[
0
],
$form
);
}
return
drupal_render_form
(
$args
[
0
],
$form
);
...
...
This diff is collapsed.
Click to expand it.
includes/locale.inc
+
2
−
2
View file @
669fc40b
...
...
@@ -273,7 +273,7 @@ function _locale_admin_import_submit($form_id, $form_values) {
return
'admin/settings/locale'
;
}
function
_locale_export_po_form
()
{
function
_locale_export_po_form
(
$languages
)
{
$form
[
'export'
]
=
array
(
'#type'
=>
'fieldset'
,
'#title'
=>
t
(
'Export translation'
),
'#collapsible'
=>
TRUE
,
...
...
@@ -310,7 +310,7 @@ function _locale_admin_export_screen() {
$output
=
''
;
// Offer language specific export if any language is set up
if
(
count
(
$languages
))
{
$output
=
drupal_get_form
(
'_locale_export_po_form'
);
$output
=
drupal_get_form
(
'_locale_export_po_form'
,
$languages
);
}
$output
.
=
drupal_get_form
(
'_locale_export_pot_form'
);
...
...
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