當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。