function tp in Coder 7
Same name and namespace in other branches
Passes a string through t() and wraps the result in html entity <p>.
1 call to tp()
- _coder_upgrade_help in coder_upgrade/
includes/ help.inc - Implements hook_help().
File
- coder_upgrade/
coder_upgrade.inc, line 36 - Provides constants and utility functions.
Code
function tp($string, $args = array()) {
return '<p>' . t($string, $args) . '</p>';
}