Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gmap
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
gmap
Commits
6044806d
Commit
6044806d
authored
16 years ago
by
Brandon Bergren
Browse files
Options
Downloads
Patches
Plain Diff
#338572 by goba: Improvements to the filter description.
parent
85c10e48
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gmap.module
+2
-2
2 additions, 2 deletions
gmap.module
with
2 additions
and
2 deletions
gmap.module
+
2
−
2
View file @
6044806d
...
...
@@ -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
filt
er'
)));
return
(
array
(
0
=>
t
(
'GMap
macro expand
er'
)));
case
'name'
:
return
t
(
'Google map filter'
);
case
'description'
:
return
t
(
'
c
onverts a
g
oogle
m
ap
macro into the
html
required for inserting a
g
oogle
m
ap.'
);
return
t
(
'
C
onverts a
G
oogle
M
ap macro into the
HTML
required for inserting a
G
oogle
M
ap.'
);
case
'process'
:
$gmaps
=
_gmap_prepare
(
$text
);
//returns an array of $tables[0] = table macro $table[1]= table html
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment