@@ -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; |