/[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.28, Sat Aug 16 17:30:44 2008 UTC revision 1.29, Mon Sep 22 01:04:22 2008 UTC
# Line 148  function theme_controlpanel_panel_view($ Line 148  function theme_controlpanel_panel_view($
148        if ($menu_item['link']['hidden'] == 0) {        if ($menu_item['link']['hidden'] == 0) {
149          $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') . '">';
150          $content .= '<a href="' . url($menu_item['link']['link_path']) . '">';          $content .= '<a href="' . url($menu_item['link']['link_path']) . '">';
151          $working_path = $menu_item['link']['link_path'];          $working_path = drupal_get_path_alias($menu_item['link']['link_path']);
152          if (is_numeric(substr($working_path, strrpos($working_path, "/") + 1))) {          if (is_numeric(substr($working_path, strrpos($working_path, "/") + 1))) {
153            $working_path = substr($working_path, 0, strrpos($working_path, "/"));            $working_path = substr($working_path, 0, strrpos($working_path, "/"));
154          }          }

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.2