diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-22 23:24:26 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-22 23:24:26 +0000 |
commit | ac4c8f7ab019f2b6d77e2718a0bda0a1c6a4bd23 (patch) | |
tree | 504da530868d5672961d8a3d381f4577bc67c67d /modules/system | |
parent | ed48af4c411b9199b947b6887fba34550be5aa20 (diff) | |
download | brdo-ac4c8f7ab019f2b6d77e2718a0bda0a1c6a4bd23.tar.gz brdo-ac4c8f7ab019f2b6d77e2718a0bda0a1c6a4bd23.tar.bz2 |
#203274 by Pasqualle: remove excessive witespace from our code (minor)
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/admin-rtl.css | 2 | ||||
-rw-r--r-- | modules/system/admin.css | 2 | ||||
-rw-r--r-- | modules/system/system.admin.inc | 12 | ||||
-rw-r--r-- | modules/system/system.install | 10 | ||||
-rw-r--r-- | modules/system/system.module | 2 |
5 files changed, 14 insertions, 14 deletions
diff --git a/modules/system/admin-rtl.css b/modules/system/admin-rtl.css index c82995197..08f12acd7 100644 --- a/modules/system/admin-rtl.css +++ b/modules/system/admin-rtl.css @@ -16,7 +16,7 @@ table.system-status-report th, table.system-status-report tr.merge-up td { padding-right: 30px; } -table.system-status-report th { +table.system-status-report th { background-position: 95% 50%; } diff --git a/modules/system/admin.css b/modules/system/admin.css index debc7963f..a095220ad 100644 --- a/modules/system/admin.css +++ b/modules/system/admin.css @@ -67,7 +67,7 @@ table.system-status-report th { table.system-status-report th, table.system-status-report tr.merge-up td { padding-left: 30px; /* LTR */ } -table.system-status-report th { +table.system-status-report th { background-repeat: no-repeat; background-position: 5px 50%; /* LTR */ padding-top: 6px; diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index bdcb97049..cd73adac6 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -418,7 +418,7 @@ function system_theme_settings(&$form_state, $key = '') { $form['node_info'] = array( '#type' => 'fieldset', '#title' => t('Display post information on'), - '#description' => t('Enable or disable the <em>submitted by Username on date</em> text when displaying posts of the following type.'), + '#description' => t('Enable or disable the <em>submitted by Username on date</em> text when displaying posts of the following type.'), '#prefix' => '<div class="theme-settings-right">', '#suffix' => '</div>', ); @@ -477,7 +477,7 @@ function system_theme_settings(&$form_state, $key = '') { $form['favicon']['favicon_path'] = array( '#type' => 'textfield', '#title' => t('Path to custom icon'), - '#default_value' => $settings['favicon_path'], + '#default_value' => $settings['favicon_path'], '#description' => t('The path to the image file you would like to use as your custom shortcut icon.') ); @@ -1198,7 +1198,7 @@ function system_error_reporting_settings() { $form['site_404'] = array( '#type' => 'textfield', '#title' => t('Default 404 (not found) page'), - '#default_value' => variable_get('site_404', ''), + '#default_value' => variable_get('site_404', ''), '#size' => 40, '#description' => t('This page is displayed when no other content matches the requested document. If unsure, specify nothing.'), '#field_prefix' => url(NULL, array('absolute' => TRUE)) . (variable_get('clean_url', 0) ? '' : '?q=') @@ -1207,7 +1207,7 @@ function system_error_reporting_settings() { $form['error_level'] = array( '#type' => 'select', '#title' => t('Error reporting'), '#default_value' => variable_get('error_level', 1), '#options' => array(t('Write errors to the log'), t('Write errors to the log and to the screen')), - '#description' => t('Specify where Drupal, PHP and SQL errors are logged. While it is recommended that a site running in a production environment write errors to the log only, in a development or testing environment it may be helpful to write errors both to the log and to the screen.') + '#description' => t('Specify where Drupal, PHP and SQL errors are logged. While it is recommended that a site running in a production environment write errors to the log only, in a development or testing environment it may be helpful to write errors both to the log and to the screen.') ); $form['#validate'][] = 'system_error_reporting_settings_validate'; @@ -1483,8 +1483,8 @@ function system_date_time_settings() { 'D, Y/m/d - H:i', 'F j, Y - H:i', 'j F, Y - H:i', 'Y, F j - H:i', 'D, m/d/Y - g:ia', 'D, d/m/Y - g:ia', 'D, Y/m/d - g:ia', 'F j, Y - g:ia', 'j F Y - g:ia', 'Y, F j - g:ia', 'j. F Y - G:i'); - $date_long = array('l, F j, Y - H:i', 'l, j F, Y - H:i', 'l, Y, F j - H:i', - 'l, F j, Y - g:ia', 'l, j F Y - g:ia', 'l, Y, F j - g:ia', 'l, j. F Y - G:i'); + $date_long = array('l, F j, Y - H:i', 'l, j F, Y - H:i', 'l, Y, F j - H:i', + 'l, F j, Y - g:ia', 'l, j F Y - g:ia', 'l, Y, F j - g:ia', 'l, j. F Y - G:i'); // Date settings: construct choices for user foreach ($date_short as $f) { diff --git a/modules/system/system.install b/modules/system/system.install index e2fdf6382..310bc0661 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -1231,7 +1231,7 @@ function system_update_1004() { switch ($GLOBALS['db_type']) { case 'mysql': case 'mysqli': - $ret[] = update_sql("ALTER TABLE {access} CHANGE `aid` `aid` int NOT NULL AUTO_INCREMENT "); + $ret[] = update_sql("ALTER TABLE {access} CHANGE `aid` `aid` int NOT NULL AUTO_INCREMENT "); $ret[] = update_sql("ALTER TABLE {boxes} CHANGE `bid` `bid` int NOT NULL AUTO_INCREMENT "); break; case 'pgsql': @@ -2279,7 +2279,7 @@ function system_update_6021() { // This can only occur if the menu entry is a leftover in the menu table. // These do not appear in Drupal 5 anyways, so we skip them. if (!$item) { - db_query('UPDATE {menu} SET converted = %d WHERE mid = %d', 1, $item_original['mid']); + db_query('UPDATE {menu} SET converted = %d WHERE mid = %d', 1, $item_original['mid']); $_SESSION['system_update_6021']++; continue; } @@ -2341,7 +2341,7 @@ function system_update_6021() { $_SESSION['menu_menu_map'][$item['mid']] = $item['menu_name']; $_SESSION['menu_item_map'][$item['mid']] = FALSE; } - db_query('UPDATE {menu} SET converted = %d WHERE mid = %d', 1, $item['mid']); + db_query('UPDATE {menu} SET converted = %d WHERE mid = %d', 1, $item['mid']); $_SESSION['system_update_6021']++; } @@ -2361,8 +2361,8 @@ function system_update_6021() { foreach ($_SESSION['menu_menu_map'] as $mid => $menu_name) { // This is again secure because we deleted every non-alpanumeric // character from the menu name. - $ret[] = update_sql("UPDATE {blocks} SET delta = '". $menu_name ."' WHERE module = 'menu' AND delta = '". $mid ."'"); - $ret[] = update_sql("UPDATE {blocks_roles} SET delta = '". $menu_name ."' WHERE module = 'menu' AND delta = '". $mid ."'"); + $ret[] = update_sql("UPDATE {blocks} SET delta = '". $menu_name ."' WHERE module = 'menu' AND delta = '". $mid ."'"); + $ret[] = update_sql("UPDATE {blocks_roles} SET delta = '". $menu_name ."' WHERE module = 'menu' AND delta = '". $mid ."'"); } $ret[] = array('success' => TRUE, 'query' => 'Relocated '. $_SESSION['system_update_6021'] .'existing items to the new menu system.'); $ret[] = update_sql("DROP TABLE {menu}"); diff --git a/modules/system/system.module b/modules/system/system.module index 3dd696ec6..07ec28c20 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -692,7 +692,7 @@ function system_theme_select_form($description = '', $default_value = '', $weigh $screenshot = $screenshot ? theme('image', $screenshot, t('Screenshot for %theme theme', array('%theme' => $info->name)), '', array('class' => 'screenshot'), FALSE) : t('no screenshot'); $form['themes'][$info->key]['screenshot'] = array('#value' => $screenshot); - $form['themes'][$info->key]['description'] = array('#type' => 'item', '#title' => $info->name, '#value' => dirname($info->filename) . ($info->name == variable_get('theme_default', 'garland') ? '<br /> <em>'. t('(site default theme)') .'</em>' : '')); + $form['themes'][$info->key]['description'] = array('#type' => 'item', '#title' => $info->name, '#value' => dirname($info->filename) . ($info->name == variable_get('theme_default', 'garland') ? '<br /> <em>'. t('(site default theme)') .'</em>' : '')); $options[$info->key] = ''; } |