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


PHP print_email_link函数代码示例

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


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

示例1: helper_alternate_class

for ($i = 0; $i < $t_users_count; $i++) {
    $t_user = $t_users[$i];
    ?>
		<tr <?php 
    echo helper_alternate_class();
    ?>
>
			<td>
				<?php 
    echo $t_display[$i];
    ?>
			</td>
			<td>
			<?php 
    $t_email = user_get_email($t_user['id']);
    print_email_link($t_email, $t_email);
    ?>
			</td>
			<td>
				<?php 
    echo get_enum_element('access_levels', $t_user['access_level']);
    ?>
			</td>
			<td class="center">
			<?php 
    # You need global or project-specific permissions to remove users
    #  from this project
    if ($t_can_manage_users && access_has_project_level($t_user['access_level'], $f_project_id)) {
        if (project_includes_user($f_project_id, $t_user['id'])) {
            print_button("manage_proj_user_remove.php?project_id={$f_project_id}&user_id=" . $t_user['id'], lang_get('remove_link'));
            $t_removable_users_exist = true;
开发者ID:kaos,项目名称:mantisbt,代码行数:31,代码来源:manage_proj_edit_page.php

示例2: string_display

>
	<td>
		<a href="manage_user_edit_page.php?user_id=<?php 
    echo $u_id;
    ?>
"><?php 
    echo string_display($u_username);
    ?>
</a>
	</td>
	<td><?php 
    echo string_display($u_realname);
    ?>
</td>
	<td><?php 
    print_email_link($u_email, $u_email);
    ?>
</td>
	<td><?php 
    echo get_enum_element('access_levels', $u_access_level);
    ?>
</td>
	<td><?php 
    echo trans_bool($u_enabled);
    ?>
</td>
	<td class="center">
          <?php 
    if ($u_protected) {
        echo " {$t_lock_image}";
    } else {
开发者ID:jin255ff,项目名称:company_website,代码行数:31,代码来源:manage_user_page.php

示例3: date

		$u_date_created  = date( $t_date_format, $u_date_created );
		$u_last_visit    = date( $t_date_format, $u_last_visit );

		if( !isset( $t_access_level[$u_access_level] ) ) {
			$t_access_level[$u_access_level] = get_enum_element( 'access_levels', $u_access_level );
		} ?>
			<tr>
				<td><?php
					if( access_has_global_level( $u_access_level ) ) { ?>
						<a href="manage_user_edit_page.php?user_id=<?php echo $u_id ?>"><?php echo string_display_line( $u_username ) ?></a><?php
					} else {
						echo string_display_line( $u_username );
					} ?>
				</td>
				<td><?php echo string_display_line( $u_realname ) ?></td>
				<td><?php print_email_link( $u_email, $u_email ) ?></td>
				<td><?php echo $t_access_level[$u_access_level] ?></td>
				<td class="center"><?php echo trans_bool( $u_enabled ) ?></td>
				<td class="center"><?php
					if( $u_protected ) {
						echo ' ' . $t_lock_image;
					} else {
						echo '&#160;';
					} ?>
				</td>
				<td><?php echo $u_date_created ?></td>
				<td><?php echo $u_last_visit ?></td>
			</tr>
<?php
	}  # end for
?>
开发者ID:01-Scripts,项目名称:mantisbt,代码行数:31,代码来源:manage_user_page.php

示例4: print_sql_error

function print_sql_error($p_query)
{
    global $g_administrator_email;
    print error_string(ERROR_SQL);
    print_email_link($g_administrator_email, lang_get('administrator'));
    print "<br />{$p_query};<br />";
}
开发者ID:jin255ff,项目名称:company_website,代码行数:7,代码来源:print_api.php

示例5: print_sql_error

function print_sql_error($p_query)
{
    global $MANTIS_ERROR, $g_administrator_email, $s_administrator;
    print $MANTIS_ERROR[ERROR_SQL];
    print_email_link($g_administrator_email, $s_administrator);
    print "<p>{$p_query};<p>";
}
开发者ID:ColBT,项目名称:php_tut,代码行数:7,代码来源:core_print_API.php

示例6: print_sql_error

function print_sql_error($p_query)
{
    global $MANTIS_ERROR, $g_administrator_email;
    print $MANTIS_ERROR[ERROR_SQL];
    print_email_link($g_administrator_email, lang_get('administrator'));
    print "<br />{$p_query};<br />";
}
开发者ID:centaurustech,项目名称:BenFund,代码行数:7,代码来源:print_api.php


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