当前位置: 首页>>代码示例>>PHP>>正文


PHP common::printCommentIcon方法代码示例

本文整理汇总了PHP中common::printCommentIcon方法的典型用法代码示例。如果您正苦于以下问题:PHP common::printCommentIcon方法的具体用法?PHP common::printCommentIcon怎么用?PHP common::printCommentIcon使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在common的用法示例。


在下文中一共展示了common::printCommentIcon方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: ob_start

>
  <div id='main'>CASE #<?php 
echo $case->id . $lang->colon . $case->title;
?>
</div>
  <div>
    <?php 
$browseLink = $app->session->caseList != false ? $app->session->caseList : $this->createLink('testcase', 'browse', "productID={$case->product}");
if (!$case->deleted) {
    ob_start();
    common::printIcon('testtask', 'runCase', "runID=0&caseID={$case->id}&version={$case->currentVersion}");
    common::printIcon('testtask', 'results', "runID=0&caseID={$case->id}&version={$case->version}");
    common::printIcon('testcase', 'createBug', "product={$case->product}&extra=caseID={$case->id},version={$case->version},runID=", '', 'button', 'createBug');
    common::printDivider();
    common::printIcon('testcase', 'edit', "caseID={$case->id}");
    common::printCommentIcon('testcase');
    common::printIcon('testcase', 'create', "productID={$case->product}&moduleID={$case->module}&from=testcase&param={$case->id}", '', 'button', 'copy');
    common::printIcon('testcase', 'delete', "caseID={$case->id}", '', 'button', '', 'hiddenwin');
    common::printDivider();
    common::printRPN($browseLink, $preAndNext);
    $actionLinks = ob_get_contents();
    ob_clean();
    echo $actionLinks;
}
?>
  </div>
</div>

<table class='cont-rt5'>
  <tr valign='top'>
    <td>
开发者ID:shshenpengfei,项目名称:scrum_project_manage_system,代码行数:31,代码来源:view.html.php

示例2: ob_start

if (!$task->deleted) {
    ob_start();
    echo "<div class='btn-group'>";
    common::printIcon('task', 'assignTo', "projectID={$task->project}&taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'start', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'restart', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'recordEstimate', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'pause', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'finish', "taskID={$task->id}", $task, 'button', '', '', 'iframe showinonlybody text-success', true);
    common::printIcon('task', 'close', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    common::printIcon('task', 'activate', "taskID={$task->id}", $task, 'button', '', '', 'iframe text-success', true);
    common::printIcon('task', 'cancel', "taskID={$task->id}", $task, 'button', '', '', 'iframe', true);
    echo '</div>';
    echo "<div class='btn-group'>";
    common::printIcon('task', 'edit', "taskID={$task->id}");
    common::printCommentIcon('task');
    common::printIcon('task', 'create', "productID=0&storyID=0&moduleID=0&taskID={$task->id}", '', 'button', 'copy');
    common::printIcon('task', 'delete', "projectID={$task->project}&taskID={$task->id}", '', 'button', '', 'hiddenwin');
    echo '</div>';
    echo "<div class='btn-group'>";
    common::printRPN($browseLink, $preAndNext);
    echo '</div>';
    $actionLinks = ob_get_contents();
    ob_end_clean();
    echo $actionLinks;
} else {
    common::printRPN($browseLink);
}
?>
  </div>
</div>
开发者ID:heeeello,项目名称:zentaopms,代码行数:31,代码来源:view.html.php

示例3: ob_start

$actionLinks = '';
if (!$story->deleted) {
    ob_start();
    echo "<div class='btn-group'>";
    common::printIcon('story', 'change', "storyID={$story->id}", $story);
    common::printIcon('story', 'review', "storyID={$story->id}", $story);
    common::printIcon('story', 'close', "storyID={$story->id}", $story, 'button', '', '', 'iframe text-danger', true);
    common::printIcon('story', 'activate', "storyID={$story->id}", $story, 'button', '', '', 'iframe text-success', true);
    common::printIcon('story', 'createCase', "productID={$story->product}&moduleID=0&from=&param=0&storyID={$story->id}", '', 'button', 'sitemap');
    if ($from == 'project') {
        common::printIcon('task', 'create', "project={$param}&storyID={$story->id}", '', 'button', 'smile');
    }
    echo '</div>';
    echo "<div class='btn-group'>";
    common::printIcon('story', 'edit', "storyID={$story->id}");
    common::printCommentIcon('story');
    common::printIcon('story', 'create', "productID={$story->product}&moduleID={$story->module}&storyID={$story->id}", '', 'button', 'copy');
    common::printIcon('story', 'delete', "storyID={$story->id}", '', 'button', '', 'hiddenwin');
    echo '</div>';
    echo "<div class='btn-group'>";
    common::printRPN($browseLink, $preAndNext);
    echo '</div>';
    $actionLinks = ob_get_contents();
    ob_end_clean();
    echo $actionLinks;
} else {
    common::printRPN($browseLink);
}
?>
  </div>
</div>
开发者ID:ppmon,项目名称:ppm,代码行数:31,代码来源:view.html.php

示例4: ob_start

$copyParams = "productID={$productID}&branch={$bug->branch}&extras=bugID={$bug->id}";
$convertParams = "productID={$productID}&branch={$bug->branch}&moduleID=0&from=bug&bugID={$bug->id}";
if (!$bug->deleted) {
    ob_start();
    echo "<div class='btn-group'>";
    common::printIcon('bug', 'confirmBug', $params, $bug, 'button', 'search', '', 'iframe', true);
    common::printIcon('bug', 'assignTo', $params, '', 'button', '', '', 'iframe', true);
    common::printIcon('bug', 'resolve', $params, $bug, 'button', '', '', 'iframe showinonlybody', true);
    common::printIcon('bug', 'close', $params, $bug, 'button', '', '', 'text-danger iframe showinonlybody', true);
    common::printIcon('bug', 'activate', $params, $bug, 'button', '', '', 'text-success iframe showinonlybody', true);
    common::printIcon('bug', 'toStory', "product={$bug->product}&branch={$bug->branch}&module=0&story=0&project=0&bugID={$bug->id}", $bug, 'button', $lang->icons['story']);
    common::printIcon('bug', 'createCase', $convertParams, '', 'button', 'sitemap');
    echo '</div>';
    echo "<div class='btn-group'>";
    common::printIcon('bug', 'edit', $params);
    common::printCommentIcon('bug');
    common::printIcon('bug', 'create', $copyParams, '', 'button', 'copy');
    common::printIcon('bug', 'delete', $params, '', 'button', '', 'hiddenwin');
    echo '</div>';
    echo "<div class='btn-group'>";
    common::printRPN($browseLink, $preAndNext);
    echo '</div>';
    $actionLinks = ob_get_contents();
    ob_end_clean();
    echo $actionLinks;
} else {
    common::printRPN($browseLink);
}
?>
  </div>
</div>
开发者ID:caiwenhao,项目名称:zentao,代码行数:31,代码来源:view.html.php

示例5:

    }
    if ($this->sqlreview->isClickable($sql, 'review')) {
        common::printIcon('sqlreview', 'review', "sqlID={$sql->id}");
    }
    if ($this->sqlreview->isClickable($sql, 'close')) {
        common::printIcon('sqlreview', 'close', "sqlID={$sql->id}");
    }
    if ($this->sqlreview->isClickable($sql, 'activate')) {
        common::printIcon('sqlreview', 'activate', "sqlID={$sql->id}");
    }
    if ($this->sqlreview->isClickable($sql, 'dba')) {
        common::printIcon('sqlreview', 'dba', "sqlID={$sql->id}");
    }
    common::printDivider();
    common::printIcon('sqlreview', 'edit', "sqlID={$sql->id}");
    common::printCommentIcon('sqlreview');
    common::printIcon('sqlreview', 'create', "projectID={$sql->project}&sqlID={$sql->id}&moduleID={$sql->module}", '', 'button', 'copy');
    common::printIcon('sqlreview', 'delete', "sqlID={$sql->id}", '', 'button', '', 'hiddenwin');
    common::printDivider();
    common::printRPN($browseLink, $preAndNext);
    $actionLinks = ob_get_contents();
    ob_clean();
    echo $actionLinks;
}
?>
    </div>
</div>

<table class='cont-rt5'>
  <tr valign='top'>
    <td>
开发者ID:shshenpengfei,项目名称:scrum_project_manage_system,代码行数:31,代码来源:view.html.php


注:本文中的common::printCommentIcon方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。