/[drupal]/contributions/modules/controlpanel/controlpanel.module
ViewVC logotype

Diff of /contributions/modules/controlpanel/controlpanel.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.24, Mon Feb 11 00:06:39 2008 UTC revision 1.24.2.1, Mon Sep 22 01:20:54 2008 UTC
# Line 126  function theme_controlpanel_panel_view($ Line 126  function theme_controlpanel_panel_view($
126        else {        else {
127          $content .= '<div class="control-panel-item control-panel-icon-size-' . variable_get('controlpanel_icon_size' . $block, '48x48') . '">';          $content .= '<div class="control-panel-item control-panel-icon-size-' . variable_get('controlpanel_icon_size' . $block, '48x48') . '">';
128                  $content .= '<a href="' . url($menu_visible[$mid]['path']) . '">';                  $content .= '<a href="' . url($menu_visible[$mid]['path']) . '">';
129                  $working_path = $menu_visible[$mid]['path'];                  $working_path = drupal_get_path_alias($menu_visible[$mid]['path']);
130                  if (is_numeric(substr($working_path, strrpos($working_path, "/") + 1))) {                  if (is_numeric(substr($working_path, strrpos($working_path, "/") + 1))) {
131                    $working_path = substr($working_path, 0, strrpos($working_path, "/"));                    $working_path = substr($working_path, 0, strrpos($working_path, "/"));
132                  }                  }

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.24.2.1

  ViewVC Help
Powered by ViewVC 1.1.2