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
/** | |
* Retrieve All Tags | |
* | |
* GET /api/tags | |
* | |
* @return void | |
*/ | |
public function action_get_index_collection() | |
{ | |
$repo = service('repository.tag'); |
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
/** | |
* Ushahidi Tag Authorizer | |
* | |
* @author Ushahidi Team <[email protected]> | |
* @package Ushahidi\Application | |
* @copyright 2014 Ushahidi | |
* @license https://www.gnu.org/licenses/agpl-3.0.html GNU Affero General Public License Version 3 (AGPL3) | |
*/ | |
use Ushahidi\Entity; |
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
$('#mapmarker').simplepicker({ | |
picker: true, | |
theme: 'iconpicker', | |
setOptionValue: setPickerIcon | |
}); |
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
<div class="map-settings-block-wrapper"> | |
<label for="map-marker"> | |
<h6>Map Marker Icon</h6> | |
</label> | |
<p class="map-settings-form-helper-text">Select the default map marker icon</p> | |
<select name="mapMarker" class="select-map-marker js-map-marker"> | |
</select> | |
</div> <!-- end .map-settings-block-wrapper --> |
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
<select name="mapMarker" class="select-map-marker js-map-marker"> | |
{{#each AwesomeMarkers}} | |
<option value="{{this}}">{{this}}</option> | |
{{/each}} | |
</select> |
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 AwesomeMarkers = {}; | |
AwesomeMarkers = {icon: L.AwesomeMarkers.icon({ | |
icon: 'fa-bell', | |
iconColor: '#6b1d5c', | |
})}; |
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
<!doctype html> | |
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ --> | |
<!--[if lt IE 7]> | |
<html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> | |
<!--[if IE 7]> | |
<html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> | |
<!--[if IE 8]> | |
<html class="no-js lt-ie9" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> | |
<html class="no-js" lang="en"> <!--<![endif]--> |
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
<div class="map-settings-block-wrapper"> | |
<label for="map-marker"> | |
<h6>Map Marker Icon</h6> | |
</label> | |
<p class="map-settings-form-helper-text">Select the default map marker icon</p> | |
<label><i class="fa fa-check icon-white"></i></label> | |
</div> <!-- end .map-settings-block-wrapper --> |
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
{"errors":[{"message":"Validation Error: 'tag.role.doRolesExist'","code":400,"class":"HTTP_Exception_400","file":"\/private\/var\/wwwdocs\/Lamu\/application\/classes\/Controller\/Api\/Tags.php","line":199,"trace":[{"file":"\/private\/var\/wwwdocs\/Lamu\/vendor\/kohana\/core\/classes\/Kohana\/Controller.php","line":84,"function":"action_put_index","class":"Controller_Api_Tags","type":"->","args":[]},{"function":"execute","class":"Kohana_Controller","type":"->","args":[]},{"file":"\/private\/var\/wwwdocs\/Lamu\/vendor\/kohana\/core\/classes\/Kohana\/Request\/Client\/Internal.php","line":97,"function":"invoke","class":"ReflectionMethod","type":"->","args":[{"request":{},"response":{},"acl":{"_guest_role":"guest"},"auth":{},"user":{}}]},{"file":"\/private\/var\/wwwdocs\/Lamu\/vendor\/kohana\/core\/classes\/Kohana\/Request\/Client.php","line":114,"function":"execute_request","class":"Kohana_Request_Client_Internal","type":"->","args":[{},{}]},{"file":"\/private\/var\/wwwdocs\/Lamu\/vendor\/kohana\/core\/classes\/K |
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
<IfModule php5_module> | |
AddType application/x-httpd-php .php | |
AddType application/x-httpd-php-source .phps | |
<IfModule dir_module> | |
DirectoryIndex index.php index.php | |
</IfModule> | |
</IfModule> |