+ re tag of 3.2.stable.

This commit is contained in:
wangchunsheng
2012-07-03 05:53:00 +00:00
17 changed files with 72 additions and 67 deletions

View File

@@ -239,9 +239,11 @@ $file->batchRemoveFile('./xampp/php/*.php');
$file->batchRemoveFile('./xampp/php/*.php');
$file->rename('./xampp/php/php5apache2_2.dll', './xampp/php/php5apache2_2.bak');
$file->rename('./xampp/php/php5ts.dll', './xampp/php/php5ts.bak');
$file->rename('./xampp/php/ssleay32.dll', './xampp/php/ssleay32.dll.bak');
$file->batchRemoveFile('./xampp/php/*.dll');
$file->rename('./xampp/php/php5apache2_2.bak', './xampp/php/php5apache2_2.dll');
$file->rename('./xampp/php/php5ts.bak', './xampp/php/php5ts.dll');
$file->rename('./xampp/php/ssleay32.dll.bak', './xampp/php/ssleay32.dll');
/* Process php ini file. */

View File

@@ -555,7 +555,6 @@ class bug extends control
$this->view->header['title'] = $this->products[$productID] . $this->lang->colon . $this->lang->bug->resolve;
$this->view->position[] = html::a($this->createLink('bug', 'browse', "productID=$productID"), $this->products[$productID]);
$this->view->position[] = $this->lang->bug->resolve;
$this->view->date = strftime("%Y-%m-%d %X", strtotime('now'));
$this->view->bug = $bug;
$this->view->builds = $this->loadModel('build')->getProductBuildPairs($productID);

View File

@@ -4,4 +4,3 @@
.confirm0 {color:gray; font-size:9px}
.confirm1 {color:green; font-size:9px}
tfoot .f-left {color:#141414;}
table.border-sep {border-collapse:separate;}

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 border-sep'>
<table class='table-1 fixed colored tablesorter datatable'>
<thead>
<tr class='colhead'>
<th class='w-id'> <?php common::printOrderLink('id', $orderBy, $vars, $lang->idAB);?></th>

View File

@@ -37,7 +37,7 @@ userList = "<?php echo join(',', array_keys($users));?>".split(',');
<th class='rowhead'><?php echo $lang->bug->openedBuild;?></th>
<td>
<span id='buildBox'><?php echo html::select('openedBuild[]', $builds, $buildID, 'size=3 multiple=multiple class=select-3');?></span>
<?php echo $lang->build->notice2;?>
<?php if(count($builds) == 1) echo $lang->build->notice;?>
</td>
</tr>
<tr>

View File

@@ -28,7 +28,7 @@
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->resolvedDate;?></td>
<td><?php echo html::input('resolvedDate',$date, "class='select-3'");?></td>
<td><?php echo html::input('resolvedDate', helper::now(), "class='select-3'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->assignedTo;?></td>

View File

@@ -86,13 +86,13 @@
<tr>
<th class='rowhead'><?php echo $lang->bug->module;?></th>
<td>
<?php
foreach($modulePath as $key => $module)
{
if(!common::printLink('bug', 'browse', "productID=$bug->product&browseType=byModule&param=$module->id", $module->name)) echo $module->name;
if(isset($modulePath[$key + 1])) echo $lang->arrow;
}
?>
<?php
foreach($modulePath as $key => $module)
{
if(!common::printLink('bug', 'browse', "productID=$bug->product&browseType=byModule&param=$module->id", $module->name)) echo $module->name;
if(isset($modulePath[$key + 1])) echo $lang->arrow;
}
?>
</td>
</tr>
<tr>
@@ -147,17 +147,17 @@
<tr>
<th class='rowhead'><?php echo $lang->bug->openedBuild;?></th>
<td>
<?php
if($bug->openedBuild)
{
$openedBuilds = explode(',', $bug->openedBuild);
foreach($openedBuilds as $openedBuild) isset($builds[$openedBuild]) ? print($builds[$openedBuild] . '<br />') : print($openedBuild . '<br />');
}
else
{
echo $bug->openedBuild;
}
?>
<?php
if($bug->openedBuild)
{
$openedBuilds = explode(',', $bug->openedBuild);
foreach($openedBuilds as $openedBuild) isset($builds[$openedBuild]) ? print($builds[$openedBuild] . '<br />') : print($openedBuild . '<br />');
}
else
{
echo $bug->openedBuild;
}
?>
</td>
</tr>
<tr>
@@ -171,10 +171,10 @@
<tr>
<th class='rowhead'><?php echo $lang->bug->resolution;?></th>
<td>
<?php
echo $lang->bug->resolutionList[$bug->resolution];
if(isset($bug->duplicateBugTitle)) echo " #$bug->duplicateBug:" . html::a($this->createLink('bug', 'view', "bugID=$bug->duplicateBug"), $bug->duplicateBugTitle);
?>
<?php
echo $lang->bug->resolutionList[$bug->resolution];
if(isset($bug->duplicateBugTitle)) echo " #$bug->duplicateBug:" . html::a($this->createLink('bug', 'view', "bugID=$bug->duplicateBug"), $bug->duplicateBugTitle);
?>
</td>
</tr>
<tr>
@@ -198,15 +198,15 @@
<tr class='nofixed'>
<td class='rowhead'><?php echo $lang->bug->story;?></td>
<td>
<?php
if($bug->story) echo html::a($this->createLink('story', 'view', "storyID=$bug->story"), $bug->storyTitle);
if($bug->storyStatus == 'active' and $bug->latestStoryVersion > $bug->storyVersion)
{
echo "(<span class='warning'>{$lang->story->changed}</span> ";
echo html::a($this->createLink('bug', 'confirmStoryChange', "bugID=$bug->id"), $lang->confirm, 'hiddenwin');
echo ")";
}
?>
<?php
if($bug->story) echo html::a($this->createLink('story', 'view', "storyID=$bug->story"), "#$bug->story $bug->storyTitle");
if($bug->storyStatus == 'active' and $bug->latestStoryVersion > $bug->storyVersion)
{
echo "(<span class='warning'>{$lang->story->changed}</span> ";
echo html::a($this->createLink('bug', 'confirmStoryChange', "bugID=$bug->id"), $lang->confirm, 'hiddenwin');
echo ")";
}
?>
</td>
</tr>
<tr>
@@ -225,15 +225,15 @@
<tr>
<td class='rowhead'><?php echo $lang->bug->linkBug;?></td>
<td>
<?php
if(isset($bug->linkBugTitles))
{
foreach($bug->linkBugTitles as $linkBugID => $linkBugTitle)
{
echo html::a($this->createLink('bug', 'view', "bugID=$linkBugID"), "#$linkBugID $linkBugTitle", '_blank') . '<br />';
}
}
?>
<?php
if(isset($bug->linkBugTitles))
{
foreach($bug->linkBugTitles as $linkBugID => $linkBugTitle)
{
echo html::a($this->createLink('bug', 'view', "bugID=$linkBugID"), "#$linkBugID $linkBugTitle", '_blank') . '<br />';
}
}
?>
</td>
</tr>
<tr>

View File

@@ -39,5 +39,4 @@ $lang->build->bugs = 'Linked bugs';
$lang->build->finishStories = 'The total demand for a complete %s';
$lang->build->resolvedBugs = 'The total solution of bug%s';
$lang->build->notice = '(No build in your system, create it in build of project right now.)';
$lang->build->notice2 = '(If the build is empty, please create it in build of project right now.)';
$lang->build->notice = "Please create a build in project view's build page.";

View File

@@ -39,5 +39,4 @@ $lang->build->bugs = '已关联Bug';
$lang->build->finishStories = '本次共完成需求%s个';
$lang->build->resolvedBugs = '本次共解决Bug%s个';
$lang->build->notice = '(还没有相应的版本信息哦,马上到[项目视图]-[版本]创建一个吧)';
$lang->build->notice2 = '(如果还没有相应的版本信息,请到[项目视图]-[版本]创建)';
$lang->build->notice = '版本请到[项目视图]-[版本]创建';

View File

@@ -6,7 +6,7 @@
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package build
* @version $Id: zh-tw.php 3010 2012-06-06 08:45:54Z shiyangyangwork@yahoo.cn $
* @version $Id: zh-tw.php 3307 2012-07-03 02:45:15Z wwccss $
* @link http://www.zentao.net
*/
$lang->build->common = "Build";
@@ -39,5 +39,4 @@ $lang->build->bugs = '已關聯Bug';
$lang->build->finishStories = '本次共完成需求%s個';
$lang->build->resolvedBugs = '本次共解決Bug%s個';
$lang->build->notice = '(還沒有相應的版本信息哦,馬上到[項目視圖]-[版本]創建一個吧)';
$lang->build->notice2 = '(如果還沒有相應的版本信息,請到[項目視圖]-[版本]創建)';
$lang->build->notice = '版本請到[項目視圖]-[版本]創建';

View File

@@ -6,7 +6,7 @@
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package ZenTaoPMS
* @version $Id: zh-tw.php 3276 2012-07-02 12:12:06Z wwccss $
* @version $Id: zh-tw.php 3283 2012-07-02 14:19:23Z zhujinyonging@gmail.com $
* @link http://www.zentao.net
*/
$lang->arrow = '<span class="icon-arrow">&nbsp; </span>';
@@ -137,7 +137,7 @@ $lang->my->menu->story = '我的需求|my|story|';
$lang->my->menu->myProject = '我的項目|my|project|';
$lang->my->menu->dynamic = '我的動態|my|dynamic|';
$lang->my->menu->profile = array('link' => '我的檔案|my|profile|', 'alias' => 'editprofile');
$lang->my->menu->changePassword = '修改密碼|my|changePassword|';
$lang->my->menu->changePassword = '修改密碼|my|changepassword|';
$lang->todo->menu = $lang->my->menu;
/* 產品視圖設置。*/

View File

@@ -193,7 +193,7 @@ $lang->release->methodOrder[15] = 'edit';
$lang->release->methodOrder[20] = 'delete';
$lang->release->methodOrder[25] = 'view';
$lang->release->methodOrder[30] = 'ajaxGetStoriesAndBugs';
$lang->release->methodOrder[35] = 'exportStoriesAndBugs';
$lang->release->methodOrder[35] = 'export';
/* Project. */
$lang->resource->project->index = 'index';
@@ -521,6 +521,12 @@ $lang->resource->report->productInfo = 'productInfo';
$lang->resource->report->bugSummary = 'bugSummary';
$lang->resource->report->workload = 'workload';
$lang->report->methodOrder[0] = 'index';
$lang->report->methodOrder[5] = 'projectDeviation';
$lang->report->methodOrder[10] = 'productInfo';
$lang->report->methodOrder[15] = 'bugSummary';
$lang->report->methodOrder[20] = 'workload';
/* Search. */
$lang->resource->search->buildForm = 'buildForm';
$lang->resource->search->buildQuery = 'buildQuery';
@@ -666,11 +672,10 @@ $lang->changelog['3.1'][] = 'todo-batchCreate';
$lang->changelog['3.2'][] = 'my-changePassword';
$lang->changelog['3.2'][] = 'story-batchClose';
$lang->changelog['3.2'][] = 'task-batchEdit';
$lang->changelog['3.2'][] = 'release-exportStoriesAndBugs';
$lang->changelog['3.2'][] = 'release-export';
$lang->changelog['3.2'][] = 'report-index';
$lang->changelog['3.2'][] = 'report-projectDeviation';
$lang->changelog['3.2'][] = 'report-productInfo';
$lang->changelog['3.2'][] = 'report-bugSummary';
$lang->changelog['3.2'][] = 'report-workload';
$lang->changelog['3.2'][] = 'admin-checkDB';
$lang->changelog['3.2'][] = 'tree-fix';

View File

@@ -57,7 +57,7 @@ $(document).ready(function()
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->days;?></th>
<td><?php echo html::input('days', '', "class='text-3'") . $lang->project->day;?>
<td><?php echo html::input('days', '', "class='text-3'") . $lang->project->day;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->teamname;?></th>

View File

@@ -34,4 +34,4 @@ $lang->release->bugs = 'Linked bugs';
$lang->release->ajaxGetStoriesAndBugs = 'API: Get storeis and bugs';
$lang->release->finishStories = 'The total demand for a complete %s';
$lang->release->resolvedBugs = 'The total solution of bug%s';
$lang->release->exportStoriesAndBugs = 'Export as HTML';
$lang->release->export = 'Export as HTML';

View File

@@ -6,7 +6,7 @@
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package release
* @version $Id: zh-tw.php 3198 2012-07-01 02:54:03Z areyou123456 $
* @version $Id: zh-tw.php 3301 2012-07-03 01:25:29Z chencongzhi520@gmail.com $
* @link http://www.zentao.net
*/
$lang->release->common = '發佈';
@@ -34,4 +34,4 @@ $lang->release->bugs = '已關聯Bugs';
$lang->release->ajaxGetStoriesAndBugs = '介面獲得需求和Bug';
$lang->release->finishStories = '本次共完成需求%s個';
$lang->release->resolvedBugs = '本次共解決Bug%s個';
$lang->release->exportStoriesAndBugs = '導出HTML';
$lang->release->export = '導出HTML';

View File

@@ -6,7 +6,7 @@
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package report
* @version $Id: zh-tw.php 3277 2012-07-02 12:14:08Z wwccss $
* @version $Id: zh-tw.php 3299 2012-07-03 01:00:09Z zhujinyonging@gmail.com $
* @link http://www.zentao.net
*/
$lang->report->common = '統計視圖';
@@ -58,5 +58,7 @@ $lang->report->devTestRate = '開發/測試';
$lang->report->details = '詳情';
$lang->report->total = '總計';
$lang->report->to = '至';
$lang->report->taskTotal = "共%s個任務需%s工時";
$lang->report->bugTotal = "共%s個Bug";
$lang->report->proVersion = '<a href="http://www.zentao.net/goto.php?item=proversion&from=reportpage" target="_blank">更多精彩,盡在專業版!</a>';

View File

@@ -41,11 +41,12 @@ include '../../common/view/colorbox.html.php';
<div id='demoUsers'>
<?php
echo "<span>" . $lang->user->loginWithDemoUser . "</span>";
if(isset($demoUsers['productManager'])) echo html::a($this->inLink('login', "account=productManager&password=123456"), $demoUsers['productManager'], 'hiddenwin');
if(isset($demoUsers['projectManager'])) echo html::a($this->inLink('login', "account=projectManager&password=123456"), $demoUsers['projectManager'], 'hiddenwin');
if(isset($demoUsers['testManager'])) echo html::a($this->inLink('login', "account=testManager&password=123456"), $demoUsers['testManager'], 'hiddenwin');
if(isset($demoUsers['dev1'])) echo html::a($this->inLink('login', "account=dev1&password=123456"), $demoUsers['dev1'], 'hiddenwin');
if(isset($demoUsers['tester1'])) echo html::a($this->inLink('login', "account=tester1&password=123456"), $demoUsers['tester1'], 'hiddenwin');
$sign = $config->requestType == 'GET' ? '&' : '?';
if(isset($demoUsers['productManager'])) echo html::a(inlink('login') . $sign . "account=productManager&password=123456", $demoUsers['productManager'], 'hiddenwin');
if(isset($demoUsers['projectManager'])) echo html::a(inlink('login') . $sign . "account=projectManager&password=123456", $demoUsers['projectManager'], 'hiddenwin');
if(isset($demoUsers['testManager'])) echo html::a(inlink('login') . $sign . "account=testManager&password=123456", $demoUsers['testManager'], 'hiddenwin');
if(isset($demoUsers['dev1'])) echo html::a(inlink('login') . $sign . "account=dev1&password=123456", $demoUsers['dev1'], 'hiddenwin');
if(isset($demoUsers['tester1'])) echo html::a(inlink('login') . $sign . "account=tester1&password=123456", $demoUsers['tester1'], 'hiddenwin');
?>
</div>
<?php endif;?>