]> gitweb.fluxo.info Git - drupal/nuvemwidget.git/commitdiff
Nuvemdario to nuvemwidget
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 29 Oct 2015 12:45:09 +0000 (10:45 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 29 Oct 2015 12:45:09 +0000 (10:45 -0200)
drupal5_theme_methods.php
drupal6_theme_methods.php
drupal7_theme_methods.php
nuvemwidget.info

index 60be9f1f3eadbe760440b8b7356375599931c213..e266e220a4c8d3a279488f699f1c934f7f25046d 100644 (file)
@@ -2,7 +2,7 @@
 
 /* Drupal 5 methods definitons */
 
-function nuvemdario_regions() {
+function nuvemwidget_regions() {
   return array(
 'sidebar_left' => t('Left sidebar'),
   'vnavigation_left' => ('Left vertical menu'),
@@ -65,7 +65,7 @@ function _phptemplate_variables($hook, $vars) {
  *
  * @ingroup themeable
  */
-function nuvemdario_menu_local_task($mid, $active, $primary) {
+function nuvemwidget_menu_local_task($mid, $active, $primary) {
   $active_class = "";
   if ($active) {
     $active_class .= "active ";
@@ -84,14 +84,14 @@ function nuvemdario_menu_local_task($mid, $active, $primary) {
  * @param $url
  *   The url of the feed.
  */
-function nuvemdario_feed_icon($url) {
+function nuvemwidget_feed_icon($url) {
   return '<a href="'. check_url($url) .'" class="b2-rss-tag-icon" title="' . t('Syndicate content') . '"></a>';
 }
 
 /**
  * Allow themable wrapping of all comments.
  */
-function nuvemdario_comment_wrapper($content, $type = null) {
+function nuvemwidget_comment_wrapper($content, $type = null) {
   static $node_type;
   if (isset($type)) $node_type = $type;
   
@@ -135,13 +135,13 @@ function nuvemdario_comment_wrapper($content, $type = null) {
 /**
  * Allow themable wrapping of all breadcrumbs.
  */
-function nuvemdario_breadcrumb($breadcrumb) {
+function nuvemwidget_breadcrumb($breadcrumb) {
   if (!empty($breadcrumb)) {
     return '<div class="breadcrumb b2-postcontent">'. implode(' | ', $breadcrumb) .'</div>';
   }
 }
 
-function nuvemdario_service_links_node_format($links) {
+function nuvemwidget_service_links_node_format($links) {
   return '<div class="service-links"><div class="service-label">'. t('Bookmark/Search this post with: ') .'</div>'. art_links_woker($links) .'</div>';
 }
 
@@ -150,7 +150,7 @@ function nuvemdario_service_links_node_format($links) {
  *
  * @ingroup themeable
  */
-function nuvemdario_button($element) {
+function nuvemwidget_button($element) {
   // Make sure not to overwrite classes.
   if (isset($element['#attributes']['class'])) {
     $element['#attributes']['class'] = 'form-'.$element['#button_type'].' '.$element['#attributes']['class'].' b2-button';
@@ -171,7 +171,7 @@ function nuvemdario_button($element) {
  * Image assist module support.
  * Added Artisteer styles in IE
 */
-function nuvemdario_img_assist_page($content, $attributes = NULL) {
+function nuvemwidget_img_assist_page($content, $attributes = NULL) {
   $title = drupal_get_title();
   $output = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
   $output .= '<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">'."\n";
index fb7d7e621b126f0b0539141a209a47387ec6d149..101ead415ee044a95dc2e676964bc456d5f01eb3 100644 (file)
@@ -16,7 +16,7 @@ function phptemplate_preprocess_page(&$vars) {
  * @ingroup themeable
  */
  
-function nuvemdario_menu_local_task($link, $active = FALSE) {
+function nuvemwidget_menu_local_task($link, $active = FALSE) {
   $active_class = "";
   if ($active) {
     $active_class .= "active ";
@@ -37,14 +37,14 @@ function nuvemdario_menu_local_task($link, $active = FALSE) {
  * @param $title
  *   A descriptive title of the feed.
   */
-function nuvemdario_feed_icon($url, $title) {
+function nuvemwidget_feed_icon($url, $title) {
   return '<a href="'. check_url($url) .'" class="b2-rss-tag-icon" title="' . $title . '"></a>';
 }
 
 /**
  * Add a "Comments" heading above comments except on forum pages.
  */
-function nuvemdario_preprocess_comment_wrapper(&$vars) {
+function nuvemwidget_preprocess_comment_wrapper(&$vars) {
   if (!isset($vars['content'])) return;
   
   ob_start();?>
@@ -87,13 +87,13 @@ function nuvemdario_preprocess_comment_wrapper(&$vars) {
 /**
  * Allow themable wrapping of all breadcrumbs.
  */
-function nuvemdario_breadcrumb($breadcrumb) {
+function nuvemwidget_breadcrumb($breadcrumb) {
   if (!empty($breadcrumb)) {
     return '<div class="breadcrumb b2-postcontent">'. implode(' | ', $breadcrumb) .'</div>';
   }
 }
 
-function nuvemdario_service_links_node_format($links) {
+function nuvemwidget_service_links_node_format($links) {
   return '<div class="service-links"><div class="service-label">'. t('Bookmark/Search this post with: ') .'</div>'. art_links_woker($links) .'</div>';
 }
 
@@ -102,7 +102,7 @@ function nuvemdario_service_links_node_format($links) {
  *
  * @ingroup themeable
  */
-function nuvemdario_button($element) {
+function nuvemwidget_button($element) {
   // Make sure not to overwrite classes.
   if (isset($element['#attributes']['class'])) {
     $element['#attributes']['class'] = 'form-'.$element['#button_type'].' '.$element['#attributes']['class'].' b2-button';
@@ -123,7 +123,7 @@ function nuvemdario_button($element) {
  * Image assist module support.
  * Added Artisteer styles in IE
 */
-function nuvemdario_img_assist_page($content, $attributes = NULL) {
+function nuvemwidget_img_assist_page($content, $attributes = NULL) {
   $title = drupal_get_title();
   $output = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
   $output .= '<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">'."\n";
@@ -196,7 +196,7 @@ function nuvemdario_img_assist_page($content, $attributes = NULL) {
  *
  * @ingroup themeable
  */
-function nuvemdario_node_preview($node) {
+function nuvemwidget_node_preview($node) {
   $output = '<div class="preview">';
 
   $preview_trimmed_version = FALSE;
index 7df7581715e98d4da6032038137aeea13822d780..a34b923b83189ea3ff1417e0acc1a1ba47539226 100644 (file)
@@ -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 = '<div class="preview">';
index cce7ccc2ae28eef9f8bb5061f5ccb84c41ee352f..2c607ba922ca6d737aae24d704d7f47acd590557 100644 (file)
@@ -1,4 +1,3 @@
-; $Id: nuvemdario.info $
 name = Nuvemwidget
 description = Widget version for Nuvemdario
 screenshot = screenshot.png