]> git.pld-linux.org Git - packages/dokuwiki-plugin-data.git/blame - helper-map.patch
- add separate-rpmdb.patch
[packages/dokuwiki-plugin-data.git] / helper-map.patch
CommitLineData
a9553456
ER
1--- data/helper.php 2009-10-22 18:50:43.604400412 +0300
2+++ data/helper.php 2009-10-22 18:50:41.000000000 +0300
3@@ -109,6 +109,10 @@
4 list($wikiName, $wikiUri) = explode('>', $val, 2);
5 $outs[] = $R->interwikilink($val, NULL, $wikiName, $wikiUri, true);
6 break;
7+ case 'map':
8+ $url = "http://maps.google.com/maps?q=".$val;
9+ $outs[] = '<a href="'.$url.'" class="urlextern" title="Google Map: '.hsc($val).'">'.hsc($val).'</a>';
10+ break;
11 case 'mail':
12 list($id,$title) = explode(' ',$val,2);
13 $id = obfuscate(hsc($id));
This page took 0.134634 seconds and 4 git commands to generate.