summaryrefslogtreecommitdiff
path: root/modules/php/php.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-01-21 16:58:42 +0000
committerDries Buytaert <dries@buytaert.net>2009-01-21 16:58:42 +0000
commit3dc1157a1e2a85316029e70c95bed257c697f454 (patch)
tree0c8a113790efb8232b10b532d5f0a033227f465b /modules/php/php.module
parent2c57079558a8a92ee20e845ee19df3b51625f7c7 (diff)
downloadbrdo-3dc1157a1e2a85316029e70c95bed257c697f454.tar.gz
brdo-3dc1157a1e2a85316029e70c95bed257c697f454.tar.bz2
- Patch #244904 by edkwh, keith.smith: renamed 'input format' to 'text format' based on UMN usability study.
Diffstat (limited to 'modules/php/php.module')
-rw-r--r--modules/php/php.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/php/php.module b/modules/php/php.module
index cf7dea43d..de7371b7f 100644
--- a/modules/php/php.module
+++ b/modules/php/php.module
@@ -44,7 +44,7 @@ function php_filter_tips($delta, $format, $long = FALSE) {
$output .= '<li>' . t('Consider including your custom PHP code within a site-specific module or <code>template.php</code> file rather than embedding it directly into a post or block.') . '</li>';
$output .= '<li>' . t('Be aware that the ability to embed PHP code within content is provided by the PHP Filter module. If this module is disabled or deleted, then blocks and posts with embedded PHP may display, rather than execute, the PHP code.') . '</li></ul>';
$output .= '<p>' . t('A basic example: <em>Creating a "Welcome" block that greets visitors with a simple message.</em>') . '</p>';
- $output .= '<ul><li>' . t('<p>Add a custom block to your site, named "Welcome" . With its input format set to "PHP code" (or another format supporting PHP input), add the following in the Block body:</p>
+ $output .= '<ul><li>' . t('<p>Add a custom block to your site, named "Welcome" . With its text format set to "PHP code" (or another format supporting PHP input), add the following in the Block body:</p>
<pre>
print t(\'Welcome visitor! Thank you for visiting.\');
</pre>') . '</li>';