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

PHP print_version_option_list函数代码示例

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

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



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

示例1: print_filter_show_target_version

/**
 * print target version field
 * @return void
 */
function print_filter_show_target_version()
{
    global $g_select_modifier, $g_filter;
    ?>
<!-- Fixed in Version -->
		<select<?php 
    echo $g_select_modifier;
    ?>
 name="<?php 
    echo FILTER_PROPERTY_TARGET_VERSION;
    ?>
[]">
			<option value="<?php 
    echo META_FILTER_ANY;
    ?>
"<?php 
    check_selected($g_filter[FILTER_PROPERTY_TARGET_VERSION], (string) META_FILTER_ANY);
    ?>
>[<?php 
    echo lang_get('any');
    ?>
]</option>
			<option value="<?php 
    echo META_FILTER_NONE;
    ?>
"<?php 
    check_selected($g_filter[FILTER_PROPERTY_TARGET_VERSION], (string) META_FILTER_NONE);
    ?>
>[<?php 
    echo lang_get('none');
    ?>
]</option>
			<?php 
    print_version_option_list($g_filter[FILTER_PROPERTY_TARGET_VERSION], null, VERSION_ALL, false, true);
    ?>
		</select>
		<?php 
}
开发者ID:vipjaven,项目名称:mantisbt,代码行数:42,代码来源:filter_api.php


示例2: lang_get

if ($t_show_target_version) {
    ?>
	<tr>
		<th class="category">
			<label for="target_version"><?php 
    echo lang_get('target_version');
    ?>
</label>
		</th>
		<td>
			<select <?php 
    echo helper_get_tab_index();
    ?>
 id="target_version" name="target_version">
				<?php 
    print_version_option_list('', null, VERSION_FUTURE);
    ?>
			</select>
		</td>
	</tr>
<?php 
}
event_signal('EVENT_REPORT_BUG_FORM', array($t_project_id));
?>
	<tr>
		<th class="category">
			<span class="required">*</span><label for="summary"><?php 
print_documentation_link('summary');
?>
</label>
		</th>
开发者ID:derrickweaver,项目名称:mantisbt,代码行数:31,代码来源:bug_report_page.php


示例3: helper_alternate_class

	<tr <?php 
    echo helper_alternate_class();
    ?>
>
		<td class="category">
			<?php 
    echo lang_get('target_version');
    ?>
		</td>
		<td>
			<select <?php 
    echo helper_get_tab_index();
    ?>
 name="target_version">
				<?php 
    print_version_option_list();
    ?>
			</select>
		</td>
	</tr>
<?php 
}
event_signal('EVENT_REPORT_BUG_FORM', array($t_project_id));
?>
	<tr <?php 
echo helper_alternate_class();
?>
>
		<td class="category">
			<span class="required">*</span><?php 
print_documentation_link('summary');
开发者ID:fur81,项目名称:zofaxiopeu,代码行数:31,代码来源:bug_report_page.php


示例4: helper_alternate_class

<tr <?php 
    echo helper_alternate_class();
    ?>
>
	<td class="category">
		<?php 
    echo lang_get('product_version');
    ?>
	</td>
	<td>
		<select <?php 
    echo helper_get_tab_index();
    ?>
 name="product_version">
			<?php 
    print_version_option_list($f_product_version, $t_project_id, VERSION_RELEASED);
    ?>
		</select>
	</td>
</tr>
<?php 
}
?>

<!-- spacer -->
<tr class="spacer">
	<td colspan="2"></td>
</tr>


<!-- Summary -->
开发者ID:jin255ff,项目名称:company_website,代码行数:31,代码来源:bug_report_page.php


示例5: config_get

                $t_show_version = ON == config_get('show_product_version') || AUTO == config_get('show_product_version') && count(version_get_all_rows($t_project_id)) > 0;
                if ($t_show_version) {
                    ?>
		<tr class="row-2">
			<td class="category">
				<?php 
                    echo $t_question_title2;
                    ?>
			</td>
			<td>
				<select name="<?php 
                    echo $t_form2;
                    ?>
">
					<?php 
                    print_version_option_list('', null, VERSION_ALL);
                    ?>
				</select>
			</td>
		</tr>
	<?php 
                }
                break;
        }
    }
} else {
    ?>

<tr class="row-1">
	<td class="category" colspan="2">
		<?php 
开发者ID:renemilk,项目名称:spring-website,代码行数:31,代码来源:bug_actiongroup_page.php


示例6: lang_get

    $t_spacer = 2;
    # Target Version
    if ($t_show_target_version) {
        echo '<th class="category"><label for="target_version">' . lang_get('target_version') . '</label></th>';
        echo '<td><select ' . helper_get_tab_index() . ' id="target_version" name="target_version">';
        print_version_option_list($t_bug->target_version, $t_bug->project_id, VERSION_FUTURE);
        echo '</select></td>';
    } else {
        $t_spacer += 2;
    }
    # Fixed in Version
    if ($t_show_fixed_in_version) {
        echo '<th class="category"><label for="fixed_in_version">' . lang_get('fixed_in_version') . '</label></th>';
        echo '<td>';
        echo '<select ' . helper_get_tab_index() . ' id="fixed_in_version" name="fixed_in_version">';
        print_version_option_list($t_bug->fixed_in_version, $t_bug->project_id, VERSION_ALL);
        echo '</select>';
        echo '</td>';
    } else {
        $t_spacer += 2;
    }
    # spacer
    echo '<td colspan="', $t_spacer, '">&#160;</td>';
    echo '</tr>';
}
event_signal('EVENT_UPDATE_BUG_FORM', array($t_bug_id, true));
# spacer
echo '<tr class="spacer"><td colspan="6"></td></tr>';
echo '<tr class="hidden"></tr>';
# Summary
if ($t_show_summary) {
开发者ID:N0ctrnl,项目名称:mantisbt,代码行数:31,代码来源:bug_update_page.php


示例7: config_get

$t_show_version = ON == config_get('show_product_version') || AUTO == config_get('show_product_version') && count(version_get_all_rows($t_bug->project_id)) > 0;
if ($t_show_version) {
    ?>
	<!-- Product Version -->
	<td class="category">
		<?php 
    echo lang_get('product_version');
    ?>
	</td>
	<td>
		<select <?php 
    echo helper_get_tab_index();
    ?>
 name="version">
			<?php 
    print_version_option_list($t_bug->version, $t_bug->project_id, VERSION_RELEASED);
    ?>
		</select>
	</td>
</tr>

<?php 
}
/*
<tr <?php echo helper_alternate_class() ?>>
	<!-- Fixed in Version -->
	<td class="category">
		<?php echo lang_get( 'fixed_in_version' ) ?>
	</td>
	<td colspan="5">
		<select <?php echo helper_get_tab_index() ?> name="fixed_in_version">
开发者ID:amjadtbssm,项目名称:website,代码行数:31,代码来源:bug_update_page.php


示例8: lang_get

        ?>
	<!-- spacer -->
	<td colspan="2">&nbsp;</td>

	<td class="category">
		<?php 
        echo lang_get('target_version');
        ?>
	</td>
	<td>
	<select <?php 
        echo helper_get_tab_index();
        ?>
 name="target_version">
		<?php 
        print_version_option_list($t_bug->target_version, $t_bug->project_id, VERSION_ALL);
        ?>
	</select>
	</td>
<?php 
    } else {
        ?>
	<!-- spacer -->
	<td colspan="4">&nbsp;</td>
<?php 
    }
    ?>
	<!-- Build -->
	<td class="category">
		<?php 
    echo lang_get('build');
开发者ID:renemilk,项目名称:spring-website,代码行数:31,代码来源:bug_update_advanced_page.php


示例9: print_filter_show_target_version

function print_filter_show_target_version()
{
    global $t_select_modifier, $t_filter;
    ?>
<!-- Fixed in Version -->
		<select <?php 
    print $t_select_modifier;
    ?>
 name="target_version[]">
			<option value="<?php 
    echo META_FILTER_ANY;
    ?>
" <?php 
    check_selected($t_filter['target_version'], META_FILTER_ANY);
    ?>
>[<?php 
    echo lang_get('any');
    ?>
]</option>
			<option value="<?php 
    echo META_FILTER_NONE;
    ?>
" <?php 
    check_selected($t_filter['target_version'], META_FILTER_NONE);
    ?>
>[<?php 
    echo lang_get('none');
    ?>
]</option>
			<?php 
    print_version_option_list($t_filter['target_version'], null, VERSION_ALL, false, true);
    ?>
		</select>
		<?php 
}
开发者ID:amjadtbssm,项目名称:website,代码行数:35,代码来源:filter_api.php


示例10: helper_alternate_class

    if ($t_show_product_version) {
        ?>
<!-- Fixed in Version -->
<tr <?php 
        echo helper_alternate_class();
        ?>
>
	<th class="category">
		<?php 
        echo lang_get('fixed_in_version');
        ?>
	</th>
	<td>
		<select name="fixed_in_version">
			<?php 
        print_version_option_list(bug_get_field($f_bug_id, 'fixed_in_version'), bug_get_field($f_bug_id, 'project_id'), VERSION_ALL);
        ?>
		</select>
	</td>
</tr>
<?php 
    }
}
?>

<?php 
event_signal('EVENT_BUG_CHANGE_STATUS_FORM', array($f_bug_id));
?>

<!-- Bugnote -->
<tr id="bug-change-status-note" <?php 
开发者ID:kaos,项目名称:mantisbt,代码行数:31,代码来源:bug_change_status_page.php


示例11: display_strategies

<td><select name="_type"><?php 
    display_strategies();
    ?>
</select></td>
<?php 
    if (Source_PVM()) {
        ?>
<td><select name="_pvm_version_id"><?php 
        display_pvm_versions();
        ?>
</select></td>
<?php 
    } else {
        ?>
<td><select name="_version"><?php 
        print_version_option_list('', ALL_PROJECTS, false, true, true);
        ?>
</td>
<?php 
    }
    ?>
<td><input name="_regex" size="18" maxlength="128"/></td>
<td></td>
</tr>

<tr>
<td class="center" colspan="5"><input type="submit" value="<?php 
    echo plugin_lang_get('mapping_update');
    ?>
"/></td>
</tr>
开发者ID:01-Scripts,项目名称:source-integration,代码行数:31,代码来源:repo_manage_page.php


示例12: print_assign_to_option_list

				<option value="0" selected="selected"></option>
				<?php print_assign_to_option_list( $f_handler_id ) ?>
			</select>
		</td>
	</tr>
<?php } ?>

<?php // Target Version (if permissions allow)
	if ( $tpl_show_target_version ) { ?>
	<tr <?php echo helper_alternate_class() ?>>
		<th class="category">
			<label for="target_version"><?php echo lang_get( 'target_version' ) ?></label>
		</th>
		<td>
			<select <?php echo helper_get_tab_index() ?> id="target_version" name="target_version">
				<?php print_version_option_list() ?>
			</select>
		</td>
	</tr>
<?php } ?>
<?php event_signal( 'EVENT_REPORT_BUG_FORM', array( $t_project_id ) ) ?>
	<tr <?php echo helper_alternate_class() ?>>
		<th class="category">
			<span class="required">*</span><label for="summary"><?php print_documentation_link( 'summary' ) ?></label>
		</th>
		<td>
			<input <?php echo helper_get_tab_index() ?> type="text" id="summary" name="summary" size="105" maxlength="128" value="<?php echo string_attribute( $f_summary ) ?>" />
		</td>
	</tr>
	<tr <?php echo helper_alternate_class() ?>>
		<th class="category">
开发者ID:rombert,项目名称:mantisbt,代码行数:31,代码来源:bug_report_page.php


示例13: print_filter_show_target_version

/**
 *  print target version field
 */
function print_filter_show_target_version() {
	global $t_select_modifier, $t_filter;
	?><!-- Fixed in Version -->
		<select<?php echo $t_select_modifier;?> name="<?php echo FILTER_PROPERTY_TARGET_VERSION;?>[]">
			<option value="<?php echo META_FILTER_ANY?>"<?php check_selected( $t_filter[FILTER_PROPERTY_TARGET_VERSION], META_FILTER_ANY );?>>[<?php echo lang_get( 'any' )?>]</option>
			<option value="<?php echo META_FILTER_NONE?>"<?php check_selected( $t_filter[FILTER_PROPERTY_TARGET_VERSION], META_FILTER_NONE );?>>[<?php echo lang_get( 'none' )?>]</option>
			<?php print_version_option_list( $t_filter[FILTER_PROPERTY_TARGET_VERSION], /* projectId */ null, /* released */ VERSION_ALL, /* leadingBlank */ false, /* withSubs */ true )?>
		</select>
		<?php
}
开发者ID:rombert,项目名称:mantisbt,代码行数:13,代码来源:filter_api.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP print_warning函数代码示例发布时间:2022-05-15
下一篇:
PHP print_vars函数代码示例发布时间: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