root / drupal7 / sites / all / themes / bootstrap / templates / filter / filter-tips-more-info.func.php @ caf16a48
1 |
<?php
|
---|---|
2 |
/**
|
3 |
* @file
|
4 |
* Stub file for bootstrap_filter_tips_more_info().
|
5 |
*/
|
6 |
|
7 |
/**
|
8 |
* Returns HTML for a link to the more extensive filter tips.
|
9 |
*
|
10 |
* @return string
|
11 |
* The constructed HTML.
|
12 |
*
|
13 |
* @see theme_filter_tips_more_info()
|
14 |
*
|
15 |
* @ingroup theme_functions
|
16 |
*/
|
17 |
function bootstrap_filter_tips_more_info() { |
18 |
$attributes = array( |
19 |
'target' => '_blank', |
20 |
'title' => t('Opens in new window'), |
21 |
); |
22 |
if (bootstrap_setting('tooltip_enabled')) { |
23 |
$attributes['data-toggle'] = 'tooltip'; |
24 |
} |
25 |
return l(_bootstrap_icon('question-sign') . t('More information about text formats'), 'filter/tips', array( |
26 |
'html' => TRUE, |
27 |
'attributes' => $attributes, |
28 |
)); |
29 |
} |