summaryrefslogtreecommitdiff
path: root/modules/php
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-13 09:34:40 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-13 09:34:40 +0000
commitc6d841c0963ff151232c2ae23b997a5b36c680eb (patch)
tree7c0b7779cb9919be9371533022c6ee658b464ffc /modules/php
parent2325fd5105462d8f3403c5aaf382d633f77cd373 (diff)
downloadbrdo-c6d841c0963ff151232c2ae23b997a5b36c680eb.tar.gz
brdo-c6d841c0963ff151232c2ae23b997a5b36c680eb.tar.bz2
#197297 by DanW (as GHOP 17), and keith.smith: clean up lots of help texts, update to drag and drop functionality, drupal.module removal, etc
Diffstat (limited to 'modules/php')
-rw-r--r--modules/php/php.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/php/php.module b/modules/php/php.module
index e99bf1b0c..ca3131ca2 100644
--- a/modules/php/php.module
+++ b/modules/php/php.module
@@ -14,8 +14,9 @@ function php_help($path, $arg) {
switch ($path) {
case 'admin/help#php':
$output = '<p>'. t('The PHP filter adds the ability to include PHP code in posts. PHP is a general-purpose scripting language widely-used for web development; the content management system used by this website has been developed using PHP.') .'</p>';
- $output .= '<p>'. t('Through the PHP filter, users with the proper permission may include custom PHP code within a page of this site. While this is a powerful and flexible feature if used by a trusted user with PHP experience, it is a significant and dangerous security risk in the hands of a malicious user. Even a trusted user may accidentally compromise the site by entering malformed or incorrect PHP code. Only the most trusted users should be granted permission to use the PHP filter, and all PHP code added through the PHP filter should be carefully examined before use.') .'</p>';
+ $output .= '<p>'. t('Through the PHP filter, users with the proper permission may include custom PHP code within a page of the site. While this is a powerful and flexible feature if used by a trusted user with PHP experience, it is a significant and dangerous security risk in the hands of a malicious user. Even a trusted user may accidentally compromise the site by entering malformed or incorrect PHP code. Only the most trusted users should be granted permission to use the PHP filter, and all PHP code added through the PHP filter should be carefully examined before use.') .'</p>';
$output .= '<p>'. t('<a href="@drupal">Drupal.org</a> offers <a href="@php-snippets">some example PHP snippets</a>, or you can create your own with some PHP experience and knowledge of the Drupal system.', array('@drupal' => url('http://drupal.org'), '@php-snippets' => url('http://drupal.org/handbook/customization/php-snippets'))) .'</p>';
+ $output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@php">PHP filter page</a>.', array('@php' => 'http://drupal.org/handbook/modules/php/')) .'</p>';
return $output;
}
}