本文整理匯總了PHP中UserForm::multilanguage_info方法的典型用法代碼示例。如果您正苦於以下問題:PHP UserForm::multilanguage_info方法的具體用法?PHP UserForm::multilanguage_info怎麽用?PHP UserForm::multilanguage_info使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類UserForm
的用法示例。
在下文中一共展示了UserForm::multilanguage_info方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: _e
<?php
UserForm::address_text(osc_user());
?>
</div>
<div class="row">
<label for="webSite"><?php
_e('Website', 'modern');
?>
</label>
<?php
UserForm::website_text(osc_user());
?>
</div>
<div class="row">
<?php
UserForm::multilanguage_info($locales, osc_user());
?>
</div>
<div class="row">
<button type="submit"><?php
_e('Update', 'modern');
?>
</button>
<button id="delete_account" type="button"><?php
_e('Delete my account', 'modern');
?>
</button>
</div>
<?php
osc_run_hook('user_form');
?>
示例2: _e
<fieldset>
<legend><?php
_e('Website');
?>
</legend>
<?php
UserForm::website_text($user);
?>
</fieldset>
<fieldset style="min-height: 166px;">
<legend><?php
_e('Additional information');
?>
</legend>
<?php
UserForm::multilanguage_info($locales, $user);
?>
</fieldset>
</div>
<div style="float: left; width: 50%;">
<fieldset>
<legend><?php
_e('Country');
?>
</legend>
<?php
UserForm::country_select($countries, $user);
?>
</fieldset>
<fieldset>
<legend><?php
示例3: _e
<?php
UserForm::address_text(osc_user());
?>
</div>
<div class="row ui-row-text">
<label for="webSite"><?php
_e('Website', 'realestate');
?>
</label>
<?php
UserForm::website_text(osc_user());
?>
</div>
<div class="row ui-row-text">
<?php
UserForm::multilanguage_info(osc_get_locales(), osc_user());
?>
</div>
<div class="actions">
<a href="#" class="ui-button ui-button-gray js-submit"><?php
_e("Update", 'realestate');
?>
</a>
</div>
<?php
osc_run_hook('user_form');
?>
</fieldset>
</form>
</div>
</div>