This file contains hidden or 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
CREATE TABLE IF NOT EXISTS `checkin` | |
( | |
`id` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, | |
`user_Id` INT UNSIGNED NOT NULL, | |
`location_id` BIGINT UNSIGNED NOT NULL, | |
`checkin_description` VARCHAR(255), | |
`checkin_date` DATETIME NOT NULL, | |
`checkin_auto` ENUM('0','1') DEFAULT '0', | |
PRIMARY KEY (`id`) | |
); |
This file contains hidden or 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
diff --git a/application/controllers/scheduler/s_email.php b/application/controllers/scheduler/s_email.php | |
index 1be52ca..0d7bfb0 100644 | |
--- a/application/controllers/scheduler/s_email.php | |
+++ b/application/controllers/scheduler/s_email.php | |
@@ -151,6 +151,54 @@ class S_Email_Controller extends Controller { | |
} | |
} | |
+ | |
+ // Auto-Create A Report if Reporter is Trusted |
This file contains hidden or 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.'); | |
/** | |
* EMAIL Scheduler Controller (IMAP/POP3) | |
* | |
* 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 hidden or 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
var ci_styles = new OpenLayers.StyleMap({ | |
"default": new OpenLayers.Style({ | |
pointRadius: "10", // sized according to type attribute | |
fillColor: "${fcolor}", | |
strokeColor: "${scolor}", | |
strokeWidth: 2, | |
graphicZIndex: 1 | |
}, | |
{ | |
context: |
This file contains hidden or 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
var ci_styles = new OpenLayers.StyleMap({ | |
"default": new OpenLayers.Style({ | |
pointRadius: "10", // sized according to type attribute | |
fillColor: "${fcolor}", | |
strokeColor: "${scolor}", | |
strokeWidth: 2, | |
graphicZIndex: 1 | |
}, | |
{ | |
context: |
This file contains hidden or 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
{ | |
"payload": { | |
"task": "send", | |
"messages": [ | |
{ | |
"to": "14046474562", | |
"message": "Thank you for sending a message to Ushahidi. What is the closest town or city for your last message?" | |
} | |
] | |
} |
This file contains hidden or 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 | |
// Pagination | |
$pagination = new Pagination(array( | |
'query_string' => 'page', | |
'items_per_page' => (int) Kohana::config('settings.items_per_page'), | |
'total_items' => ORM::factory("incident") | |
->where("incident_active", 1) | |
->where($location_id_in) | |
->where($incident_id_in) |
This file contains hidden or 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
CREATE TABLE IF NOT EXISTS `frontlinesms` | |
( | |
id int(11) unsigned NOT NULL AUTO_INCREMENT, | |
frontlinesms_key varchar(100) DEFAULT NULL, | |
PRIMARY KEY (`id`) | |
); |
This file contains hidden or 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.'); | |
class hello_world { | |
public function __construct() | |
{ | |
$block = array( | |
"classname" => "hello_world", | |
"name" => "Hello World", | |
"description" => "Ushahidi extensible content blocks" |
This file contains hidden or 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
{ | |
"id": "a8a9b40f61f61eda91a1ca558f0e13e5", | |
"state": "new_content", | |
"text": [ | |
{ | |
"languageCode": "en", | |
"title": "2nd UK Tabloid Probed by Police - TIME", | |
"text": [ | |
null | |
] |