summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-10-06 13:38:40 +0000
committerDries Buytaert <dries@buytaert.net>2010-10-06 13:38:40 +0000
commitfb8025056c39148dc784d529374e3e48ebebb454 (patch)
tree3573d5155e371139efe153bf8ef397fa6994ec07
parent1680103636c556503187f980f1b5dd4a66a72853 (diff)
downloadbrdo-fb8025056c39148dc784d529374e3e48ebebb454.tar.gz
brdo-fb8025056c39148dc784d529374e3e48ebebb454.tar.bz2
- Patch #932098 by sun: various bogus theme variables.
-rw-r--r--includes/locale.inc2
-rw-r--r--includes/pager.inc5
-rw-r--r--modules/aggregator/aggregator.pages.inc2
-rw-r--r--modules/forum/forum.module2
-rw-r--r--modules/node/node.admin.inc2
-rw-r--r--modules/poll/poll.pages.inc2
-rw-r--r--modules/profile/profile.pages.inc4
-rw-r--r--modules/simpletest/tests/theme.test2
-rw-r--r--modules/system/system.admin.inc2
-rw-r--r--modules/system/system.install5
-rw-r--r--modules/taxonomy/taxonomy.admin.inc2
-rw-r--r--modules/taxonomy/taxonomy.pages.inc2
-rw-r--r--modules/user/user.admin.inc2
13 files changed, 17 insertions, 17 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index 4b2f00556..a1cbed4d5 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -1615,7 +1615,7 @@ function _locale_translate_seek() {
}
$output .= theme('table', array('header' => $header, 'rows' => $rows, 'empty' => t('No strings available.')));
- $output .= theme('pager', array('tags' => NULL));
+ $output .= theme('pager');
return $output;
}
diff --git a/includes/pager.inc b/includes/pager.inc
index df68cd47c..49c758ab1 100644
--- a/includes/pager.inc
+++ b/includes/pager.inc
@@ -420,7 +420,10 @@ function theme_pager($variables) {
'data' => $li_last,
);
}
- return '<h2 class="element-invisible">' . t('Pages') . '</h2>' . theme('item_list', array('items' => $items, 'title' => NULL, 'type' => 'ul', 'attributes' => array('class' => array('pager'))));
+ return '<h2 class="element-invisible">' . t('Pages') . '</h2>' . theme('item_list', array(
+ 'items' => $items,
+ 'attributes' => array('class' => array('pager')),
+ ));
}
}
diff --git a/modules/aggregator/aggregator.pages.inc b/modules/aggregator/aggregator.pages.inc
index 92335022e..7b430c12a 100644
--- a/modules/aggregator/aggregator.pages.inc
+++ b/modules/aggregator/aggregator.pages.inc
@@ -268,7 +268,7 @@ function theme_aggregator_categorize_items($variables) {
* @see aggregator-wrapper.tpl.php
*/
function template_preprocess_aggregator_wrapper(&$variables) {
- $variables['pager'] = theme('pager', array('tags' => NULL));
+ $variables['pager'] = theme('pager');
}
/**
diff --git a/modules/forum/forum.module b/modules/forum/forum.module
index d89f25e7e..d84473bd4 100644
--- a/modules/forum/forum.module
+++ b/modules/forum/forum.module
@@ -1117,7 +1117,7 @@ function template_preprocess_forum_topic_list(&$variables) {
$variables['topic_id'] = $variables['tid'];
unset($variables['tid']);
- $variables['pager'] = theme('pager', array('tags' => NULL));
+ $variables['pager'] = theme('pager');
}
/**
diff --git a/modules/node/node.admin.inc b/modules/node/node.admin.inc
index b3413a959..1c75fa828 100644
--- a/modules/node/node.admin.inc
+++ b/modules/node/node.admin.inc
@@ -517,7 +517,7 @@ function node_admin_nodes() {
);
}
- $form['pager'] = array('#markup' => theme('pager', array('tags' => NULL)));
+ $form['pager'] = array('#markup' => theme('pager'));
return $form;
}
diff --git a/modules/poll/poll.pages.inc b/modules/poll/poll.pages.inc
index b34b94705..c67f1643a 100644
--- a/modules/poll/poll.pages.inc
+++ b/modules/poll/poll.pages.inc
@@ -42,7 +42,7 @@ function poll_page() {
$output .= '<li>' . l($node->title, "node/$node->nid") . ' - ' . format_plural($node->votes, '1 vote', '@count votes') . ' - ' . ($node->active ? t('open') : t('closed')) . '</li>';
}
$output .= '</ul>';
- $output .= theme("pager", array('tags' => NULL));
+ $output .= theme('pager');
return $output;
}
diff --git a/modules/profile/profile.pages.inc b/modules/profile/profile.pages.inc
index a85d6fe1f..064630ba4 100644
--- a/modules/profile/profile.pages.inc
+++ b/modules/profile/profile.pages.inc
@@ -74,7 +74,7 @@ function profile_browse() {
$content .= theme('profile_listing', array('account' => $account, 'fields' => $profile));
}
$output = theme('profile_wrapper', array('content' => $content));
- $output .= theme('pager', array('tags' => NULL));
+ $output .= theme('pager');
if ($field->type == 'selection' || $field->type == 'list' || $field->type == 'textfield') {
$title = strtr(check_plain($field->page), array('%value' => drupal_placeholder($value)));
@@ -111,7 +111,7 @@ function profile_browse() {
$content .= theme('profile_listing', array('account' => $account, 'fields' => $profile));
}
$output = theme('profile_wrapper', array('content' => $content));
- $output .= theme('pager', array('tags' => NULL));
+ $output .= theme('pager');
drupal_set_title(t('User list'));
return $output;
diff --git a/modules/simpletest/tests/theme.test b/modules/simpletest/tests/theme.test
index 00eb49b89..c2c9e044a 100644
--- a/modules/simpletest/tests/theme.test
+++ b/modules/simpletest/tests/theme.test
@@ -182,7 +182,7 @@ class ThemeItemListUnitTest extends DrupalWebTestCase {
</ul></div></li>
<li class="last">e</li>
</ul></div>';
- $output = theme('item_list', array('items' => $items, 'type' => 'ul', 'title' => NULL, 'attributes' => array()));
+ $output = theme('item_list', array('items' => $items));
$this->assertIdentical($expected, $output, 'Nested list is rendered correctly.');
}
}
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 2ce39b653..2af689a6e 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -2902,7 +2902,7 @@ function system_actions_manage() {
}
if ($row) {
- $pager = theme('pager', array('tags' => NULL));
+ $pager = theme('pager');
if (!empty($pager)) {
$row[] = array(array('data' => $pager, 'colspan' => '3'));
}
diff --git a/modules/system/system.install b/modules/system/system.install
index 087b130b0..4e6703148 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -128,10 +128,7 @@ function system_requirements($phase) {
'@system_requirements' => 'http://drupal.org/requirements',
));
- $description .= theme('item_list', array(
- 'type' => 'ul',
- 'items' => $missing_extensions,
- ));
+ $description .= theme('item_list', array('items' => $missing_extensions));
$requirements['php_extensions']['value'] = $t('Disabled');
$requirements['php_extensions']['severity'] = REQUIREMENT_ERROR;
diff --git a/modules/taxonomy/taxonomy.admin.inc b/modules/taxonomy/taxonomy.admin.inc
index 8cdd14b2d..a356304d4 100644
--- a/modules/taxonomy/taxonomy.admin.inc
+++ b/modules/taxonomy/taxonomy.admin.inc
@@ -633,7 +633,7 @@ function theme_taxonomy_overview_terms($variables) {
$header = array(t('Name'), t('Weight'), t('Operations'));
$output = theme('table', array('header' => $header, 'rows' => $rows, 'attributes' => array('id' => 'taxonomy')));
$output .= drupal_render_children($form);
- $output .= theme('pager', array('tags' => NULL));
+ $output .= theme('pager');
return $output;
}
diff --git a/modules/taxonomy/taxonomy.pages.inc b/modules/taxonomy/taxonomy.pages.inc
index 47433a6a8..19abf19d4 100644
--- a/modules/taxonomy/taxonomy.pages.inc
+++ b/modules/taxonomy/taxonomy.pages.inc
@@ -45,7 +45,7 @@ function taxonomy_term_page($term) {
$nodes = node_load_multiple($nids);
$build += node_view_multiple($nodes);
$build['pager'] = array(
- '#markup' => theme('pager', array('tags' => NULL)),
+ '#markup' => theme('pager'),
'#weight' => 5,
);
}
diff --git a/modules/user/user.admin.inc b/modules/user/user.admin.inc
index 09fb96463..197090489 100644
--- a/modules/user/user.admin.inc
+++ b/modules/user/user.admin.inc
@@ -221,7 +221,7 @@ function user_admin_account() {
'#options' => $options,
'#empty' => t('No people available.'),
);
- $form['pager'] = array('#markup' => theme('pager', array('tags' => NULL)));
+ $form['pager'] = array('#markup' => theme('pager'));
return $form;
}