summaryrefslogtreecommitdiff
path: root/modules/filter
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-13 08:56:59 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-13 08:56:59 +0000
commite6759790919d06d807eeb5546841a5a09cf3a4d6 (patch)
tree4f6a88b11559f01d852262d03f42645568c820c0 /modules/filter
parentbe47ac090b3be5a13d33a75b835a755a0f4250c7 (diff)
downloadbrdo-e6759790919d06d807eeb5546841a5a09cf3a4d6.tar.gz
brdo-e6759790919d06d807eeb5546841a5a09cf3a4d6.tar.bz2
- Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot.
Diffstat (limited to 'modules/filter')
-rw-r--r--modules/filter/filter.module8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module
index 620aa6c3e..337ecfaee 100644
--- a/modules/filter/filter.module
+++ b/modules/filter/filter.module
@@ -173,7 +173,7 @@ function filter_filter_tips($delta, $format, $long = FALSE) {
'a' => array( t('Anchors are used to make links to other pages.'), '<a href="'. $base_url .'">'. variable_get('site_name', 'Drupal') .'</a>'),
'br' => array( t('By default line break tags are automatically added, so use this tag to add additional ones. Use of this tag is different because it is not used with an open/close pair like all the others. Use the extra " /" inside the tag to maintain XHTML 1.0 compatibility'), t('Text with <br />line break')),
'p' => array( t('By default paragraph tags are automatically added, so use this tag to add additional ones.'), '<p>'. t('Paragraph one.') .'</p> <p>'. t('Paragraph two.') .'</p>'),
- 'strong' => array( t('Strong'), '<strong>'. t('Strong'). '</strong>'),
+ 'strong' => array( t('Strong'), '<strong>'. t('Strong') .'</strong>'),
'em' => array( t('Emphasized'), '<em>'. t('Emphasized') .'</em>'),
'cite' => array( t('Cited'), '<cite>'. t('Cited') .'</cite>'),
'code' => array( t('Coded text used to show programming source code'), '<code>'. t('Coded') .'</code>'),
@@ -315,7 +315,7 @@ function filter_admin_overview() {
$default = ($id == variable_get('filter_default_format', 1));
$options[$id] = '';
$form[$format->name]['id'] = array('#value' => $id);
- $form[$format->name]['roles'] = array('#value' => $default ? t('All roles may use default format') : ($roles ? implode(', ',$roles) : t('No roles may use this format')));
+ $form[$format->name]['roles'] = array('#value' => $default ? t('All roles may use default format') : ($roles ? implode(', ', $roles) : t('No roles may use this format')));
$form[$format->name]['configure'] = array('#value' => l(t('configure'), 'admin/settings/filters/'. $id));
$form[$format->name]['delete'] = array('#value' => $default ? '' : l(t('delete'), 'admin/settings/filters/delete/'. $id));
}
@@ -633,7 +633,7 @@ function filter_formats($index = NULL) {
$where[] = "roles LIKE '%%,%d,%%'";
$args[] = $rid;
}
- $query .= ' WHERE '. implode(' OR ', $where) . ' OR format = %d';
+ $query .= ' WHERE '. implode(' OR ', $where) .' OR format = %d';
$args[] = variable_get('filter_default_format', 1);
}
@@ -934,7 +934,7 @@ function theme_filter_tips($tips, $long = FALSE, $extra = '') {
$tips = '';
foreach ($tiplist as $tip) {
- $tips .= '<li'. ($long ? ' id="filter-'. str_replace("/", "-", $tip['id']) .'">' : '>') . $tip['tip'] . '</li>';
+ $tips .= '<li'. ($long ? ' id="filter-'. str_replace("/", "-", $tip['id']) .'">' : '>') . $tip['tip'] .'</li>';
}
if ($tips) {