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


PHP html_status_legend函数代码示例

本文整理汇总了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;未经允许,请勿转载。