summaryrefslogtreecommitdiffstats
path: root/modules/php/php.module
diff options
context:
space:
mode:
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 cf7dea4..de7371b 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>';