Ejemplo n.º 1
0
 *
 * 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 <*****@*****.**> 
 * @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;
Ejemplo n.º 2
0
 *
 * 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 <*****@*****.**> 
 * @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) {
Ejemplo n.º 3
0
 *
 * 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 <*****@*****.**> 
 * @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>";
Ejemplo n.º 4
0
 *
 * 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 <*****@*****.**> 
 * @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) {
Ejemplo n.º 5
0
 * 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 <*****@*****.**> 
 * @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">
Ejemplo n.º 6
0
 *
 * 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 <*****@*****.**> 
 * @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>";