[geeklog-cvs] geeklog: Renamed poll autotags to [poll_vote:], [poll_result:] (...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sat Aug 8 08:13:38 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/978e9c3ccad8
changeset: 7231:978e9c3ccad8
user: Dirk Haun <dirk at haun-online.de>
date: Sat Aug 08 13:48:16 2009 +0200
description:
Renamed poll autotags to [poll_vote:], [poll_result:] (for consistency)
diffstat:
plugins/polls/functions.inc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 247556377a41 -r 978e9c3ccad8 plugins/polls/functions.inc
--- a/plugins/polls/functions.inc Sat Aug 08 13:39:43 2009 +0200
+++ b/plugins/polls/functions.inc Sat Aug 08 13:48:16 2009 +0200
@@ -1392,7 +1392,7 @@
global $_CONF, $_TABLES;
if ($op == 'tagname' ) {
- return array('poll-vote','poll-result','poll');
+ return array('poll_vote','poll_result','poll');
} else if ($op == 'parse') {
$pid = COM_applyFilter ($autotag['parm1']);
$width = "300";
@@ -1408,8 +1408,8 @@
$retval = COM_createLink($title, $_CONF['site_url'] . '/polls/index.php?pid=' . $pid . '&aid=-1');
break;
- case 'poll-vote' :
- case 'poll-result' :
+ case 'poll_vote' :
+ case 'poll_result' :
$px = explode (' ', trim ($autotag['parm2']));
$css_class = "poll-autotag";
@@ -1430,7 +1430,7 @@
}
}
- if ($autotag['tag'] == 'poll-vote') {
+ if ($autotag['tag'] == 'poll_vote') {
$retval = POLLS_showPoll(0, $pid, $showall, 2);
} else {
$retval = POLLS_pollResults($pid, 0,'', '', 2);
More information about the geeklog-cvs
mailing list