[geeklog-cvs] geeklog: Implemented PLG_getCommentUrlId for the Polls plugin
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Jun 13 15:33:17 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/b32249a55222
changeset: 7117:b32249a55222
user: Dirk Haun <dirk at haun-online.de>
date: Sat Jun 13 21:29:28 2009 +0200
description:
Implemented PLG_getCommentUrlId for the Polls plugin
diffstat:
plugins/polls/functions.inc | 18 ++++++++++++++++++
public_html/docs/history | 1 +
2 files changed, 19 insertions(+), 0 deletions(-)
diffs (37 lines):
diff -r 312720d3f539 -r b32249a55222 plugins/polls/functions.inc
--- a/plugins/polls/functions.inc Sat Jun 13 21:28:07 2009 +0200
+++ b/plugins/polls/functions.inc Sat Jun 13 21:29:28 2009 +0200
@@ -1347,4 +1347,22 @@
return $retval;
}
+/**
+* Provide URL and ID for the link to a comment's parent
+*
+* @return array array consisting of the base URL and the ID name
+*
+*/
+function plugin_getcommenturlid_polls()
+{
+ global $_CONF;
+
+ $tmp = array(
+ $_CONF['site_url'] . '/polls/index.php',
+ 'pid'
+ );
+
+ return $tmp;
+}
+
?>
diff -r 312720d3f539 -r b32249a55222 public_html/docs/history
--- a/public_html/docs/history Sat Jun 13 21:28:07 2009 +0200
+++ b/public_html/docs/history Sat Jun 13 21:29:28 2009 +0200
@@ -37,6 +37,7 @@
Polls plugin
------------
+- Implemented PLG_getCommentUrlId [Dirk]
- Update polls comments when changing a poll's ID so the comments don't become
orphaned (part of bug #0000901) [Dirk]
More information about the geeklog-cvs
mailing list