• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP html_status_legend函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中html_status_legend函数的典型用法代码示例。如果您正苦于以下问题:PHP html_status_legend函数的具体用法?PHP html_status_legend怎么用?PHP html_status_legend使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



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

示例1: bug_group_action_print_bug_list

/**
 * Print the list of selected issues and the legend for the status colors.
 *
 * @param $p_bug_ids_array   An array of issue ids.
 */
function bug_group_action_print_bug_list($p_bug_ids_array)
{
    $t_legend_position = config_get('status_legend_position');
    if (STATUS_LEGEND_POSITION_TOP == $t_legend_position) {
        html_status_legend();
        echo '<br />';
    }
    echo '<div align="center">';
    echo '<table class="width75" cellspacing="1">';
    echo '<tr class="row-1">';
    echo '<td class="category" colspan="2">';
    echo lang_get('actiongroup_bugs');
    echo '</td>';
    echo '</tr>';
    $t_i = 1;
    foreach ($p_bug_ids_array as $t_bug_id) {
        $t_class = sprintf("row-%d", $t_i++ % 2 + 1);
        echo sprintf("<tr bgcolor=\"%s\"> <td>%s</td> <td>%s</td> </tr>\n", get_status_color(bug_get_field($t_bug_id, 'status')), string_get_bug_view_link($t_bug_id), string_attribute(bug_get_field($t_bug_id, 'summary')));
    }
    echo '</table>';
    echo '</form>';
    echo '</div>';
    if (STATUS_LEGEND_POSITION_BOTTOM == $t_legend_position) {
        echo '<br />';
        html_status_legend();
    }
}
开发者ID:amjadtbssm,项目名称:website,代码行数:32,代码来源:bug_group_action_api.php


示例2: plugin_lang_get

"
		style="display: none;">
		<p><?php 
            echo plugin_lang_get('screenshot_dialog_text');
            ?>
<a
				href="http://www.gadiv.de">http://gadiv.de</a>
		</p>
	</div>
	<?php 
        }
        ?>
	</center>
<br>
<?php 
        html_status_legend();
        ?>
	<?php 
        html_page_bottom();
        ?>
	<?php 
    } else {
        ?>
<br>
<center>
	<span style="color: red; font-size: 16px; font-weight: bold;"><?php 
        echo $system;
        ?>
</span>
</center>
<br>
开发者ID:CarlosPinedaT,项目名称:agileMantis,代码行数:31,代码来源:taskboard.php


示例3: bug_group_action_print_bug_list

/**
 * Print the list of selected issues and the legend for the status colors.
 *
 * @param array $p_bug_ids_array An array of issue ids.
 * @return void
 */
function bug_group_action_print_bug_list(array $p_bug_ids_array)
{
    $t_legend_position = config_get('status_legend_position');
    if (STATUS_LEGEND_POSITION_TOP == $t_legend_position) {
        html_status_legend();
        echo '<br />';
    }
    echo '<div id="action-group-issues-div">';
    echo '<table>';
    echo '<tr class="row-1">';
    echo '<th class="category" colspan="2">';
    echo lang_get('actiongroup_bugs');
    echo '</th>';
    echo '</tr>';
    $t_i = 1;
    foreach ($p_bug_ids_array as $t_bug_id) {
        # choose color based on status
        $t_status_label = html_get_status_css_class(bug_get_field($t_bug_id, 'status'), auth_get_current_user_id(), bug_get_field($t_bug_id, 'project_id'));
        echo sprintf("<tr class=\"%s\"> <td>%s</td> <td>%s</td> </tr>\n", $t_status_label, string_get_bug_view_link($t_bug_id), string_attribute(bug_get_field($t_bug_id, 'summary')));
    }
    echo '</table>';
    echo '</div>';
    if (STATUS_LEGEND_POSITION_BOTTOM == $t_legend_position) {
        echo '<br />';
        html_status_legend();
    }
}
开发者ID:derrickweaver,项目名称:mantisbt,代码行数:33,代码来源:bug_group_action_api.php


示例4: lang_get

    echo lang_get('ok');
    ?>
" />
<?php 
} else {
    echo '&#160;';
}
?>
			</span>
			<span class="floatright small">
				<?php 
$f_filter = gpc_get_int('filter', 0);
print_page_links('view_all_bug_page.php', 1, $t_page_count, (int) $f_page_number, $f_filter);
?>
			</span>
		</td>
	</tr>
<?php 
# -- ====================== end of MASS BUG MANIPULATION ========================= --
?>
</tbody>
</table>
</form>

<?php 
html_status_legend(STATUS_LEGEND_POSITION_BOTTOM, true);
# -- ====================== FILTER FORM ========================= --
if (($t_filter_position & FILTER_POSITION_BOTTOM) == FILTER_POSITION_BOTTOM) {
    filter_draw_selection_area($f_page_number);
}
# -- ====================== end of FILTER FORM ================== --
开发者ID:spring,项目名称:spring-website,代码行数:31,代码来源:view_all_inc.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP html_style_image函数代码示例发布时间:2022-05-15
下一篇:
PHP html_start_box函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap