* ajusted views.

* changed css names.
This commit is contained in:
Catouse
2014-03-27 14:40:55 +08:00
parent 99c8a0554e
commit ad3a1c29b8
107 changed files with 917 additions and 768 deletions
+1 -1
View File
@@ -15,7 +15,7 @@
<table align='center' class='table-6'>
<caption><?php echo $lang->admin->bind->caption;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->user->account;?></th>
<th><?php echo $lang->user->account;?></th>
<td><?php echo html::input('account', '', "class='form-control'");?></td>
</tr>
<tr>
+2 -2
View File
@@ -15,7 +15,7 @@
<table align='center' class='table-6'>
<caption><?php echo $lang->admin->register->caption;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->user->account;?></th>
<th><?php echo $lang->user->account;?></th>
<td><?php echo html::input('account', '', "class='form-control'") . '<span class="star">*</span>' . $lang->admin->register->lblAccount;?></td>
</tr>
<tr>
@@ -39,7 +39,7 @@
<td><?php echo html::password('password1', '', "class='form-control'") . '<span class="star">*</span>' . $lang->admin->register->lblPasswd;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->password2;?></td>
<th><?php echo $lang->user->password2;?></td>
<td><?php echo html::password('password2', '', "class='form-control'") . '<span class="star">*</span>';?></td>
</tr>
<tr>
+4 -4
View File
@@ -16,19 +16,19 @@
<table class='table-1'>
<caption><?php echo $bug->title;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->bug->assignedTo;?></td>
<td><?php echo $lang->bug->assignedTo;?></td>
<td><?php echo html::select('assignedTo', $users, $bug->resolvedBy, "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->openedBuild;?></td>
<td><?php echo $lang->bug->openedBuild;?></td>
<td><?php echo html::select('openedBuild[]', $builds, $bug->openedBuild, 'size=4 multiple=multiple class=select-3');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='w-p98'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->files;?></th>
<th><?php echo $lang->bug->files;?></th>
<td class='text-left'><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
<tr>
+6 -6
View File
@@ -17,19 +17,19 @@ include '../../common/view/chosen.html.php';
js::set('holders', $lang->bug->placeholder);
js::set('page', 'assignedto');
?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<caption><?php echo $bug->title;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->bug->assignedTo;?></th>
<td><?php echo html::select('assignedTo', $users, $bug->assignedTo, "class='text-3 chosen'");?></td>
<th><?php echo $lang->bug->assignedTo;?></th>
<td><?php echo html::select('assignedTo', $users, $bug->assignedTo, "class='form-control chosen'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->mailto;?></td>
<td><?php echo $lang->bug->mailto;?></td>
<td><?php echo html::select('mailto[]', $users, str_replace(' ', '', $bug->mailto), 'class="w-p98" multiple');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='w-p98'");?></td>
</tr>
<tr>
+3 -3
View File
@@ -12,8 +12,8 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/chosen.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1 fixed'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-fixed table-form'>
<caption><?php echo $lang->bug->project . $lang->colon . $lang->bug->batchCreate;?></caption>
<tr>
<th class='w-20px'> <?php echo $lang->idAB;?></th>
@@ -31,7 +31,7 @@
<?php for($i = 0; $i < $config->bug->batchCreate; $i++):?>
<tr class='text-center'>
<td><?php echo $i+1;?></td>
<td class='text-left' style='overflow:visible'><?php echo html::select("modules[$i]", $moduleOptionMenu, $moduleID, "class='select-1'");?></td>
<td class='text-left' style='overflow:visible'><?php echo html::select("modules[$i]", $moduleOptionMenu, $moduleID, "class='form-control'");?></td>
<td><?php echo html::select("projects[$i]", $projects, $projectID, "class='select-1' onchange='loadProjectBuilds($productID, this.value, $i)'");?></td>
<td class='text-left' style='overflow:visible' id='buildBox<?php echo $i;?>'><?php echo html::select("openedBuilds[$i][]", $builds, '', "class='select-1 chosen' multiple data-placeholder=' '");?></td>
<td><?php echo html::input("titles[$i]", '', 'class=form-control');?></td>
+2 -2
View File
@@ -12,8 +12,8 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<caption><?php echo $bug->title;?></caption>
<tr>
<td class='rowhead v-middle'><?php echo $lang->comment;?></td>
+6 -6
View File
@@ -17,23 +17,23 @@ include '../../common/view/chosen.html.php';
js::set('holders', $lang->bug->placeholder);
js::set('page', 'confirmbug');
?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<caption><?php echo $bug->title;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->bug->assignedTo;?></th>
<th><?php echo $lang->bug->assignedTo;?></th>
<td><?php echo html::select('assignedTo', $users, $bug->assignedTo, "class='select-2 chosen'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->pri;?></th>
<th><?php echo $lang->bug->pri;?></th>
<td><?php echo html::select('pri', $lang->bug->priList, $bug->pri, 'class=select-2');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->mailto;?></td>
<td><?php echo $lang->bug->mailto;?></td>
<td><?php echo html::select('mailto[]', $users, str_replace(' ' , '', $bug->mailto), 'class="w-p98" multiple');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='w-p94'");?></td>
</tr>
<tr>
+13 -13
View File
@@ -27,7 +27,7 @@ js::set('refresh', $lang->refresh);
<table class='table-1'>
<caption><?php echo $lang->bug->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->bug->lblProductAndModule;?></th>
<th><?php echo $lang->bug->lblProductAndModule;?></th>
<td>
<?php echo html::select('product', $products, $productID, "onchange=loadAll(this.value) class='form-control' autocomplete='off'");?>
<span id='moduleIdBox'>
@@ -43,11 +43,11 @@ js::set('refresh', $lang->refresh);
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->project;?></th>
<th><?php echo $lang->bug->project;?></th>
<td><span id='projectIdBox'><?php echo html::select('project', $projects, $projectID, 'class=select-3 onchange=loadProjectRelated(this.value) autocomplete="off"');?></span></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->openedBuild;?></th>
<th><?php echo $lang->bug->openedBuild;?></th>
<td>
<span id='buildBox'>
<?php echo html::select('openedBuild[]', $builds, $buildID, 'size=4 multiple=multiple class=select-3');?>
@@ -55,15 +55,15 @@ js::set('refresh', $lang->refresh);
</td>
</tr>
<tr>
<th class='rowhead'><nobr><?php echo $lang->bug->lblAssignedTo;?></nobr></th>
<th><nobr><?php echo $lang->bug->lblAssignedTo;?></nobr></th>
<td><span id='assignedToBox'><?php echo html::select('assignedTo', $users, $assignedTo, "class='form-control chosen'");?></span></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->title;?></th>
<th><?php echo $lang->bug->title;?></th>
<td><?php echo html::input('title', $bugTitle, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->steps;?></th>
<th><?php echo $lang->bug->steps;?></th>
<td>
<div style='position:relative'>
<div class='w-p85 bd-none padding-zero f-left'><?php echo html::textarea('steps', $steps, "rows='10'");?></div>
@@ -72,31 +72,31 @@ js::set('refresh', $lang->refresh);
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->lblStory;?></th>
<th><?php echo $lang->bug->lblStory;?></th>
<td>
<span id='storyIdBox'><?php echo html::select('story', $stories, $storyID);?></span>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->task;?></th>
<th><?php echo $lang->bug->task;?></th>
<td><span id='taskIdBox'><?php echo html::select('task', $tasks, $taskID);?></span></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->lblTypeAndSeverity;?></th>
<th><?php echo $lang->bug->lblTypeAndSeverity;?></th>
<td>
<?php echo html::select('type', $lang->bug->typeList, $type, 'class=select-2');?>
<?php echo html::select('severity', $lang->bug->severityList, $severity, 'class=select-2');?>
</td>
</tr>
<tr>
<th class='rowhead'><nobr><?php echo $lang->bug->lblSystemBrowserAndHardware;?></nobr></th>
<th><nobr><?php echo $lang->bug->lblSystemBrowserAndHardware;?></nobr></th>
<td>
<?php echo html::select('os', $lang->bug->osList, $os, 'class=select-2');?>
<?php echo html::select('browser', $lang->bug->browserList, $browser, 'class=select-2');?>
</td>
</tr>
<tr>
<th class='rowhead'><nobr><?php echo $lang->bug->lblMailto;?></nobr></th>
<th><nobr><?php echo $lang->bug->lblMailto;?></nobr></th>
<td>
<?php
echo html::select('mailto[]', $users, str_replace(' ', '', $mailto), 'class=text-1 multiple');
@@ -105,11 +105,11 @@ js::set('refresh', $lang->refresh);
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->keywords;?></th>
<th><?php echo $lang->bug->keywords;?></th>
<td><?php echo html::input('keywords', $keywords, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->files;?></th>
<th><?php echo $lang->bug->files;?></th>
<td><?php echo $this->fetch('file', 'buildform', 'fileCount=2&percent=0.85');?></td>
</tr>
<tr>
+26 -26
View File
@@ -44,11 +44,11 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild);
<tr class='bd-none'><td class='bd-none'>
<fieldset>
<legend><?php echo $lang->bug->legendSteps;?></legend>
<?php echo html::textarea('steps', $bug->steps, "rows='12' class='area-1'");?>
<?php echo html::textarea('steps', $bug->steps, "rows='12' class='form-control'");?>
</fieldset>
<fieldset>
<legend><?php echo $lang->bug->legendComment;?></legend>
<?php echo html::textarea('comment', '', "rows='6' class='area-1'");?>
<?php echo html::textarea('comment', '', "rows='6' class='form-control'");?>
</fieldset>
<fieldset>
<legend><?php echo $lang->bug->legendAttatch;?></legend>
@@ -71,55 +71,55 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild);
<legend><?php echo $lang->bug->legendBasicInfo;?></legend>
<table class='table-1 a-left' cellpadding='0' cellspacing='0'>
<tr>
<td class='rowhead'><?php echo $lang->bug->product;?></td>
<td><?php echo $lang->bug->product;?></td>
<td><?php echo html::select('product', $products, $productID, "onchange=loadAll(this.value); class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->module;?></td>
<td><?php echo $lang->bug->module;?></td>
<td>
<span id='moduleIdBox'><?php echo html::select('module', $moduleOptionMenu, $currentModuleID, "onchange='loadModuleRelated()' class='form-control'");?></span>
</td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->productplan;?></td>
<td><?php echo $lang->bug->productplan;?></td>
<td>
<span id="planIdBox"><?php echo html::select('plan', $plans, $bug->plan, "class='form-control'");?></span>
</td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->type;?></td>
<td><?php echo $lang->bug->type;?></td>
<td><?php echo html::select('type', $lang->bug->typeList, $bug->type, "class='form-control'");?>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->severity;?></td>
<td><?php echo $lang->bug->severity;?></td>
<td><?php echo html::select('severity', $lang->bug->severityList, $bug->severity, "class='form-control'");?>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->pri;?></td>
<td><?php echo $lang->bug->pri;?></td>
<td><?php echo html::select('pri', $lang->bug->priList, $bug->pri, "class='form-control'");?>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->status;?></td>
<td><?php echo $lang->bug->status;?></td>
<td><?php echo html::select('status', $lang->bug->statusList, $bug->status, "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->confirmed;?></td>
<td><?php echo $lang->bug->confirmed;?></td>
<td><?php echo $lang->bug->confirmedList[$bug->confirmed];?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->assignedTo;?></td>
<td><?php echo $lang->bug->assignedTo;?></td>
<td><?php echo html::select('assignedTo', $users, $bug->assignedTo, "class='form-control chosen'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->os;?></td>
<td><?php echo $lang->bug->os;?></td>
<td><?php echo html::select('os', $lang->bug->osList, $bug->os, "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->browser;?></td>
<td><?php echo $lang->bug->browser;?></td>
<td><?php echo html::select('browser', $lang->bug->browserList, $bug->browser, "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->keywords;?></td>
<td><?php echo $lang->bug->keywords;?></td>
<td><?php echo html::input('keywords', $bug->keywords, 'class="form-control"');?></td>
</tr>
<tr>
@@ -137,12 +137,12 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild);
<td><span id='projectIdBox'><?php echo html::select('project', $projects, $bug->project, 'class=select-3 onchange=loadProjectRelated(this.value)');?></span></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->story;?></td>
<td><?php echo $lang->bug->story;?></td>
<td><div id='storyIdBox'><?php echo html::select('story', $stories, $bug->story, "class=select-3");?></div>
</td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->task;?></td>
<td><?php echo $lang->bug->task;?></td>
<td><div id='taskIdBox'><?php echo html::select('task', $tasks, $bug->task, "class='form-control'");?></div></td>
</tr>
</table>
@@ -156,35 +156,35 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild);
<td><?php echo $users[$bug->openedBy];?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->openedBuild;?></td>
<td><?php echo $lang->bug->openedBuild;?></td>
<td><span id='openedBuildBox'><?php echo html::select('openedBuild[]', $openedBuilds, $bug->openedBuild, 'size=4 multiple=multiple class=select-3');?></span></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->resolvedBy;?></td>
<td><?php echo $lang->bug->resolvedBy;?></td>
<td><?php echo html::select('resolvedBy', $users, $bug->resolvedBy, "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->resolvedDate;?></td>
<td><?php echo $lang->bug->resolvedDate;?></td>
<td><?php echo html::input('resolvedDate', $bug->resolvedDate, 'class=form-control');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->resolvedBuild;?></td>
<td><?php echo $lang->bug->resolvedBuild;?></td>
<td><span id='resolvedBuildBox'><?php echo html::select('resolvedBuild', $resolvedBuilds, $bug->resolvedBuild, "class='form-control'");?></span></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->resolution;?></td>
<td><?php echo $lang->bug->resolution;?></td>
<td><?php echo html::select('resolution', $lang->bug->resolutionList, $bug->resolution, 'class=select-3 onchange=setDuplicate(this.value)');?></td>
</tr>
<tr id='duplicateBugBox' <?php if($bug->resolution != 'duplicate') echo "style='display:none'";?>>
<td class='rowhead'><?php echo $lang->bug->duplicateBug;?></td>
<td><?php echo $lang->bug->duplicateBug;?></td>
<td><?php echo html::input('duplicateBug', $bug->duplicateBug, 'class=form-control');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->closedBy;?></td>
<td><?php echo $lang->bug->closedBy;?></td>
<td><?php echo html::select('closedBy', $users, $bug->closedBy, "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->closedDate;?></td>
<td><?php echo $lang->bug->closedDate;?></td>
<td><?php echo html::input('closedDate', $bug->closedDate, 'class=form-control');?></td>
</tr>
</table>
@@ -193,11 +193,11 @@ js::set('oldResolvedBuild' , $bug->resolvedBuild);
<legend><?php echo $lang->bug->legendMisc;?></legend>
<table class='table-1 a-left'>
<tr>
<td class='rowhead'><?php echo $lang->bug->linkBug;?></td>
<td><?php echo $lang->bug->linkBug;?></td>
<td><?php echo html::input('linkBug', $bug->linkBug, 'class="form-control"');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->case;?></td>
<td><?php echo $lang->bug->case;?></td>
<td><?php echo html::input('case', $bug->case, 'class="form-control"');?></td>
</tr>
</table>
+1 -1
View File
@@ -1,6 +1,6 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<h3><?php echo "BUG#$bug->id " . $bug->title;?></h3>
<table class='table-1'>
<tr>
+1 -1
View File
@@ -1,6 +1,6 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<h3><?php echo "BUG#$bug->id $bug->title";?></h3>
<table class='table-1'>
<tr>
+1 -1
View File
@@ -1,6 +1,6 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<h3><?php echo "BUG#$bug->id $bug->title";?></h3>
<table class='table-1'>
<tr>
+1 -1
View File
@@ -1,6 +1,6 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<h3><?php echo "BUG#$bug->id $bug->title";?></h3>
<table class='table-1'>
<tr>
+9 -9
View File
@@ -12,31 +12,31 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<caption><?php echo $bug->title;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->bug->resolution;?></td>
<td><?php echo $lang->bug->resolution;?></td>
<td><?php unset($lang->bug->resolutionList['tostory']); echo html::select('resolution', $lang->bug->resolutionList, '', 'class=select-3 onchange=setDuplicate(this.value)');?></td>
</tr>
<tr id='duplicateBugBox' style='display:none'>
<td class='rowhead'><?php echo $lang->bug->duplicateBug;?></td>
<td><?php echo html::input('duplicateBug', '', 'class=text-3');?></td>
<td><?php echo $lang->bug->duplicateBug;?></td>
<td><?php echo html::input('duplicateBug', '', "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->resolvedBuild;?></td>
<td><?php echo $lang->bug->resolvedBuild;?></td>
<td><?php echo html::select('resolvedBuild', $builds, '', "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->resolvedDate;?></td>
<td><?php echo $lang->bug->resolvedDate;?></td>
<td><?php echo html::input('resolvedDate', helper::now(), "class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->assignedTo;?></td>
<td><?php echo $lang->bug->assignedTo;?></td>
<td><?php echo html::select('assignedTo', $users, $bug->openedBy, "class='form-control chosen'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='w-p98'");?></td>
</tr>
<tr>
+25 -25
View File
@@ -81,11 +81,11 @@
<legend><?php echo $lang->bug->legendBasicInfo;?></legend>
<table class='table-1 a-left'>
<tr valign='middle'>
<th class='rowhead'><?php echo $lang->bug->product;?></th>
<th><?php echo $lang->bug->product;?></th>
<td><?php if(!common::printLink('bug', 'browse', "productID=$bug->product", $productName)) echo $productName;?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->module;?></th>
<th><?php echo $lang->bug->module;?></th>
<td>
<?php
if(empty($modulePath))
@@ -104,47 +104,47 @@
</td>
</tr>
<tr valign='middle'>
<th class='rowhead'><?php echo $lang->bug->productplan;?></th>
<th><?php echo $lang->bug->productplan;?></th>
<td><?php if(!$bug->plan or !common::printLink('productplan', 'linkBug', "planID=$bug->plan", $bug->planName)) echo $bug->planName;?>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->type;?></td>
<td><?php echo $lang->bug->type;?></td>
<td><?php if(isset($lang->bug->typeList[$bug->type])) echo $lang->bug->typeList[$bug->type]; else echo $bug->type;?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->severity;?></td>
<td><?php echo $lang->bug->severity;?></td>
<td><strong><?php echo $lang->bug->severityList[$bug->severity];?></strong></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->pri;?></td>
<td><?php echo $lang->bug->pri;?></td>
<td><strong><?php echo $lang->bug->priList[$bug->pri];?></strong></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->status;?></td>
<td><?php echo $lang->bug->status;?></td>
<td><strong><?php echo $lang->bug->statusList[$bug->status];?></strong></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->activatedCount;?></td>
<td><?php echo $lang->bug->activatedCount;?></td>
<td><?php echo $bug->activatedCount;?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->confirmed;?></td>
<td><?php echo $lang->bug->confirmed;?></td>
<td><?php echo $lang->bug->confirmedList[$bug->confirmed];?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->lblAssignedTo;?></td>
<td><?php echo $lang->bug->lblAssignedTo;?></td>
<td><?php if($bug->assignedTo) echo $users[$bug->assignedTo] . $lang->at . $bug->assignedDate;?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->os;?></td>
<td><?php echo $lang->bug->os;?></td>
<td><?php echo $lang->bug->osList[$bug->os];?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->browser;?></td>
<td><?php echo $lang->bug->browser;?></td>
<td><?php echo $lang->bug->browserList[$bug->browser];?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->keywords;?></td>
<td><?php echo $lang->bug->keywords;?></td>
<td><?php echo $bug->keywords;?></td>
</tr>
</table>
@@ -179,7 +179,7 @@
<td> <?php echo $users[$bug->openedBy] . $lang->at . $bug->openedDate;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->openedBuild;?></th>
<th><?php echo $lang->bug->openedBuild;?></th>
<td>
<?php
if($bug->openedBuild)
@@ -195,15 +195,15 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->lblResolved;?></th>
<th><?php echo $lang->bug->lblResolved;?></th>
<td><?php if($bug->resolvedBy) echo $users[$bug->resolvedBy] . $lang->at . $bug->resolvedDate;?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->resolvedBuild;?></th>
<th><?php echo $lang->bug->resolvedBuild;?></th>
<td><?php if(isset($builds[$bug->resolvedBuild])) echo $builds[$bug->resolvedBuild]; else echo $bug->resolvedBuild;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->resolution;?></th>
<th><?php echo $lang->bug->resolution;?></th>
<td>
<?php
echo $lang->bug->resolutionList[$bug->resolution];
@@ -212,11 +212,11 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->closedBy;?></th>
<th><?php echo $lang->bug->closedBy;?></th>
<td><?php if($bug->closedBy) echo $users[$bug->closedBy] . $lang->at . $bug->closedDate;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->bug->lblLastEdited;?></th>
<th><?php echo $lang->bug->lblLastEdited;?></th>
<td><?php if($bug->lastEditedBy) echo $users[$bug->lastEditedBy] . $lang->at . $bug->lastEditedDate?></td>
</tr>
</table>
@@ -230,7 +230,7 @@
<td><?php if($bug->project) echo html::a($this->createLink('project', 'browse', "projectid=$bug->project"), $bug->projectName);?></td>
</tr>
<tr class='nofixed'>
<td class='rowhead'><?php echo $lang->bug->story;?></td>
<td><?php echo $lang->bug->story;?></td>
<td>
<?php
if($bug->story) echo html::a($this->createLink('story', 'view', "storyID=$bug->story"), "#$bug->story $bug->storyTitle");
@@ -244,7 +244,7 @@
</td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->task;?></td>
<td><?php echo $lang->bug->task;?></td>
<td><?php if($bug->task) echo html::a($this->createLink('task', 'view', "taskID=$bug->task"), $bug->taskName);?></td>
</tr>
</table>
@@ -257,7 +257,7 @@
<td><?php $mailto = explode(',', str_replace(' ', '', $bug->mailto)); foreach($mailto as $account) echo ' ' . $users[$account]; ?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->linkBug;?></td>
<td><?php echo $lang->bug->linkBug;?></td>
<td>
<?php
if(isset($bug->linkBugTitles))
@@ -271,15 +271,15 @@
</td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->case;?></td>
<td><?php echo $lang->bug->case;?></td>
<td><?php if(isset($bug->caseTitle)) echo html::a($this->createLink('testcase', 'view', "caseID=$bug->case"), "#$bug->case $bug->caseTitle", '_blank');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->toStory;?></td>
<td><?php echo $lang->bug->toStory;?></td>
<td><?php if($bug->toStory != 0) echo html::a($this->createLink('story', 'view', "storyID=$bug->toStory"), "#$bug->toStory $bug->toStoryTitle", '_blank');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->bug->toTask;?></td>
<td><?php echo $lang->bug->toTask;?></td>
<td><?php if($bug->toTask != 0) echo html::a($this->createLink('task', 'view', "taskID=$bug->toTask"), "#$bug->toTask $bug->toTaskTitle", '_blank');?></td>
</tr>
</table>
+12 -12
View File
@@ -17,42 +17,42 @@
<table class='table-1 fixed'>
<caption><?php echo $lang->build->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->build->product;?></th>
<th><?php echo $lang->build->product;?></th>
<td><?php echo html::select('product', $products, '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->name;?></th>
<th><?php echo $lang->build->name;?></th>
<td>
<?php echo html::input('name', '', "class='form-control'");?>
<?php if($lastBuild) echo '<span class="gray">(' . $lang->build->last . ': ' . $lastBuild->name . ')</span>';?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->builder;?></th>
<th><?php echo $lang->build->builder;?></th>
<td><?php echo html::select('builder', $users, $app->user->account, 'class="select-3"');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->date;?></th>
<td><?php echo html::input('date', helper::today(), "class='text-3 date'");?></td>
<th><?php echo $lang->build->date;?></th>
<td><?php echo html::input('date', helper::today(), "class='form-control form-date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->scmPath;?></th>
<th><?php echo $lang->build->scmPath;?></th>
<td><?php echo html::input('scmPath', '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->packageType;?></th>
<th><?php echo $lang->build->packageType;?></th>
<td><?php echo html::radio('packageType', $lang->build->packageTypeList, 'path');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->filePath;?></th>
<th><?php echo $lang->build->filePath;?></th>
<td><?php echo html::input('filePath', '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->files;?></th>
<th><?php echo $lang->build->files;?></th>
<td><?php echo $this->fetch('file', 'buildForm', array('fileCount' => 1));?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->linkStoriesAndBugs;?></th>
<th><?php echo $lang->build->linkStoriesAndBugs;?></th>
<td>
<table class='bd-none' style='margin-bottom:0px;width:91%'>
@@ -112,8 +112,8 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows='10' class='area-1'");?></td>
<th><?php echo $lang->build->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows='10' class='form-control'");?></td>
</tr>
<tr><td colspan='2' class='text-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
+12 -12
View File
@@ -17,39 +17,39 @@
<table class='table-1'>
<caption><?php echo $lang->build->edit;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->build->product;?></th>
<th><?php echo $lang->build->product;?></th>
<td><?php echo html::select('product', $products, $build->product, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->name;?></th>
<th><?php echo $lang->build->name;?></th>
<td><?php echo html::input('name', $build->name, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->builder;?></th>
<th><?php echo $lang->build->builder;?></th>
<td><?php echo html::select('builder', $users, $build->builder, 'class="select-3"');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->date;?></th>
<td><?php echo html::input('date', $build->date, "class='text-3 date'");?></td>
<th><?php echo $lang->build->date;?></th>
<td><?php echo html::input('date', $build->date, "class='form-control form-date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->scmPath;?></th>
<th><?php echo $lang->build->scmPath;?></th>
<td><?php echo html::input('scmPath', $build->scmPath, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->packageType;?></th>
<th><?php echo $lang->build->packageType;?></th>
<td><?php echo html::radio('packageType', $lang->build->packageTypeList, $build->packageType);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->filePath;?></th>
<th><?php echo $lang->build->filePath;?></th>
<td><?php echo html::input('filePath', $build->filePath, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->files;?></th>
<th><?php echo $lang->build->files;?></th>
<td><?php echo $this->fetch('file', 'buildForm', array('fileCount' => 1));?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->linkStoriesAndBugs;?></th>
<th><?php echo $lang->build->linkStoriesAndBugs;?></th>
<td>
<table class='bd-none' style='margin-bottom:0px;width:91%'>
@@ -128,8 +128,8 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->desc;?></th>
<td><?php echo html::textarea('desc', $build->desc, "rows='10' class='area-1'");?></td>
<th><?php echo $lang->build->desc;?></th>
<td><?php echo html::textarea('desc', $build->desc, "rows='10' class='form-control'");?></td>
</tr>
<tr><td colspan='2' class='text-center'><?php echo html::submitButton() . html::backButton() .html::hidden('project', $build->project);?></td></tr>
</table>
+5 -5
View File
@@ -93,23 +93,23 @@
<td><?php echo $build->productName;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->name;?></th>
<th><?php echo $lang->build->name;?></th>
<td><?php echo $build->name;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->builder;?></th>
<th><?php echo $lang->build->builder;?></th>
<td><?php echo $users[$build->builder];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->date;?></th>
<th><?php echo $lang->build->date;?></th>
<td><?php echo $build->date;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->scmPath;?></th>
<th><?php echo $lang->build->scmPath;?></th>
<td><?php strpos($build->scmPath, 'http') === 0 ? printf(html::a($build->scmPath)) : printf($build->scmPath);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->build->filePath;?></th>
<th><?php echo $lang->build->filePath;?></th>
<td><?php strpos($build->filePath, 'http') === 0 ? printf(html::a($build->filePath)) : printf($build->filePath);?></td>
</tr>
</table>
+1
View File
@@ -422,6 +422,7 @@ $lang->icons['team'] = 'group';
$lang->icons['create'] = 'plus';
$lang->icons['batchCreate'] = 'plus-sign';
$lang->icons['batchEdit'] = 'edit-sign';
$lang->icons['batchClose'] = 'off';
$lang->icons['edit'] = 'pencil';
$lang->icons['delete'] = 'remove';
$lang->icons['copy'] = 'copy';
+9 -9
View File
@@ -11,39 +11,39 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table align='center' class='table-5'>
<caption><?php echo $lang->company->edit;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->company->name;?></th>
<th><?php echo $lang->company->name;?></th>
<td><?php echo html::input('name', $company->name, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->phone;?></th>
<th><?php echo $lang->company->phone;?></th>
<td><?php echo html::input('phone', $company->phone, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->fax;?></th>
<th><?php echo $lang->company->fax;?></th>
<td><?php echo html::input('fax', $company->fax, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->address;?></th>
<th><?php echo $lang->company->address;?></th>
<td><?php echo html::input('address', $company->address, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->zipcode;?></th>
<th><?php echo $lang->company->zipcode;?></th>
<td><?php echo html::input('zipcode', $company->zipcode, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->website;?></th>
<th><?php echo $lang->company->website;?></th>
<td><?php echo html::input('website', $company->website ? $company->website : 'http://', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->backyard;?></th>
<th><?php echo $lang->company->backyard;?></th>
<td><?php echo html::input('backyard', $company->backyard ? $company->backyard : 'http://', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->guest;?></th>
<th><?php echo $lang->company->guest;?></th>
<td><?php echo html::radio('guest', $lang->company->guestList, $company->guest);?></td>
</tr>
<tr><td colspan='2' class='text-center'><?php echo html::submitButton();?></td></tr>
+8 -8
View File
@@ -14,35 +14,35 @@
<table align='center' class='table-5'>
<caption><?php echo $lang->company->view;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->company->name;?></th>
<th><?php echo $lang->company->name;?></th>
<td><?php echo $company->name;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->phone;?></th>
<th><?php echo $lang->company->phone;?></th>
<td><?php echo $company->phone;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->fax;?></th>
<th><?php echo $lang->company->fax;?></th>
<td><?php echo $company->fax;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->address;?></th>
<th><?php echo $lang->company->address;?></th>
<td><?php echo $company->address;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->zipcode;?></th>
<th><?php echo $lang->company->zipcode;?></th>
<td><?php echo $company->zipcode;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->website;?></th>
<th><?php echo $lang->company->website;?></th>
<td><?php echo $company->website;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->backyard;?></th>
<th><?php echo $lang->company->backyard;?></th>
<td><?php echo $company->backyard;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->company->guest;?></th>
<th><?php echo $lang->company->guest;?></th>
<td><?php echo $lang->company->guestList[$company->guest];?></td>
</tr>
<tr><td colspan='2' class='text-center'><?php common::printLink('company', 'edit', '', '<i class="icon-pencil"></i> ' . $lang->edit, '', 'id="editCompany" class="btn"', true, true);?></td></tr>
+3 -3
View File
@@ -1,10 +1,10 @@
<tr>
<th class='rowhead'><?php echo $lang->convert->checkDB;?></th>
<th><?php echo $lang->convert->checkDB;?></th>
<td><?php is_object($checkInfo['db']) ? printf($lang->convert->ok) : printf($lang->convert->fail);?></td>
</tr>
<!--
<tr>
<th class='rowhead'><?php echo $lang->convert->checkTable;?></th>
<th><?php echo $lang->convert->checkTable;?></th>
<td>
<?php
if(is_object($checkInfo['db'])) $checkInfo['table'] === true ? printf($lang->convert->ok) : printf($lang->convert->fail);
@@ -13,7 +13,7 @@
</tr>
-->
<tr>
<th class='rowhead'><?php echo $lang->convert->checkPath;?></th>
<th><?php echo $lang->convert->checkPath;?></th>
<td><?php $checkInfo['path'] === true ? printf($lang->convert->ok) : printf($lang->convert->fail);?></td>
</tr>
<tr>
+2 -2
View File
@@ -1,9 +1,9 @@
<tr>
<th class='rowhead'><?php echo $lang->convert->checkDB;?></th>
<th><?php echo $lang->convert->checkDB;?></th>
<td><?php is_object($checkInfo['db']) ? printf($lang->convert->ok) : printf($lang->convert->fail);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->checkPath;?></th>
<th><?php echo $lang->convert->checkPath;?></th>
<td><?php $checkInfo['path'] === true ? printf($lang->convert->ok) : printf($lang->convert->fail);?></td>
</tr>
<tr>
+1 -1
View File
@@ -9,7 +9,7 @@
</tr>
<?php foreach($trackers as $tracker):?>
<tr>
<th class='rowhead'><?php echo $tracker->name;?></th>
<th><?php echo $tracker->name;?></th>
<td><?php html::select("$tracker->name", $lang->convert->directionList, '', "class='form-control'");?></td>
</tr>
<?php endforeach;?>
+8 -8
View File
@@ -4,33 +4,33 @@
<th><?php echo $lang->convert->info?></th>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->bugfree->users;?></th>
<th><?php echo $lang->convert->bugfree->users;?></th>
<td><?php echo $result['users'];?></td>
<td class='f-12px'><?php if(isset($info['users'])) echo join('<br />', $info['users']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->bugfree->projects;?></th>
<th><?php echo $lang->convert->bugfree->projects;?></th>
<td><?php echo $result['projects'];?></td>
<td class='f-12px'><?php if(isset($info['projects'])) echo join('<br />', $info['projects']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->bugfree->modules;?></th>
<th><?php echo $lang->convert->bugfree->modules;?></th>
<td><?php echo $result['modules'];?></td>
<td class='f-12px'><?php if(isset($info['modules'])) echo join('<br />', $info['modules']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->bugfree->bugs;?></th>
<th><?php echo $lang->convert->bugfree->bugs;?></th>
<td><?php echo $result['bugs'];?></td>
<td class='f-12px'><?php if(isset($info['bugs'])) echo join('<br />', $info['bugs']);?></td>
</tr>
<?php if($version > 1):?>
<tr>
<th class='rowhead'><?php echo $lang->convert->bugfree->cases;?></th>
<th><?php echo $lang->convert->bugfree->cases;?></th>
<td><?php echo $result['cases'];?></td>
<td class='f-12px'><?php if(isset($info['cases'])) echo join('<br />', $info['cases']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->bugfree->results;?></th>
<th><?php echo $lang->convert->bugfree->results;?></th>
<td><?php echo $result['results'];?></td>
<td class='f-12px'><?php if(isset($info['results'])) echo join('<br />', $info['results']);?></td>
</tr>
@@ -38,12 +38,12 @@
<?php endif;?>
<tr>
<th class='rowhead'><?php echo $lang->convert->bugfree->actions;?></th>
<th><?php echo $lang->convert->bugfree->actions;?></th>
<td><?php echo $result['actions'];?></td>
<td class='f-12px'><?php if(isset($info['actions'])) echo join('<br />', $info['actions']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->bugfree->files;?></th>
<th><?php echo $lang->convert->bugfree->files;?></th>
<td><?php echo $result['files'];?></td>
<td class='f-12px'><?php if(isset($info['files'])) echo join('<br />', $info['files']);?></td>
</tr>
+14 -14
View File
@@ -4,72 +4,72 @@
<th><?php echo $lang->convert->info?></th>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->users;?></th>
<th><?php echo $lang->convert->redmine->users;?></th>
<td><?php echo $result['users'];?></td>
<td class='f-12px'><?php if(isset($info['users'])) echo join('<br />', $info['users']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->groups;?></th>
<th><?php echo $lang->convert->redmine->groups;?></th>
<td><?php echo $result['groups'];?></td>
<td class='f-12px'><?php if(isset($info['groups'])) echo join('<br />', $info['groups']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->products;?></th>
<th><?php echo $lang->convert->redmine->products;?></th>
<td><?php echo $result['products'];?></td>
<td class='f-12px'><?php if(isset($info['products'])) echo join('<br />', $info['products']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->projects;?></th>
<th><?php echo $lang->convert->redmine->projects;?></th>
<td><?php echo $result['projects'];?></td>
<td class='f-12px'><?php if(isset($info['projects'])) echo join('<br />', $info['projects']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->stories;?></th>
<th><?php echo $lang->convert->redmine->stories;?></th>
<td><?php echo $result['stories'];?></td>
<td class='f-12px'><?php if(isset($info['stories'])) echo join('<br />', $info['stories']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->tasks;?></th>
<th><?php echo $lang->convert->redmine->tasks;?></th>
<td><?php echo $result['tasks'];?></td>
<td class='f-12px'><?php if(isset($info['tasks'])) echo join('<br />', $info['tasks']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->bugs;?></th>
<th><?php echo $lang->convert->redmine->bugs;?></th>
<td><?php echo $result['bugs'];?></td>
<td class='f-12px'><?php if(isset($info['bugs'])) echo join('<br />', $info['bugs']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->productPlans;?></th>
<th><?php echo $lang->convert->redmine->productPlans;?></th>
<td><?php echo $result['productPlans'];?></td>
<td class='f-12px'><?php if(isset($info['productPlans'])) echo join('<br />', $info['productPlans']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->teams;?></th>
<th><?php echo $lang->convert->redmine->teams;?></th>
<td><?php echo $result['teams'];?></td>
<td class='f-12px'><?php if(isset($info['teams'])) echo join('<br />', $info['teams']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->releases;?></th>
<th><?php echo $lang->convert->redmine->releases;?></th>
<td><?php echo $result['releases'];?></td>
<td class='f-12px'><?php if(isset($info['releases'])) echo join('<br />', $info['releases']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->builds;?></th>
<th><?php echo $lang->convert->redmine->builds;?></th>
<td><?php echo $result['builds'];?></td>
<td class='f-12px'><?php if(isset($info['builds'])) echo join('<br />', $info['builds']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->docLibs;?></th>
<th><?php echo $lang->convert->redmine->docLibs;?></th>
<td><?php echo $result['docLibs'];?></td>
<td class='f-12px'><?php if(isset($info['docLibs'])) echo join('<br />', $info['docLibs']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->docs;?></th>
<th><?php echo $lang->convert->redmine->docs;?></th>
<td><?php echo $result['docs'];?></td>
<td class='f-12px'><?php if(isset($info['docs'])) echo join('<br />', $info['docs']);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->redmine->files;?></th>
<th><?php echo $lang->convert->redmine->files;?></th>
<td><?php echo $result['files'];?></td>
<td class='f-12px'><?php if(isset($info['files'])) echo join('<br />', $info['files']);?></td>
</tr>
+1 -1
View File
@@ -19,7 +19,7 @@
</tr>
<?php foreach($lang->convert->sourceList as $name => $versions):?>
<tr>
<th class='rowhead'><?php echo $name;?></th>
<th><?php echo $name;?></th>
<td><?php echo html::radio('source', $versions);?></td>
</tr>
<?php endforeach;?>
+7 -7
View File
@@ -3,32 +3,32 @@
<td><?php echo html::input('dbHost', $config->db->host, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->dbPort;?></th>
<th><?php echo $lang->convert->dbPort;?></th>
<td><?php echo html::input('dbPort', $config->db->port, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->dbUser;?></th>
<th><?php echo $lang->convert->dbUser;?></th>
<td><?php echo html::input('dbUser', $config->db->user, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->dbPassword;?></th>
<th><?php echo $lang->convert->dbPassword;?></th>
<td><?php echo html::input('dbPassword', $config->db->password, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php printf($lang->convert->dbName, $source);?></th>
<th><?php printf($lang->convert->dbName, $source);?></th>
<td><?php echo html::input('dbName', $dbName, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php printf($lang->convert->dbCharset, $source);?></th>
<th><?php printf($lang->convert->dbCharset, $source);?></th>
<td><?php echo html::input('dbCharset', $dbCharset, "class='form-control'");?></td>
</tr>
<?php if($version > 1):?>
<tr>
<th class='rowhead'><?php printf($lang->convert->dbPrefix, $source);?></th>
<th><?php printf($lang->convert->dbPrefix, $source);?></th>
<td><?php echo html::input('dbPrefix', $tablePrefix, "class='form-control'");?></td>
</tr>
<?php endif;?>
<tr>
<th class='rowhead'><?php printf($lang->convert->installPath, $source);?></th>
<th><?php printf($lang->convert->installPath, $source);?></th>
<td><?php echo html::input('installPath', '', "class='form-control'");?></td>
</tr>
+6 -6
View File
@@ -3,26 +3,26 @@
<td><?php echo html::input('dbHost', $config->db->host, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->dbPort;?></th>
<th><?php echo $lang->convert->dbPort;?></th>
<td><?php echo html::input('dbPort', $config->db->port, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->dbUser;?></th>
<th><?php echo $lang->convert->dbUser;?></th>
<td><?php echo html::input('dbUser', $config->db->user, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->convert->dbPassword;?></th>
<th><?php echo $lang->convert->dbPassword;?></th>
<td><?php echo html::input('dbPassword', $config->db->password, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php printf($lang->convert->dbName, $source);?></th>
<th><?php printf($lang->convert->dbName, $source);?></th>
<td><?php echo html::input('dbName', $dbName, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php printf($lang->convert->dbCharset, $source);?></th>
<th><?php printf($lang->convert->dbCharset, $source);?></th>
<td><?php echo html::input('dbCharset', $dbCharset, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php printf($lang->convert->installPath, $source);?></th>
<th><?php printf($lang->convert->installPath, $source);?></th>
<td><?php echo html::input('installPath', '', "class='form-control'");?></td>
</tr>
+1 -1
View File
@@ -15,7 +15,7 @@
<table class='table-1'>
<caption><?php echo $lang->doc->createLib;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->doc->libName;?></th>
<th><?php echo $lang->doc->libName;?></th>
<td><?php echo html::input('name', '', "class='form-control'");?></td>
</tr>
<tr>
+1 -1
View File
@@ -18,7 +18,7 @@
<table class='table-1'>
<caption><?php echo $lang->doc->editLib;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->doc->libName;?></th>
<th><?php echo $lang->doc->libName;?></th>
<td><?php echo html::input('name', $libName, "class='form-control'");?></td>
</tr>
<tr><td colspan='2' class='text-center'><?php echo html::submitButton();?></td></tr>
+6 -6
View File
@@ -79,27 +79,27 @@
<td><?php echo $lib;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->doc->module;?></th>
<th><?php echo $lang->doc->module;?></th>
<td><?php echo $doc->moduleName ? $doc->moduleName : '/';?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->doc->type;?></th>
<th><?php echo $lang->doc->type;?></th>
<td><?php echo $lang->doc->types[$doc->type];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->doc->addedBy;?></th>
<th><?php echo $lang->doc->addedBy;?></th>
<td><?php echo $users[$doc->addedBy];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->doc->addedDate;?></th>
<th><?php echo $lang->doc->addedDate;?></th>
<td><?php echo $doc->addedDate;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->doc->editedBy;?></th>
<th><?php echo $lang->doc->editedBy;?></th>
<td><?php echo $users[$doc->editedBy];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->doc->editedDate;?></th>
<th><?php echo $lang->doc->editedDate;?></th>
<td><?php echo $doc->editedDate;?></td>
</tr>
</table>
+1 -1
View File
@@ -11,7 +11,7 @@
*/
?>
<?php include '../../common/view/header.lite.html.php';?>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table-1'>
<caption><?php echo $lang->editor->newPage?></caption>
<tr>
+5 -5
View File
@@ -11,19 +11,19 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table align='center' class='table-4'>
<caption><?php echo $lang->group->copy;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->group->name;?></th>
<th><?php echo $lang->group->name;?></th>
<td><?php echo html::input('name', $group->name, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->group->desc;?></th>
<td><?php echo html::textarea('desc', $group->desc, "rows='5' class='area-1'");?></td>
<th><?php echo $lang->group->desc;?></th>
<td><?php echo html::textarea('desc', $group->desc, "rows='5' class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->group->option;?></th>
<th><?php echo $lang->group->option;?></th>
<td><?php echo html::checkbox('options', $lang->group->copyOptions);?></td>
</tr>
<tr><td colspan='2' class='text-center'><?php echo html::submitButton();?></td></tr>
+3 -3
View File
@@ -11,15 +11,15 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin' id='dataform'>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table align='center' class='table-4 a-left'>
<caption><?php echo $lang->group->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->group->name;?></th>
<th><?php echo $lang->group->name;?></th>
<td><?php echo html::input('name', '', "class=text-1");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->group->desc;?></th>
<th><?php echo $lang->group->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows=5 class=area-1");?></textarea></td>
</tr>
<tr><td colspan='2' class='text-center'><?php echo html::submitButton();?></td></tr>
+4 -4
View File
@@ -11,16 +11,16 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin' id='dataform'>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table align='center' class='table-4'>
<caption><?php echo $lang->group->edit;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->group->name;?></th>
<th><?php echo $lang->group->name;?></th>
<td><?php echo html::input('name', $group->name, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->group->desc;?></th>
<td><?php echo html::textarea('desc', $group->desc, "rows='5' class='area-1'");?></td>
<th><?php echo $lang->group->desc;?></th>
<td><?php echo html::textarea('desc', $group->desc, "rows='5' class='form-control'");?></td>
</tr>
<tr><td colspan='2' class='text-center'><?php echo html::submitButton();?></td></tr>
</table>
+4 -4
View File
@@ -11,12 +11,12 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table align='center' class='table-1 a-left'>
<caption><?php echo $group->name . $lang->colon . $lang->group->manageMember;?></caption>
<?php if($groupUsers):?>
<tr>
<th class='rowhead'><?php echo $lang->group->inside;?><?php echo html::selectAll('group', 'checkbox', true);?> </th>
<th><?php echo $lang->group->inside;?><?php echo html::selectAll('group', 'checkbox', true);?> </th>
<td id='group' class='f-14px pv-10px'><?php $i = 1;?>
<?php foreach($groupUsers as $account => $realname):?>
<div class='w-p10 f-left'><?php echo '<span>' . html::checkbox('members', array($account => $realname), $account) . '</span>';?></div>
@@ -26,7 +26,7 @@
</tr>
<?php endif;?>
<tr>
<th class='rowhead'><?php echo $lang->group->outside;?><?php echo html::selectAll('other','checkbox');?> </th>
<th><?php echo $lang->group->outside;?><?php echo html::selectAll('other','checkbox');?> </th>
<td id='other' class='f-14px pv-10px'><?php $i = 1;?>
<?php foreach($otherUsers as $account => $realname):?>
<div class='w-p10 f-left'><?php echo '<span>' . html::checkbox('members', array($account => $realname), '') . '</span>';?></div>
@@ -35,7 +35,7 @@
</td>
</tr>
<tr>
<th class='rowhead'></th>
<th></th>
<td class='text-center'>
<?php
echo html::submitButton();
+2 -2
View File
@@ -10,7 +10,7 @@
* @link http://www.zentao.net
*/
?>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<div id='featurebar'>
<?php $params = "type=byGroup&param=$groupID&menu=%s&version=$version";?>
<span <?php echo empty($menu) ? "class='active'" : ""?>>
@@ -69,7 +69,7 @@
</tr>
<?php endforeach;?>
<tr>
<th class='rowhead'><?php echo $lang->selectAll . html::selectAll('', 'checkbox')?></th>
<th><?php echo $lang->selectAll . html::selectAll('', 'checkbox')?></th>
<td>
<?php
echo html::submitButton($lang->save, "onclick='setNoChecked()'");
+1 -1
View File
@@ -10,7 +10,7 @@
* @link http://www.zentao.net
*/
?>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table-6 a-center' align='center'>
<caption class='caption-tl'><?php echo $lang->group->managePriv . $lang->group->byModuleTips;?></caption>
<tr class='colhead'>
+6 -6
View File
@@ -24,29 +24,29 @@
</tr>
<tr>
<th><?php echo $lang->install->dbHost;?></th>
<td><?php echo html::input('dbHost', '127.0.0.1', 'class=text-3');?><?php echo $lang->install->dbHostNote;?></td>
<td><?php echo html::input('dbHost', '127.0.0.1', "class='form-control'");?><?php echo $lang->install->dbHostNote;?></td>
</tr>
<tr>
<th><?php echo $lang->install->dbPort;?></th>
<td><?php echo html::input('dbPort', '3306', 'class=text-3');?></td>
<td><?php echo html::input('dbPort', '3306', "class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->install->dbUser;?></th>
<td><?php echo html::input('dbUser', 'root', 'class=text-3');?></td>
<td><?php echo html::input('dbUser', 'root', "class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->install->dbPassword;?></th>
<td><?php echo html::input('dbPassword', '', 'class=text-3');?></td>
<td><?php echo html::input('dbPassword', '', "class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->install->dbName;?></th>
<td><?php echo html::input('dbName', 'zentao', 'class=text-3');?></td>
<td><?php echo html::input('dbName', 'zentao', "class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->install->dbPrefix;?></th>
<td>
<?php
echo html::input('dbPrefix', 'zt_', 'class=text-3');
echo html::input('dbPrefix', 'zt_', "class='form-control'");
echo html::checkBox('clearDB', $lang->install->clearDB);
?>
</td>
+4 -4
View File
@@ -24,19 +24,19 @@
<tr><td><?php echo html::commonButton($lang->install->pre, "onclick='javascript:history.back(-1)'");?></td></tr>
</table>
<?php else:?>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table-6' align='center'>
<caption><?php echo $lang->install->getPriv;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->install->company;?></th>
<th><?php echo $lang->install->company;?></th>
<td><?php echo html::input('company');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->install->account;?></th>
<th><?php echo $lang->install->account;?></th>
<td><?php echo html::input('account');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->install->password;?></th>
<th><?php echo $lang->install->password;?></th>
<td><?php echo html::input('password') . html::checkBox('importDemoData', $lang->install->importDemoData);?></td>
</tr>
<tr class='text-center'>
+2 -2
View File
@@ -11,10 +11,10 @@
*/
include '../../common/view/header.html.php';
?>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table-4' align='center'>
<caption><?php echo $lang->mail->inputFromEmail; ?></caption>
<tr><td class='text-center'><?php echo html::input('fromAddress', $fromAddress, 'class=text-3') . html::submitButton($lang->mail->nextStep);?></td></tr>
<tr><td class='text-center'><?php echo html::input('fromAddress', $fromAddress, "class='form-control'") . html::submitButton($lang->mail->nextStep);?></td></tr>
</table>
</form>
<?php include '../../common/view/footer.html.php';?>
+15 -15
View File
@@ -19,43 +19,43 @@ include '../../common/view/header.html.php';
<td><?php echo html::radio('turnon', $lang->mail->turnonList, 1);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->mail->fromAddress; ?></th>
<td><?php echo html::input('fromAddress', $mailConfig->fromAddress, 'class=text-3');?></td>
<th><?php echo $lang->mail->fromAddress; ?></th>
<td><?php echo html::input('fromAddress', $mailConfig->fromAddress, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->mail->fromName; ?></th>
<td><?php echo html::input('fromName', $mailConfig->fromName, 'class=text-3');?></td>
<th><?php echo $lang->mail->fromName; ?></th>
<td><?php echo html::input('fromName', $mailConfig->fromName, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->mail->host; ?></th>
<td><?php echo html::input('host', $mailConfig->host, 'class=text-3');?></td>
<th><?php echo $lang->mail->host; ?></th>
<td><?php echo html::input('host', $mailConfig->host, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->mail->port; ?></th>
<td><?php echo html::input('port', $mailConfig->port, 'class=text-3');?></td>
<th><?php echo $lang->mail->port; ?></th>
<td><?php echo html::input('port', $mailConfig->port, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->mail->auth; ?></th>
<th><?php echo $lang->mail->auth; ?></th>
<td><?php echo html::radio('auth', $lang->mail->authList, $mailConfig->auth, 'onchange=setAuth(this.value)'); ?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->mail->username; ?></th>
<td><?php echo html::input('username', $mailConfig->username, 'class=text-3') ?></td>
<th><?php echo $lang->mail->username; ?></th>
<td><?php echo html::input('username', $mailConfig->username, "class='form-control'") ?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->mail->password; ?></th>
<th><?php echo $lang->mail->password; ?></th>
<td><?php echo html::password('password', $mailConfig->password, 'class="form-control" autocomplete="off"') ?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->mail->secure; ?></th>
<th><?php echo $lang->mail->secure; ?></th>
<td><?php echo html::radio('secure', $lang->mail->secureList, $mailConfig->secure); ?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->mail->debug; ?></th>
<th><?php echo $lang->mail->debug; ?></th>
<td><?php echo html::radio('debug', $lang->mail->debugList, $mailConfig->debug);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->mail->charset; ?></th>
<th><?php echo $lang->mail->charset; ?></th>
<td><?php echo html::radio('charset', $config->charsets[$this->cookie->lang], $mailConfig->charset);?></td>
</tr>
+3 -3
View File
@@ -15,18 +15,18 @@
<div id='featurebar'>
<div class='heading'><i class='icon-key'></i> <?php echo $lang->my->changePassword;?></div>
</div>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table align='center' class='table table-form w-400px'>
<tr>
<th class='rowhead w-100px'><?php echo $lang->user->account;?></th>
<td><?php echo $user->account . html::hidden('account',$user->account);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->password;?></th>
<th><?php echo $lang->user->password;?></th>
<td><?php echo html::password('password1', '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->password2;?></th>
<th><?php echo $lang->user->password2;?></th>
<td><?php echo html::password('password2', '', "class='form-control'");?></td>
</tr>
<tr>
+19 -19
View File
@@ -39,79 +39,79 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->account;?></th>
<th><?php echo $lang->user->account;?></th>
<td><?php echo $user->account;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->realname;?></th>
<th><?php echo $lang->user->realname;?></th>
<td><?php echo $user->realname;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->role;?></th>
<th><?php echo $lang->user->role;?></th>
<td><?php echo $lang->user->roleList[$user->role];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->group->priv;?></th>
<th><?php echo $lang->group->priv;?></th>
<td><?php foreach($groups as $group) echo $group->name . ' '; ?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->commiter;?></th>
<th><?php echo $lang->user->commiter;?></th>
<td><?php echo $user->commiter;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->email;?></th>
<th><?php echo $lang->user->email;?></th>
<td><?php echo $user->email;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->join;?></th>
<th><?php echo $lang->user->join;?></th>
<td><?php echo $user->join;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->visits;?></th>
<th><?php echo $lang->user->visits;?></th>
<td><?php echo $user->visits;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->ip;?></th>
<th><?php echo $lang->user->ip;?></th>
<td><?php echo $user->ip;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->last;?></th>
<th><?php echo $lang->user->last;?></th>
<td><?php echo $user->last;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->skype;?></th>
<th><?php echo $lang->user->skype;?></th>
<td><?php if($user->skype) echo html::a("callto://$user->skype", $user->skype);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->qq;?></th>
<th><?php echo $lang->user->qq;?></th>
<td><?php if($user->qq) echo html::a("tencent://message/?uin=$user->qq", $user->qq);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->yahoo;?></th>
<th><?php echo $lang->user->yahoo;?></th>
<td><?php echo $user->yahoo;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->gtalk;?></th>
<th><?php echo $lang->user->gtalk;?></th>
<td><?php echo $user->gtalk;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->wangwang;?></th>
<th><?php echo $lang->user->wangwang;?></th>
<td><?php echo $user->wangwang;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->mobile;?></th>
<th><?php echo $lang->user->mobile;?></th>
<td><?php echo $user->mobile;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->phone;?></th>
<th><?php echo $lang->user->phone;?></th>
<td><?php echo $user->phone;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->address;?></th>
<th><?php echo $lang->user->address;?></th>
<td><?php echo $user->address;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->zipcode;?></th>
<th><?php echo $lang->user->zipcode;?></th>
<td><?php echo $user->zipcode;?></td>
</tr>
</table>
+4 -4
View File
@@ -12,12 +12,12 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<caption><?php echo $product->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
<td><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList); ?></td>
+19 -19
View File
@@ -66,31 +66,31 @@
<td <?php if($product->deleted) echo "class='deleted text-danger'";?>><strong><?php echo $product->name;?></strong></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->code;?></th>
<th><?php echo $lang->product->code;?></th>
<td><?php echo $product->code;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->PO;?></th>
<th><?php echo $lang->product->PO;?></th>
<td><?php echo $users[$product->PO];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->QD;?></th>
<th><?php echo $lang->product->QD;?></th>
<td><?php echo $users[$product->QD];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->RD;?></th>
<th><?php echo $lang->product->RD;?></th>
<td><?php echo $users[$product->RD];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->status;?></th>
<th><?php echo $lang->product->status;?></th>
<td><?php echo $lang->product->statusList[$product->status];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->acl;?></th>
<th><?php echo $lang->product->acl;?></th>
<td><?php echo $lang->product->aclList[$product->acl];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->whitelist;?></th>
<th><?php echo $lang->product->whitelist;?></th>
<td>
<?php
$whitelist = explode(',', $product->whitelist);
@@ -99,11 +99,11 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->story->openedBy?></th>
<th><?php echo $lang->story->openedBy?></th>
<td><?php echo $users[$product->createdBy];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->story->openedDate?></th>
<th><?php echo $lang->story->openedDate?></th>
<td><?php echo $product->createdDate;?></td>
</tr>
</table>
@@ -116,43 +116,43 @@
<td class='strong'><?php echo $product->stories['active']?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->story->statusList['changed'] . $lang->story->common;?></th>
<th><?php echo $lang->story->statusList['changed'] . $lang->story->common;?></th>
<td><?php echo $product->stories['changed']?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->story->statusList['draft'] . $lang->story->common;?></th>
<th><?php echo $lang->story->statusList['draft'] . $lang->story->common;?></th>
<td><?php echo $product->stories['draft']?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->story->statusList['closed'] . $lang->story->common;?></th>
<th><?php echo $lang->story->statusList['closed'] . $lang->story->common;?></th>
<td><?php echo $product->stories['closed']?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->plans?></th>
<th><?php echo $lang->product->plans?></th>
<td><?php echo $product->plans?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->projects?></th>
<th><?php echo $lang->product->projects?></th>
<td><?php echo $product->projects?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->bugs?></th>
<th><?php echo $lang->product->bugs?></th>
<td><?php echo $product->bugs?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->docs?></th>
<th><?php echo $lang->product->docs?></th>
<td><?php echo $product->docs?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->cases?></th>
<th><?php echo $lang->product->cases?></th>
<td><?php echo $product->cases?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->bulids?></th>
<th><?php echo $lang->product->bulids?></th>
<td><?php echo $product->bulids?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->product->releases?></th>
<th><?php echo $lang->product->releases?></th>
<td><?php echo $product->releases?></td>
</tr>
</table>
+1 -1
View File
@@ -1605,7 +1605,7 @@ class project extends control
public function ajaxGetMembers($projectID)
{
$users = $this->project->getTeamMemberPairs($projectID);
die(html::select('assignedTo', $users, '', "class='select-1'"));
die(html::select('assignedTo', $users, '', "class='form-control'"));
}
/**
+6 -1
View File
@@ -1 +1,6 @@
.groupdivider{border-bottom:1px solid black}
.table-borderless td.groupdivider, .groupdivider{border-bottom:1px solid #ccc}
.highlight-warning {background: #FBF5C6!important}
.outer .table tr > td.group-name, .outer .table tr > td.group-name:first-child{padding-left: 30px;}
.group-title td {background: #f1f1f1!important; border-bottom: 1px solid #ddd!important}
.groupdivider > .text {color: #808080}
.groupdivider > .text strong {color: #333}
+1
View File
@@ -36,6 +36,7 @@ $lang->project->closedBy = '由谁关闭';
$lang->project->closedDate = '关闭日期';
$lang->project->canceledBy = '由谁取消';
$lang->project->canceledDate = '取消日期';
$lang->project->Person = '负责人';
$lang->project->PO = '产品负责人';
$lang->project->PM = '项目负责人';
$lang->project->QD = '测试负责人';
+23 -13
View File
@@ -13,17 +13,27 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php js::import($jsRoot . 'misc/date.js');?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<caption><?php echo $project->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList); ?></td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
</form>
<div class='container mw-800px'>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['project']) . ' #' . $project->id;;?></span>
<strong><?php echo html::a($this->createLink('project', 'view', 'project=' . $project->id), $project->name, '_blank');?></strong>
<small class='text-success'> <?php echo $lang->project->activate;?> <?php echo html::icon($lang->icons['activate']);?></small>
</div>
</div>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<tr>
<th class='text-left'><?php echo $lang->comment;?></th>
</tr>
<tr>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
</tr>
<tr>
<td class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList); ?></td>
</tr>
</table>
</form>
<div class='main'><?php include '../../common/view/action.html.php';?></div>
</div>
<?php include '../../common/view/footer.html.php';?>
+23 -13
View File
@@ -12,17 +12,27 @@
?>
<?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 $project->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList); ?></td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
</form>
<div class='container mw-800px'>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['project']) . ' #' . $project->id;;?></span>
<strong><?php echo html::a($this->createLink('project', 'view', 'project=' . $project->id), $project->name, '_blank');?></strong>
<small class='text-danger'> <?php echo $lang->project->close;?> <?php echo html::icon($lang->icons['close']);?></small>
</div>
</div>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<tr>
<th class='text-left'><?php echo $lang->comment;?></th>
</tr>
<tr>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
</tr>
<tr>
<td class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList); ?></td>
</tr>
</table>
</form>
<div class='main'><?php include '../../common/view/action.html.php';?></div>
</div>
<?php include '../../common/view/footer.html.php';?>
+10 -9
View File
@@ -114,7 +114,7 @@ $(document).ready(function() {$('#tipsModal').modal('show');});
</tr>
<tr>
<th><?php echo $lang->project->desc;?></th>
<td colspan='2'><?php echo html::textarea('desc', '', "rows='6' class='area-1'");?></td>
<td colspan='2'><?php echo html::textarea('desc', '', "rows='6' class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->project->acl;?></th>
@@ -125,7 +125,8 @@ $(document).ready(function() {$('#tipsModal').modal('show');});
<td colspan='2'><?php echo html::checkbox('whitelist', $groups, $whitelist);?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::backButton();?></td>
<td></td>
<td colspan='2'><?php echo html::submitButton() . html::backButton();?></td>
</tr>
</table>
</form>
@@ -147,13 +148,13 @@ $(document).ready(function() {$('#tipsModal').modal('show');});
<?php else:?>
<div id='copyProjects' class='row'>
<?php foreach ($projects as $id => $name):?>
<div class='col-md-4 col-sm-6'>
<?php if(empty($id)):?>
<a href='javascript:;' data-id='' class='cancel'><?php echo html::icon($lang->icons['cancel']) . ' ' . $lang->project->cancelCopy;?></a>
<?php else: ?>
<a href='javascript:;' data-id='<?php echo $id;?>' class='nobr <?php echo ($copyProjectID == $id) ? ' active' : '';?>'><?php echo html::icon($lang->icons['project'], 'text-muted') . ' ' . $name;?></a>
<?php endif; ?>
</div>
<?php if(empty($id)):?>
<?php if($copyProjectID != 0):?>
<div class='col-md-4 col-sm-6'><a href='javascript:;' data-id='' class='cancel'><?php echo html::icon($lang->icons['cancel']) . ' ' . $lang->project->cancelCopy;?></a></div>
<?php endif;?>
<?php else: ?>
<div class='col-md-4 col-sm-6'><a href='javascript:;' data-id='<?php echo $id;?>' class='nobr <?php echo ($copyProjectID == $id) ? ' active' : '';?>'><?php echo html::icon($lang->icons['project'], 'text-muted') . ' ' . $name;?></a></div>
<?php endif; ?>
<?php endforeach;?>
</div>
<?php endif;?>
+107 -70
View File
@@ -14,74 +14,111 @@
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<?php js::import($jsRoot . 'misc/date.js');?>
<form method='post' target='hiddenwin' id='dataform'>
<table align='center' class='table-1 a-left'>
<caption><?php echo $lang->project->edit;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->project->name;?></th>
<td><?php echo html::input('name', $project->name, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->code;?></th>
<td><?php echo html::input('code', $project->code, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->begin;?></th>
<td><?php echo html::input('begin', $project->begin, "class='text-3 date' onchange='computeWorkDays()'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->end;?></th>
<td><?php echo html::input('end', $project->end, "class='text-3 date' onchange='computeWorkDays()'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->days;?></th>
<td><?php echo html::input('days', $project->days, "class='form-control'") . $lang->project->day;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->type;?></th>
<td><?php echo html::select('type', $lang->project->typeList, $project->type, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->teamname;?></th>
<td><?php echo html::input('team', $project->team, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->status;?></th>
<td><?php echo html::select('status', $lang->project->statusList, $project->status, 'class=text-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->PO;?></th>
<td><?php echo html::select('PO', $poUsers, $project->PO, "class='text-3 chosen'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->PM;?></th>
<td><?php echo html::select('PM', $pmUsers, $project->PM, "class='text-3 chosen'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->QD;?></th>
<td><?php echo html::select('QD', $qdUsers, $project->QD, "class='text-3 chosen'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->RD;?></th>
<td><?php echo html::select('RD', $rdUsers, $project->RD, "class='text-3 chosen'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->manageProducts;?></th>
<td class='text-left' id='productsBox'><?php echo html::select("products[]", $allProducts, $linkedProducts, "class='select-1 chosen' data-placeholder='{$lang->project->linkProduct}' multiple");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->desc;?></th>
<td><?php echo html::textarea('desc', $project->desc, "rows='6' class='area-1'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->acl;?></th>
<td><?php echo nl2br(html::radio('acl', $lang->project->aclList, $project->acl, "onclick='setWhite(this.value);'"));?></td>
</tr>
<tr id='whitelistBox' <?php if($project->acl != 'custom') echo "class='hidden'";?>>
<th class='rowhead'><?php echo $lang->project->whitelist;?></th>
<td id='whitelistBox'><?php echo html::checkbox('whitelist', $groups, $project->whitelist);?></td>
</tr>
<tr><td colspan='2' class='text-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
<div class='container mw-900px'>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['project']) . ' #' . $project->id;;?></span>
<strong><?php echo html::a($this->createLink('project', 'view', 'project=' . $project->id), $project->name, '_blank');?></strong>
<small class='text-muted'> <?php echo $lang->project->edit;?> <?php echo html::icon($lang->icons['edit']);?></small>
</div>
</div>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table class='table table-form'>
<tr>
<th class='w-90px'><?php echo $lang->project->name;?></th>
<td class='w-p45'><?php echo html::input('name', $project->name, "class='form-control'");?></td><td></td>
</tr>
<tr>
<th><?php echo $lang->project->code;?></th>
<td><?php echo html::input('code', $project->code, "class='form-control'");?></td>
</tr>
<tr>
<th class='w-90px'><?php echo $lang->project->dateRange;?></th>
<td>
<div class='input-group'>
<?php echo html::input('begin', $project->begin, "class='form-control form-date' onchange='computeWorkDays()' placeholder='" . $lang->project->begin . "'");?>
<span class='input-group-addon'><?php echo $lang->project->to;?></span>
<?php echo html::input('end', $project->end, "class='form-control form-date' onchange='computeWorkDays()' placeholder='" . $lang->project->end . "'");?>
<div class='input-group-btn'>
<button type='button' class='btn dropdown-toggle' data-toggle='dropdown'><?php echo $lang->project->byPeriod;?> <span class='caret'></span></button>
<ul class='dropdown-menu'>
<?php foreach ($lang->project->endList as $key => $name):?>
<li><a href='javascript:computeEndDate("<?php echo $key;?>")'><?php echo $name;?></a></li>
<?php endforeach;?>
</ul>
</div>
</div>
</td>
</tr>
<tr>
<th><?php echo $lang->project->days;?></th>
<td>
<div class='input-group'>
<?php echo html::input('days', $project->days, "class='form-control'");?>
<span class='input-group-addon'><?php echo $lang->project->day;?></span>
</div>
</td>
</tr>
<tr>
<th><?php echo $lang->project->type;?></th>
<td><?php echo html::select('type', $lang->project->typeList, $project->type, "class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->project->teamname;?></th>
<td><?php echo html::input('team', $project->team, "class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->project->status;?></th>
<td><?php echo html::select('status', $lang->project->statusList, $project->status, "class='form-control'");?></td>
</tr>
<tr>
<th rowspan='2'><?php echo $lang->project->Person;?></th>
<td>
<div class='input-group'>
<span class='input-group-addon'><?php echo $lang->project->PO;?></span>
<?php echo html::select('PO', $poUsers, $project->PO, "class='form-control chosen'");?>
</div>
</td>
<td>
<div class='input-group'>
<span class='input-group-addon'><?php echo $lang->project->QD;?></span>
<?php echo html::select('QD', $qdUsers, $project->QD, "class='form-control chosen'");?>
</div>
</td>
</tr>
<tr>
<td style='padding-left: 5px;'>
<div class='input-group'>
<span class='input-group-addon'><?php echo $lang->project->PM;?></span>
<?php echo html::select('PM', $pmUsers, $project->PM, "class='form-control chosen'");?>
</div>
</td>
<td>
<div class='input-group'>
<span class='input-group-addon'><?php echo $lang->project->RD;?></span>
<?php echo html::select('RD', $rdUsers, $project->RD, "class='form-control chosen'");?>
</div>
</td>
</tr>
<tr>
<th><?php echo $lang->project->manageProducts;?></th>
<td colspan='2' id='productsBox'><?php echo html::select("products[]", $allProducts, $linkedProducts, "class='select-1 chosen' data-placeholder='{$lang->project->linkProduct}' multiple");?></td>
</tr>
<tr>
<th><?php echo $lang->project->desc;?></th>
<td colspan='2'><?php echo html::textarea('desc', $project->desc, "rows='6' class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->project->acl;?></th>
<td colspan='2'><?php echo nl2br(html::radio('acl', $lang->project->aclList, $project->acl, "onclick='setWhite(this.value);'", 'block'));?></td>
</tr>
<tr id='whitelistBox' <?php if($project->acl != 'custom') echo "class='hidden'";?>>
<th><?php echo $lang->project->whitelist;?></th>
<td colspan='2' id='whitelistBox'><?php echo html::checkbox('whitelist', $groups, $project->whitelist);?></td>
</tr>
<tr><td></td><td colspan='2'><?php echo html::submitButton() . html::backButton();?></td></tr>
</table>
</form>
</div>
<?php include '../../common/view/footer.html.php';?>
+22 -19
View File
@@ -13,21 +13,23 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/treetable.html.php';?>
<?php include './taskheader.html.php';?>
<table class='table-1 fixed' id='treetable'>
<tr class='colhead'>
<th class='w-120px'></th>
<th><?php echo $lang->task->name;?></th>
<th class='w-pri'> <?php echo $lang->priAB;?></th>
<th class='w-user'><?php echo $lang->task->assignedTo;?></th>
<th class='w-user'><?php echo $lang->task->finishedBy;?></th>
<th class='w-50px'><?php echo $lang->task->estimateAB;?></th>
<th class='w-50px'><?php echo $lang->task->consumedAB;?></th>
<th class='w-50px'><?php echo $lang->task->leftAB;?></th>
<th class='w-50px'><?php echo $lang->typeAB;?></th>
<th class='w-80px'><?php echo $lang->task->deadlineAB;?></th>
<th class='w-80px'><?php echo $lang->task->status;?></th>
<th class='w-50px'><?php echo $lang->actions;?></th>
</tr>
<table class='table fixed' id='treetable'>
<thead>
<tr>
<th class='w-120px'></th>
<th><?php echo $lang->task->name;?></th>
<th class='w-pri'> <?php echo $lang->priAB;?></th>
<th class='w-user'><?php echo $lang->task->assignedTo;?></th>
<th class='w-user'><?php echo $lang->task->finishedBy;?></th>
<th class='w-50px'><?php echo $lang->task->estimateAB;?></th>
<th class='w-50px'><?php echo $lang->task->consumedAB;?></th>
<th class='w-50px'><?php echo $lang->task->leftAB;?></th>
<th class='w-50px'><?php echo $lang->typeAB;?></th>
<th class='w-80px'><?php echo $lang->task->deadlineAB;?></th>
<th class='w-80px'><?php echo $lang->task->status;?></th>
<th class='w-60px'><?php echo $lang->actions;?></th>
</tr>
</thead>
<?php
$taskSum = 0;
$statusWait = 0;
@@ -40,10 +42,10 @@
?>
<?php $i = 0;?>
<?php foreach($tasks as $groupKey => $groupTasks):?>
<?php $groupClass = ($i % 2 == 0) ? 'even' : 'bg-yellow'; $i ++;?>
<tr id='node-<?php echo $groupKey;?>'>
<td class='<?php echo $groupClass;?> a-center f-16px strong'><?php echo $groupKey;?></td>
<td colspan='10'><?php if($groupByList) echo $groupByList[$groupKey];?></td>
<?php $groupClass = ($i % 2 == 0) ? 'even' : 'highlight-warning'; $i ++;?>
<tr id='node-<?php echo $groupKey;?>' class='actie-disabled group-title'>
<td class='<?php echo $groupClass;?> text-left large strong group-name'><?php echo $groupKey;?></td>
<td colspan='11'><?php if($groupByList) echo $groupByList[$groupKey];?></td>
</tr>
<?php
$groupWait = 0;
@@ -109,6 +111,7 @@
<?php endforeach;?>
<tr class='child-of-node-<?php echo $groupKey;?> <?php echo $groupClass;?>'>
<td colspan='12' class='a-right groupdivider'>
<div class='text'>
<?php if($groupBy == 'assignedto' and isset($members[$task->assignedTo])) printf($lang->project->memberHours, $users[$task->assignedTo], $members[$task->assignedTo]->totalHours);?>
<?php printf($lang->project->groupSummary, $groupSum, $groupWait, $groupDoing, $groupEstimate, $groupConsumed, $groupLeft);?></div>
</td>
+1 -1
View File
@@ -12,7 +12,7 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/tablesorter.html.php';?>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table-1 fixed tablesorter'>
<caption>
<?php
+48 -25
View File
@@ -14,29 +14,52 @@
<?php include '../../common/view/kindeditor.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php js::import($jsRoot . 'misc/date.js');?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<caption><?php echo $project->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->project->begin;?></td>
<td><?php echo html::input('begin', $project->begin, "class='text-3 date' onchange='computeWorkDays()'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->project->end;?></td>
<td><?php echo html::input('end', $project->end, "class='text-3 date' onchange='computeWorkDays()'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->project->days;?></th>
<td><?php echo html::input('days', $project->days, "class='form-control'") . $lang->project->day;?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList); ?></td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
</form>
<div class='container mw-800px'>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['project']) . ' #' . $project->id;;?></span>
<strong><?php echo html::a($this->createLink('project', 'view', 'project=' . $project->id), $project->name, '_blank');?></strong>
<small class='text-muted'> <?php echo $lang->project->putoff;?> <?php echo html::icon($lang->icons['putoff']);?></small>
</div>
</div>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<tr>
<th class='w-90px'><?php echo $lang->project->dateRange;?></th>
<td>
<div class='input-group'>
<?php echo html::input('begin', $project->begin, "class='form-control form-date' onchange='computeWorkDays()' placeholder='" . $lang->project->begin . "'");?>
<span class='input-group-addon'><?php echo $lang->project->to;?></span>
<?php echo html::input('end', $project->end, "class='form-control form-date' onchange='computeWorkDays()' placeholder='" . $lang->project->end . "'");?>
<div class='input-group-btn'>
<button type='button' class='btn dropdown-toggle' data-toggle='dropdown'><?php echo $lang->project->byPeriod;?> <span class='caret'></span></button>
<ul class='dropdown-menu'>
<?php foreach ($lang->project->endList as $key => $name):?>
<li><a href='javascript:computeEndDate("<?php echo $key;?>")'><?php echo $name;?></a></li>
<?php endforeach;?>
</ul>
</div>
</div>
</td>
</tr>
<tr>
<th><?php echo $lang->project->days;?></th>
<td>
<div class='input-group'>
<?php echo html::input('days', $project->days, "class='form-control'");?>
<span class='input-group-addon'><?php echo $lang->project->day;?></span>
</div>
</td>
</tr>
<tr>
<th><?php echo $lang->comment;?></th>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList); ?></td>
</tr>
</table>
</form>
<div class='main'><?php include '../../common/view/action.html.php';?></div>
</div>
<?php include '../../common/view/footer.html.php';?>
+23 -13
View File
@@ -12,17 +12,27 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<caption><?php echo $project->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList); ?></td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
</form>
<div class='container mw-800px'>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['project']) . ' #' . $project->id;;?></span>
<strong><?php echo html::a($this->createLink('project', 'view', 'project=' . $project->id), $project->name, '_blank');?></strong>
<small class='text-muted'> <?php echo $lang->project->start;?> <?php echo html::icon($lang->icons['start']);?></small>
</div>
</div>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<tr>
<th class='text-left'><?php echo $lang->comment;?></th>
</tr>
<tr>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
</tr>
<tr>
<td class='text-center'><?php echo html::submitButton(html::icon($lang->icons['start']) . ' ' . $lang->project->start) . html::linkButton($lang->goback, $this->session->taskList); ?></td>
</tr>
</table>
</form>
<div class='main'><?php include '../../common/view/action.html.php';?></div>
</div>
<?php include '../../common/view/footer.html.php';?>
+23 -13
View File
@@ -12,17 +12,27 @@
?>
<?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 $project->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList); ?></td>
</tr>
</table>
<?php include '../../common/view/action.html.php';?>
</form>
<div class='container mw-800px'>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['project']) . ' #' . $project->id;;?></span>
<strong><?php echo html::a($this->createLink('project', 'view', 'project=' . $project->id), $project->name, '_blank');?></strong>
<small class='text-warning'> <?php echo $lang->project->suspend;?> <?php echo html::icon($lang->icons['suspend']);?></small>
</div>
</div>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<tr>
<th class='text-left'><?php echo $lang->comment;?></th>
</tr>
<tr>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
</tr>
<tr>
<td class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList); ?></td>
</tr>
</table>
</form>
<div class='main'><?php include '../../common/view/action.html.php';?></div>
</div>
<?php include '../../common/view/footer.html.php';?>
@@ -1,4 +1,4 @@
<th class='rowhead'><?php echo $lang->release->linkStoriesAndBugs;?></th>
<th><?php echo $lang->release->linkStoriesAndBugs;?></th>
<td>
<div class="w-p90">
+6 -6
View File
@@ -1,24 +1,24 @@
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin' id='dataform'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table class='table table-form'>
<caption><?php echo $lang->sso->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->sso->title;?></th>
<th><?php echo $lang->sso->title;?></th>
<td><?php echo html::input('title', '', "class='form-control' placeholder='{$lang->sso->note->title}'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->sso->code;?></th>
<th><?php echo $lang->sso->code;?></th>
<td><?php echo html::input('code', '', "class='form-control' placeholder='{$lang->sso->note->code}'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->sso->key;?></th>
<th><?php echo $lang->sso->key;?></th>
<td>
<?php echo html::input('key', $key, "class='form-control' readonly='readonly'");?>
<?php echo html::a('javascript:void(0)', $lang->sso->createKey, '', 'onclick="createKey()"')?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->sso->ip;?></th>
<th><?php echo $lang->sso->ip;?></th>
<td><?php echo html::input('ip', '', "class='text-5' placeholder='{$lang->sso->note->ip}'");?></td>
</tr>
<tr><td></td><td colspan='2' class='text-left'><?php echo html::submitButton() . html::backButton();?></td></tr>
+6 -6
View File
@@ -1,24 +1,24 @@
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin' id='dataform'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table class='table table-form'>
<caption><?php echo $lang->sso->edit;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->sso->title;?></th>
<th><?php echo $lang->sso->title;?></th>
<td><?php echo html::input('title', $auth->title, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->sso->code;?></th>
<th><?php echo $lang->sso->code;?></th>
<td><?php echo $code;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->sso->key;?></th>
<th><?php echo $lang->sso->key;?></th>
<td>
<?php echo html::input('key', $auth->key, "class='form-control' readonly='readonly'");?>
<?php echo html::a('javascript:void(0)', $lang->sso->createKey, '', 'onclick="createKey()"')?>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->sso->ip;?></th>
<th><?php echo $lang->sso->ip;?></th>
<td><?php echo html::input('ip', $auth->ip, "class='text-5'");?></td>
</tr>
<tr><td colspan='2' class='text-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
+2 -2
View File
@@ -15,11 +15,11 @@
<table class='table-1'>
<caption><?php echo $lang->story->activate;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->story->assignedTo;?></th>
<th><?php echo $lang->story->assignedTo;?></th>
<td><?php echo html::select('assignedTo', $users, $story->closedBy, 'class="select-3"');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->story->comment;?></th>
<th><?php echo $lang->story->comment;?></th>
<td><?php echo html::textarea('comment', '', 'rows=5 class="area-1"');?></td>
</tr>
<tr>
+32 -22
View File
@@ -12,9 +12,17 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/colorize.html.php';?>
<form method='post' target='hiddenwin' action="<?php echo inLink('batchClose', "from=storyBatchClose")?>">
<table class='table-1 fixed'>
<caption><?php echo $lang->story->common . $lang->colon . $lang->story->batchClose;?></caption>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['story']);?></span>
<strong><?php echo $lang->story->common . $lang->colon . $lang->story->batchClose;?></strong>
<small class='text-danger'><?php echo html::icon($lang->icons['batchClose']);?></small>
</div>
</div>
<form class='form-condensed' method='post' target='hiddenwin' action="<?php echo inLink('batchClose', "from=storyBatchClose")?>">
<table class='table table-fixed table-form table-hover'>
<thead>
<tr>
<th class='w-30px'> <?php echo $lang->idAB;?></th>
<th> <?php echo $lang->story->title;?></th>
@@ -22,42 +30,44 @@
<th class='w-120px'><?php echo $lang->story->closedReason;?></th>
<th class='w-p30 '> <?php echo $lang->story->comment;?></th>
</tr>
</thead>
<?php foreach($storyIDList as $storyID):?>
<tr class='text-center'>
<td><?php echo $storyID . html::hidden("storyIDList[$storyID]", $storyID);?></td>
<td class='text-left'><?php echo $stories[$storyID]->title;?></td>
<td><?php echo $lang->story->statusList[$stories[$storyID]->status];?></td>
<td class='story-<?php echo $stories[$storyID]->status;?>'><?php echo $lang->story->statusList[$stories[$storyID]->status];?></td>
<?php if($stories[$storyID]->status != 'closed'):?>
<td>
<div class='f-left'>
<?php
if($stories[$storyID]->status == 'draft') unset($this->lang->story->reasonList['cancel']);
echo html::select("closedReasons[$storyID]", $lang->story->reasonList, 'done', "class=w-70px onchange=setDuplicateAndChild(this.value,$storyID)");
?>
</div>
<div class='f-left' id='<?php echo 'duplicateStoryBox' . $storyID;?>' <?php if($stories[$storyID]->closedReason != 'duplicate') echo "style='display:none'";?>>
<?php echo html::input("duplicateStoryIDList[$storyID]", '', "class=w-30px placeholder='{$lang->idAB}'");?>
</div>
<div class='f-left' id='<?php echo 'childStoryBox' . $storyID;?>' <?php if($stories[$storyID]->closedReason != 'subdivided') echo "style='display:none'";?>>
<?php echo html::input("childStoriesIDList[$storyID]", '', "class=w-30px placeholder='{$lang->idAB}'");?>
</div>
<?php if($stories[$storyID]->status == 'draft') unset($this->lang->story->reasonList['cancel']);?>
<table class='w-p100'>
<tr>
<td class='pd-0'>
<?php echo html::select("closedReasons[$storyID]", $lang->story->reasonList, 'done', "class=form-control onchange=setDuplicateAndChild(this.value,$storyID) style='min-width: 70px'");?>
</td>
<td class='pd-0' id='<?php echo 'duplicateStoryBox' . $storyID;?>' <?php if($stories[$storyID]->closedReason != 'duplicate') echo "style='display:none'";?>>
<?php echo html::input("duplicateStoryIDList[$storyID]", '', "class=form-control placeholder='{$lang->idAB}'");?>
</td>
<td class='pd-0' id='<?php echo 'childStoryBox' . $storyID;?>' <?php if($stories[$storyID]->closedReason != 'subdivided') echo "style='display:none'";?>>
<?php echo html::input("childStoriesIDList[$storyID]", '', "class=form-control placeholder='{$lang->idAB}'");?>
</td>
</tr>
</table>
</td>
<td><?php echo html::input("comments[$storyID]", '', "class='area-1'");?></td>
<td><?php echo html::input("comments[$storyID]", '', "class='form-control'");?></td>
<?php else:?>
<td>
<div class='f-left'>
<?php echo html::select("closedReasons[$storyID]", $lang->story->reasonList, $stories[$storyID]->closedReason, 'class="w-70px" disabled="disabled"');?>
<div class='text-left'>
<?php echo html::select("closedReasons[$storyID]", $lang->story->reasonList, $stories[$storyID]->closedReason, 'disabled="disabled" class="form-control"');?>
</div>
</td>
<td><?php echo html::input("comments[$storyID]", '', "class='area-1' disabled='disabled'");?></td>
<td><?php echo html::input("comments[$storyID]", '', "class='form-control' disabled='disabled'");?></td>
<?php endif;?>
</tr>
<?php endforeach;?>
<?php if(isset($suhosinInfo)):?>
<tr><td colspan='5'><div class='f-left blue'><?php echo $suhosinInfo;?></div></td></tr>
<tr><td colspan='5'><div class='text-left blue'><?php echo $suhosinInfo;?></div></td></tr>
<?php endif;?>
<tr><td colspan='5' class='text-center'><?php echo html::submitButton();?></td></tr>
</table>
+1 -1
View File
@@ -12,7 +12,7 @@
?>
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<h3><?php echo $lang->story->close . $lang->colon . $story->title;?></h3>
<table class='table-1'>
<tr>
+2 -2
View File
@@ -13,8 +13,8 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<h3><?php echo $lang->story->review . $lang->colon . $story->title?></h3>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<tr>
<td class='w-70px'><?php echo $lang->story->reviewedDate;?></td>
<td><?php echo html::input('reviewedDate', helper::today());?></td>
+14 -12
View File
@@ -169,13 +169,14 @@ class task extends control
$position[] = $this->lang->task->common;
$position[] = $this->lang->task->batchCreate;
$this->view->title = $title;
$this->view->position = $position;
$this->view->project = $project;
$this->view->stories = $stories;
$this->view->modules = $modules;
$this->view->storyID = $storyID;
$this->view->members = $members;
$this->view->title = $title;
$this->view->position = $position;
$this->view->project = $project;
$this->view->projectName = $project->name;
$this->view->stories = $stories;
$this->view->modules = $modules;
$this->view->storyID = $storyID;
$this->view->members = $members;
$this->display();
}
@@ -340,11 +341,12 @@ class task extends control
if($showSuhosinInfo) $this->view->suhosinInfo = $this->lang->suhosinInfo;
/* Assign. */
$this->view->position[] = $this->lang->task->common;
$this->view->position[] = $this->lang->task->batchEdit;
$this->view->projectID = $projectID;
$this->view->taskIDList = $taskIDList;
$this->view->tasks = $tasks;
$this->view->position[] = $this->lang->task->common;
$this->view->position[] = $this->lang->task->batchEdit;
$this->view->projectID = $projectID;
$this->view->taskIDList = $taskIDList;
$this->view->tasks = $tasks;
$this->view->projectName = $project->name;
$this->display();
}
+1 -3
View File
@@ -1,3 +1 @@
textarea {height:16px}
.icon-green-same:before {content: "\f105";}
.sameAsStory{float:right;}
.chosen-container-single .chosen-drop {min-width: 300px; border-top: 1px solid #ddd!important}
+1 -1
View File
@@ -1,5 +1,5 @@
$(function() {
for(i=0; i<batchCreateNum; i++) $("#story" + i).chosen({no_results_text: noResultsMatch});
for(i=0; i<batchCreateNum; i++) $("#story" + i).chosen(defaultChosenOptions);
})
/* Copy story title as task title. */
+5 -5
View File
@@ -12,19 +12,19 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<caption><?php echo $task->name;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->task->assignedTo;?></th>
<th><?php echo $lang->task->assignedTo;?></th>
<td><?php echo html::select('assignedTo', $members, $task->finishedBy, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->left;?></th>
<th><?php echo $lang->task->left;?></th>
<td><?php echo html::input('left', '', "class='form-control'") . $lang->task->hour;?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='w-p98'");?></td>
</tr>
<tr>
+39 -24
View File
@@ -13,20 +13,28 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/chosen.html.php';?>
<?php js::set('batchCreateNum', $config->task->batchCreate);?>
<form method='post' target='hiddenwin'>
<table class='table-1 fixed'>
<caption><?php echo $lang->task->project . $lang->colon . $lang->task->batchCreate;?></caption>
<tr>
<th class='w-20px'><?php echo $lang->idAB;?></th>
<th><?php echo $lang->task->story;?></th>
<th class='red'><?php echo $lang->task->name;?></th>
<th class='w-60px red'><?php echo $lang->typeAB;?></th>
<th class='w-80px'><?php echo $lang->task->module?></th>
<th class='w-80px'><?php echo $lang->task->assignedTo;?></th>
<th class='w-50px'><?php echo $lang->task->estimateAB;?></th>
<th class='w-200px'><?php echo $lang->task->desc;?></th>
<th class='w-50px'><?php echo $lang->task->pri;?></th>
</tr>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['task']);?></span>
<strong><small class='text-muted'><?php echo html::icon($lang->icons['batchCreate']);?></small> <?php echo $lang->task->common . $lang->colon . $lang->task->batchCreate;?></strong>
<small class='text-muted'><?php echo html::icon($lang->icons['project']) . ' ' . $lang->task->project . $lang->colon . ' ' . $projectName;?></small>
</div>
</div>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-fixed table-form'>
<thead>
<tr class='text-center'>
<th class='w-30px'><?php echo $lang->idAB;?></th>
<th><?php echo $lang->task->story;?></th>
<th class='required'><?php echo $lang->task->name;?></th>
<th class='w-70px required'><?php echo $lang->typeAB;?></th>
<th class='w-80px'><?php echo $lang->task->module?></th>
<th class='w-80px'><?php echo $lang->task->assignedTo;?></th>
<th class='w-50px'><?php echo $lang->task->estimateAB;?></th>
<th class='w-p20'><?php echo $lang->task->desc;?></th>
<th class='w-70px'><?php echo $lang->task->pri;?></th>
</tr>
</thead>
<?php
$stories['ditto'] = $this->lang->task->ditto;
@@ -49,20 +57,27 @@
}
?>
<?php $pri = 3;?>
<tr class='text-center'>
<td><?php echo $i+1;?></td>
<td class='text-left' style='overflow:visible'>
<?php
echo html::select("story[$i]", $stories, $story, "class='select-1'");
echo html::a("javascript:copyStoryTitle($i)", "<i class='icon-green-same'></i>", '', "class='sameAsStory' title='{$lang->task->copyStoryTitle}'");
?>
<tr>
<td class='text-center'><?php echo $i+1;?></td>
<td style='overflow: visible'>
<?php echo html::select("story[$i]", $stories, $story, "class='form-control'");?>
</td>
<td>
<div class='input-group'>
<span class='input-group-btn'>
<a href='javascript:copyStoryTitle(<?php echo $i;?>)' class='btn' title='<?php echo $lang->task->copyStoryTitle; ?>'><i class='icon-double-angle-right'></i></a>
</span>
<?php echo html::input("name[$i]", '', 'class=form-control');?>
</div>
</td>
<td><?php echo html::input("name[$i]", '', 'class=form-control');?></td>
<td><?php echo html::select("type[$i]", $lang->task->typeList, $type, 'class=form-control');?></td>
<td><?php echo html::select("module[$i]", $modules, $module, 'class=form-control')?></td>
<td><?php echo html::select("assignedTo[$i]", $members, $member, 'class=form-control');?></td>
<td><?php echo html::input("estimate[$i]", '', 'class=form-control');?></td>
<td><?php echo html::textarea("desc[$i]", '', "rows='1' class=text-1");?></td>
<td><?php echo html::input("estimate[$i]", '', 'class=form-control text-center');?></td>
<td>
<div class='form-control' contenteditable='true' data-sync-target='#desc\[<?php echo $i;?>\]'></div>
<?php echo html::textarea("desc[$i]", '', "rows='1' class='form-control hidden'");?>
</td>
<td><?php echo html::select("pri[$i]", (array)$lang->task->priList, $pri, 'class=form-control');?></td>
</tr>
<?php endfor;?>
+30 -21
View File
@@ -11,24 +11,33 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<form method='post' target='hiddenwin' action="<?php echo inLink('batchEdit', "projectID={$projectID}")?>">
<table class='table-1 fixed'>
<caption><?php echo $lang->task->common . $lang->colon . $lang->task->batchEdit;?></caption>
<tr>
<th class='w-30px'><?php echo $lang->idAB;?></th>
<th class='red'> <?php echo $lang->task->name?></th>
<th class='w-150px'><?php echo $lang->task->module?></th>
<th class='w-80px'><?php echo $lang->task->assignedTo;?></th>
<th class='w-60px red'><?php echo $lang->typeAB;?></th>
<th class='w-70px'><?php echo $lang->task->status;?></th>
<th class='w-50px'><?php echo $lang->task->pri;?></th>
<th class='w-30px red'><?php echo $lang->task->estimateAB;?></th>
<th class='w-60px red'><?php echo $lang->task->consumedThisTime?></th>
<th class='w-30px red'><?php echo $lang->task->leftAB?></th>
<th class='w-80px'><?php echo $lang->task->finishedBy;?></th>
<th class='w-80px'><?php echo $lang->task->closedBy;?></th>
<th class='w-80px'><?php echo $lang->task->closedReason;?></th>
</tr>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php echo html::icon($lang->icons['task']);?></span>
<strong><small class='text-muted'><?php echo html::icon($lang->icons['batchEdit']);?></small> <?php echo $lang->task->common . $lang->colon . $lang->task->batchEdit;?></strong>
<small class='text-muted'><?php echo html::icon($lang->icons['project']) . ' ' . $lang->task->project . $lang->colon . ' ' . $projectName;?></small>
</div>
</div>
<form class='form-condensed' method='post' target='hiddenwin' action="<?php echo inLink('batchEdit', "projectID={$projectID}")?>">
<table class='table table-fixed table-form'>
<thead>
<tr>
<th class='w-30px'><?php echo $lang->idAB;?></th>
<th class='required'> <?php echo $lang->task->name?></th>
<th class='w-150px'><?php echo $lang->task->module?></th>
<th class='w-80px'><?php echo $lang->task->assignedTo;?></th>
<th class='w-70px required'><?php echo $lang->typeAB;?></th>
<th class='w-80px'><?php echo $lang->task->status;?></th>
<th class='w-60px'><?php echo $lang->task->pri;?></th>
<th class='w-40px required'><?php echo $lang->task->estimateAB;?></th>
<th class='w-60px required'><?php echo $lang->task->consumedThisTime?></th>
<th class='w-40px required'><?php echo $lang->task->leftAB?></th>
<th class='w-90px'><?php echo $lang->task->finishedBy;?></th>
<th class='w-90px'><?php echo $lang->task->closedBy;?></th>
<th class='w-90px'><?php echo $lang->task->closedReason;?></th>
</tr>
</thead>
<?php foreach($taskIDList as $taskID):?>
<?php
if(!isset($project))
@@ -45,9 +54,9 @@
<td><?php echo html::select("types[$taskID]", $lang->task->typeList, $tasks[$taskID]->type, 'class=form-control');?></td>
<td><?php echo html::select("statuses[$taskID]", $lang->task->statusList, $tasks[$taskID]->status, 'class=form-control');?></td>
<td><?php echo html::select("pris[$taskID]", (array)$lang->task->priList, $tasks[$taskID]->pri, 'class=form-control');?></td>
<td><?php echo html::input("estimates[$taskID]", $tasks[$taskID]->estimate, "class='text-1 a-center'");?></td>
<td><?php echo html::input("consumeds[$taskID]", '', "class='text-1 a-center'");?></td>
<td><?php echo html::input("lefts[$taskID]", $tasks[$taskID]->left, "class='text-1 a-center'");?></td>
<td><?php echo html::input("estimates[$taskID]", $tasks[$taskID]->estimate, "class='form-control text-center'");?></td>
<td><?php echo html::input("consumeds[$taskID]", '', "class='form-control text-center'");?></td>
<td><?php echo html::input("lefts[$taskID]", $tasks[$taskID]->left, "class='form-control text-center'");?></td>
<td><?php echo html::select("finishedBys[$taskID]", $members, $tasks[$taskID]->finishedBy, 'class=form-control');?></td>
<td><?php echo html::select("closedBys[$taskID]", $members, $tasks[$taskID]->closedBy, 'class=form-control');?></td>
<td><?php echo html::select("closedReasons[$taskID]", $lang->task->reasonList, $tasks[$taskID]->closedReason, 'class=form-control');?></td>
+2 -2
View File
@@ -36,11 +36,11 @@
</div>
<fieldset>
<legend><?php echo $lang->task->desc;?></legend>
<?php echo html::textarea('desc', $task->desc, "rows='8' class='area-1'");?>
<?php echo html::textarea('desc', $task->desc, "rows='8' class='form-control'");?>
</fieldset>
<fieldset>
<legend><?php echo $lang->comment;?></legend>
<?php echo html::textarea('comment', '', "rows='5' class='area-1'");?>
<?php echo html::textarea('comment', '', "rows='5' class='form-control'");?>
</fieldset>
<fieldset>
<legend><?php echo $lang->files;?></legend>
+4 -4
View File
@@ -17,19 +17,19 @@
<table class='table-1 a-left'>
<caption><?php echo $lang->task->editEstimate;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->task->date;?></th>
<th><?php echo $lang->task->date;?></th>
<td><?php echo html::input('date', $estimate->date, 'class="select-3 date"');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->record;?></th>
<th><?php echo $lang->task->record;?></th>
<td><?php echo html::input('consumed', $estimate->consumed, 'class="select-3"');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->task->left;?></th>
<th><?php echo $lang->task->left;?></th>
<td><?php echo html::input('left', $estimate->left, 'class="select-3"');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->comment;?></th>
<th><?php echo $lang->comment;?></th>
<td><?php echo html::textarea('work', $estimate->work, "class=text-5");?></td>
</tr>
<tr>
+1 -1
View File
@@ -1,6 +1,6 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<h3><?php echo $lang->task->assignTo . $this->lang->colon . $task->name;?></h3>
<table class='table-1'>
<tr>
+1 -1
View File
@@ -1,6 +1,6 @@
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<h3><?php echo $lang->task->recordEstimate . $this->lang->colon . $task->name;?></h3>
<?php
$allConsumed = 0;
+1 -1
View File
@@ -29,7 +29,7 @@
<td><?php echo $caseID . html::hidden("caseIDList[$caseID]", $caseID);?></td>
<td><?php echo html::select("pris[$caseID]", $lang->testcase->priList, $cases[$caseID]->pri, 'class=form-control');?></td>
<td><?php echo html::select("statuses[$caseID]", (array)$lang->testcase->statusList, $cases[$caseID]->status, 'class=form-control');?></td>
<td><?php echo html::select("modules[$caseID]", $moduleOptionMenu, $cases[$caseID]->module, "class='select-1'");?></span></td>
<td><?php echo html::select("modules[$caseID]", $moduleOptionMenu, $cases[$caseID]->module, "class='form-control'");?></span></td>
<td><?php echo html::input("titles[$caseID]", $cases[$caseID]->title, 'class=form-control'); echo "<span class='star'>*</span>";?></td>
<td><?php echo html::select("types[$caseID]", $lang->testcase->typeList, $cases[$caseID]->type, 'class=form-control');?></td>
<td class='text-left' style='overflow:visible'><?php echo html::select("stages[$caseID][]", $lang->testcase->stageList, $cases[$caseID]->stage, "class='select-1 chosen' multiple data-placeholder='{$lang->testcase->stage}'");?></td>
+10 -10
View File
@@ -20,7 +20,7 @@
<table class='table-1'>
<caption><?php echo $lang->testcase->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->testcase->lblProductAndModule;?></th>
<th><?php echo $lang->testcase->lblProductAndModule;?></th>
<td>
<?php echo html::select('product', $products, $productID, "onchange=loadAll(this.value); class='form-control'");?>
<span id='moduleIdBox'>
@@ -36,19 +36,19 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->type;?></th>
<th><?php echo $lang->testcase->type;?></th>
<td><?php echo html::select('type', $lang->testcase->typeList, $type, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->stage;?></th>
<th><?php echo $lang->testcase->stage;?></th>
<td><?php echo html::select('stage[]', $lang->testcase->stageList, $stage, "class='form-control' multiple='multiple'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->pri;?></th>
<th><?php echo $lang->testcase->pri;?></th>
<td><?php echo html::select('pri', $lang->testcase->priList, $pri, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->lblStory;?></th>
<th><?php echo $lang->testcase->lblStory;?></th>
<td>
<div id='storyIdBox'><?php echo html::select('story', $stories, $storyID, 'class="form-control" onchange=setPreview();');?>
<?php if($storyID == 0): ?>
@@ -60,15 +60,15 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->title;?></th>
<th><?php echo $lang->testcase->title;?></th>
<td><?php echo html::input('title', $caseTitle, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->precondition;?></th>
<th><?php echo $lang->testcase->precondition;?></th>
<td><?php echo html::textarea('precondition', $precondition, " rows='4' class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->steps;?></th>
<th><?php echo $lang->testcase->steps;?></th>
<td>
<table class='w-p90'>
<tr class='colhead'>
@@ -97,11 +97,11 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->keywords;?></th>
<th><?php echo $lang->testcase->keywords;?></th>
<td><?php echo html::input('keywords', $keywords, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->files;?></th>
<th><?php echo $lang->testcase->files;?></th>
<td><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
<tr>
+10 -10
View File
@@ -59,7 +59,7 @@
<fieldset>
<legend><?php echo $lang->testcase->legendComment;?></legend>
<?php echo html::textarea('comment', '', "rows='5' class='area-1'");?>
<?php echo html::textarea('comment', '', "rows='5' class='form-control'");?>
</fieldset>
<fieldset>
<legend><?php echo $lang->testcase->legendAttatch;?></legend>
@@ -84,36 +84,36 @@
<td><?php echo html::select('product', $products, $productID, "onchange=loadAll(this.value); class='select-1'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->testcase->module;?></td>
<td><?php echo $lang->testcase->module;?></td>
<td><span id='moduleIdBox'><?php echo html::select('module', $moduleOptionMenu, $currentModuleID, "onchange='loadModuleRelated()' class='select-1'");?></span></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->testcase->story;?></td>
<td><?php echo $lang->testcase->story;?></td>
<td class='text-left'><div id='storyIdBox'><?php echo html::select('story', $stories, $case->story, 'class=form-control');?></div>
</td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->testcase->type;?></td>
<td><?php echo $lang->testcase->type;?></td>
<td><?php echo html::select('type', (array)$lang->testcase->typeList, $case->type, 'class=form-control');?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testcase->stage;?></th>
<th><?php echo $lang->testcase->stage;?></th>
<td><?php echo html::select('stage[]', $lang->testcase->stageList, $case->stage, "class='select-1' multiple='multiple'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->testcase->pri;?></td>
<td><?php echo $lang->testcase->pri;?></td>
<td><?php echo html::select('pri', (array)$lang->testcase->priList, $case->pri, 'class=form-control');?>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->testcase->status;?></td>
<td><?php echo $lang->testcase->status;?></td>
<td><?php echo html::select('status', (array)$lang->testcase->statusList, $case->status, 'class=form-control');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->testcase->keywords;?></td>
<td><?php echo $lang->testcase->keywords;?></td>
<td><?php echo html::input('keywords', $case->keywords, 'class=form-control');?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->testcase->linkCase;?></td>
<td><?php echo $lang->testcase->linkCase;?></td>
<td><?php echo html::input('linkCase', $case->linkCase, 'class=form-control');?></td>
</tr>
</table>
@@ -125,7 +125,7 @@
<td class='rowhead w-p20'><?php echo $lang->testcase->openedBy;?></td>
<td><?php echo $users[$case->openedBy] . $lang->at . $case->openedDate;?></td>
<tr>
<td class='rowhead'><?php echo $lang->testcase->lblLastEdited;?></td>
<td><?php echo $lang->testcase->lblLastEdited;?></td>
<td><?php if($case->lastEditedBy) echo $users[$case->lastEditedBy] . $lang->at . $case->lastEditedDate;?></td>
</tr>
</table>
+7 -7
View File
@@ -132,7 +132,7 @@
</td>
</tr>
<tr class='nofixed'>
<td class='rowhead'><?php echo $lang->testcase->story;?></td>
<td><?php echo $lang->testcase->story;?></td>
<td>
<?php
if(isset($case->storyTitle)) echo html::a($this->createLink('story', 'view', "storyID=$case->story"), "#$case->story:$case->storyTitle");
@@ -166,11 +166,11 @@
</td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->testcase->pri;?></td>
<td><?php echo $lang->testcase->pri;?></td>
<td><?php echo $case->pri;?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->testcase->status;?></td>
<td><?php echo $lang->testcase->status;?></td>
<td>
<?php
echo $lang->testcase->statusList[$case->status];
@@ -184,19 +184,19 @@
</td>
</tr>
<tr>
<td class='rowhead'><?php echo $this->app->loadLang('testtask')->testtask->lastRunTime;?></td>
<td><?php echo $this->app->loadLang('testtask')->testtask->lastRunTime;?></td>
<td><?php if(!helper::isZeroDate($case->lastRunDate)) echo $case->lastRunDate;?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $this->app->loadLang('testtask')->testtask->lastRunResult;?></td>
<td><?php echo $this->app->loadLang('testtask')->testtask->lastRunResult;?></td>
<td><?php if($case->lastRunResult) echo $lang->testcase->resultList[$case->lastRunResult];?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->testcase->keywords;?></td>
<td><?php echo $lang->testcase->keywords;?></td>
<td><?php echo $case->keywords;?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->testcase->linkCase;?></td>
<td><?php echo $lang->testcase->linkCase;?></td>
<td>
<?php
if(isset($case->linkCaseTitles))
+2 -2
View File
@@ -18,8 +18,8 @@ table .table-1{border:0px; margin:0px;}
table .table-1 td{border:0px;}
</style>
<?php $this->app->loadLang('testcase'); unset($this->lang->testcase->resultList['n/a']); ?>
<form method='post' target='hiddenwin'>
<table class='table-1 fixed'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-fixed table-form'>
<caption><?php echo $lang->testtask->common . $lang->colon . $lang->testtask->batchRun;?></caption>
<tr>
<th class='w-id'> <?php echo $lang->idAB;?></th>
+6 -6
View File
@@ -13,16 +13,16 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<caption><?php echo $testtask->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->testtask->report;?></td>
<td><?php echo html::textarea('report', '', "rows='6' class='area-1'");?></td>
<td><?php echo $lang->testtask->report;?></td>
<td><?php echo html::textarea('report', '', "rows='6' class='form-control'");?></td>
</tr>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
<td><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList); ?></td>
+15 -15
View File
@@ -13,12 +13,12 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin' id='dataform'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table class='table table-form'>
<caption><?php echo $lang->testtask->create;?></caption>
<?php if(isset($projectID)):?>
<tr>
<th class='rowhead'><?php echo $lang->testtask->product;?></th>
<th><?php echo $lang->testtask->product;?></th>
<td><?php echo html::select('product', $products, '', "class='form-control'");?></td>
</tr>
<?php else:?>
@@ -28,40 +28,40 @@
</tr>
<?php endif;?>
<tr>
<th class='rowhead'><?php echo $lang->testtask->project;?></th>
<th><?php echo $lang->testtask->project;?></th>
<td><?php echo html::select('project', $projects, '', 'class=select-3 onchange=loadProjectRelated(this.value)');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->build;?></th>
<th><?php echo $lang->testtask->build;?></th>
<td><span id='buildBox'><?php echo html::select('build', $builds, '', "class='form-control'");?></span></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->owner;?></th>
<th><?php echo $lang->testtask->owner;?></th>
<td><?php echo html::select('owner', $users, '', "class='form-control chosen'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->pri;?></th>
<th><?php echo $lang->testtask->pri;?></th>
<td><?php echo html::select('pri', $lang->testtask->priList, 0, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->begin;?></th>
<td><?php echo html::input('begin', '', "class='text-3 date'");?></td>
<th><?php echo $lang->testtask->begin;?></th>
<td><?php echo html::input('begin', '', "class='form-control form-date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->end;?></th>
<td><?php echo html::input('end', '', "class='text-3 date'");?></td>
<th><?php echo $lang->testtask->end;?></th>
<td><?php echo html::input('end', '', "class='form-control form-date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->status;?></th>
<th><?php echo $lang->testtask->status;?></th>
<td><?php echo html::select('status', $lang->testtask->statusList, '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->name;?></th>
<th><?php echo $lang->testtask->name;?></th>
<td><?php echo html::input('name', '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows=10 class='area-1'");?></td>
<th><?php echo $lang->testtask->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows=10 class='form-control'");?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::backButton();?> </td>
+16 -16
View File
@@ -13,48 +13,48 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin' id='dataform'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table class='table table-form'>
<caption><?php echo $lang->testtask->edit;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->testtask->project;?></th>
<th><?php echo $lang->testtask->project;?></th>
<td><?php echo html::select('project', $projects, $task->project, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->build;?></th>
<th><?php echo $lang->testtask->build;?></th>
<td><?php echo html::select('build', $builds, $task->build, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->owner;?></th>
<th><?php echo $lang->testtask->owner;?></th>
<td><?php echo html::select('owner', $users, $task->owner, "class='form-control chosen'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->pri;?></th>
<th><?php echo $lang->testtask->pri;?></th>
<td><?php echo html::select('pri', $lang->testtask->priList, $task->pri, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->begin;?></th>
<td><?php echo html::input('begin', $task->begin, "class='text-3 date'");?></td>
<th><?php echo $lang->testtask->begin;?></th>
<td><?php echo html::input('begin', $task->begin, "class='form-control form-date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->end;?></th>
<td><?php echo html::input('end', $task->end, "class='text-3 date'");?></td>
<th><?php echo $lang->testtask->end;?></th>
<td><?php echo html::input('end', $task->end, "class='form-control form-date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->status;?></th>
<th><?php echo $lang->testtask->status;?></th>
<td><?php echo html::select('status', $lang->testtask->statusList, $task->status, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->name;?></th>
<th><?php echo $lang->testtask->name;?></th>
<td><?php echo html::input('name', $task->name, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->desc;?></th>
<td><?php echo html::textarea('desc', $task->desc, "rows=10 class='area-1'");?></td>
<th><?php echo $lang->testtask->desc;?></th>
<td><?php echo html::textarea('desc', $task->desc, "rows=10 class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->report;?></th>
<td><?php echo html::textarea('report', $task->report, "rows=10 class='area-1'");?></td>
<th><?php echo $lang->testtask->report;?></th>
<td><?php echo html::textarea('report', $task->report, "rows=10 class='form-control'");?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::backButton();?> </td>
+1 -1
View File
@@ -31,7 +31,7 @@
<td><?php echo nl2br($step->desc);?></td>
<td><?php echo nl2br($step->expect);?></td>
<td class='text-center'><?php echo html::select("steps[$step->id]", $lang->testcase->resultList, $defaultResult);?></td>
<td><?php echo html::textarea("reals[$step->id]", '', "rows=2 class='area-1'");?></td>
<td><?php echo html::textarea("reals[$step->id]", '', "rows=2 class='form-control'");?></td>
</tr>
<?php endforeach;?>
<tr class='text-center'>
+4 -4
View File
@@ -13,12 +13,12 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table table-form'>
<caption><?php echo $testtask->name;?></caption>
<tr>
<td class='rowhead'><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='area-1'");?></td>
<td><?php echo $lang->comment;?></td>
<td><?php echo html::textarea('comment', '', "rows='6' class='form-control'");?></td>
</tr>
<tr>
<td colspan='2' class='text-center'><?php echo html::submitButton() . html::linkButton($lang->goback, $this->session->taskList); ?></td>
+8 -8
View File
@@ -60,35 +60,35 @@
<legend><?php echo $lang->testtask->legendBasicInfo;?></legend>
<table class='table-1 a-left fixed'>
<tr>
<th class='rowhead'><?php echo $lang->testtask->project;?></th>
<th><?php echo $lang->testtask->project;?></th>
<td><?php echo html::a($this->createLink('project', 'story', "projectID=$task->project"), $task->projectName);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->build;?></th>
<th><?php echo $lang->testtask->build;?></th>
<td><?php $task->build == 'trunk' ? print('Trunk') : print(html::a($this->createLink('build', 'view', "buildID=$task->build"), $task->buildName));?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->owner;?></th>
<th><?php echo $lang->testtask->owner;?></th>
<td><?php echo $users[$task->owner];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->pri;?></th>
<th><?php echo $lang->testtask->pri;?></th>
<td><?php echo $task->pri;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->begin;?></th>
<th><?php echo $lang->testtask->begin;?></th>
<td><?php echo $task->begin;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->end;?></th>
<th><?php echo $lang->testtask->end;?></th>
<td><?php echo $task->end;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->status;?></th>
<th><?php echo $lang->testtask->status;?></th>
<td><?php echo $lang->testtask->statusList[$task->status];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->testtask->report;?></th>
<th><?php echo $lang->testtask->report;?></th>
<td class='content'><?php echo $task->report;?></td>
</tr>
</table>
+1 -1
View File
@@ -12,7 +12,7 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table class='table-1' >
<caption> <?php echo $lang->todo->batchCreate . $lang->colon . html::input('date', $date, "class='select-2 date' onchange='updateAction(this.value)'");?>
<input type='checkbox' id='switchDate' onclick='switchDateTodo(this);'> <?php echo $lang->todo->periods['future'];?></caption>
+1 -1
View File
@@ -51,7 +51,7 @@
</div>
</td>
<td><?php echo html::select("begins[$todo->id]", $times, $todo->begin) . html::select("ends[$todo->id]", $times, $todo->end);?></td>
<td><?php echo html::select("status[$todo->id]", $lang->todo->statusList, $todo->status, "class='select-1'");?></td>
<td><?php echo html::select("status[$todo->id]", $lang->todo->statusList, $todo->status, "class='form-control'");?></td>
</tr>
<?php endforeach;?>
<?php if(isset($suhosinInfo)):?>
+11 -11
View File
@@ -13,46 +13,46 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin' id='dataform'>
<table class='table-1'>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table class='table table-form'>
<caption><?php echo $lang->todo->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->todo->date;?></th>
<th><?php echo $lang->todo->date;?></th>
<td><?php echo html::input('date', $date, "class='select-3 date'");?>
<input type='checkbox' id='switchDate' onclick='switchDateTodo(this);'> <?php echo $lang->todo->periods['future'];?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->type;?></th>
<th><?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>
<th><?php echo $lang->todo->pri;?></th>
<td><?php echo html::select('pri', $lang->todo->priList, '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->name;?></th>
<th><?php echo $lang->todo->name;?></th>
<td>
<div id='nameBox' class='hidden'><?php echo html::input('name', '', 'class=form-control');?></div>
<div class='nameBox'><?php echo html::input('name', '', 'class=form-control');?></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>
<th><?php echo $lang->todo->desc;?></th>
<td><?php echo html::textarea('desc', '', "rows='8' class='form-control'");?></textarea>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->status;?></th>
<th><?php echo $lang->todo->status;?></th>
<td><?php echo html::select('status', $lang->todo->statusList, '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->beginAndEnd;?></th>
<th><?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>
<th><?php echo $lang->todo->private;?></th>
<td><input type='checkbox' name='private' id='private' value='1'></td>
</tr>
<tr>
+9 -9
View File
@@ -13,24 +13,24 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<?php include '../../common/view/kindeditor.html.php';?>
<form method='post' target='hiddenwin' id='dataform'>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table class='table-1 a-left'>
<caption><?php echo $lang->todo->edit;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->todo->date;?></th>
<th><?php echo $lang->todo->date;?></th>
<td><?php echo html::input('date', $todo->date, "class='select-3 date'");?>
<input type='checkbox' id='switchDate' onclick='switchDateTodo(this);'> <?php echo $lang->todo->periods['future'];?> </td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->type;?></th>
<th><?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>
<th><?php echo $lang->todo->pri;?></th>
<td><?php echo html::select('pri', $lang->todo->priList, $todo->pri, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->name;?></th>
<th><?php echo $lang->todo->name;?></th>
<td><div id='nameBox'>
<?php
$readType = $todo->type != 'custom' ? 'readonly' : '';
@@ -40,22 +40,22 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->desc;?></th>
<th><?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>
<th><?php echo $lang->todo->status;?></th>
<td><?php echo html::select('status', $lang->todo->statusList, $todo->status, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->beginAndEnd;?></th>
<th><?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>
<th><?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>
+1 -1
View File
@@ -12,7 +12,7 @@
?>
<?php include '../../common/view/m.header.html.php';?>
</div>
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<?php
echo html::hidden("date", date('Y-m-d'));
for($i = 1; $i <= 5; $i++)
+8 -8
View File
@@ -15,23 +15,23 @@
<table class='table-1 a-left'>
<caption><?php echo $lang->todo->common . ' #' . $todo->id . ' ' . $todo->name;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->todo->account;?></th>
<th><?php echo $lang->todo->account;?></th>
<td><?php echo $todo->account;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->date;?></th>
<th><?php echo $lang->todo->date;?></th>
<td><?php echo $todo->date == '20300101' ? $lang->todo->periods['future'] : date(DT_DATE1, strtotime($todo->date));?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->type;?></th>
<th><?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>
<th><?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>
<th><?php echo $lang->todo->name;?></th>
<td>
<?php
if($todo->type == 'bug') echo html::a($this->createLink('bug', 'view', "id={$todo->idvalue}"), $todo->name);
@@ -41,15 +41,15 @@
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->todo->desc;?></th>
<th><?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>
<th><?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>
<th><?php echo $lang->todo->beginAndEnd;?></th>
<td>
<?php
if(isset($times[$todo->begin])) echo $times[$todo->begin];
+5 -5
View File
@@ -16,17 +16,17 @@
<caption><?php echo $lang->tree->edit;?></caption>
<?php $hidden = ($type != 'story' and $module->type == 'story');?>
<tr <?php if($hidden) echo "style='display:none'";?>>
<th class='rowhead'><?php echo $lang->tree->parent;?></th>
<td><?php echo html::select('parent', $optionMenu, $module->parent, "class='select-1'");?></td>
<th><?php echo $lang->tree->parent;?></th>
<td><?php echo html::select('parent', $optionMenu, $module->parent, "class='form-control'");?></td>
</tr>
<tr <?php if($hidden) echo "style='display:none'";?>>
<th class='rowhead'><?php echo $lang->tree->name;?></th>
<th><?php echo $lang->tree->name;?></th>
<td><?php echo html::input('name', $module->name, "class='form-control'");?></td>
</tr>
<?php if($type == 'bug'):?>
<tr>
<th class='rowhead'><?php echo $lang->tree->owner;?></th>
<td><?php echo html::select('owner', $users, $module->owner, "class='select-1'", true);?></td>
<th><?php echo $lang->tree->owner;?></th>
<td><?php echo html::select('owner', $users, $module->owner, "class='form-control'", true);?></td>
</tr>
<?php endif;?>
<tr>
+1 -1
View File
@@ -16,7 +16,7 @@
<table align='center' class='table-6 f-14px'>
<caption><?php echo $lang->upgrade->confirm;?></caption>
<tr>
<td class='text-center'><textarea rows='20' class='area-1'><?php echo $confirm;?></textarea></td>
<td class='text-center'><textarea rows='20' class='form-control'><?php echo $confirm;?></textarea></td>
<tr>
<td class='text-center'><?php echo html::submitButton($lang->upgrade->sureExecute) . html::hidden('fromVersion', $fromVersion);?></td>
</tr>
+3 -3
View File
@@ -13,7 +13,7 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/chosen.html.php';?>
<?php js::set('roleGroup', $roleGroup);?>
<form method='post' target='hiddenwin' id='dataform'>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table class='table-1 fixed'>
<caption><?php echo $lang->user->batchCreate;?></caption>
<tr>
@@ -33,11 +33,11 @@
<?php for($i = 0; $i < $config->user->batchCreate; $i++):?>
<tr class='text-center'>
<td><?php echo $i+1;?></td>
<td><?php echo html::select("dept[$i]", $depts, $i > 0 ? 'ditto' : $deptID, "class='select-1'");?>
<td><?php echo html::select("dept[$i]", $depts, $i > 0 ? 'ditto' : $deptID, "class='form-control'");?>
<td><?php echo html::input("account[$i]", '', "class='text-1 account_$i' autocomplete='off' onchange='changeEmail($i)'");?></td>
<td><?php echo html::input("realname[$i]", '', "class='form-control'");?></td>
<td><?php echo html::select("role[$i]", $lang->user->roleList, $i > 0 ? 'ditto' : '', "class='select-1' onchange='changeGroup(this.value, $i)'");?></td>
<td><?php echo html::select("group[$i]", $groupList, $i > 0 ? 'ditto' : '', "class='select-1'");?></td>
<td><?php echo html::select("group[$i]", $groupList, $i > 0 ? 'ditto' : '', "class='form-control'");?></td>
<td><?php echo html::input("email[$i]", '', "class='text-1 email_$i' onchange='setDefaultEmail($i)'");?></td>
<td><?php echo html::radio("gender[$i]", (array)$lang->user->genderList, 'm');?></td>
<td align='left'>
+3 -3
View File
@@ -13,7 +13,7 @@
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/chosen.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<form method='post' target='hiddenwin' id='dataform'>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table class='table-1 fixed'>
<caption><?php echo $lang->user->batchEdit;?></caption>
<tr>
@@ -31,10 +31,10 @@
<?php foreach($users as $user):?>
<tr class='text-center'>
<td><?php echo $user->id;?></td>
<td><?php echo html::select("dept[$user->id]", $depts, empty($user->dept) ? 'ditto' : $user->dept, "class='select-1'");?>
<td><?php echo html::select("dept[$user->id]", $depts, empty($user->dept) ? 'ditto' : $user->dept, "class='form-control'");?>
<td><?php echo html::input("account[$user->id]", $user->account, "class='form-control' autocomplete='off'");?></td>
<td><?php echo html::input("realname[$user->id]", $user->realname, "class='form-control'");?></td>
<td><?php echo html::select("role[$user->id]", $lang->user->roleList, empty($user->role) ? 'ditto' : $user->role, "class='select-1'");?>
<td><?php echo html::select("role[$user->id]", $lang->user->roleList, empty($user->role) ? 'ditto' : $user->role, "class='form-control'");?>
<td><?php echo html::input("commiter[$user->id]", $user->commiter, "class='form-control'");?></td>
<td><?php echo html::input("email[$user->id]", $user->email, "class='form-control'");?></td>
<td><?php echo html::input("join[$user->id]", $user->join, "class='w-p70 date'");?></td>
+13 -13
View File
@@ -14,51 +14,51 @@
<?php include '../../common/view/datepicker.html.php';?>
<?php js::set('holders', $lang->user->placeholder);?>
<?php js::set('roleGroup', $roleGroup);?>
<form method='post' target='hiddenwin' id='dataform'>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table align='center' class='table-5'>
<caption><?php echo $lang->user->create;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->user->dept;?></th>
<th><?php echo $lang->user->dept;?></th>
<td><?php echo html::select('dept', $depts, $deptID, "class='form-control'");?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->account;?></th>
<th><?php echo $lang->user->account;?></th>
<td><?php echo html::input('account', '', "class='form-control' autocomplete='off'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->realname;?></th>
<th><?php echo $lang->user->realname;?></th>
<td><?php echo html::input('realname', '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->password;?></th>
<th><?php echo $lang->user->password;?></th>
<td><?php echo html::password('password1', '', "class='form-control' autocomplete='off'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->password2;?></th>
<th><?php echo $lang->user->password2;?></th>
<td><?php echo html::password('password2', '', "class='form-control' autocomplete='off'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->role;?></th>
<th><?php echo $lang->user->role;?></th>
<td><?php echo html::select('role', $lang->user->roleList, '', "class='form-control' onchange='changeGroup(this.value)'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->group;?></th>
<th><?php echo $lang->user->group;?></th>
<td><?php echo html::select('group', $groupList, '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->email;?></th>
<th><?php echo $lang->user->email;?></th>
<td><?php echo html::input('email', '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->commiter;?></th>
<th><?php echo $lang->user->commiter;?></th>
<td><?php echo html::input('commiter', '', "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->join;?></th>
<td><?php echo html::input('join', '', "class='text-3 date'");?></td>
<th><?php echo $lang->user->join;?></th>
<td><?php echo html::input('join', '', "class='form-control form-date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->gender;?></th>
<th><?php echo $lang->user->gender;?></th>
<td><?php echo html::radio('gender', (array)$lang->user->genderList, 'm');?></td>
</tr>
+22 -22
View File
@@ -12,87 +12,87 @@
?>
<?php include '../../common/view/header.html.php';?>
<?php include '../../common/view/datepicker.html.php';?>
<form method='post' target='hiddenwin' id='dataform'>
<form class='form-condensed' method='post' target='hiddenwin' id='dataform'>
<table align='center' class='table-5'>
<caption><?php echo $lang->user->edit;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->user->dept;?></th>
<th><?php echo $lang->user->dept;?></th>
<td><?php echo html::select('dept', $depts, $user->dept, "class='form-control'");?>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->account;?></th>
<th><?php echo $lang->user->account;?></th>
<td><?php echo html::input('account', $user->account, "class='form-control' autocomplete='off'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->realname;?></th>
<th><?php echo $lang->user->realname;?></th>
<td><?php echo html::input('realname', $user->realname, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->role;?></th>
<th><?php echo $lang->user->role;?></th>
<td><?php echo html::select('role', $lang->user->roleList, $user->role, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->group->priv;?></th>
<th><?php echo $lang->group->priv;?></th>
<td><?php echo html::select('groups[]', $groups, $userGroups, 'size=3 multiple=multiple class=select-3');?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->commiter;?></th>
<th><?php echo $lang->user->commiter;?></th>
<td><?php echo html::input('commiter', $user->commiter, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->email;?></th>
<th><?php echo $lang->user->email;?></th>
<td><?php echo html::input('email', $user->email, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->join;?></th>
<td><?php echo html::input('join', $user->join, "class='text-3 date'");?></td>
<th><?php echo $lang->user->join;?></th>
<td><?php echo html::input('join', $user->join, "class='form-control form-date'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->gender;?></th>
<th><?php echo $lang->user->gender;?></th>
<td><?php echo html::radio('gender', (array)$lang->user->genderList, $user->gender);?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->password;?></th>
<th><?php echo $lang->user->password;?></th>
<td><?php echo html::password('password1', '', "class='form-control' autocomplete='off'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->password2;?></th>
<th><?php echo $lang->user->password2;?></th>
<td><?php echo html::password('password2', '', "class='form-control' autocomplete='off'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->skype;?></th>
<th><?php echo $lang->user->skype;?></th>
<td><?php echo html::input('skype', $user->skype, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->qq;?></th>
<th><?php echo $lang->user->qq;?></th>
<td><?php echo html::input('qq', $user->qq, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->yahoo;?></th>
<th><?php echo $lang->user->yahoo;?></th>
<td><?php echo html::input('yahoo', $user->yahoo, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->gtalk;?></th>
<th><?php echo $lang->user->gtalk;?></th>
<td><?php echo html::input('gtalk', $user->gtalk, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->wangwang;?></th>
<th><?php echo $lang->user->wangwang;?></th>
<td><?php echo html::input('wangwang', $user->wangwang, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->mobile;?></th>
<th><?php echo $lang->user->mobile;?></th>
<td><?php echo html::input('mobile', $user->mobile, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->phone;?></th>
<th><?php echo $lang->user->phone;?></th>
<td><?php echo html::input('phone', $user->phone, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->address;?></th>
<th><?php echo $lang->user->address;?></th>
<td><?php echo html::input('address', $user->address, "class='form-control'");?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->user->zipcode;?></th>
<th><?php echo $lang->user->zipcode;?></th>
<td><?php echo html::input('zipcode', $user->zipcode, "class='form-control'");?></td>
</tr>
<tr><td colspan='2' class='text-center'><?php echo html::submitButton() . html::backButton();?></td></tr>
+1 -1
View File
@@ -19,7 +19,7 @@ js::set('holders', $lang->user->placeholder) ;
<h1 style='margin-left:0px;margin-right:0px'><?php echo $app->company->name;?></h1>
</div>
<div data-role="content" >
<form method='post' target='hiddenwin'>
<form class='form-condensed' method='post' target='hiddenwin'>
<table align='center'>
<tr><td><?php echo html::input('account')?></td></tr>
<tr><td><?php echo html::password('password')?></td></tr>

Some files were not shown because too many files have changed in this diff Show More