Browse Source

fixed wrong form method for buttons

master
Anika Henke 14 years ago
parent
commit
b49f0667ba
  1. 6
      tpl_functions.php

6
tpl_functions.php

@ -30,12 +30,12 @@ function _tpl_discussion($discussionPage,$title,$backTitle,$link=0,$wrapper=0) {
if ($link) if ($link)
tpl_pagelink($backID,$backTitle); tpl_pagelink($backID,$backTitle);
else else
echo html_btn('back2article',$backID,'',array(),0,0,$backTitle);
echo html_btn('back2article',$backID,'',array(),'get',0,$backTitle);
} else { } else {
if ($link) if ($link)
tpl_pagelink($discussPage,$title); tpl_pagelink($discussPage,$title);
else else
echo html_btn('discussion',$discussPage,'',array(),0,0,$title);
echo html_btn('discussion',$discussPage,'',array(),'get',0,$title);
} }
if ($wrapper) echo "</$wrapper>"; if ($wrapper) echo "</$wrapper>";
@ -57,7 +57,7 @@ function _tpl_userpage($userPage,$title,$link=0,$wrapper=0) {
if ($link) if ($link)
tpl_pagelink($userPage,$title); tpl_pagelink($userPage,$title);
else else
echo html_btn('userpage',$userPage,'',array(),0,0,$title);
echo html_btn('userpage',$userPage,'',array(),'get',0,$title);
if ($wrapper) echo "</$wrapper>"; if ($wrapper) echo "</$wrapper>";
} }

Loading…
Cancel
Save