From 39dd802388d44e809d0c489f02c070f4ff4988f6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 29 Oct 2015 10:45:09 -0200 Subject: Nuvemdario to nuvemwidget --- drupal7_theme_methods.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'drupal7_theme_methods.php') diff --git a/drupal7_theme_methods.php b/drupal7_theme_methods.php index 7df7581..a34b923 100644 --- a/drupal7_theme_methods.php +++ b/drupal7_theme_methods.php @@ -2,7 +2,7 @@ /* Drupal 7 methods definitons */ -function nuvemdario_breadcrumb($variables) { +function nuvemwidget_breadcrumb($variables) { $breadcrumb = $variables['breadcrumb']; if (!empty($breadcrumb)) { @@ -25,7 +25,7 @@ function nuvemdario_breadcrumb($variables) { * * @ingroup themeable */ -function nuvemdario_button($variables) { +function nuvemwidget_button($variables) { $element = $variables['element']; $element['#attributes']['type'] = 'submit'; element_set_attributes($element, array('id', 'name', 'value')); @@ -45,7 +45,7 @@ function nuvemdario_button($variables) { /** * Override or insert variables into the page template. */ -function nuvemdario_preprocess_page(&$vars) { +function nuvemwidget_preprocess_page(&$vars) { $vars['tabs'] = menu_primary_local_tasks(); $vars['tabs2'] = menu_secondary_local_tasks(); } @@ -62,7 +62,7 @@ function nuvemdario_preprocess_page(&$vars) { * * @ingroup themeable */ -function nuvemdario_menu_local_task($variables) { +function nuvemwidget_menu_local_task($variables) { $link = $variables['element']['#link']; $link_text = $link['title']; @@ -98,7 +98,7 @@ function nuvemdario_menu_local_task($variables) { * - url: The url of the feed. * - title: A descriptive title of the feed. */ -function nuvemdario_feed_icon($variables) { +function nuvemwidget_feed_icon($variables) { $text = t('Subscribe to @feed-title', array('@feed-title' => $variables['title'])); return l(NULL, $variables['url'], array('html' => TRUE, 'attributes' => array('class' => array('feed-icon', 'b2-rss-tag-icon'), 'title' => $text))); } @@ -112,7 +112,7 @@ function nuvemdario_feed_icon($variables) { * * @ingroup themeable */ -function nuvemdario_node_preview($variables) { +function nuvemwidget_node_preview($variables) { $node = $variables['node']; $output = '
'; -- cgit v1.2.3