Comments

dvasquez’s picture

Issue tags: +CSS, +Drupal 5, +control panel

correction:

  $content .= '<div class="boton_' . str_replace('/', '_', $working_path) .' control-panel-item control-panel-icon-size-' . variable_get('controlpanel_icon_size' . $block, '48x48') . '">';
		$content .= '<a href="' . url($menu_visible[$mid]['path']) . '">';
		$file_name = $image_directory . '/' . str_replace('/', '_', $working_path) . '.png';
		//drupal_set_message($file_name);
		if (file_exists($file_name)) {
		  $src = $file_name;
		}