This commit is contained in:
areyou123456
2012-06-13 05:21:45 +00:00
parent cdd4539162
commit 0c0eca75d1
8 changed files with 12 additions and 10 deletions
+1
View File
@@ -10,3 +10,4 @@
.confirm0 {color:gray; font-size:9px}
.confirm1 {color:green; font-size:9px}
tfoot .f-left {color:#141414;}
table.border-sep {border-collapse:separate;}
+3 -3
View File
@@ -62,7 +62,7 @@ var customed = <?php echo (int)$customed;?>;
<td class='divider <?php echo $treeClass;?>'></td>
<td>
<?php $vars = "productID=$productID&browseType=$browseType&param=$param&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}"; ?>
<table class='table-1 fixed colored tablesorter datatable'>
<table class='table-1 fixed colored tablesorter datatable border-sep'>
<thead>
<tr class='colhead'>
<th class='w-id'> <?php common::printOrderLink('id', $orderBy, $vars, $lang->idAB);?></th>
@@ -76,8 +76,8 @@ var customed = <?php echo (int)$customed;?>;
<?php endif;?>
<?php if($browseType == 'needconfirm'):?>
<th class='w-p40'><?php common::printOrderLink('story', $orderBy, $vars, $lang->bug->story);?></th>
<th class='w-50px'><?php echo $lang->actions;?></th>
<th class='w-p85'<?php common::printOrderLink('story', $orderBy, $vars, $lang->bug->story);?></th>
<th class='w-120px'><?php echo $lang->actions;?></th>
<?php else:?>
<th class='w-user'><?php common::printOrderLink('openedBy', $orderBy, $vars, $lang->openedByAB);?></th>
+1 -1
View File
@@ -86,7 +86,7 @@ class my extends control
/* Assign. */
$this->view->dates = $this->loadModel('todo')->buildDateList();
$this->view->todos = $this->todo->getList($type, $account, $status, 0, $pager);
$this->view->date = (int)$type == 0 ? $this->todo->today() : $type;
$this->view->date = (int)$type == 0 ? date(DT_DATE1) : $type;
$this->view->type = $type;
$this->view->status = $status;
$this->view->account = $this->app->user->account;
+1 -1
View File
@@ -1,6 +1,6 @@
function changeDate(date)
{
link = createLink('my', 'todo', 'date=' + date);
link = createLink('my', 'todo', 'type=' + date);
location.href=link;
}
+3 -3
View File
@@ -17,8 +17,8 @@
<div id='featurebar'>
<div class='f-left'>
<?php
echo '<span id="yesterday">'. html::a(inlink('todo', "date=yesterday"), $lang->todo->yesterdayTodos). '</span>';
echo '<span id="today">' . html::a(inlink('todo', "date=today"), $lang->todo->todayTodos) . '</span>';
echo '<span id="yesterday">'. html::a(inlink('todo', "date=yesterday"), $lang->todo->yesterdayTodos). '</span>';
echo '<span id="thisweek">' . html::a(inlink('todo', "date=thisweek"), $lang->todo->thisWeekTodos) . '</span>';
echo '<span id="lastweek">' . html::a(inlink('todo', "date=lastweek"), $lang->todo->lastWeekTodos) . '</span>';
echo '<span id="thismonth">'. html::a(inlink('todo', "date=thismonth"), $lang->todo->thismonthTodos). '</span>';
@@ -28,13 +28,13 @@
echo '<span id="future">' . html::a(inlink('todo', "date=future"), $lang->todo->futureTodos) . '</span>';
echo '<span id="all">' . html::a(inlink('todo', "date=all"), $lang->todo->allDaysTodos) . '</span>';
echo '<span id="before">' . html::a(inlink('todo', "date=before&account={$app->user->account}&status=undone"), $lang->todo->allUndone) . '</span>';
echo "<span id='$date'>" . html::input('date', $date,"class='select-2 date'") . '</span>';
echo "<span id='$date'>" . html::input('date', $date,"class='select-2 date' onchange=changeDate(this.value)") . '</span>';
?>
<script>$('#<?php echo $type;?>').addClass('active')</script>
</div>
<div class='f-right'>
<?php
common::printLink('todo', 'export', "account=$account&orderBy=id_desc", $lang->export, '', 'class="export"');
common::printLink('todo', 'export', "account=$account&orderBy=id_desc", $lang->export, '', 'class="w-date"');
common::printLink('todo', 'batchCreate', "", $lang->todo->batchCreate);
echo html::a($this->createLink('todo', 'create', "date=$date"), $lang->todo->create);
?>
+1 -1
View File
@@ -52,7 +52,7 @@
</tbody>
<tfoot>
<tr>
<td colspan='6' class='f-left'><?php $pager->show();?></td></tr></tfoot>
<td colspan='6' class='f-right'><?php $pager->show();?></td></tr></tfoot>
</table>
<script>$('#<?php echo $type;?>').addClass('active')</script>
<?php include '../../common/view/footer.html.php';?>
+1 -1
View File
@@ -58,6 +58,6 @@
</tr>
<?php endforeach;?>
</tbody>
<tfoot><tr><td colspan='9' class='f-left'><?php $pager->show();?></td></tr></table>
<tfoot><tr><td colspan='9' class='f-right'><?php $pager->show();?></td></tr></table>
</table>
<?php include '../../common/view/footer.html.php';?>
+1
View File
@@ -19,6 +19,7 @@ $lang->release->browse = "浏览发布";
$lang->release->confirmDelete = "您确认删除该release吗?";
$lang->release->basicInfo='基本信息';
$lang->release->create ='创建版本';
$lang->release->id = 'ID';
$lang->release->product = '产品';