function codefilter_filter_tips in Code Filter 5
Same name and namespace in other branches
- 6 codefilter.module \codefilter_filter_tips()
Implementation of hook_filter_tips()
File
- ./
codefilter.module, line 5
Code
function codefilter_filter_tips($delta, $format, $long = false) {
if ($long) {
return t('To post pieces of code, surround them with <code>...</code> tags. For PHP code, you can use <?php ... ?>, which will also colour it based on syntax.');
}
else {
return t('You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.');
}
}