Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ctools
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
ctools
Commits
82ea60ce
"ist-git@git.uwaterloo.ca:wcms/uw_cfg_common.git" did not exist on "4a2ad6ce364f7e8f462436b46cb5acba72ee6550"
Commit
82ea60ce
authored
15 years ago
by
Earl Miles
Browse files
Options
Downloads
Patches
Plain Diff
#448914: Fix a couple of notice errors with vocabulary context.
parent
2b2a4b10
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plugins/content_types/vocabulary_context/vocabulary_terms.inc
+1
-1
1 addition, 1 deletion
...ins/content_types/vocabulary_context/vocabulary_terms.inc
plugins/contexts/vocabulary.inc
+2
-2
2 additions, 2 deletions
plugins/contexts/vocabulary.inc
with
3 additions
and
3 deletions
plugins/content_types/vocabulary_context/vocabulary_terms.inc
+
1
−
1
View file @
82ea60ce
...
...
@@ -41,7 +41,7 @@ function ctools_vocabulary_terms_content_type_render($subtype, $conf, $panel_arg
$block
->
module
=
'node_type'
;
$block
->
title
=
check_plain
(
$vocab
->
name
);
$block
->
content
=
$output
;
$block
->
delta
=
$vocab
->
t
id
;
$block
->
delta
=
$vocab
->
v
id
;
return
$block
;
}
...
...
This diff is collapsed.
Click to expand it.
plugins/contexts/vocabulary.inc
+
2
−
2
View file @
82ea60ce
...
...
@@ -35,7 +35,7 @@ function ctools_context_create_vocabulary($empty, $data = NULL, $conf = FALSE) {
return
$context
;
}
if
(
$conf
)
{
if
(
$conf
&&
isset
(
$data
[
'vid'
])
)
{
$data
=
taxonomy_vocabulary_load
(
$data
[
'vid'
]);
}
...
...
@@ -61,7 +61,7 @@ function ctools_context_vocabulary_settings_form($conf, $external = FALSE) {
'#title'
=>
t
(
'Vocabulary'
),
'#type'
=>
'select'
,
'#options'
=>
$options
,
'#default_value'
=>
$conf
[
'vids'
],
'#default_value'
=>
isset
(
$conf
[
'vids'
]
)
?
$conf
[
'vids'
]
:
array
()
,
'#prefix'
=>
'<div class="clear-block">'
,
'#suffix'
=>
'</div>'
,
'#description'
=>
t
(
'Select the vocabulary for this 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