http://drupal.org/node/34043
Theming 1pixel out - comment includes a code correction that should replace the code in the node itself. The comments can be deleted.

wrong code:

<?php
function phptemplate_audio_1pixelout_node_player($node, $options = array()) {
  $options = array_merge(array(
    'leftbg' => '0xFF0000',
    'rightbg' => '0x000000',
    'lefticon' => '0xFFFFFF',
    'righticon' => '0xFFFFFF',
  );
  return theme('audio_1pixelout_node_player', $node, $options);
}
?>

correct code:

<?php
function phptemplate_audio_1pixelout_node_player($node, $options = array()) {
  $options = array_merge(array(
    'leftbg' => '0xFF0000',
    'rightbg' => '0x000000',
    'lefticon' => '0xFFFFFF',
    'righticon' => '0xFFFFFF',
  );
  return theme('audio_1pixelout_node_player', $node, $options);
}
?>

Comments

Sloane DellOrto’s picture

yargen, posted the wrong code twice :) Here is the correct code to replace the incorrect code:

function phptemplate_audio_1pixelout_node_player($node, $options = array()) {
  $options = array_merge(array(
    'leftbg' => '0xFF0000',
    'rightbg' => '0x000000',
    'lefticon' => '0xFFFFFF',
    'righticon' => '0xFFFFFF',
  ));
  return theme_audio_1pixelout_node_player($node, $options);
}
LeeHunter’s picture

Assigned: Unassigned » LeeHunter
LeeHunter’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.