| 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 acrylic_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 acrylic_breadcrumb($breadcrumb) {
|
| 23 |
return art_breadcrumb_woker($breadcrumb);
|
| 24 |
}
|
| 25 |
|
| 26 |
function acrylic_comment_wrapper($content, $type = null) {
|
| 27 |
return art_comment_woker($content, $type = null);
|
| 28 |
}
|
| 29 |
|
| 30 |
function acrylic_menu_local_tasks() {
|
| 31 |
return art_menu_local_tasks();
|
| 32 |
}
|