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


PHP admin::user_subtabs方法代码示例

本文整理汇总了PHP中admin::user_subtabs方法的典型用法代码示例。如果您正苦于以下问题:PHP admin::user_subtabs方法的具体用法?PHP admin::user_subtabs怎么用?PHP admin::user_subtabs使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在admin的用法示例。


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

示例1:

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::user_subtabs("users");
?>
				</h2>
				<!-- report-table -->
				<div class="report-form">
					<!-- report-table -->
					<?php 
print form::open();
?>
						<input type="hidden" name="action" id="action" value="">
						<div class="table-holder">
							<table class="table">
								<thead>
									<tr>
										<th class="col-1">
											&nbsp;
开发者ID:nebogeo,项目名称:borrowed-scenery,代码行数:31,代码来源:users.php

示例2: foreach

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     Roles View
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
		<div class="bg">
			<h2>
				<?php 
admin::user_subtabs("roles");
?>
			</h2>

			<?php 
if ($form_error) {
    ?>
				<!-- red-box -->
				<div class="red-box">
					<h3><?php 
    echo Kohana::lang('ui_admin.error_msg');
    ?>
</h3>
					<ul>
					<?php 
    foreach ($errors as $error_item => $error_description) {
开发者ID:nebogeo,项目名称:borrowed-scenery,代码行数:31,代码来源:users_roles.php

示例3: foreach

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     Edit User View
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::user_subtabs("users_edit");
?>
				</h2>
				<?php 
if ($form_error) {
    ?>
					<!-- red-box -->
					<div class="red-box">
						<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
						<ul>
						<?php 
    foreach ($errors as $error_item => $error_description) {
        print !$error_description ? '' : "<li>" . $error_description . "</li>";
开发者ID:nebogeo,项目名称:borrowed-scenery,代码行数:31,代码来源:users_edit.php

示例4: foreach

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     Roles View
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
		<div class="bg">
			<h2>
				<?php 
admin::user_subtabs("roles", $display_roles);
?>
			</h2>

			<?php 
if ($form_error) {
    ?>
				<!-- red-box -->
				<div class="red-box">
					<h3><?php 
    echo Kohana::lang('ui_admin.error_msg');
    ?>
</h3>
					<ul>
					<?php 
    foreach ($errors as $error_item => $error_description) {
开发者ID:niiyatii,项目名称:crowdmap,代码行数:31,代码来源:roles.php

示例5:

 * Users view page.
 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     API Controller
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php admin::user_subtabs("users"); ?>
				</h2>
				<!-- report-table -->
				<div class="report-form">
					<!-- report-table -->
					<?php print form::open(NULL,array('id' => 'userMain', 'name' => 'userMain')); ?>
						<input type="hidden" name="action" id="action" value="">
						<input type="hidden" name="user_id_action" id="user_id_action" value="">
						<div class="table-holder">
							<table class="table">
								<thead>
									<tr>
										<th class="col-1">
											&nbsp;
										</th>
										<th class="col-2">
开发者ID:rkabir,项目名称:Ushahidi_Web,代码行数:31,代码来源:users.php

示例6: foreach

 *
 * PHP version 5
 * LICENSE: This source file is subject to LGPL license 
 * that is available through the world-wide-web at the following URI:
 * http://www.gnu.org/copyleft/lesser.html
 * @author     Ushahidi Team <team@ushahidi.com> 
 * @package    Ushahidi - http://source.ushahididev.com
 * @module     Edit User View
 * @copyright  Ushahidi - http://www.ushahidi.com
 * @license    http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL) 
 */
?>
			<div class="bg">
				<h2>
					<?php 
admin::user_subtabs("users_edit", $display_roles);
?>
				</h2>
				<?php 
if ($form_error) {
    ?>
					<!-- red-box -->
					<div class="red-box">
						<h3><?php 
    echo Kohana::lang('ui_main.error');
    ?>
</h3>
						<ul>
						<?php 
    foreach ($errors as $error_item => $error_description) {
        print !$error_description ? '' : "<li>" . $error_description . "</li>";
开发者ID:huslage,项目名称:Ushahidi_Web,代码行数:31,代码来源:users_edit.php


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