Пример #1
0
?>
</th>
      <th class='w-hour'>  <?php 
common::printOrderLink('left', $orderBy, $vars, $lang->task->leftAB);
?>
</th>
      <th class='w-date'>  <?php 
common::printOrderLink('deadline', $orderBy, $vars, $lang->task->deadlineAB);
?>
</th>
      <th class='w-status'><?php 
common::printOrderLink('status', $orderBy, $vars, $lang->statusAB);
?>
</th>
      <th class='w-user'>  <?php 
common::printOrderLink('openedBy', $orderBy, $vars, $lang->openedByAB);
?>
</th>
      <th class='w-140px'> <?php 
echo $lang->actions;
?>
</th>
    </tr>
    </thead>   
    <tbody>
    <?php 
$canBatchEdit = common::hasPriv('task', 'batchEdit');
?>
    <?php 
$canBatchClose = (common::hasPriv('task', 'batchClose') and $type != 'closedBy');
?>
Пример #2
0
          <th class='w-35px'>  <?php 
common::printOrderLink('estimate', $orderBy, $vars, $lang->task->estimateAB);
?>
</th>
          <th class='w-50px'>  <?php 
common::printOrderLink('consumed', $orderBy, $vars, $lang->task->consumedAB);
?>
</th>
          <th class='w-40px nobr'>  <?php 
common::printOrderLink('left', $orderBy, $vars, $lang->task->leftAB);
?>
</th>
          <?php 
if (1) {
    print '<th>' and common::printOrderLink('story', $orderBy, $vars, $lang->task->story) and print '</th>';
}
?>
          <th class='w-150px {sorter:false}'><?php 
echo $lang->actions;
?>
</th>
        </tr>
      </thead>
      <tbody>
      <?php 
foreach ($tasks as $task) {
    ?>
      <?php 
    $class = $task->assignedTo == $app->user->account ? 'style=color:red' : '';
    ?>
Пример #3
0
?>
</th>       
      <th class='w-300px {sorter:false}'><?php 
echo $lang->project->desc;
?>
</th>     
      <th class='w-90px'><?php 
common::printOrderLink('begin', $orderBy, $vars, $lang->project->begin);
?>
</th>       
      <th class='w-90px'><?php 
common::printOrderLink('end', $orderBy, $vars, $lang->project->end);
?>
</th> 
      <th class='w-status'><?php 
common::printOrderLink('status', $orderBy, $vars, $lang->project->status);
?>
</th>
      <th class='w-80px {sorter:false}'><?php 
echo $lang->actions;
?>
</th> 
    </tr>
  </thead>

  <?php 
$canBatchEdit = common::hasPriv('project', 'batchEdit');
?>
  <tbody class='sortable' id='projectTableList'>
  <?php 
foreach ($projectStats as $project) {
Пример #4
0
<?php

$_GET['onlybody'] = 'no';
?>
<table class='table-1 colored tablesorter datatable' id='bugList'>
  <?php 
$vars = "productID={$productID}&browseType={$browseType}&param={$param}&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}";
?>
  <thead>
  <tr class='colhead'>
    <?php 
foreach ($customFields as $fieldName) {
    ?>
    <th><nobr><?php 
    common::printOrderLink($fieldName, $orderBy, $vars, $lang->bug->{$fieldName});
    ?>
</nobr></th>
    <?php 
}
?>
    <th class='w-70px {sorter:false}'><nobr><?php 
echo $lang->actions;
?>
</nobr></th>
  </tr>
  </thead>
  <tbody>
  <?php 
foreach ($bugs as $bug) {
    ?>
  <?php 
Пример #5
0
?>
</th>
      <th>               <?php 
common::printOrderLink('work', $orderBy, $vars, $lang->effort->work);
?>
</th>
      <th class='w-80px'><?php 
common::printOrderLink('consumed', $orderBy, $vars, $lang->effort->consumed);
?>
</th>
      <th class='w-80px'><?php 
common::printOrderLink('left', $orderBy, $vars, $lang->effort->left);
?>
</th>
      <th width='350'>   <?php 
common::printOrderLink('objectType', $orderBy, $vars, $lang->effort->objectType);
?>
</th>
    </tr>
  </thead>
  <tbody>
  <?php 
$times = 0;
?>
  <?php 
foreach ($efforts as $effort) {
    ?>
  <tr class='a-center'>
    <td class='a-center'>
      <input type='checkbox' name='effortIDList[]'  value='<?php 
    echo $effort->id;
Пример #6
0
?>
</th>
    <th>               <?php 
common::printOrderLink('build', $orderBy, $vars, $lang->testtask->build);
?>
</th>
    <th class='w-80px'><?php 
common::printOrderLink('begin', $orderBy, $vars, $lang->testtask->begin);
?>
</th>
    <th class='w-80px'><?php 
common::printOrderLink('end', $orderBy, $vars, $lang->testtask->end);
?>
</th>
    <th class='w-50px'><?php 
common::printOrderLink('status', $orderBy, $vars, $lang->statusAB);
?>
</th>
    <th class='w-100px'><?php 
echo $lang->actions;
?>
</th>
  </tr>
  </thead>
  <tbody>
  <?php 
foreach ($tasks as $task) {
    ?>
  <tr class='text-center'>
    <td><?php 
    echo html::a($this->createLink('testtask', 'view', "taskID={$task->id}"), sprintf('%03d', $task->id));
Пример #7
0
?>
</th>
    <th class='w-user'> <?php 
common::printOrderLink('actor', $orderBy, $vars, $lang->action->actor);
?>
</th>
    <th class='w-100px'><?php 
common::printOrderLink('action', $orderBy, $vars, $lang->action->action);
?>
</th>
    <th class='w-80px'> <?php 
common::printOrderLink('objectType', $orderBy, $vars, $lang->action->objectType);
?>
</th>
    <th class='w-id'>   <?php 
common::printOrderLink('id', $orderBy, $vars, $lang->idAB);
?>
</th>
    <th><?php 
echo $lang->action->objectName;
?>
</th>
  </tr>
  </thead>
  <tbody>
  <?php 
foreach ($actions as $action) {
    ?>
  <?php 
    $module = $action->objectType == 'case' ? 'testcase' : $action->objectType;
    ?>
Пример #8
0
?>
</th>
        <th>               <?php 
common::printOrderLink('assignedTo', $orderBy, $vars, $lang->assignedToAB);
?>
</th>
        <th class='w-hour'><?php 
common::printOrderLink('estimate', $orderBy, $vars, $lang->story->estimateAB);
?>
</th>
        <th>               <?php 
common::printOrderLink('status', $orderBy, $vars, $lang->statusAB);
?>
</th>
        <th>               <?php 
common::printOrderLink('stage', $orderBy, $vars, $lang->story->stageAB);
?>
</th>
        <th class='w-140px {sorter:false}'><?php 
echo $lang->actions;
?>
</th>
      </tr>
      </thead>
      <tbody>
      <?php 
foreach ($stories as $key => $story) {
    ?>
      <?php 
    $viewLink = $this->createLink('story', 'view', "storyID={$story->id}");
    $canView = common::hasPriv('story', 'view');
Пример #9
0
    ?>
</th>
					<th class='w-user'>  <?php 
    common::printOrderLink('duty', $orderBy, $vars, $lang->asset->duty);
    ?>
</th>
					<th class='w-60px'>  <?php 
    common::printOrderLink('codeversion', $orderBy, $vars, $lang->asset->codeversion);
    ?>
</th>
					<th class='w-60px'>  <?php 
    common::printOrderLink('module', $orderBy, $vars, $lang->asset->module);
    ?>
</th>
					<th class='w-60px'>  <?php 
    common::printOrderLink('use', $orderBy, $vars, $lang->asset->use);
    ?>
</th>
					<?php 
}
?>
				</tr>
				</thead>
			<tbody>
			<?php 
foreach ($assets as $asset) {
    ?>
			<?php 
    $classduty = $asset->duty == $app->user->account ? 'style=color:red' : '';
    ?>
				<?php 
Пример #10
0
    ?>
</th>
						<?php 
}
?>
						
						<th class='w-user'><?php 
common::printOrderLink('lastEditedBy', $orderBy, $vars, $lang->info->lastEditedBy);
?>
</th>
			
						<?php 
if ($this->cookie->windowWidth >= $this->config->wideSize) {
    ?>
						<th class='w-date'>  <?php 
    common::printOrderLink('lastEditedDate', $orderBy, $vars, $lang->info->lastEditedDate);
    ?>
</th>
						<?php 
}
?>
			
						<th class='w-70px {sorter:false}'><?php 
echo $lang->actions;
?>
</th>
					</tr>
				</thead>
				<tbody>
				<?php 
foreach ($infos as $info) {
?>

            <th class='w-35px'>  <?php 
common::printOrderLink('estimate', $orderBy, $vars, $lang->task->estimateAB);
?>
</th>
            <th class='w-40px'>  <?php 
common::printOrderLink('consumed', $orderBy, $vars, $lang->task->consumedAB);
?>
</th>
            <th class='w-40px'>  <?php 
common::printOrderLink('left', $orderBy, $vars, $lang->task->leftAB);
?>
</th>
            <th><?php 
common::printOrderLink('story', $orderBy, $vars, $lang->task->story);
?>
</th>
            <th class='w-100px {sorter:false}'><?php 
echo $lang->actions;
?>
</th>
          </tr>
          </thead>
          <?php 
$taskSum = $statusWait = $statusDone = $statusDoing = $statusClosed = $statusCancel = 0;
$totalEstimate = $totalConsumed = $totalLeft = 0.0;
?>
          <tbody>
          <?php 
$estimate_sum = 0;
Пример #12
0
     <?php $vars = "libID=$libID&module=$moduleID&productID=$productID&projectID=$projectID&browseType=$browseType&param=$param&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}";?>
     <th class='w-id'>   <?php common::printOrderLink('id',        $orderBy, $vars, $lang->idAB);?></th>
     <!-- 
     <th>                <?php common::printOrderLink('title',     $orderBy, $vars, $lang->doc->title);?></th>
     <th class='w-100px'><?php common::printOrderLink('type',      $orderBy, $vars, $lang->doc->type);?></th>
      -->
      <!-- 修改  2015-09-20 -->
     <th class='w-100px'><?php common::printOrderLink('project_name',      $orderBy, $vars, $lang->doc->project_name);?></th>
     <th class='w-100px'><?php common::printOrderLink('organization',      $orderBy, $vars, $lang->doc->organization);?></th>
     <th class='w-100px'><?php common::printOrderLink('money',      $orderBy, $vars, $lang->doc->money);?></th>
     <th class='w-100px'><?php common::printOrderLink('day',      $orderBy, $vars, $lang->doc->day);?></th>
     <th class='w-100px'><?php common::printOrderLink('info',      $orderBy, $vars, $lang->doc->info);?></th>
     <th class='w-100px'><?php common::printOrderLink('remark',      $orderBy, $vars, $lang->doc->remark);?></th>
     
     <th class='w-100px'><?php common::printOrderLink('addedBy',   $orderBy, $vars, $lang->doc->addedBy);?></th>
     <th class='w-120px'><?php common::printOrderLink('addedDate', $orderBy, $vars, $lang->doc->addedDate);?></th>
     <!-- 
     <th class='w-120px'><?php echo $lang->doc->files;?></th>
      -->
     <th class='w-100px {sorter:false}'><?php echo $lang->actions;?></th>
   </tr>
 </thead>
 <tbody>
   <?php foreach($docs as $key => $doc):?>
   <?php
   $viewLink = $this->createLink('doc', 'view', "docID=$doc->id");
   $canView  = common::hasPriv('doc', 'view');
   ?>
   <tr class='text-center'>
     <td><?php if($canView) echo html::a($viewLink, sprintf('%03d', $doc->id)); else printf('%03d', $doc->id);?></td>
     <!-- 
Пример #13
0
?>
</th>
    <th class='w-status'><?php 
common::printOrderLink('status', $orderBy, $vars, $lang->statusAB);
?>
</th>
    <!-- <th class='w-user'><?php 
common::printOrderLink('user', $orderBy, $vars, $lang->team->role);
?>
</th> -->
    <th class='w-date'><?php 
common::printOrderLink('date', $orderBy, $vars, $lang->team->join);
?>
</th>
    <th class='w-110px'><?php 
common::printOrderLink('hours', $orderBy, $vars, $lang->team->hours);
?>
</th>
    <th class='w-80px {sorter:false}'><?php 
echo $lang->actions;
?>
</th>
  </tr>
  </thead>
  <tbody>
  <?php 
foreach ($projects as $project) {
    ?>
  <?php 
    $projectLink = $this->createLink('sprint', 'index', "projectID={$project->id}");
    ?>
Пример #14
0
    ?>
</th>
          <th class='w-user'><?php 
    common::printOrderLink('resolvedBy', $orderBy, $vars, $lang->bug->resolvedByAB);
    ?>
</th>
          <th class='w-resolution'><?php 
    common::printOrderLink('resolution', $orderBy, $vars, $lang->bug->resolutionAB);
    ?>
</th>

          <?php 
    if ($this->cookie->windowWidth >= $this->config->wideSize) {
        ?>
          <th class='w-date'>  <?php 
        common::printOrderLink('resolvedDate', $orderBy, $vars, $lang->bug->resolvedDateAB);
        ?>
</th>
          <?php 
    }
    ?>

          <th class='w-100px {sorter:false}'><?php 
    echo $lang->actions;
    ?>
</th>
          <?php 
}
?>
        </tr>
        </thead>
Пример #15
0
?>
</th>
    <th class='w-id'>  <?php 
common::printOrderLink('objectID', $orderBy, $vars, $lang->idAB);
?>
</th>
    <th><?php 
echo $lang->action->objectName;
?>
</th>
    <th class='w-100px'><?php 
common::printOrderLink('actor', $orderBy, $vars, $lang->action->actor);
?>
</th>
    <th class='w-150px'><?php 
common::printOrderLink('date', $orderBy, $vars, $lang->action->date);
?>
</th>
    <th class='w-100px'><?php 
echo $lang->actions;
?>
</th>
  </tr>
  </thead>
  <tbody>
  <?php 
foreach ($trashes as $action) {
    ?>
  <?php 
    $module = $action->objectType == 'case' ? 'testcase' : $action->objectType;
    ?>
Пример #16
0
?>
</th>
        <th>                <?php 
common::printOrderLink('title', $orderBy, $vars, $lang->doc->title);
?>
</th>
        <th class='w-100px'><?php 
common::printOrderLink('type', $orderBy, $vars, $lang->doc->type);
?>
</th>
        <th class='w-100px'><?php 
common::printOrderLink('addedBy', $orderBy, $vars, $lang->doc->addedBy);
?>
</th>
        <th class='w-120px'><?php 
common::printOrderLink('addedDate', $orderBy, $vars, $lang->doc->addedDate);
?>
</th>
        <th class='w-100px {sorter:false}'><?php 
echo $lang->actions;
?>
</th>
      </tr>
    </thead>
    <tbody>
      <?php 
foreach ($docs as $key => $doc) {
    ?>
      <?php 
    $viewLink = $this->createLink('doc', 'view', "docID={$doc->id}");
    $canView = common::hasPriv('doc', 'view');
Пример #17
0
    common::printOrderLink('branch', $orderBy, $vars, $lang->product->branch);
    ?>
</th>
    <?php 
}
?>
    <th class='w-p50'>   <?php 
common::printOrderLink('desc', $orderBy, $vars, $lang->productplan->desc);
?>
</th>
    <th class='w-100px'> <?php 
common::printOrderLink('begin', $orderBy, $vars, $lang->productplan->begin);
?>
</th>
    <th class='w-100px'> <?php 
common::printOrderLink('end', $orderBy, $vars, $lang->productplan->end);
?>
</th>
    <th class="w-110px {sorter: false}"><?php 
echo $lang->actions;
?>
</th>
  </tr>
  </thead>
  <tbody>
  <?php 
foreach ($plans as $plan) {
    ?>
  <tr class='text-center'>
    <td class='text-left'>
      <input type='checkbox' name='planIDList[<?php 
Пример #18
0
$vars = "sprintID={$sprintID}&type={$type}&orderBy=%s&recTotal={$recTotal}&recPerPage={$recPerPage}&pageID={$pageID}";
?>
    <thead>
    <tr class='text-center'>
      <th class='w-id'>        <?php 
common::printOrderLink('id', $orderBy, $vars, $lang->idAB);
?>
</th>
      <th class='w-severity'>  <?php 
common::printOrderLink('severity', $orderBy, $vars, $lang->bug->severityAB);
?>
</th>
      <th class='w-pri'>       <?php 
common::printOrderLink('pri', $orderBy, $vars, $lang->priAB);
?>
</th>
      <th class='w-type'>      <?php 
common::printOrderLink('type', $orderBy, $vars, $lang->typeAB);
?>
</th>
      <th>                     <?php 
common::printOrderLink('title', $orderBy, $vars, $lang->bug->title);
?>
</th>
      <th class='w-user'>      <?php 
common::printOrderLink('openedBy', $orderBy, $vars, $lang->openedByAB);
?>
</th>
      <th class='w-user'>      <?php 
common::printOrderLink('assignedTo', $orderBy, $vars, $lang->bug->assignedTo);
?>
Пример #19
0
?>
</th>
      <th class='w-80px'> <?php 
common::printOrderLink('actor', $orderBy, $vars, $lang->action->actor);
?>
</th>
      <th class='w-100px'><?php 
common::printOrderLink('action', $orderBy, $vars, $lang->action->action);
?>
</th>
      <th class='w-90px'> <?php 
common::printOrderLink('objectType', $orderBy, $vars, $lang->action->objectType);
?>
</th>
      <th class='w-id'>   <?php 
common::printOrderLink('objectID', $orderBy, $vars, $lang->idAB);
?>
</th>
      <th><?php 
echo $lang->action->objectName;
?>
</th>
    </tr>
  </thead>
  <tbody>
  <?php 
foreach ($actions as $action) {
    ?>
  <?php 
    $module = $action->objectType == 'case' ? 'testcase' : $action->objectType;
    ?>
Пример #20
0
    echo $lang->product->bugs;
    ?>
</th>
        <th class='w-80px'><?php 
    echo $lang->bug->unResolved;
    ?>
</th>
        <th class='w-80px'><?php 
    echo $lang->bug->assignToNull;
    ?>
</th>
        <?php 
    if ($canOrder) {
        ?>
        <th class='w-60px sort-default'><?php 
        common::printOrderLink('order', $orderBy, $vars, $lang->product->updateOrder);
        ?>
</th>
        <?php 
    }
    ?>
      </tr>
    </thead>
    <?php 
    $canBatchEdit = common::hasPriv('product', 'batchEdit');
    ?>
    <tbody class='sortable' id='productTableList'>
      <?php 
    foreach ($productStats as $product) {
        ?>
      <tr class='text-center' data-id='<?php 
    common::printOrderLink('resolution', $orderBy, $vars, $lang->bug->resolutionAB);
    ?>
</th>

          <?php 
    if ($this->cookie->windowWidth >= $this->config->wideSize) {
        ?>
          <th class='w-date'>  <?php 
        common::printOrderLink('resolvedDate', $orderBy, $vars, $lang->bug->resolvedDateAB);
        ?>
</th>
          <?php 
    }
    ?>
          <th class='w-date'>  <?php 
    common::printOrderLink('resolvedDate', $orderBy, $vars, $lang->bug->deadlineDate);
    ?>
</th>


          <th class='w-100px {sorter:false}'><?php 
    echo $lang->actions;
    ?>
</th>
          <?php 
}
?>
        </tr>
        </thead>
        <tbody>
        <?php 
Пример #22
0
?>
</th>
          <th><?php 
common::printOrderLink('qq', $orderBy, $vars, $lang->user->qq);
?>
</th>
          <th><?php 
common::printOrderLink('join', $orderBy, $vars, $lang->user->join);
?>
</th>
          <th><?php 
common::printOrderLink('last', $orderBy, $vars, $lang->user->last);
?>
</th>
          <th><?php 
common::printOrderLink('visits', $orderBy, $vars, $lang->user->visits);
?>
</th>
          <th class='w-60px'><?php 
echo $lang->actions;
?>
</th>
        </tr>
        </thead>
        <tbody>
        <form action='<?php 
echo $this->createLink('user', 'batchEdit', "deptID={$deptID}");
?>
' method='post' id='userListForm'>
        <?php 
$canBatchEdit = common::hasPriv('user', 'batchEdit');
Пример #23
0
<form method='post' action='<?php 
    echo inLink('batchEdit', "productID={$productID}");
    ?>
'>
  <table class='table table-condensed table-hover table-striped tablesorter'>
    <?php 
    $vars = "locate=no&productID={$productID}&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}";
    ?>
    <thead>
      <tr>
        <th class='w-id'><?php 
    common::printOrderLink('id', $orderBy, $vars, $lang->idAB);
    ?>
</th>
        <th><?php 
    common::printOrderLink('name', $orderBy, $vars, $lang->product->name);
    ?>
</th>
        <th class='w-80px'><?php 
    echo $lang->story->statusList['active'] . $lang->story->common;
    ?>
</th>
        <th class='w-80px'><?php 
    echo $lang->story->statusList['changed'] . $lang->story->common;
    ?>
</th>
        <th class='w-80px'><?php 
    echo $lang->story->statusList['draft'] . $lang->story->common;
    ?>
</th>
        <th class='w-80px'><?php