@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | } |
17 | 17 | |
18 | 18 | // Load info file to grab base scenario. |
19 | - if (!$info = drupal_parse_info_file(drupal_get_path('module', $module) . '/' . $module . '.info')) { |
|
19 | + if (!$info = drupal_parse_info_file(drupal_get_path('module', $module).'/'.$module.'.info')) { |
|
20 | 20 | drupal_set_message(t('Unable to load Scenario .info file'), 'error'); |
21 | 21 | return FALSE; |
22 | 22 | } |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | 'operations' => $operations, |
52 | 52 | 'title' => t('Sub-scenario base scenario rollback.'), |
53 | 53 | 'init_message' => t('Rolling back base scenario.'), |
54 | - 'file' => drupal_get_path('module', 'migrate_ui') . '/migrate_ui.pages.inc', |
|
54 | + 'file' => drupal_get_path('module', 'migrate_ui').'/migrate_ui.pages.inc', |
|
55 | 55 | 'progress_message' => t('Rolling back base scenario migrations...'), |
56 | 56 | 'error_message' => t('An error occurred. Some or all of the rollback processing has failed.') |
57 | 57 | ); |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | */ |
12 | 12 | function df_admin_page() { |
13 | 13 | // Add DF Admin CSS. |
14 | - drupal_add_css(drupal_get_path('module', 'df_admin') . '/css/df_admin.page.css'); |
|
14 | + drupal_add_css(drupal_get_path('module', 'df_admin').'/css/df_admin.page.css'); |
|
15 | 15 | |
16 | 16 | // Get advanced help topics. |
17 | 17 | $advanced_help = module_exists('advanced_help') ? advanced_help_get_topics() : array(); |
@@ -34,9 +34,9 @@ discard block |
||
34 | 34 | 'description' => $module->info['description'], |
35 | 35 | ); |
36 | 36 | // Append optional screenshot to scenario's info array. |
37 | - $screenshot = drupal_get_path('module', $module->name) . '/screenshot.png'; |
|
37 | + $screenshot = drupal_get_path('module', $module->name).'/screenshot.png'; |
|
38 | 38 | if (file_exists($screenshot)) { |
39 | - $list[$module->name]['screenshot'] = '/' . $screenshot; |
|
39 | + $list[$module->name]['screenshot'] = '/'.$screenshot; |
|
40 | 40 | } |
41 | 41 | // Add optional advanced_help topic to scenario info array. |
42 | 42 | if (isset($advanced_help[$module->name])) { |
@@ -59,13 +59,13 @@ discard block |
||
59 | 59 | function _df_admin_dfs_links($module) { |
60 | 60 | $links = array(); |
61 | 61 | $action = !module_exists($module->name) ? 'enable' : 'reset'; |
62 | - $path = 'admin/df/' . $action . '/' . $module->name; |
|
63 | - $token = drupal_get_token(DRUPAL_ROOT . '/df/' . $action . '/' . $module->name); |
|
62 | + $path = 'admin/df/'.$action.'/'.$module->name; |
|
63 | + $token = drupal_get_token(DRUPAL_ROOT.'/df/'.$action.'/'.$module->name); |
|
64 | 64 | $links[] = l(t(ucwords($action)), $path, array('attributes' => array('class' => array('dfs-link')), 'query' => array('token' => $token))); |
65 | 65 | // Add an uninstall button if needed |
66 | 66 | if ($action == 'reset') { |
67 | 67 | $path = 'admin/df/uninstall'; |
68 | - $token = drupal_get_token(DRUPAL_ROOT . '/df/uninstall'); |
|
68 | + $token = drupal_get_token(DRUPAL_ROOT.'/df/uninstall'); |
|
69 | 69 | $links[] = l(t('Uninstall'), $path, array('attributes' => array('class' => array('dfs-link')), 'query' => array('token' => $token))); |
70 | 70 | } |
71 | 71 | return $links; |