* chang back button for story and todo.

This commit is contained in:
wangyidong
2013-07-06 09:31:17 +00:00
parent 1c5c39e04b
commit df28b82706
4 changed files with 10 additions and 5 deletions
+1
View File
@@ -20,6 +20,7 @@
</ul>
</div>
</div>
<?php $this->session->set('todoType', $type);?>
<?php foreach($todos as $todo):?>
<?php if(!$todo->private or ($todo->private and $todo->account == $app->user->account)):?>
<div data-role="collapsible-set">
+4 -2
View File
@@ -33,8 +33,10 @@
</tr>
<tr>
<td class='a-center' colspan='2'>
<?php echo html::submitButton('', "data-inline='true' data-theme='b'");?>
<?php echo html::backButton("data-inline='true'");?>
<?php
echo html::submitButton('', "data-inline='true' data-theme='b'");
echo html::linkButton($lang->goback, $this->createLink('story', 'view', "storyID=$story->id"), 'self', "data-inline='true'");
?>
</td>
</tr>
</table>
+4 -2
View File
@@ -55,8 +55,10 @@
</tr>
<tr>
<td class='a-center' colspan='2'>
<?php echo html::submitButton('', "data-inline='true' data-theme='b'");?>
<?php echo html::backButton("data-inline='true'");?>
<?php
echo html::submitButton('', "data-inline='true' data-theme='b'");
echo html::linkButton($lang->goback, $this->createLink('story', 'view', "storyID=$story->id"), 'self', "data-inline='true'");
?>
</td>
<tr>
</table>
+1 -1
View File
@@ -28,7 +28,7 @@
<p class='a-center'>
<?php
echo html::submitButton('', "data-inline='true' data-theme='b'");
echo html::backButton("data-inline='true'");
echo html::linkButton($lang->goback, $this->createLink('my', 'todo', "type={$this->session->todoType}"), 'self', "data-inline='true'");
?>
</p>
</form>