diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-10-29 10:24:58 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-10-29 10:24:58 -0200 |
commit | 49e903820067403db97d5abc260af274887870f3 (patch) | |
tree | f324316a8f8811b6703c16e968ccc0e93cddad72 | |
parent | 831f5eb7448000bb9a947544abf8d93325425734 (diff) | |
download | nuvemdario-49e903820067403db97d5abc260af274887870f3.tar.gz nuvemdario-49e903820067403db97d5abc260af274887870f3.tar.bz2 |
Rename stuff to nuvemdario_
-rw-r--r-- | block-navigation.tpl.php | 2 | ||||
-rw-r--r-- | comment.tpl.php | 4 | ||||
-rw-r--r-- | common_methods.php | 52 | ||||
-rw-r--r-- | drupal5_theme_methods.php | 4 | ||||
-rw-r--r-- | drupal6_theme_methods.php | 4 | ||||
-rw-r--r-- | drupal7_theme_methods.php | 4 | ||||
-rw-r--r-- | maintenance-page.tpl.php | 24 | ||||
-rw-r--r-- | node-og-group-post.tpl.php | 6 | ||||
-rw-r--r-- | node.tpl.php | 10 | ||||
-rw-r--r-- | page.tpl.php | 30 | ||||
-rw-r--r-- | template.php | 10 | ||||
-rw-r--r-- | templates/comment-wrapper.tpl.php | 4 | ||||
-rw-r--r-- | templates/region.tpl.php | 6 |
13 files changed, 80 insertions, 80 deletions
diff --git a/block-navigation.tpl.php b/block-navigation.tpl.php index cecb723..f3b395f 100644 --- a/block-navigation.tpl.php +++ b/block-navigation.tpl.php @@ -1 +1 @@ -<?php echo art_menu_worker($block->content, true, 'b2-hmenu'); ?>
\ No newline at end of file +<?php echo nuvemdario_menu_worker($block->content, true, 'b2-hmenu'); ?> diff --git a/comment.tpl.php b/comment.tpl.php index f7373b3..b055dac 100644 --- a/comment.tpl.php +++ b/comment.tpl.php @@ -1,5 +1,5 @@ <?php $vars = get_defined_vars(); - $view = get_artx_drupal_view(); + $view = get_nuvemdario_drupal_view(); $view->print_comment($vars); -?>
\ No newline at end of file +?> diff --git a/common_methods.php b/common_methods.php index 6510107..78306c6 100644 --- a/common_methods.php +++ b/common_methods.php @@ -6,7 +6,7 @@ * Generate the HTML representing a given menu with Artisteer style. * */ -function art_menu_worker($content = NULL, $show_sub_menus, $menu_class) { +function nuvemdario_menu_worker($content = NULL, $show_sub_menus, $menu_class) { if (!$content) { return ''; } @@ -25,7 +25,7 @@ function art_menu_worker($content = NULL, $show_sub_menus, $menu_class) { } if (class_exists('DOMDocument')) { - $output = art_menu_xml_parcer($output, $show_sub_menus, $menu_class); + $output = nuvemdario_menu_xml_parcer($output, $show_sub_menus, $menu_class); /* Support Block Edit Link module */ $output = str_replace('<!DOCTYPE root>', $empty_str, $output); } @@ -36,10 +36,10 @@ function art_menu_worker($content = NULL, $show_sub_menus, $menu_class) { return $output; } -function art_menu_xml_parcer($content, $show_sub_menus, $menu_class) { +function nuvemdario_menu_xml_parcer($content, $show_sub_menus, $menu_class) { $parent_id = $menu_class . '-id'; - $doc = art_xml_document_creator($content, $parent_id); + $doc = nuvemdario_xml_document_creator($content, $parent_id); if ($doc === FALSE) { return $content; // An error occurred while reading XML content } @@ -56,7 +56,7 @@ function art_menu_xml_parcer($content, $show_sub_menus, $menu_class) { } if ($ul_element == NULL) return $content; - $ul_children = art_menu_style_parcer($doc, $ul_element->childNodes, $show_sub_menus); + $ul_children = nuvemdario_menu_style_parcer($doc, $ul_element->childNodes, $show_sub_menus); $parent->appendChild($ul_element); while ($ul_element->previousSibling) @@ -65,8 +65,8 @@ function art_menu_xml_parcer($content, $show_sub_menus, $menu_class) { return html_entity_decode($doc->saveHTML(), ENT_NOQUOTES, "UTF-8"); } -function art_xml_document_creator($content, $parent_id) { - $old_error_handler = set_error_handler('art_handle_xml_error'); +function nuvemdario_xml_document_creator($content, $parent_id) { + $old_error_handler = set_error_handler('nuvemdario_handle_xml_error'); $dom = new DOMDocument(); /* Support Block Edit Link module */ $doc_content = <<< XML @@ -82,14 +82,14 @@ XML; return $dom; } -function art_handle_xml_error($errno, $errstr, $errfile, $errline) { +function nuvemdario_handle_xml_error($errno, $errstr, $errfile, $errline) { if ($errno==E_WARNING && (substr_count($errstr,"DOMDocument::loadXML()")>0)) return false; // An error occurred while reading XML content else return true; // Successful } -function art_menu_style_parcer($doc, $elements, $show_sub_menus) { +function nuvemdario_menu_style_parcer($doc, $elements, $show_sub_menus) { $parentNodes_to_delete = array(); $childNodes_to_delete = array(); foreach ($elements as $element) { @@ -134,12 +134,12 @@ function art_menu_style_parcer($doc, $elements, $show_sub_menus) { } } - art_remove_elements($childNodes_to_delete); - art_remove_elements($parentNodes_to_delete); + nuvemdario_remove_elements($childNodes_to_delete); + nuvemdario_remove_elements($parentNodes_to_delete); return $elements; } -function art_remove_elements($elements_to_delete) { +function nuvemdario_remove_elements($elements_to_delete) { if (!isset($elements_to_delete)) return; foreach($elements_to_delete as $element) { if ($element != null) { @@ -148,9 +148,9 @@ function art_remove_elements($elements_to_delete) { } } -function art_node_worker($node) { - $links_output = art_links_woker($node->links); - $terms_output = art_terms_worker($node->taxonomy); +function nuvemdario_node_worker($node) { + $links_output = nuvemdario_links_woker($node->links); + $terms_output = nuvemdario_terms_worker($node->taxonomy); $output = $links_output; if (!empty($links_output) && !empty($terms_output)) { @@ -168,7 +168,7 @@ function art_node_worker($node) { * * @ingroup themeable */ -function art_terms_worker($terms) { +function nuvemdario_terms_worker($terms) { $result = ''; $terms = get_terms_D7($content); if (!empty($terms)) { @@ -191,7 +191,7 @@ $terms = get_terms_D7($content); * @return * A string containing an unordered list of links. */ -function art_links_woker($links, $attributes = array('class' => 'links')) { +function nuvemdario_links_woker($links, $attributes = array('class' => 'links')) { $output = ''; if (!empty($links)) { @@ -285,7 +285,7 @@ function get_html_link_output($link) { return $output; } -function art_content_replace($content) { +function nuvemdario_content_replace($content) { $first_time_str = '<div id="first-time"'; $article_str = ' class="b2-article"'; $pos = strpos($content, $first_time_str); @@ -320,7 +320,7 @@ EOT; return $output; } -function art_placeholders_output($var1, $var2, $var3) { +function nuvemdario_placeholders_output($var1, $var2, $var3) { $output = ''; if (!empty($var1) && !empty($var2) && !empty($var3)) { $output .= <<< EOT @@ -384,7 +384,7 @@ EOT; return $output; } -function art_get_sidebar($sidebar, $vnavigation, $class) { +function nuvemdario_get_sidebar($sidebar, $vnavigation, $class) { $result = 'b2-layout-cell '; if (empty($sidebar) && empty($vnavigation)) { $result .= 'b2-content'; @@ -397,11 +397,11 @@ function art_get_sidebar($sidebar, $vnavigation, $class) { return $output; } -function art_get_content_cell_style($left, $vnav_left, $right, $vnav_right, $content) { +function nuvemdario_get_content_cell_style($left, $vnav_left, $right, $vnav_right, $content) { return 'b2-layout-cell b2-content'; } -function art_submitted_worker($date, $author) { +function nuvemdario_submitted_worker($date, $author) { $output = ''; if ($date != '') { ob_start();?> @@ -422,7 +422,7 @@ ob_start();?> return $output; } -function is_art_links_set($links) { +function is_nuvemdario_links_set($links) { $size = sizeof($links); if ($size == 0) { return FALSE; @@ -441,7 +441,7 @@ function is_art_links_set($links) { * Method to define node title output. * */ -function art_node_title_output($title, $node_url, $page) { +function nuvemdario_node_title_output($title, $node_url, $page) { $output = ''; if (!$page) $output = '<a href="' . $node_url . '" title="' . $title . '">' . $title . '</a>'; @@ -450,11 +450,11 @@ function art_node_title_output($title, $node_url, $page) { return $output; } -function art_vmenu_output($subject, $content) { +function nuvemdario_vmenu_output($subject, $content) { if (empty($content)) return; - $output = art_menu_worker($content, true, 'b2-vmenu'); + $output = nuvemdario_menu_worker($content, true, 'b2-vmenu'); $bvm = "<div class=\"b2-vmenublock\">\r\n <div class=\"b2-vmenublock-body\">\r\n"; $bvmt = "<div class=\"b2-vmenublockheader\">\r\n <div class=\"l\"></div>\r\n <div class=\"r\"></div>\r\n <h3 class=\"t subject\">"; $evmt = "</h3>\r\n</div>\r\n"; diff --git a/drupal5_theme_methods.php b/drupal5_theme_methods.php index 60be9f1..2cdd1e6 100644 --- a/drupal5_theme_methods.php +++ b/drupal5_theme_methods.php @@ -142,7 +142,7 @@ function nuvemdario_breadcrumb($breadcrumb) { } 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>'; + return '<div class="service-links"><div class="service-label">'. t('Bookmark/Search this post with: ') .'</div>'. nuvemdario_links_woker($links) .'</div>'; } /** @@ -234,4 +234,4 @@ function nuvemdario_img_assist_page($content, $attributes = NULL) { $output .= '</body>'; $output .= '</html>'; return $output; -}
\ No newline at end of file +} diff --git a/drupal6_theme_methods.php b/drupal6_theme_methods.php index fb7d7e6..1fab4fd 100644 --- a/drupal6_theme_methods.php +++ b/drupal6_theme_methods.php @@ -94,7 +94,7 @@ function nuvemdario_breadcrumb($breadcrumb) { } 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>'; + return '<div class="service-links"><div class="service-label">'. t('Bookmark/Search this post with: ') .'</div>'. nuvemdario_links_woker($links) .'</div>'; } /** @@ -273,4 +273,4 @@ EOT; $output .= "</div>\n"; return $output; -}
\ No newline at end of file +} diff --git a/drupal7_theme_methods.php b/drupal7_theme_methods.php index 7df7581..293ba48 100644 --- a/drupal7_theme_methods.php +++ b/drupal7_theme_methods.php @@ -194,7 +194,7 @@ EOT; * @return * A string containing an unordered list of links. */ -function art_links_woker_D7($content) { +function nuvemdario_links_woker_D7($content) { $result = ''; if (!isset($content['links'])) return $result; foreach (array_keys($content['links']) as $name) { @@ -296,4 +296,4 @@ if ($index > 0 && !empty($link_output) && !empty($output)) { } return $output; -}
\ No newline at end of file +} diff --git a/maintenance-page.tpl.php b/maintenance-page.tpl.php index ebde559..6274e67 100644 --- a/maintenance-page.tpl.php +++ b/maintenance-page.tpl.php @@ -1,14 +1,14 @@ <?php $vars = get_defined_vars(); - $view = get_artx_drupal_view(); + $view = get_nuvemdario_drupal_view(); $view->print_head($vars); if (isset($page)) foreach (array_keys($page) as $name) $$name = & $page[$name]; - $art_sidebar_left = isset($sidebar_left) && !empty($sidebar_left) ? $sidebar_left : NULL; - $art_sidebar_right = isset($sidebar_right) && !empty($sidebar_right) ? $sidebar_right : NULL; + $nuvemdario_sidebar_left = isset($sidebar_left) && !empty($sidebar_left) ? $sidebar_left : NULL; + $nuvemdario_sidebar_right = isset($sidebar_right) && !empty($sidebar_right) ? $sidebar_right : NULL; if (!isset($vnavigation_left)) $vnavigation_left = NULL; if (!isset($vnavigation_right)) $vnavigation_right = NULL; $tabs = (isset($tabs) && !(empty($tabs))) ? '<ul class="arttabs_primary">'.render($tabs).'</ul>' : NULL; @@ -66,10 +66,10 @@ <div class="b2-sheet-cc"></div> <div class="b2-sheet-body"> <?php if (!empty($banner1)) { echo '<div id="banner1">'.render($banner1).'</div>'; } ?> -<?php echo art_placeholders_output(render($top1), render($top2), render($top3)); ?> +<?php echo nuvemdario_placeholders_output(render($top1), render($top2), render($top3)); ?> <div class="b2-content-layout"> <div class="b2-content-layout-row"> -<div class="<?php echo art_get_content_cell_style($art_sidebar_left, $vnavigation_left, $art_sidebar_right, $vnavigation_right, $content); ?>"> +<div class="<?php echo nuvemdario_get_content_cell_style($nuvemdario_sidebar_left, $vnavigation_left, $nuvemdario_sidebar_right, $vnavigation_right, $content); ?>"> <?php if (!empty($banner2)) { echo '<div id="banner2">'.render($banner2).'</div>'; } ?> <?php if ((!empty($user1)) && (!empty($user2))) : ?> <table class="position" cellpadding="0" cellspacing="0" border="0"> @@ -107,7 +107,7 @@ <?php if (isset($mission) && !empty($mission)) { echo '<div id="mission">'.$mission.'</div>'; }; ?> <?php if (!empty($help)) { echo render($help); } ?> <?php if (!empty($messages)) { echo $messages; } ?> -<?php echo art_content_replace(render($content)); ?> +<?php echo nuvemdario_content_replace(render($content)); ?> </div> <div class="cleared"></div> @@ -129,16 +129,16 @@ <?php endif; ?> <?php if (!empty($banner5)) { echo '<div id="banner5">'.render($banner5).'</div>'; } ?> </div> -<?php if (!empty($art_sidebar_left) || !empty($vnavigation_left)) -echo art_get_sidebar($art_sidebar_left, $vnavigation_left, 'b2-sidebar1'); ?> -<?php if (!empty($art_sidebar_right) || !empty($vnavigation_right)) -echo art_get_sidebar($art_sidebar_right, $vnavigation_right, 'b2-sidebar2'); ?> +<?php if (!empty($nuvemdario_sidebar_left) || !empty($vnavigation_left)) +echo nuvemdario_get_sidebar($nuvemdario_sidebar_left, $vnavigation_left, 'b2-sidebar1'); ?> +<?php if (!empty($nuvemdario_sidebar_right) || !empty($vnavigation_right)) +echo nuvemdario_get_sidebar($nuvemdario_sidebar_right, $vnavigation_right, 'b2-sidebar2'); ?> </div> </div> <div class="cleared"></div> -<?php echo art_placeholders_output(render($bottom1), render($bottom2), render($bottom3)); ?> +<?php echo nuvemdario_placeholders_output(render($bottom1), render($bottom2), render($bottom3)); ?> <?php if (!empty($banner6)) { echo '<div id="banner6">'.render($banner6).'</div>'; } ?> <div class="b2-footer"> <div class="b2-footer-t"></div> @@ -182,4 +182,4 @@ echo art_get_sidebar($art_sidebar_right, $vnavigation_right, 'b2-sidebar2'); ?> </div> -<?php $view->print_closure($vars); ?>
\ No newline at end of file +<?php $view->print_closure($vars); ?> diff --git a/node-og-group-post.tpl.php b/node-og-group-post.tpl.php index be40e4c..1eb2d0b 100644 --- a/node-og-group-post.tpl.php +++ b/node-og-group-post.tpl.php @@ -2,12 +2,12 @@ <div class="b2-post-body"> <div class="b2-post-inner b2-article"> <h2 class="b2-postheader"<?php print $title_attributes; ?>><?php print render($title_prefix); ?> -<?php echo art_node_title_output($title, $node_url, $page); ?> +<?php echo nuvemdario_node_title_output($title, $node_url, $page); ?> <?php print render($title_suffix); ?> </h2> <?php if ($display_submitted): ?> <div class="b2-postheadericons b2-metadata-icons"> -<?php echo art_submitted_worker($date, $name); ?> +<?php echo nuvemdario_submitted_worker($date, $name); ?> </div> <?php endif; ?> @@ -25,7 +25,7 @@ <div class="cleared"></div> <?php print $user_picture; ?> <?php if (isset($content['links']) || isset($content['comments'])): -$output = art_links_woker_D7($content); +$output = nuvemdario_links_woker_D7($content); if (!empty($output)): ?> <div class="b2-postfootericons b2-metadata-icons"> <?php echo $output; ?> diff --git a/node.tpl.php b/node.tpl.php index f4c0fed..65b51b5 100644 --- a/node.tpl.php +++ b/node.tpl.php @@ -3,12 +3,12 @@ <div class="b2-post-body"> <div class="b2-post-inner b2-article"> <h2 class="b2-postheader"<?php print $title_attributes; ?>><?php print render($title_prefix); ?> -<?php echo art_node_title_output($title, $node_url, $page); ?> +<?php echo nuvemdario_node_title_output($title, $node_url, $page); ?> <?php print render($title_suffix); ?> </h2> <?php if ($display_submitted): ?> <div class="b2-postheadericons b2-metadata-icons"> -<?php echo art_submitted_worker($date, $name); ?> +<?php echo nuvemdario_submitted_worker($date, $name); ?> </div> <?php endif; ?> @@ -26,7 +26,7 @@ <div class="cleared"></div> <?php print $user_picture; ?> <?php if (isset($content['links']) || isset($content['comments'])): -$output = art_links_woker_D7($content); +$output = nuvemdario_links_woker_D7($content); if (!empty($output)): ?> <div class="b2-postfootericons b2-metadata-icons"> <?php echo $output; ?> @@ -42,7 +42,7 @@ if (!empty($output)): ?> <?php $vars = get_defined_vars(); - $view = get_artx_drupal_view(); + $view = get_nuvemdario_drupal_view(); $view->print_comment_node($vars); ?> -</div>
\ No newline at end of file +</div> diff --git a/page.tpl.php b/page.tpl.php index 02f8d64..5653dc8 100644 --- a/page.tpl.php +++ b/page.tpl.php @@ -1,13 +1,13 @@ <?php $vars = get_defined_vars(); - $view = get_artx_drupal_view(); + $view = get_nuvemdario_drupal_view(); $view->print_head($vars); if (isset($page)) foreach (array_keys($page) as $name) $$name = & $page[$name]; - $art_sidebar_left = isset($sidebar_left) && !empty($sidebar_left) ? $sidebar_left : NULL; - $art_sidebar_right = isset($sidebar_right) && !empty($sidebar_right) ? $sidebar_right : NULL; + $nuvemdario_sidebar_left = isset($sidebar_left) && !empty($sidebar_left) ? $sidebar_left : NULL; + $nuvemdario_sidebar_right = isset($sidebar_right) && !empty($sidebar_right) ? $sidebar_right : NULL; if (!isset($vnavigation_left)) $vnavigation_left = NULL; if (!isset($vnavigation_right)) $vnavigation_right = NULL; $tabs = (isset($tabs) && !(empty($tabs))) ? '<ul class="arttabs_primary">'.render($tabs).'</ul>' : NULL; @@ -75,10 +75,10 @@ <div class="b2-sheet-cc"></div> <div class="b2-sheet-body"> <?php if (!empty($banner1)) { echo '<div id="banner1">'.render($banner1).'</div>'; } ?> -<?php echo art_placeholders_output(render($top1), render($top2), render($top3)); ?> +<?php echo nuvemdario_placeholders_output(render($top1), render($top2), render($top3)); ?> <div class="b2-content-layout"> <div class="b2-content-layout-row"> -<div class="<?php echo art_get_content_cell_style($art_sidebar_left, $vnavigation_left, $art_sidebar_right, $vnavigation_right, $content); ?>"> +<div class="<?php echo nuvemdario_get_content_cell_style($nuvemdario_sidebar_left, $vnavigation_left, $nuvemdario_sidebar_right, $vnavigation_right, $content); ?>"> <?php if (!empty($banner2)) { echo '<div id="banner2">'.render($banner2).'</div>'; } ?> <?php if ((!empty($user1)) && (!empty($user2))) : ?> <table class="position" cellpadding="0" cellspacing="0" border="0"> @@ -143,15 +143,15 @@ </div> </div> <?php endif; ?> - <?php $art_post_position = strpos(render($content), "b2-post"); ?> -<?php if ($art_post_position === FALSE): ?> + <?php $nuvemdario_post_position = strpos(render($content), "b2-post"); ?> +<?php if ($nuvemdario_post_position === FALSE): ?> <div class="b2-post"> <div class="b2-post-body"> <div class="b2-post-inner b2-article"> <div class="b2-postcontent"> <?php endif; ?> -<?php echo art_content_replace(render($content)); ?> -<?php if ($art_post_position === FALSE): ?> +<?php echo nuvemdario_content_replace(render($content)); ?> +<?php if ($nuvemdario_post_position === FALSE): ?> </div> <div class="cleared"></div> @@ -174,7 +174,7 @@ <?php if (!empty($help)) { echo render($help); } ?> <?php if (!empty($messages)) { echo $messages; } ?> <?php if (isset($action_links) && !empty($action_links)): ?><ul class="action-links"><?php print render($action_links); ?></ul><?php endif; ?> -<?php echo art_content_replace(render($content)); ?> +<?php echo nuvemdario_content_replace(render($content)); ?> </div> <div class="cleared"></div> @@ -197,16 +197,16 @@ <?php endif; ?> <?php if (!empty($banner5)) { echo '<div id="banner5">'.render($banner5).'</div>'; } ?> </div> -<?php if (!empty($art_sidebar_left) || !empty($vnavigation_left)) -echo art_get_sidebar($art_sidebar_left, $vnavigation_left, 'b2-sidebar1'); ?> -<?php if (!empty($art_sidebar_right) || !empty($vnavigation_right)) -echo art_get_sidebar($art_sidebar_right, $vnavigation_right, 'b2-sidebar2'); ?> +<?php if (!empty($nuvemdario_sidebar_left) || !empty($vnavigation_left)) +echo nuvemdario_get_sidebar($nuvemdario_sidebar_left, $vnavigation_left, 'b2-sidebar1'); ?> +<?php if (!empty($nuvemdario_sidebar_right) || !empty($vnavigation_right)) +echo nuvemdario_get_sidebar($nuvemdario_sidebar_right, $vnavigation_right, 'b2-sidebar2'); ?> </div> </div> <div class="cleared"></div> -<?php echo art_placeholders_output(render($bottom1), render($bottom2), render($bottom3)); ?> +<?php echo nuvemdario_placeholders_output(render($bottom1), render($bottom2), render($bottom3)); ?> <?php if (!empty($banner6)) { echo '<div id="banner6">'.render($banner6).'</div>'; } ?> <div class="b2-footer"> <div class="b2-footer-t"></div> diff --git a/template.php b/template.php index 7c4df68..1276114 100644 --- a/template.php +++ b/template.php @@ -34,10 +34,10 @@ function get_full_path_to_theme() { return base_path().path_to_theme(); } -function get_artx_drupal_view() { +function get_nuvemdario_drupal_view() { if (get_drupal_version() == 7) - return new artx_view_drupal7(); - return new artx_view_drupal56(); + return new nuvemdario_view_drupal7(); + return new nuvemdario_view_drupal56(); } if (!function_exists('render')) { @@ -46,7 +46,7 @@ if (!function_exists('render')) { } } -class artx_view_drupal56 { +class nuvemdario_view_drupal56 { function print_head($vars) { foreach (array_keys($vars) as $name) @@ -130,7 +130,7 @@ class artx_view_drupal56 { } -class artx_view_drupal7 { +class nuvemdario_view_drupal7 { function print_head($vars) { print render($vars['page']['header']); diff --git a/templates/comment-wrapper.tpl.php b/templates/comment-wrapper.tpl.php index adfce58..1d537e3 100644 --- a/templates/comment-wrapper.tpl.php +++ b/templates/comment-wrapper.tpl.php @@ -1,5 +1,5 @@ <?php $vars = get_defined_vars(); - $view = get_artx_drupal_view(); + $view = get_nuvemdario_drupal_view(); $view->print_comment_wrapper($vars); -?>
\ No newline at end of file +?> diff --git a/templates/region.tpl.php b/templates/region.tpl.php index 08cd625..c7b2149 100644 --- a/templates/region.tpl.php +++ b/templates/region.tpl.php @@ -2,7 +2,7 @@ <div class="<?php print $classes; ?>"> <?php switch ($region) { case "navigation": - print art_menu_worker($content, true, 'b2-hmenu'); + print nuvemdario_menu_worker($content, true, 'b2-hmenu'); break; case "vnavigation_left": case "vnavigation_right": @@ -13,7 +13,7 @@ foreach (array_keys($variables['elements']) as $name) { && isset($element['#children']) && is_string($element['#children']) && !empty($element['#children'])) { $block_subject = $element['#block']->subject; $block_content = $element['#children']; - art_vmenu_output($block_subject, $block_content); } + nuvemdario_vmenu_output($block_subject, $block_content); } } break; @@ -22,4 +22,4 @@ foreach (array_keys($variables['elements']) as $name) { break; }?> </div> -<?php endif; ?>
\ No newline at end of file +<?php endif; ?> |