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 | |
/** | |
* Implements hook_wysiwyg_editor_settings_alter(). | |
*/ | |
function MODULENAME_wysiwyg_editor_settings_alter(&$settings, $context) { | |
global $base_url; | |
if ($context['profile']->editor == 'ckeditor') { | |
$skins_path = drupal_get_path('module', 'MODULENAME') . '/ckeditor/skins'; | |
// For flexibility we use a variable to get the active skin name. |
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 | |
/** | |
* Generate a simple map with a location pointer. | |
* | |
* @param string $location | |
* Location to use (for example the address). | |
* @param string $country | |
* Name of the country to use. | |
* | |
* @return string |
NewerOlder