Here is the first section of the routine from main.inc:
function rcube_xml_command($command, $str_attrib, $add_attrib=array())
{
global $IMAP, $CONFIG, $OUTPUT;
$command = strtolower($command);
.... continues
as you can see, the first thing it does is convert the command name to lower case. so it is only the command in the code in main.inc that is used for the test needs to be lower case. and your code has that (variable in this case).
sorry for the confusion. I remembered when I was testing that something had to be lower case, I just got confused as to what it was. sorry
The new RC2 has no function rcube_xml_command($command, $str_attrib, $add_attrib=array()). So how can you do it on the new RC2. What i want is to add a new menu on the task bar.
i have added $MAIN_TASKS = array('mail','sometest','settings','addressbook','logout');
Some test displays with out an icon.
How can i add menu to the task bar.
Thanks