This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('SYSPATH') or die('No direct script access.'); | |
/** | |
* Election Tool Hook - Load All Events | |
* | |
* 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 <[email protected]> | |
* @package Ushahidi - http://source.ushahididev.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Append phone numbers that comes from monitors to their location. | |
* TODO rework this wack solution | |
*/ | |
public function _append_location_find() { | |
$location_find = Event::$data; | |
if (isset($_SESSION['from_location'])) | |
{ | |
$location_find = $_SESSION['from_location']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Single entity view js file. | |
* | |
* Handles javascript stuff related to edit report function. | |
* | |
* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Manipulate view | |
*/ | |
public function _manipulate_incident() | |
{ | |
$incidents = Event::$data; | |
$filter = $this->_filter(); | |
$auth = new Auth(); | |
$admin_section = $this->_get_admin_section($_SESSION['auth_user']->id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function _manipulate_incident() | |
{ | |
$incidents = Event::$data; | |
//die(print_r(Kohana::debug($incidents))); | |
$filter = $this->_filter(); | |
$auth = new Auth(); | |
$admin_section = $this->_get_admin_section($_SESSION['auth_user']->id); | |
$sections = $this->_get_admin_sections(); | |
$pagination = $this->_pagination(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Creates the DB tables for the service delivery plugin | |
*/ | |
-- | |
-- Table boundary_type | |
-- | |
CREATE TABLE IF NOT EXISTS `boundary_type` ( | |
`id` INT NOT NULL AUTO_INCREMENT, | |
`boundary_type_name` VARCHAR(45) NOT NULL , |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Creates the DB tables for the service delivery plugin | |
*/ | |
-- | |
-- Table boundary_type | |
-- | |
CREATE TABLE IF NOT EXISTS `boundary_type` ( | |
`id` INT NOT NULL AUTO_INCREMENT, | |
`boundary_type_name` VARCHAR(45) NOT NULL , |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Creates the DB tables for the service delivery plugin | |
*/ | |
-- | |
-- Table boundary_type | |
-- | |
CREATE TABLE IF NOT EXISTS `boundary_type` ( | |
`id` INT NOT NULL AUTO_INCREMENT, | |
`boundary_type_name` VARCHAR(45) NOT NULL , |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Language strings for the Service delivery plugin | |
*/ | |
$lang = array( | |
// Boundaries | |
'boundary' => 'Administrative Boundary', | |
'boundaries' => 'Administrative Boundaries', | |
'boundary_name' => 'Boundary Name', | |
'boundary_type' => 'Boundary Type', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Host Database | |
# | |
# localhost is used to configure the loopback interface | |
# when the system is booting. Do not change this entry. | |
## | |
127.0.0.1 localhost | |
255.255.255.255 broadcasthost | |
::1 localhost | |
fe80::1%lo0 localhost |
OlderNewer