+ add backButton for task views.

This commit is contained in:
zhujinyong
2013-06-28 01:57:53 +00:00
parent d3a9935652
commit 871bc69eff
6 changed files with 13 additions and 13 deletions
+6 -6
View File
@@ -5,20 +5,20 @@
<table class='table-1'>
<tr>
<td class="w-60px"><?php echo $lang->task->assignedTo;?></td>
<td class="w-70px"><?php echo $lang->task->assignedTo;?></td>
<td><?php echo html::select('assignedTo', $users, $task->openedBy);?>
</tr>
<tr>
<td class="w-60px"><?php echo $lang->task->left;?></td>
<td class="w-70px"><?php echo $lang->task->left;?></td>
<td><?php echo html::input('left', '');?>
</div>
<tr>
<td class='w-60px'><?php echo $lang->comment;?></td>
<td class='w-70px'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
</tr>
<tr class="a-center">
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"');?></td>
</div>
<tr class="a-center">
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"') . html::backButton("data-inline='true'");?></td>
</tr>
</table>
</form>
<?php include '../../common/view/m.action.html.php';?>
+1 -1
View File
@@ -17,7 +17,7 @@
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
</tr>
<tr class='a-center'>
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"');?></td>
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"') . html::backButton("data-inline='true'");?></td>
</tr>
</table>
</form>
+1 -1
View File
@@ -9,7 +9,7 @@
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
</tr>
<tr class='a-center'>
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"');?></td>
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"') . html::backButton("data-inline='true'");?></td>
</tr>
</table>
</form>
+1 -1
View File
@@ -17,7 +17,7 @@
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
</tr>
<tr class='a-center'>
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"') . html::hidden('finishedDate', $date);?></td>
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"') . html::backButton("data-inline='true'") . html::hidden('finishedDate', $date);?></td>
</tr>
</table>
</form>
+2 -2
View File
@@ -28,8 +28,8 @@
<td class='w-70px'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
</tr>
<tr>
<td><?php echo html::submitButton() . html::hidden('dates[1]', helper::today()) . html::hidden("id[1]", 1); ?></td>
<tr class="a-center">
<td><?php echo html::submitButton() . html::backButton("data-inline='true'") . html::hidden('dates[1]', helper::today()) . html::hidden("id[1]", 1); ?></td>
</tr>
<table>
<?php endif;?>
+2 -2
View File
@@ -16,8 +16,8 @@
<td class='w-70px'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "data-mini='true'");?></td>
</tr>
<tr>
<td colspan="2"><?php echo html::submitButton() .html::hidden('realStarted', helper::today());?></td>
<tr class="a-center">
<td colspan="2"><?php echo html::submitButton('', 'data-inline="true" data-theme="b"') . html::backButton("data-inline='true'") . html::hidden('realStarted', helper::today());?></td>
</tr>
</table>
</form>