summaryrefslogtreecommitdiff
path: root/drupal5_theme_methods.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-08-08 17:48:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-08-08 17:48:35 -0300
commit8eafc9269cba786080626f843879624c2a70d42d (patch)
tree80a70c9888bcadeccef3121f293203724cf03162 /drupal5_theme_methods.php
parent9438279fd24e0309abd1f78a9442b149f7bd6bef (diff)
downloadnuvemdario-8eafc9269cba786080626f843879624c2a70d42d.tar.gz
nuvemdario-8eafc9269cba786080626f843879624c2a70d42d.tar.bz2
Forking to nuvemdario theme
Diffstat (limited to 'drupal5_theme_methods.php')
-rw-r--r--drupal5_theme_methods.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/drupal5_theme_methods.php b/drupal5_theme_methods.php
index 30b6696..60be9f1 100644
--- a/drupal5_theme_methods.php
+++ b/drupal5_theme_methods.php
@@ -2,7 +2,7 @@
/* Drupal 5 methods definitons */
-function b2_silly_clouds_regions() {
+function nuvemdario_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 b2_silly_clouds_menu_local_task($mid, $active, $primary) {
+function nuvemdario_menu_local_task($mid, $active, $primary) {
$active_class = "";
if ($active) {
$active_class .= "active ";
@@ -84,14 +84,14 @@ function b2_silly_clouds_menu_local_task($mid, $active, $primary) {
* @param $url
* The url of the feed.
*/
-function b2_silly_clouds_feed_icon($url) {
+function nuvemdario_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 b2_silly_clouds_comment_wrapper($content, $type = null) {
+function nuvemdario_comment_wrapper($content, $type = null) {
static $node_type;
if (isset($type)) $node_type = $type;
@@ -135,13 +135,13 @@ function b2_silly_clouds_comment_wrapper($content, $type = null) {
/**
* Allow themable wrapping of all breadcrumbs.
*/
-function b2_silly_clouds_breadcrumb($breadcrumb) {
+function nuvemdario_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
return '<div class="breadcrumb b2-postcontent">'. implode(' | ', $breadcrumb) .'</div>';
}
}
-function b2_silly_clouds_service_links_node_format($links) {
+function nuvemdario_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 b2_silly_clouds_service_links_node_format($links) {
*
* @ingroup themeable
*/
-function b2_silly_clouds_button($element) {
+function nuvemdario_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 b2_silly_clouds_button($element) {
* Image assist module support.
* Added Artisteer styles in IE
*/
-function b2_silly_clouds_img_assist_page($content, $attributes = NULL) {
+function nuvemdario_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";