]> sipb.mit.edu Git - ikiwiki.git/commitdiff
comments: pass COMMENTOPENID to templates
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Thu, 18 Dec 2008 19:57:25 +0000 (19:57 +0000)
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sat, 20 Dec 2008 17:34:55 +0000 (17:34 +0000)
IkiWiki/Plugin/comments.pm

index bd09c6b25e600a6b876433e6433520a430322da6..d095a00bda2eb217186af5ae8bf56411c62b2339 100644 (file)
@@ -573,6 +573,11 @@ sub pagetemplate (@) {
                        $pagestate{$page}{comments}{commentuser});
        }
 
                        $pagestate{$page}{comments}{commentuser});
        }
 
+       if ($template->query(name => 'commentopenid')) {
+               $template->param(commentopenid =>
+                       $pagestate{$page}{comments}{commentopenid});
+       }
+
        if ($template->query(name => 'commentip')) {
                $template->param(commentip =>
                        $pagestate{$page}{comments}{commentip});
        if ($template->query(name => 'commentip')) {
                $template->param(commentip =>
                        $pagestate{$page}{comments}{commentip});