@@ -13,8 +13,8 @@ |
||
13 | 13 | function render($values) { |
14 | 14 | $gflops = 0; |
15 | 15 | if ($values->host_app_version_et_avg) { |
16 | - $gflops = 1e-9 / $values->host_app_version_et_avg; |
|
16 | + $gflops = 1e-9/$values->host_app_version_et_avg; |
|
17 | 17 | } |
18 | - return round($gflops, 2) . ' GFLOPS'; |
|
18 | + return round($gflops, 2).' GFLOPS'; |
|
19 | 19 | } |
20 | 20 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | } |
12 | 12 | |
13 | 13 | function render($values) { |
14 | - $time_in_days = $values->host_app_version_turnaround_avg / (24*60*60); |
|
15 | - return round($time_in_days, 2) . ' ' . t('days'); |
|
14 | + $time_in_days = $values->host_app_version_turnaround_avg/(24*60*60); |
|
15 | + return round($time_in_days, 2).' '.t('days'); |
|
16 | 16 | } |
17 | 17 | } |
@@ -11,6 +11,6 @@ |
||
11 | 11 | } |
12 | 12 | |
13 | 13 | function render($values) { |
14 | - return sprintf("%01.2f", $values->app_version_host_app_version_version_num / 100); |
|
14 | + return sprintf("%01.2f", $values->app_version_host_app_version_version_num/100); |
|
15 | 15 | } |
16 | 16 | } |
@@ -1637,7 +1637,7 @@ |
||
1637 | 1637 | |
1638 | 1638 | return array( |
1639 | 1639 | 'info' => array( |
1640 | - 'path' => drupal_get_path('module', 'boincwork') . '/views', |
|
1640 | + 'path' => drupal_get_path('module', 'boincwork').'/views', |
|
1641 | 1641 | ), |
1642 | 1642 | 'handlers' => array( |
1643 | 1643 | 'views_handler_argument_boincuser_id' => array( |
@@ -301,7 +301,7 @@ |
||
301 | 301 | |
302 | 302 | if ($response == '404 NOT FOUND') { |
303 | 303 | form_set_error( |
304 | - 'boinc_translate_transifex_' . ($project == $boinc_name ? 'standard' : 'project') . '_resources', |
|
304 | + 'boinc_translate_transifex_'.($project == $boinc_name ? 'standard' : 'project').'_resources', |
|
305 | 305 | t('Resource %name not found in %project.', |
306 | 306 | array( |
307 | 307 | '%name' => $resource, |
@@ -274,7 +274,7 @@ |
||
274 | 274 | function boincuser_views_handlers() { |
275 | 275 | return array( |
276 | 276 | 'info' => array( |
277 | - 'path' => drupal_get_path('module', 'boincuser') . '/views', |
|
277 | + 'path' => drupal_get_path('module', 'boincuser').'/views', |
|
278 | 278 | ), |
279 | 279 | 'handlers' => array( |
280 | 280 | 'views_handler_argument_boincuser_id' => array( |
@@ -2,7 +2,7 @@ |
||
2 | 2 | // $Id: theme-settings.php,v 1.7 2008/09/11 09:36:50 johnalbin Exp $ |
3 | 3 | |
4 | 4 | // Include the definition of zen_settings() and zen_theme_get_default_settings(). |
5 | -include_once './' . drupal_get_path('theme', 'zen') . '/theme-settings.php'; |
|
5 | +include_once './'.drupal_get_path('theme', 'zen').'/theme-settings.php'; |
|
6 | 6 | |
7 | 7 | |
8 | 8 | /** |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | // Render the stylesheets to link elements. |
65 | 65 | $conditional_styles = $conditional_styles_rtl = ''; |
66 | 66 | if (!empty($stylesheets)) { |
67 | - $query_string = '?'. substr(variable_get('css_js_query_string', '0'), 0, 1); |
|
67 | + $query_string = '?'.substr(variable_get('css_js_query_string', '0'), 0, 1); |
|
68 | 68 | $base_path = base_path(); |
69 | 69 | foreach ($stylesheets AS $condition => $css) { |
70 | 70 | // Each condition requires its own set of links. |
@@ -92,17 +92,17 @@ discard block |
||
92 | 92 | // Save the stylesheets for later retrieval. |
93 | 93 | if ($conditional_styles) { |
94 | 94 | if (db_is_active()) { |
95 | - variable_set('conditional_styles_' . $theme, $conditional_styles); |
|
96 | - variable_set('conditional_styles_' . $theme . '_rtl', $conditional_styles_rtl); |
|
95 | + variable_set('conditional_styles_'.$theme, $conditional_styles); |
|
96 | + variable_set('conditional_styles_'.$theme.'_rtl', $conditional_styles_rtl); |
|
97 | 97 | } |
98 | 98 | else { |
99 | - $GLOBALS['conf']['conditional_styles_' . $theme] = $conditional_styles; |
|
100 | - $GLOBALS['conf']['conditional_styles_' . $theme . '_rtl'] = $conditional_styles_rtl; |
|
99 | + $GLOBALS['conf']['conditional_styles_'.$theme] = $conditional_styles; |
|
100 | + $GLOBALS['conf']['conditional_styles_'.$theme.'_rtl'] = $conditional_styles_rtl; |
|
101 | 101 | } |
102 | 102 | } |
103 | 103 | elseif (db_is_active()) { |
104 | - variable_del('conditional_styles_' . $theme); |
|
105 | - variable_del('conditional_styles_' . $theme . '_rtl'); |
|
104 | + variable_del('conditional_styles_'.$theme); |
|
105 | + variable_del('conditional_styles_'.$theme.'_rtl'); |
|
106 | 106 | } |
107 | 107 | } |
108 | 108 | } |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | |
18 | 18 | // Display 'edit block' for custom blocks. |
19 | 19 | if ($block->module == 'block') { |
20 | - $vars['edit_links_array']['block-edit'] = l('<span>' . t('edit block') . '</span>', 'admin/build/block/configure/' . $block->module . '/' . $block->delta, |
|
20 | + $vars['edit_links_array']['block-edit'] = l('<span>'.t('edit block').'</span>', 'admin/build/block/configure/'.$block->module.'/'.$block->delta, |
|
21 | 21 | array( |
22 | 22 | 'attributes' => array( |
23 | 23 | 'title' => t('edit the content of this block'), |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | } |
31 | 31 | // Display 'configure' for other blocks. |
32 | 32 | else { |
33 | - $vars['edit_links_array']['block-config'] = l('<span>' . t('configure') . '</span>', 'admin/build/block/configure/' . $block->module . '/' . $block->delta, |
|
33 | + $vars['edit_links_array']['block-config'] = l('<span>'.t('configure').'</span>', 'admin/build/block/configure/'.$block->module.'/'.$block->delta, |
|
34 | 34 | array( |
35 | 35 | 'attributes' => array( |
36 | 36 | 'title' => t('configure this block'), |
@@ -45,14 +45,14 @@ discard block |
||
45 | 45 | // Display 'edit view' for Views blocks. |
46 | 46 | if ($block->module == 'views' && user_access('administer views')) { |
47 | 47 | list($view_name, $view_block) = explode('-block', $block->delta); |
48 | - $vars['edit_links_array']['block-edit-view'] = l('<span>' . t('edit view') . '</span>', 'admin/build/views/edit/' . $view_name, |
|
48 | + $vars['edit_links_array']['block-edit-view'] = l('<span>'.t('edit view').'</span>', 'admin/build/views/edit/'.$view_name, |
|
49 | 49 | array( |
50 | 50 | 'attributes' => array( |
51 | 51 | 'title' => t('edit the view that defines this block'), |
52 | 52 | 'class' => 'block-edit-view', |
53 | 53 | ), |
54 | 54 | 'query' => drupal_get_destination(), |
55 | - 'fragment' => 'views-tab-block' . $view_block, |
|
55 | + 'fragment' => 'views-tab-block'.$view_block, |
|
56 | 56 | 'html' => TRUE, |
57 | 57 | ) |
58 | 58 | ); |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | // Display 'edit menu' for Menu blocks. |
61 | 61 | elseif (($block->module == 'menu' || ($block->module == 'user' && $block->delta == 1)) && user_access('administer menu')) { |
62 | 62 | $menu_name = ($block->module == 'user') ? 'navigation' : $block->delta; |
63 | - $vars['edit_links_array']['block-edit-menu'] = l('<span>' . t('edit menu') . '</span>', 'admin/build/menu-customize/' . $menu_name, |
|
63 | + $vars['edit_links_array']['block-edit-menu'] = l('<span>'.t('edit menu').'</span>', 'admin/build/menu-customize/'.$menu_name, |
|
64 | 64 | array( |
65 | 65 | 'attributes' => array( |
66 | 66 | 'title' => t('edit the menu that defines this block'), |
@@ -73,8 +73,8 @@ discard block |
||
73 | 73 | } |
74 | 74 | // Display 'edit menu' for Menu block blocks. |
75 | 75 | elseif ($block->module == 'menu_block' && user_access('administer menu')) { |
76 | - list($menu_name, ) = split(':', variable_get("menu_block_{$block->delta}_parent", 'navigation:0')); |
|
77 | - $vars['edit_links_array']['block-edit-menu'] = l('<span>' . t('edit menu') . '</span>', 'admin/build/menu-customize/' . $menu_name, |
|
76 | + list($menu_name,) = split(':', variable_get("menu_block_{$block->delta}_parent", 'navigation:0')); |
|
77 | + $vars['edit_links_array']['block-edit-menu'] = l('<span>'.t('edit menu').'</span>', 'admin/build/menu-customize/'.$menu_name, |
|
78 | 78 | array( |
79 | 79 | 'attributes' => array( |
80 | 80 | 'title' => t('edit the menu that defines this block'), |