* convert to unix format.

This commit is contained in:
wangchunsheng
2012-02-21 07:22:58 +00:00
parent f1dfdf6ea0
commit 65e19fa8a8
389 changed files with 55211 additions and 55211 deletions
+61 -61
View File
@@ -1,61 +1,61 @@
<?php
/**
* The create view of todo module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package todo
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<caption><?php echo $lang->todo->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->todo->date;?></th>
<td><?php echo html::select('date', $dates, $date, 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->type;?></th>
<td><?php echo html::select('type', $lang->todo->typeList, '', 'onchange=loadList(this.value); class=select-3');?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->pri;?></th>
<td><?php echo html::select('pri', $lang->todo->priList, '', 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->name;?></th>
<td><div id='nameBox'><?php echo html::input('name', '', 'class=text-1');?></div></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows='8' class='area-1'");?></textarea>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->status;?></th>
<td><?php echo html::select('status', $lang->todo->statusList, '', 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->beginAndEnd;?></th>
<td>
<?php echo html::select('begin', $times, $time, 'onchange=selectNext(); class=select-2') . html::select('end', $times, '', 'class=select-2');?>
<input type='checkbox' id='switchDate' onclick='switchDateFeature(this);'><?php echo $lang->todo->lblDisableDate;?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->private;?></th>
<td><input type='checkbox' name='private' id='private' value='1'></td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php echo html::submitButton() . html::resetButton();?>
</td>
</tr>
</table>
</form>
<?php include './footer.html.php';?>
<script language='Javascript'>selectNext();</script>
<?php
/**
* The create view of todo module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package todo
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<caption><?php echo $lang->todo->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->todo->date;?></th>
<td><?php echo html::select('date', $dates, $date, 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->type;?></th>
<td><?php echo html::select('type', $lang->todo->typeList, '', 'onchange=loadList(this.value); class=select-3');?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->pri;?></th>
<td><?php echo html::select('pri', $lang->todo->priList, '', 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->name;?></th>
<td><div id='nameBox'><?php echo html::input('name', '', 'class=text-1');?></div></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows='8' class='area-1'");?></textarea>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->status;?></th>
<td><?php echo html::select('status', $lang->todo->statusList, '', 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->beginAndEnd;?></th>
<td>
<?php echo html::select('begin', $times, $time, 'onchange=selectNext(); class=select-2') . html::select('end', $times, '', 'class=select-2');?>
<input type='checkbox' id='switchDate' onclick='switchDateFeature(this);'><?php echo $lang->todo->lblDisableDate;?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->private;?></th>
<td><input type='checkbox' name='private' id='private' value='1'></td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php echo html::submitButton() . html::resetButton();?>
</td>
</tr>
</table>
</form>
<?php include './footer.html.php';?>
<script language='Javascript'>selectNext();</script>
+67 -67
View File
@@ -1,67 +1,67 @@
<?php
/**
* The create view of todo module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package todo
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1 a-left'>
<caption><?php echo $lang->todo->edit;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->todo->date;?></th>
<td><?php echo html::select('date', $dates, $todo->date, 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->type;?></th>
<td><input type='hidden' name='type' value='<?php echo $todo->type;?>' /><?php echo $lang->todo->typeList->{$todo->type};?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->pri;?></th>
<td><?php echo html::select('pri', $lang->todo->priList, $todo->pri, 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->name;?></th>
<td><div id='nameBox'>
<?php
$readType = $todo->type != 'custom' ? 'readonly' : '';
echo html::input('name', $todo->name, "$readType class=text-1");
?>
</div>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->desc;?></th>
<td><?php echo html::textarea('desc', htmlspecialchars($todo->desc), "rows=8 class=area-1");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->status;?></th>
<td><?php echo html::select('status', $lang->todo->statusList, $todo->status, 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->beginAndEnd;?></th>
<td>
<?php echo html::select('begin', $times, $todo->begin, 'onchange=selectNext(); class=select-2') . html::select('end', $times, $todo->end, 'class=select-2');?>
<input type='checkbox' id='dateSwitcher' onclick='switchDateFeature(this);' <?php if($todo->begin == 2400) echo 'checked';?> ><?php echo $lang->todo->lblDisableDate;?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->private;?></th>
<td><input type='checkbox' name='private' id='private' value='1' <?php if($todo->private) echo 'checked';?>></td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php echo html::submitButton() . html::resetButton();?>
</td>
</tr>
</table>
</form>
<?php include './footer.html.php';?>
<script language='Javascript'>switchDateFeature(document.getElementById('dateSwitcher'));</script>
<?php
/**
* The create view of todo module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package todo
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1 a-left'>
<caption><?php echo $lang->todo->edit;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->todo->date;?></th>
<td><?php echo html::select('date', $dates, $todo->date, 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->type;?></th>
<td><input type='hidden' name='type' value='<?php echo $todo->type;?>' /><?php echo $lang->todo->typeList->{$todo->type};?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->pri;?></th>
<td><?php echo html::select('pri', $lang->todo->priList, $todo->pri, 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->name;?></th>
<td><div id='nameBox'>
<?php
$readType = $todo->type != 'custom' ? 'readonly' : '';
echo html::input('name', $todo->name, "$readType class=text-1");
?>
</div>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->desc;?></th>
<td><?php echo html::textarea('desc', htmlspecialchars($todo->desc), "rows=8 class=area-1");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->status;?></th>
<td><?php echo html::select('status', $lang->todo->statusList, $todo->status, 'class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->beginAndEnd;?></th>
<td>
<?php echo html::select('begin', $times, $todo->begin, 'onchange=selectNext(); class=select-2') . html::select('end', $times, $todo->end, 'class=select-2');?>
<input type='checkbox' id='dateSwitcher' onclick='switchDateFeature(this);' <?php if($todo->begin == 2400) echo 'checked';?> ><?php echo $lang->todo->lblDisableDate;?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->private;?></th>
<td><input type='checkbox' name='private' id='private' value='1' <?php if($todo->private) echo 'checked';?>></td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php echo html::submitButton() . html::resetButton();?>
</td>
</tr>
</table>
</form>
<?php include './footer.html.php';?>
<script language='Javascript'>switchDateFeature(document.getElementById('dateSwitcher'));</script>
+13 -13
View File
@@ -1,13 +1,13 @@
<?php
/**
* The export view file of bug module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Yangyang Shi<shiyangyang@cnezsoft.com>
* @package todo
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../file/view/export.html.php';?>
<?php
/**
* The export view file of bug module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Yangyang Shi<shiyangyang@cnezsoft.com>
* @package todo
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../file/view/export.html.php';?>
+87 -87
View File
@@ -1,87 +1,87 @@
<?php
/**
* The view file of view method of todo module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package todo
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php if(!$todo->private or ($todo->private and $todo->account == $app->user->account)):?>
<table class='table-1 a-left'>
<caption><?php echo $lang->todo->view;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->todo->account;?></th>
<td><?php echo $todo->account;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->date;?></th>
<td><?php print($todo->date == TODOModel::DAY_IN_FUTURE ? $lang->todo->dayInFuture : date(DT_DATE1, strtotime($todo->date)));?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->type;?></th>
<td><?php echo $lang->todo->typeList->{$todo->type};?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->pri;?></th>
<td><?php echo $lang->todo->priList[$todo->pri];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->name;?></th>
<td>
<?php
if($todo->type == 'bug') echo html::a($this->createLink('bug', 'view', "id={$todo->idvalue}"), $todo->name);
if($todo->type == 'task') echo html::a($this->createLink('task', 'view', "id={$todo->idvalue}"), $todo->name);
if($todo->type == 'custom') echo $todo->name;
?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->desc;?></th>
<td class='content'><?php echo $todo->desc;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->status;?></th>
<td><?php echo $lang->todo->statusList[$todo->status];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->beginAndEnd;?></th>
<td>
<?php
if(isset($times[$todo->begin])) echo $times[$todo->begin];
if(isset($times[$todo->end])) echo ' ~ ' . $times[$todo->end];
?>
</td>
</tr>
</table>
<div class='a-center f-16px strong'>
<?php
if($this->session->todoList)
{
$browseLink = $this->session->todoList;
}
elseif($todo->account == $app->user->account)
{
$browseLink = $this->createLink('my', 'todo');
}
else
{
$browseLink = $this->createLink('user', 'todo', "account=$todo->account");
}
if($todo->account == $app->user->account)
{
common::printLink('todo', 'edit', "todoID=$todo->id", $lang->edit);
common::printLink('todo', 'delete', "todoID=$todo->id", $lang->delete, 'hiddenwin');
}
echo html::a($browseLink, $lang->goback);
?>
</div>
<?php $actionTheme = 'table'; include '../../common/view/action.html.php';?>
<?php else:?>
<?php echo $lang->todo->thisIsPrivate;?>
<?php endif;?>
<?php include '../../common/view/footer.html.php';?>
<?php
/**
* The view file of view method of todo module of ZenTaoPMS.
*
* @copyright Copyright 2009-2012 青岛易软天创网络科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package todo
* @version $Id$
* @link http://www.zentao.net
*/
?>
<?php include '../../common/view/header.html.php';?>
<?php if(!$todo->private or ($todo->private and $todo->account == $app->user->account)):?>
<table class='table-1 a-left'>
<caption><?php echo $lang->todo->view;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->todo->account;?></th>
<td><?php echo $todo->account;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->date;?></th>
<td><?php print($todo->date == TODOModel::DAY_IN_FUTURE ? $lang->todo->dayInFuture : date(DT_DATE1, strtotime($todo->date)));?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->type;?></th>
<td><?php echo $lang->todo->typeList->{$todo->type};?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->pri;?></th>
<td><?php echo $lang->todo->priList[$todo->pri];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->name;?></th>
<td>
<?php
if($todo->type == 'bug') echo html::a($this->createLink('bug', 'view', "id={$todo->idvalue}"), $todo->name);
if($todo->type == 'task') echo html::a($this->createLink('task', 'view', "id={$todo->idvalue}"), $todo->name);
if($todo->type == 'custom') echo $todo->name;
?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->desc;?></th>
<td class='content'><?php echo $todo->desc;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->status;?></th>
<td><?php echo $lang->todo->statusList[$todo->status];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->beginAndEnd;?></th>
<td>
<?php
if(isset($times[$todo->begin])) echo $times[$todo->begin];
if(isset($times[$todo->end])) echo ' ~ ' . $times[$todo->end];
?>
</td>
</tr>
</table>
<div class='a-center f-16px strong'>
<?php
if($this->session->todoList)
{
$browseLink = $this->session->todoList;
}
elseif($todo->account == $app->user->account)
{
$browseLink = $this->createLink('my', 'todo');
}
else
{
$browseLink = $this->createLink('user', 'todo', "account=$todo->account");
}
if($todo->account == $app->user->account)
{
common::printLink('todo', 'edit', "todoID=$todo->id", $lang->edit);
common::printLink('todo', 'delete', "todoID=$todo->id", $lang->delete, 'hiddenwin');
}
echo html::a($browseLink, $lang->goback);
?>
</div>
<?php $actionTheme = 'table'; include '../../common/view/action.html.php';?>
<?php else:?>
<?php echo $lang->todo->thisIsPrivate;?>
<?php endif;?>
<?php include '../../common/view/footer.html.php';?>