Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
b647348f
Commit
b647348f
authored
Apr 11, 2010
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#767852
by JohnAlbin: remove no-longer-needed theme function wrappers.
parent
f66e6900
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
13 deletions
+1
-13
modules/node/node.module
modules/node/node.module
+1
-13
No files found.
modules/node/node.module
View file @
b647348f
...
...
@@ -129,9 +129,6 @@ function node_theme() {
'render element'
=>
'elements'
,
'template'
=>
'node'
,
),
'node_list'
=>
array
(
'variables'
=>
array
(
'items'
=>
NULL
,
'title'
=>
NULL
),
),
'node_search_admin'
=>
array
(
'render element'
=>
'form'
,
),
...
...
@@ -284,16 +281,7 @@ function node_title_list($result, $title = NULL) {
$num_rows
=
TRUE
;
}
return
$num_rows
?
theme
(
'node_list'
,
array
(
'items'
=>
$items
,
'title'
=>
$title
))
:
FALSE
;
}
/**
* Format a listing of links to nodes.
*
* @ingroup themeable
*/
function
theme_node_list
(
$variables
)
{
return
theme
(
'item_list'
,
$variables
);
return
$num_rows
?
theme
(
'item_list__node'
,
array
(
'items'
=>
$items
,
'title'
=>
$title
))
:
FALSE
;
}
/**
...
...
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