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


PHP bp_signup_username_value函数代码示例

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


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

示例1: bp_ajax_register_form_function


//.........这里部分代码省略.........
    ?>
</div>
<form action="" onSubmit="bp_ajax_submit_register_form(); return false;" name="signup_form" id="ajax_signup_form" class="standard-form" method="post" enctype="multipart/form-data">
			
				<h2><?php 
    _e('&nbsp;', 'buddypress');
    ?>
</h2>

				<?php 
    do_action('template_notices');
    ?>

				<?php 
    do_action('bp_before_account_details_fields');
    ?>

				<div class="register-section ajax-register-section" id="basic-details-section">

					<?php 
    /***** Basic Account Details ******/
    ?>

					<div class="ctrlHolder">
					<label for="signup_username"><?php 
    _e('Username', 'buddypress');
    ?>
 <?php 
    _e('', 'buddypress');
    ?>
</label>
					<div id="signup_username_error" class="error"></div>
					<input type="text" name="signup_username" id="signup_username" value="<?php 
    bp_signup_username_value();
    ?>
" />
                    </div>

					<div class="ctrlHolder">
					<label for="signup_email"><?php 
    _e('Email Address', 'buddypress');
    ?>
 <?php 
    _e('', 'buddypress');
    ?>
</label>
					<div id="signup_email_error" class="error"></div>
					<input type="text" name="signup_email" id="signup_email" value="<?php 
    bp_signup_email_value();
    ?>
" />
					</div>
                    
                    <div class="ctrlHolder">
					<label for="signup_password"><?php 
    _e('Choose a Password', 'buddypress');
    ?>
 <?php 
    _e('', 'buddypress');
    ?>
</label>
					<div id="signup_password_error" class="error"></div>
					<input type="password" name="signup_password" id="signup_password" value="" />
					</div>
                    
                    <div class="ctrlHolder">
开发者ID:hscale,项目名称:webento,代码行数:67,代码来源:bp-ajax.registration.php

示例2: _e

    _e('Account Details', 'buddypress');
    ?>
</h4>

					<label for="signup_username"><?php 
    _e('Username', 'buddypress');
    ?>
 <?php 
    _e('(required)', 'buddypress');
    ?>
</label>
					<?php 
    do_action('bp_signup_username_errors');
    ?>
					<input type="text" name="signup_username" id="signup_username" value="<?php 
    bp_signup_username_value();
    ?>
" />

					<label for="signup_email"><?php 
    _e('Email Address', 'buddypress');
    ?>
 <?php 
    _e('(required)', 'buddypress');
    ?>
</label>
					<?php 
    do_action('bp_signup_email_errors');
    ?>
					<input type="text" name="signup_email" id="signup_email" value="<?php 
    bp_signup_email_value();
开发者ID:igniterealtime,项目名称:community-plugins,代码行数:31,代码来源:register.php

示例3: _render_buddypress_account_details

    /**
     * Renders BuddyPress account details section.
     *
     * @since 3.5
     *
     * @access private
     */
    private function _render_buddypress_account_details()
    {
        ?>
<div class="register-section" id="basic-details-section">
			<h4><?php 
        _e('Account Details', 'membership');
        ?>
</h4>

			<label for="signup_username"><?php 
        _e('Username (required)', 'membership');
        ?>
</label>
			<?php 
        do_action('bp_signup_username_errors');
        ?>
			<input type="text" name="signup_username" id="signup_username" required x-autocompletetype="nickname" value="<?php 
        bp_signup_username_value();
        ?>
">

			<label for="signup_email"><?php 
        _e('Email Address (required)', 'membership');
        ?>
</label>
			<?php 
        do_action('bp_signup_email_errors');
        ?>
			<input type="text" name="signup_email" id="signup_email" required x-autocompletetype="email" value="<?php 
        bp_signup_email_value();
        ?>
">

			<label for="signup_password"><?php 
        _e('Choose a Password (required)', 'membership');
        ?>
</label>
			<?php 
        do_action('bp_signup_password_errors');
        ?>
			<input type="password" name="signup_password" required id="signup_password" autocomplete="off">

			<label for="signup_password_confirm"><?php 
        _e('Confirm Password (required)', 'membership');
        ?>
</label>
			<?php 
        do_action('bp_signup_password_confirm_errors');
        ?>
			<input type="password" name="signup_password_confirm" required id="signup_password_confirm" autocomplete="off">

			<?php 
        do_action('bp_before_account_details_end');
        ?>
		</div><!-- #basic-details-section --><?php 
    }
开发者ID:vilmark,项目名称:vilmark_main,代码行数:63,代码来源:Standard.php


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