summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/blog/blog.module2
-rw-r--r--modules/book/book.module2
-rw-r--r--modules/comment/comment.module4
-rw-r--r--modules/contextual/contextual.module2
-rw-r--r--modules/locale/locale.module2
-rw-r--r--modules/node/node.admin.inc2
-rw-r--r--modules/node/node.module2
-rw-r--r--modules/poll/poll.module2
-rw-r--r--modules/statistics/statistics.module2
-rw-r--r--modules/system/page.tpl.php4
-rw-r--r--modules/toolbar/toolbar.module4
-rw-r--r--modules/translation/translation.module2
-rw-r--r--modules/update/update.report.inc2
-rw-r--r--themes/garland/template.php4
14 files changed, 18 insertions, 18 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index 60b6c116e..95cedfcb1 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -86,7 +86,7 @@ function blog_node_view($node, $view_mode = 'full') {
'attributes' => array('title' => t("Read !username's latest blog entries.", array('!username' => format_username($node)))),
);
$node->content['links']['blog'] = array(
- '#theme' => 'links',
+ '#theme' => 'links__blog_node',
'#links' => $links,
'#attributes' => array('class' => array('links', 'inline')),
);
diff --git a/modules/book/book.module b/modules/book/book.module
index c8b82a88e..f1a2faf67 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -113,7 +113,7 @@ function book_node_view_link($node, $view_mode) {
if (!empty($links)) {
$node->content['links']['book'] = array(
- '#theme' => 'links',
+ '#theme' => 'links__book_node',
'#links' => $links,
'#attributes' => array('class' => array('links', 'inline')),
);
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index d320aa005..2c093fc47 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -601,7 +601,7 @@ function comment_node_view($node, $view_mode) {
}
$node->content['links']['comment'] = array(
- '#theme' => 'links',
+ '#theme' => 'links__comment_node',
'#links' => $links,
'#attributes' => array('class' => array('links', 'inline')),
);
@@ -910,7 +910,7 @@ function comment_build_content($comment, $node, $view_mode = 'full') {
if (empty($comment->in_preview)) {
$comment->content['links']['comment'] = array(
- '#theme' => 'links',
+ '#theme' => 'links__comment',
'#links' => comment_links($comment, $node),
'#attributes' => array('class' => array('links', 'inline')),
);
diff --git a/modules/contextual/contextual.module b/modules/contextual/contextual.module
index 480f9e663..25cf5fa5f 100644
--- a/modules/contextual/contextual.module
+++ b/modules/contextual/contextual.module
@@ -146,7 +146,7 @@ function contextual_links_view($element) {
$build = array(
'#prefix' => '<div class="contextual-links-wrapper">',
'#suffix' => '</div>',
- '#theme' => 'links',
+ '#theme' => 'links__contextual',
'#links' => $links,
'#attributes' => array('class' => array('contextual-links')),
'#attached' => array(
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index b5c3f4173..1d976a9f0 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -892,7 +892,7 @@ function locale_block_view($type) {
if (isset($links->links) && count($links->links > 1)) {
$class = "language-switcher-{$links->provider}";
$variables = array('links' => $links->links, 'attributes' => array('class' => array($class)));
- $block['content'] = theme('links', $variables);
+ $block['content'] = theme('links__locale_block', $variables);
$block['subject'] = t('Languages');
return $block;
}
diff --git a/modules/node/node.admin.inc b/modules/node/node.admin.inc
index 7cbad1dcc..76d72897c 100644
--- a/modules/node/node.admin.inc
+++ b/modules/node/node.admin.inc
@@ -505,7 +505,7 @@ function node_admin_nodes() {
// Render an unordered list of operations links.
$options[$node->nid]['operations'] = array(
'data' => array(
- '#theme' => 'links',
+ '#theme' => 'links__node_operations',
'#links' => $operations,
'#attributes' => array('class' => array('links', 'inline')),
),
diff --git a/modules/node/node.module b/modules/node/node.module
index 3e95d5272..4a26e94a3 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1256,7 +1256,7 @@ function node_build_content($node, $view_mode = 'full') {
);
}
$node->content['links']['node'] = array(
- '#theme' => 'links',
+ '#theme' => 'links__node',
'#links' => $links,
'#attributes' => array('class' => array('links', 'inline')),
);
diff --git a/modules/poll/poll.module b/modules/poll/poll.module
index 289d4b8ba..15eb9995d 100644
--- a/modules/poll/poll.module
+++ b/modules/poll/poll.module
@@ -819,7 +819,7 @@ function theme_poll_choices($variables) {
* @see theme_poll_results()
*/
function template_preprocess_poll_results(&$variables) {
- $variables['links'] = theme('links', array('links' => $variables['raw_links']));
+ $variables['links'] = theme('links__poll_results', array('links' => $variables['raw_links']));
if (isset($variables['vote']) && $variables['vote'] > -1 && user_access('cancel own vote')) {
$variables['cancel_form'] = drupal_render(drupal_get_form('poll_cancel_form', $variables['nid']));
}
diff --git a/modules/statistics/statistics.module b/modules/statistics/statistics.module
index 810564fc1..d676ffa8c 100644
--- a/modules/statistics/statistics.module
+++ b/modules/statistics/statistics.module
@@ -117,7 +117,7 @@ function statistics_node_view($node, $view_mode) {
}
$node->content['links']['statistics'] = array(
- '#theme' => 'links',
+ '#theme' => 'links__statistics_node',
'#links' => $links,
'#attributes' => array('class' => array('links', 'inline')),
);
diff --git a/modules/system/page.tpl.php b/modules/system/page.tpl.php
index 7324c7430..aa9f5ecd3 100644
--- a/modules/system/page.tpl.php
+++ b/modules/system/page.tpl.php
@@ -104,7 +104,7 @@
<?php if ($main_menu): ?>
<div id="navigation"><div class="section">
- <?php print theme('links', array('links' => $main_menu, 'attributes' => array('id' => 'main-menu', 'class' => array('links', 'clearfix')), 'heading' => t('Main menu'))); ?>
+ <?php print theme('links__system_main_menu', array('links' => $main_menu, 'attributes' => array('id' => 'main-menu', 'class' => array('links', 'clearfix')), 'heading' => t('Main menu'))); ?>
</div></div> <!-- /.section, /#navigation -->
<?php endif; ?>
@@ -144,7 +144,7 @@
</div></div> <!-- /#main, /#main-wrapper -->
<div id="footer"><div class="section">
- <?php print theme('links', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary-menu', 'class' => array('links', 'clearfix')), 'heading' => t('Secondary menu'))); ?>
+ <?php print theme('links__system_secondary_menu', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary-menu', 'class' => array('links', 'clearfix')), 'heading' => t('Secondary menu'))); ?>
<?php print render($page['footer']); ?>
</div></div> <!-- /.section, /#footer -->
diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module
index ca0fc2dc7..f4978b6f6 100644
--- a/modules/toolbar/toolbar.module
+++ b/modules/toolbar/toolbar.module
@@ -191,7 +191,7 @@ function toolbar_view() {
$links = toolbar_menu_navigation_links(toolbar_get_menu_tree());
$system_menus = menu_list_system_menus();
$build['toolbar_menu'] = array(
- '#theme' => 'links',
+ '#theme' => 'links__toolbar_menu',
'#links' => $links,
'#attributes' => array('id' => 'toolbar-menu'),
'#heading' => array('text' => t($system_menus['management']), 'level' => 'h2', 'class' => 'element-invisible'),
@@ -220,7 +220,7 @@ function toolbar_view() {
);
}
$build['toolbar_user'] = array(
- '#theme' => 'links',
+ '#theme' => 'links__toolbar_user',
'#links' => $links,
'#attributes' => array('id' => 'toolbar-user'),
);
diff --git a/modules/translation/translation.module b/modules/translation/translation.module
index bd927e83e..00cd1054d 100644
--- a/modules/translation/translation.module
+++ b/modules/translation/translation.module
@@ -188,7 +188,7 @@ function translation_node_view($node, $view_mode) {
// Do not show link to the same node.
unset($links[$node->language]);
$node->content['links']['translation'] = array(
- '#theme' => 'links',
+ '#theme' => 'links__translation_node',
'#links' => $links,
'#attributes' => array('class' => array('links', 'inline')),
);
diff --git a/modules/update/update.report.inc b/modules/update/update.report.inc
index 1b673ae80..22d70bea8 100644
--- a/modules/update/update.report.inc
+++ b/modules/update/update.report.inc
@@ -300,7 +300,7 @@ function theme_update_version($variables) {
'title' => t('Release notes'),
'href' => $version['release_link'],
);
- $output .= theme('links', array('links' => $links));
+ $output .= theme('links__update_version', array('links' => $links));
$output .= '</td>';
$output .= '</tr>';
$output .= "</table>\n";
diff --git a/themes/garland/template.php b/themes/garland/template.php
index 677d13831..e29967c6e 100644
--- a/themes/garland/template.php
+++ b/themes/garland/template.php
@@ -58,7 +58,7 @@ function garland_process_html(&$vars) {
function garland_preprocess_page(&$vars) {
$vars['tabs2'] = menu_secondary_local_tasks();
if (isset($vars['main_menu'])) {
- $vars['primary_nav'] = theme('links', array(
+ $vars['primary_nav'] = theme('links__system_main_menu', array(
'links' => $vars['main_menu'],
'attributes' => array(
'class' => array('links', 'main-menu'),
@@ -74,7 +74,7 @@ function garland_preprocess_page(&$vars) {
$vars['primary_nav'] = FALSE;
}
if (isset($vars['secondary_menu'])) {
- $vars['secondary_nav'] = theme('links', array(
+ $vars['secondary_nav'] = theme('links__system_secondary_menu', array(
'links' => $vars['secondary_menu'],
'attributes' => array(
'class' => array('links', 'secondary-menu'),