Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
Sloane DellOrto CreditAttribution: Sloane DellOrto commentedyargen, posted the wrong code twice :) Here is the correct code to replace the incorrect code:
Comment #2
LeeHunter CreditAttribution: LeeHunter commentedComment #3
LeeHunter CreditAttribution: LeeHunter commented