?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan='11'> <div class='table-actions clearfix'> <?php if (count($stories)) { ?> <div class='btn-group'><?php echo html::selectButton(); ?> </div> <?php $canBatchEdit = common::hasPriv('story', 'batchEdit'); $disabled = $canBatchEdit ? '' : "disabled='disabled'"; $actionLink = $this->createLink('story', 'batchEdit', "productID={$productID}&projectID=0"); ?> <div class='btn-group dropup'> <?php echo html::commonButton($lang->edit, "onclick=\"setFormAction('{$actionLink}')\" {$disabled}"); ?> <button type='button' class='btn dropdown-toggle' data-toggle='dropdown'><span class='caret'></span></button> <ul class='dropdown-menu'> <?php $class = "class='disabled'";
common::printIcon('user', 'unlock', "userID={$user->account}", '', 'list', '', "hiddenwin"); } ?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan='12'> <div class='table-actions clearfix'> <?php if ($canBatchEdit or $canManageContacts) { echo "<div class='input-group'>" . html::selectButton() . '</div>'; } if ($canBatchEdit) { echo html::submitButton($lang->edit, 'onclick=batchEdit()', 'btn-default'); } if ($canManageContacts) { echo html::submitButton($lang->user->contacts->manage, 'onclick=manageContacts()'); } ?> </div> <?php echo $pager->show(); ?> </td> </tr> </tfoot>
</td> <td class='text-left' style='overflow:visible'><?php echo html::select("assignedTo[{$bug->id}]", $users, zget($users, $bug->assignedTo, '', $bug->assignedTo), "class='input-sm form-control chosen'"); ?> </td> <td><?php echo html::input("estimate[{$bug->id}]", '', 'size=4 class="input-sm form-control"'); ?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan='8'> <div class='table-actions clearfix'><?php echo "<div class='btn-group'>" . html::selectButton() . '</div>' . html::submitButton($lang->import) . html::backButton(); ?> </div> <?php $pager->show(); ?> </td> </tr> </tfoot> </table> </form> <?php include '../../common/view/footer.html.php';
?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan='10'> <?php if ($bugs and $canBatchEdit) { ?> <div class='table-actions clearfix'> <?php echo "<div class='btn-group'>" . html::selectButton() . '</div>' . html::submitButton($lang->edit, '', ''); ?> </div> <?php } ?> <?php $pager->show(); ?> </td> </tr> </tfoot> </table> </form> <?php js::set('listName', 'bugList');
<div class='col-md-3 col-lg-2'> <div class='panel panel-sm'> <div class='panel-heading'> <strong><?php echo $lang->task->report->select; ?> </strong> </div> <div class='panel-body' style='padding-top:0'> <form method='post'> <?php echo html::checkBox('charts', $lang->task->report->charts, $checkedCharts, '', 'block'); ?> <div class='btn-group'> <?php echo html::selectButton('', 'btn-sm'); ?> <?php echo html::submitButton($lang->task->report->create, "", 'btn-sm btn-primary'); ?> </div> </form> </div> </div> </div> <div class='col-md-9 col-lg-10'> <div class='panel panel-sm'> <div class='panel-heading'> <strong><?php echo $lang->task->report->common; ?>
echo html::a($this->createLink('todo', 'delete', "todoID={$todo->id}"), $lang->delete, "class='deleter'"); ?> </td> </tr> <?php } ?> </tbody> </table> <div class='table-footer'> <div class='pull-left batch-actions'> <?php $closeActionLink = $this->createLink('sys.todo', 'batchClose'); ?> <div class='pull-left close-action'><?php echo html::selectButton() . html::commonButton($lang->close, 'btn btn-primary', "onclick=\"setFormAction('{$closeActionLink}')\""); ?> </div> <?php if (commonModel::hasPriv('todo', 'import2Today')) { $actionLink = $this->createLink('todo', 'import2Today'); echo "<div class='input-group import-action'>"; echo "<div class='datepicker-wrapper datepicker-date'>" . html::input('date', date('Y-m-d'), "class='form-control form-date'") . '</div>'; echo "<span class='input-group-btn'>"; echo html::commonButton($lang->todo->import, 'btn btn-default', "onclick=\"setFormAction('{$actionLink}')\""); echo '</span>'; echo '</div>'; } ?> </div> <?php
?> </td> </tr> <?php $storyCount++; ?> <?php } ?> </tbody> <tfoot> <tr> <td colspan='7' class='text-left'> <div class='table-actions clearfix'> <?php if ($storyCount) { echo "<div class='btn-group'>" . html::selectButton() . '</div>' . html::submitButton(); } else { echo "<div class='text'>" . $lang->project->whyNoStories . '</div>'; } ?> </div> </td> </tr> </tfoot> </table> </form> <script type='text/javascript'>$(function(){ajaxGetSearchForm()});</script> <?php include '../../common/view/footer.html.php';
commonModel::printLink('trade', 'detail', "tradeID={$trade->id}", $lang->trade->detail, "data-toggle='modal'"); ?> <?php commonModel::printLink('trade', 'delete', "tradeID={$trade->id}", $lang->delete, "class='deleter'"); ?> </td> </tr> <?php } ?> </tbody> </table> <div class='table-footer'> <div class='pull-left'> <?php echo html::selectButton() . html::submitButton($lang->edit); ?> <span class='text-danger'><?php $this->trade->countMoney($trades, $mode); ?> </span> </div> <?php echo $pager->get(); ?> </div> </form> </div> </div> </div> <?php
$unlinkURL = $this->createLink('productplan', 'unlinkBug', "story={$bug->id}&confirm=yes"); echo html::a("javascript:ajaxDelete(\"{$unlinkURL}\",\"bugList\",confirmUnlinkBug)", '<i class="icon-remove"></i>', '', "class='btn-icon' title='{$lang->productplan->unlinkBug}'"); } ?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan='7'> <div class='table-actions clearfix'> <?php echo "<div class='btn-group'>" . html::selectButton('linkedBugsForm') . '</div>'; echo html::submitButton("<i class='icon-remove-sign'></i> " . $lang->productplan->batchUnlink); ?> <div class='text'><?php echo sprintf($lang->productplan->bugSummary, count($planBugs)); ?> </div> </div> </td> </tr> </tfoot> </table> </form> </div> </div> </div>
$unlinkURL = $this->createLink('productplan', 'unlinkStory', "storyID={$story->id}&confirm=yes"); echo html::a("javascript:ajaxDelete(\"{$unlinkURL}\",\"storyList\",confirmUnlinkStory)", '<i class="icon-remove"></i>', '', "title='{$lang->productplan->unlinkStory}' class='btn-icon'"); } ?> </td> </tr> <?php } ?> <?php if (count($planStories) and $canBatchUnlink) { ?> <tfoot> <tr> <td colspan='9' class='text-left'> <?php echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectButton('linkedStoriesForm') . '</div>' . html::submitButton($lang->productplan->batchUnlink) . '</div>'; ?> </td> </tr> </tfoot> <?php } ?> </tbody> </table> </form> </div> <script>$(function(){ajaxGetSearchForm()})</script> <?php include '../../common/view/footer.html.php';
?> </table> </td> </tr> <?php } ?> <?php } ?> </tbody> <tfoot> <tr> <td colspan='10'> <div class='pull-left'><?php echo html::selectButton() . html::submitButton($lang->close); ?> </div> <?php $pager->show(); ?> </td> </tr> </tfoot> </table> <?php if (commonModel::hasPriv('task', 'batchClose')) { ?> </form> <?php }
common::printIcon('story', 'close', $vars, $story, 'list', 'off', '', 'iframe', true); common::printIcon('story', 'edit', $vars, $story, 'list', 'pencil'); common::printIcon('story', 'createCase', "productID=$story->product&module=0&from=¶m=0&$vars", $story, 'list', 'sitemap'); ?> </td> --> </tr> <?php endforeach;?> </tbody> <tfoot> <tr> <td colspan='9'> <!-- <div class='table-actions clearfix'> <?php if(count($stories)):?> <div class='btn-group'><?php echo html::selectButton();?></div> <?php $canBatchEdit = common::hasPriv('story', 'batchEdit'); $disabled = $canBatchEdit ? '' : "disabled='disabled'"; $actionLink = $this->createLink('story', 'batchEdit', "productID=$productID&projectID=0"); ?> <div class='btn-group dropup'> <?php echo html::commonButton($lang->edit, "onclick=\"setFormAction('$actionLink')\" $disabled");?> <button type='button' class='btn dropdown-toggle' data-toggle='dropdown'><span class='caret'></span></button> <ul class='dropdown-menu'> <?php $class = "class='disabled'"; $canBatchClose = common::hasPriv('story', 'batchClose') && strtolower($browseType) != 'closedbyme' && strtolower($browseType) != 'closedstory'; $actionLink = $this->createLink('story', 'batchClose', "productID=$productID&projectID=0"); $misc = $canBatchClose ? "onclick=\"setFormAction('$actionLink')\"" : $class;
echo html::a("javascript:ajaxDelete(\"{$unlinkURL}\",\"bugList\",confirmUnlinkBug)", "<i class='icon-remove'></i>", '', "title='{$lang->productplan->unlinkBug}' class='btn-icon'"); } ?> </td> </tr> <?php } ?> <?php if (count($planBugs) and $canBatchUnlink) { ?> <tfoot> <tr> <td colspan='7' class='text-left'> <?php echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectButton('linkedBugsForm') . '</div>'; echo html::submitButton($lang->productplan->batchUnlink) . '</div>'; ?> </td> </tr> </tfoot> <?php } ?> </tbody> </table> </form> </div> <script>$(function(){ajaxGetSearchForm()})</script> <?php include '../../common/view/footer.html.php';