Skip to content

Commit

Permalink
Dev: separate export head style and export head option
Browse files Browse the repository at this point in the history
Dev: needed or not ? But option apply to different style
  • Loading branch information
Shnoulle committed Jun 17, 2014
1 parent 5523ff3 commit cda51fc
Showing 1 changed file with 20 additions and 23 deletions.
43 changes: 20 additions & 23 deletions application/views/admin/export/exportresults_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,38 +85,35 @@
<fieldset><legend>
<?php $clang->eT("Headings");?></legend>
<ul>
<?php foreach($headexports as $type=>$label)
<?php foreach($headexports as $type=>$headexport)
{
$content = CHTML::radioButton('headstyle',$selectedheadexports==$type,array('value'=>$type,'id'=>"headstyle-{$type}"))
. CHTML::label($label,"headstyle-{$type}");
$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);
}
?>
<!--<fieldset>
<legend><?php $clang->eT("Heading option");?></legend>-->
<ul>
<li><?php echo CHTML::checkBox('headspacetounderscores',false,array('value'=>'1','id'=>'headspacetounderscores'));
echo CHTML::label($clang->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($clang->gT("Text abbreviated"),'abbreviatedtext');?>
<ul>
<li><?php echo CHTML::label($clang->gT("Number of caracters"),'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($clang->gT("Use expression manager code"),'emcode'); ?></li>
<li><?php echo CHTML::label($clang->gT("Code an texte separator"),'codetextseparator');
echo CHTML::textField('codetextseparator','. ',array('id'=>'codetextseparator','size'=>'4')); ?></li>
</ul>
<!--</fieldset>-->
</li>
</ul>
</fieldset>
<fieldset>
<legend><?php $clang->eT("Heading option");?></legend>
<ul>

<li><?php echo CHTML::checkBox('headspacetounderscores',false,array('value'=>'1','id'=>'headspacetounderscores'));
echo CHTML::label($clang->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($clang->gT("Text abbreviated"),'abbreviatedtext');?>
<ul>
<li><?php echo CHTML::label($clang->gT("Number of caracters"),'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($clang->gT("Use expression manager code"),'emcode'); ?></li>
<li><?php echo CHTML::label($clang->gT("Code an texte separator"),'codetextseparator');
echo CHTML::textField('codetextseparator','. ',array('id'=>'codetextseparator','size'=>'4')); ?></li>
</ul>
</fieldset>


<fieldset>
<legend><?php $clang->eT("Responses");?></legend>
<ul>
Expand Down

0 comments on commit cda51fc

Please sign in to comment.