* finish task #2306.
This commit is contained in:
@@ -141,7 +141,7 @@ js::set('refresh', $lang->refresh);
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->bug->files;?></th>
|
||||
<td colspan='2'><?php echo $this->fetch('file', 'buildform', 'fileCount=2&percent=0.85');?></td>
|
||||
<td colspan='2'><?php echo $this->fetch('file', 'buildform', 'fileCount=1&percent=0.85');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
|
||||
@@ -52,7 +52,7 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild);
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend><?php echo $lang->bug->legendAttatch;?></legend>
|
||||
<div class='form-group'><?php echo $this->fetch('file', 'buildform', 'filecount=2');?></div>
|
||||
<div class='form-group'><?php echo $this->fetch('file', 'buildform');?></div>
|
||||
</fieldset>
|
||||
<div class='actions'>
|
||||
<?php
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->bug->files;?></th>
|
||||
<td colspan='2'><?php echo $this->fetch('file', 'buildform', 'fileCount=2&percent=0.85');?></td>
|
||||
<td colspan='2'><?php echo $this->fetch('file', 'buildform', 'fileCount=1&percent=0.85');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->comment;?></th>
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
</tr>
|
||||
<tr id='fileBox'>
|
||||
<th><?php echo $lang->doc->files;?></th>
|
||||
<td colspan='2'><?php echo $this->fetch('file', 'buildform', 'fileCount=2');?></td>
|
||||
<td colspan='2'><?php echo $this->fetch('file', 'buildform');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
|
||||
@@ -75,7 +75,7 @@ $(document).ready(function()
|
||||
</tr>
|
||||
<tr id='fileBox' class='hide'>
|
||||
<th><?php echo $lang->doc->files;?></th>
|
||||
<td colspan='2'><?php echo $this->fetch('file', 'buildform', 'fileCount=2');?></td>
|
||||
<td colspan='2'><?php echo $this->fetch('file', 'buildform');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
|
||||
@@ -19,7 +19,7 @@ class file extends control
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function buildForm($fileCount = 2, $percent = 0.9)
|
||||
public function buildForm($fileCount = 1, $percent = 0.9)
|
||||
{
|
||||
if(!file_exists($this->file->savePath))
|
||||
{
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->attatch;?></th>
|
||||
<td><?php echo $this->fetch('file', 'buildform', 'filecount=2');?></td>
|
||||
<td><?php echo $this->fetch('file', 'buildform');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->story->checkAffection;?></th>
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
</fieldset>
|
||||
<fieldset class='fieldset-pure'>
|
||||
<legend><?php echo $lang->testcase->legendAttatch;?></legend>
|
||||
<div class='form-group'><?php echo $this->fetch('file', 'buildform', 'filecount=2');?></div>
|
||||
<div class='form-group'><?php echo $this->fetch('file', 'buildform');?></div>
|
||||
</fieldset>
|
||||
<div class='text-center mgb-20'>
|
||||
<?php echo html::submitButton();?>
|
||||
|
||||
Reference in New Issue
Block a user