. CHTML::label($headexport['label'],"headstyle-{$type}",array('title'=>$headexport['help']));
                        echo CHTML::tag('li',array(),$content);
                    }
                    ?>
                </ul>
            </fieldset>
           <fieldset>
                <legend><?php eT("Heading option");?></legend>
                <ul>
                    <li><?php echo CHTML::checkBox('headspacetounderscores',false,array('value'=>'1','id'=>'headspacetounderscores'));
                        echo CHTML::label(gT("Convert spaces in question text to underscores"),'headspacetounderscores'); ?></li>
                    <li><?php echo CHTML::checkBox('abbreviatedtext',false,array('value'=>'1','id'=>'abbreviatedtext'));
                        echo CHTML::label(gT("Text abbreviated"),'abbreviatedtext');?>
                        <ul>
                        <li><?php echo CHTML::label(gT("Number of characters"),'abbreviatedtextto');
                        echo CHTML::numberField('abbreviatedtextto','15',array('id'=>'abbreviatedtextto','size'=>'4','min'=>'1','step'=>'1')); ?></li>
                        </ul>
                    </li>
                    <li><?php echo CHTML::checkBox('emcode',false,array('value'=>'emcode','id'=>'emcode'));
                        echo CHTML::label(gT("Use Expression Manager code"),'emcode'); ?></li>
                    <li><?php echo CHTML::label(gT("Code/text separator"),'codetextseparator');
                    echo CHTML::textField('codetextseparator','. ',array('id'=>'codetextseparator','size'=>'4')); ?></li>
                </ul>
            </fieldset>


            <fieldset>
                <legend><?php eT("Responses");?></legend>
                <ul>
                    <li><?php echo CHTML::radioButton('answers',false,array('value'=>'short','id'=>'answers-short'));
                        echo CHTML::label(gT("Answer codes"),'answers-short');?>