Skip to content
Snippets Groups Projects
Commit 6044806d authored by Brandon Bergren's avatar Brandon Bergren
Browse files

#338572 by goba: Improvements to the filter description.

parent 85c10e48
No related branches found
No related tags found
No related merge requests found
......@@ -422,13 +422,13 @@ function gmap_dimension_validate(&$elem, &$form_state) {
function gmap_filter($op, $delta = 0, $format = -1, $text = '') {
switch ($op) {
case 'list':
return (array(0 => t('GMap filter')));
return (array(0 => t('GMap macro expander')));
case 'name':
return t('Google map filter');
case 'description':
return t('converts a google map macro into the html required for inserting a google map.');
return t('Converts a Google Map macro into the HTML required for inserting a Google Map.');
case 'process':
$gmaps = _gmap_prepare($text); //returns an array of $tables[0] = table macro $table[1]= table html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment