/[drupal]/contributions/themes/July4/drupal6_methods.php
ViewVC logotype

Contents of /contributions/themes/July4/drupal6_methods.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Thu Jul 2 16:57:50 2009 UTC (4 months, 3 weeks ago) by vigilianty
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-php
*** empty log message ***
1 <?php
2
3 /* Drupal 6 methods definitons */
4
5 /**
6 * Generate the HTML output for a single local task link.
7 *
8 * @ingroup themeable
9 */
10 function July4_menu_local_task($link, $active = FALSE) {
11 $output = preg_replace('~<a href="([^"]*)"[^>]*>([^<]*)</a>~',
12 '<a href="$1" class="Button">'
13 .'<span class="btn">'
14 .'<span class="l"></span>'
15 .'<span class="r"></span>'
16 .'<span class="t">$2</span>'
17 .'</span>'
18 .'</a>', $link);
19 return $output;
20 }
21
22 function July4_breadcrumb($breadcrumb) {
23 return art_breadcrumb_woker($breadcrumb);
24 }
25
26 function July4_comment_wrapper($content, $type = null) {
27 return art_comment_woker($content, $type = null);
28 }
29
30 function July4_menu_local_tasks() {
31 return art_menu_local_tasks();
32 }

  ViewVC Help
Powered by ViewVC 1.1.2