Closed (fixed)
Project:
Documentation
Component:
Correction/Clarification
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
7 Mar 2009 at 20:24 UTC
Updated:
21 Mar 2009 at 21:00 UTC
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 commentedyargen, posted the wrong code twice :) Here is the correct code to replace the incorrect code:
Comment #2
leehunter commentedComment #3
leehunter commented