cvs: php-wiki-web /dokuwiki/lib/plugins/phpbugid syntax.php
| From: | Lukas Smith | Date: | Sun, 29 Jun 2008 17:27:32 +0000 |
| Subject: | cvs: php-wiki-web /dokuwiki/lib/plugins/phpbugid syntax.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-2019@lists.php.net to get a copy of this message | ||
lsmith Sun Jun 29 17:27:32 2008 UTC
Modified files:
/php-wiki-web/dokuwiki/lib/plugins/phpbugid syntax.php
Log:
- fixed errors in url generation
http://cvs.php.net/viewvc.cgi/php-wiki-web/dokuwiki/lib/plugins/phpbugid/syntax.php?r1=1.1&r2=1.2&diff_format=u
Index: php-wiki-web/dokuwiki/lib/plugins/phpbugid/syntax.php
diff -u php-wiki-web/dokuwiki/lib/plugins/phpbugid/syntax.php:1.1
php-wiki-web/dokuwiki/lib/plugins/phpbugid/syntax.php:1.2
--- php-wiki-web/dokuwiki/lib/plugins/phpbugid/syntax.php:1.1 Sun Jun 29 17:10:58 2008
+++ php-wiki-web/dokuwiki/lib/plugins/phpbugid/syntax.php Sun Jun 29 17:27:32 2008
@@ -74,11 +74,12 @@
$name = 'bug #'.$bugid;
}
-// $name = $renderer->_xmlEntities($renderer->_getLinkTitle($name, $url, $isImage));
- $name = $renderer->externallink($name, $url);
$url = 'http://bugs.php.net/bug.php?id='.$bugid;
- $class='wikilink1';
+// $name = $renderer->_xmlEntities($renderer->_getLinkTitle($name, $url, $isImage));
+ $name = $renderer->_getLinkTitle($name, $url, $isImage);
+
+ $class='urlextern';
$link['target'] = $conf['target']['wiki'];
$link['style'] = '';
$link['pre'] = '';
@@ -87,7 +88,7 @@
$link['class'] = $class;
$link['url'] = $url;
$link['name'] = $name;
- $link['title'] = $renderer->_xmlEntities($url);
+ $link['title'] = $renderer->_xmlEntities($name);
//output formatted
return $renderer->_formatLink($link);