<option value='incomplete' <?php echo $selectinc;?>><?php eT("Incomplete responses only");?></option> </select> </li> <?php echo CHTML::label(gT("Export language"),"exportlang"); echo CHtml::dropDownList('exportlang', null, $aLanguages); ?> </ul></fieldset> <fieldset><legend> <?php eT("Headings");?></legend> <ul> <?php foreach($headexports as $type=>$headexport) { $content = CHTML::radioButton('headstyle',$headexport['checked'],array('value'=>$type,'id'=>"headstyle-{$type}")) . 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>