diff options
Diffstat (limited to 'inc/template.php')
-rw-r--r-- | inc/template.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/template.php b/inc/template.php index b0cb56c5b..4f4ba9813 100644 --- a/inc/template.php +++ b/inc/template.php @@ -518,6 +518,11 @@ function tpl_button($type){ } else { print html_btn('subscribe',$ID,'',array('do' => 'subscribe',)); } + if($INFO['subscribedns']){ + print html_btn('unsubscribens',$ID,'',array('do' => 'unsubscribens',)); + } else { + print html_btn('subscribens',$ID,'',array('do' => 'subscribens',)); + } return true; } } |