本文整理汇总了PHP中string_get_bug_report_url函数的典型用法代码示例。如果您正苦于以下问题:PHP string_get_bug_report_url函数的具体用法?PHP string_get_bug_report_url怎么用?PHP string_get_bug_report_url使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了string_get_bug_report_url函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: html_meta_redirect
if (!$f_report_stay) {
html_meta_redirect('view_all_bug_page.php');
}
html_page_top2();
?>
<br />
<div align="center">
<?php
echo lang_get('operation_successful') . '<br />';
print_bracket_link(string_get_bug_view_url($t_bug_id), sprintf(lang_get('view_submitted_bug_link'), $t_bug_id));
print_bracket_link('view_all_bug_page.php', lang_get('view_bugs_link'));
if ($f_report_stay) {
?>
<p>
<form method="post" action="<?php
echo string_get_bug_report_url();
?>
">
<?php
# CSRF protection not required here - form does not result in modifications
?>
<input type="hidden" name="category_id" value="<?php
echo string_attribute($t_bug_data->category_id);
?>
" />
<input type="hidden" name="severity" value="<?php
echo string_attribute($t_bug_data->severity);
?>
" />
<input type="hidden" name="reproducibility" value="<?php
echo string_attribute($t_bug_data->reproducibility);
示例2: html_button_bug_create_child
function html_button_bug_create_child($p_bug_id)
{
if (ON == config_get('enable_relationship')) {
if (access_has_bug_level(config_get('update_bug_threshold'), $p_bug_id)) {
html_button(string_get_bug_report_url(), lang_get('create_child_bug_button'), array('m_id' => $p_bug_id));
}
}
}
示例3: print_header_redirect_report
function print_header_redirect_report()
{
print_header_redirect(string_get_bug_report_url());
}
示例4: string_get_bug_report_link
/**
* return an href anchor that links to a bug REPORT page for the given bug
* account for the user preference and site override
* @param integer $p_user_id A valid user identifier.
* @return string
*/
function string_get_bug_report_link($p_user_id = null)
{
return '<a href="' . helper_mantis_url(string_get_bug_report_url($p_user_id)) . '">' . lang_get('report_bug_link') . '</a>';
}
示例5: html_page_top2
html_meta_redirect( 'view_all_bug_page.php' );
}
html_page_top2();
?>
<br />
<div>
<?php
echo lang_get( 'operation_successful' ) . '<br />';
print_bracket_link( string_get_bug_view_url( $t_bug_id ), sprintf( lang_get( 'view_submitted_bug_link' ), $t_bug_id ) );
print_bracket_link( 'view_all_bug_page.php', lang_get( 'view_bugs_link' ) );
if ( $f_report_stay ) {
?>
<p>
<form method="post" action="<?php echo string_get_bug_report_url() ?>">
<?php # CSRF protection not required here - form does not result in modifications ?>
<input type="hidden" name="category_id" value="<?php echo string_attribute( $t_bug_data->category_id ) ?>" />
<input type="hidden" name="severity" value="<?php echo string_attribute( $t_bug_data->severity ) ?>" />
<input type="hidden" name="reproducibility" value="<?php echo string_attribute( $t_bug_data->reproducibility ) ?>" />
<input type="hidden" name="profile_id" value="<?php echo string_attribute( $t_bug_data->profile_id ) ?>" />
<input type="hidden" name="platform" value="<?php echo string_attribute( $t_bug_data->platform ) ?>" />
<input type="hidden" name="os" value="<?php echo string_attribute( $t_bug_data->os ) ?>" />
<input type="hidden" name="os_build" value="<?php echo string_attribute( $t_bug_data->os_build ) ?>" />
<input type="hidden" name="product_version" value="<?php echo string_attribute( $t_bug_data->version ) ?>" />
<input type="hidden" name="target_version" value="<?php echo string_attribute( $t_bug_data->target_version ) ?>" />
<input type="hidden" name="build" value="<?php echo string_attribute( $t_bug_data->build ) ?>" />
<input type="hidden" name="report_stay" value="1" />
<input type="hidden" name="view_state" value="<?php echo string_attribute( $t_bug_data->view_state ) ?>" />
<input type="hidden" name="due_date" value="<?php echo string_attribute( $t_bug_data->due_date ) ?>" />
<input type="submit" class="button" value="<?php echo lang_get( 'report_more_bugs' ) ?>" />