Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
LouisGac
committed
Jan 27, 2016
1 parent
014dc9d
commit 21238d8
Showing
2 changed files
with
51 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<?php | ||
/** | ||
* Numerical Html | ||
* | ||
* @var $extraclass | ||
* @var $id $ia[1] | ||
* @var $prefix | ||
* @var $answertypeclass | ||
* @var $tiwidth | ||
* @var $fValue | ||
* @var $checkconditionFunction | ||
* @var $integeronly | ||
* @var $maxlength | ||
* @var $suffix | ||
*/ | ||
?> | ||
<p class='question answer-item text-item numeric-item <?php echo $extraclass;?>'> | ||
<label for='answer<?php echo $id;?>' class='hide label'> | ||
<?php eT('Your answer'); ?> | ||
</label> | ||
|
||
<?php echo $prefix; ?> | ||
|
||
<input | ||
class='form-control text <?php echo $answertypeclass; ?>' | ||
type="text" | ||
size="<?php echo $tiwidth;?>" | ||
name="<?php echo $id;?>" | ||
title=<?php echo eT('Only numbers may be entered in this field.');?>" | ||
id="answer<?php echo $id;?>" | ||
value="<?php echo $fValue;?>" | ||
onkeyup="<?php echo $checkconditionFunction; ?>(this.value, this.name, this.type,'onchange', <?php echo $integeronly; ?>);" | ||
<?php echo $maxlength; ?> | ||
/> | ||
<?php echo $suffix;?> | ||
</p> |