From f00151b4e3d17bcf50767f821c0e3834d36e7b4f Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 25 Aug 2005 00:20:56 +0200 Subject: add backlink btn and actionlink darcs-hash:20050824222056-50fdc-0afb947d649df545039c1ddc4ed1e1bfd9cb71fc.gz --- inc/template.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'inc/template.php') diff --git a/inc/template.php b/inc/template.php index 8c0e02367..518087e50 100644 --- a/inc/template.php +++ b/inc/template.php @@ -346,8 +346,11 @@ function tpl_button($type){ } } break; - default: - print '[unknown button type]'; + case 'backlink': + print html_btn('backlink',$ID,'',array('do' => 'backlink')); + break; + default: + print '[unknown button type]'; } } @@ -443,6 +446,9 @@ function tpl_actionlink($type,$pre='',$suf=''){ } } break; + case 'backlink': + tpl_link(wl($ID,'do=backlink'),$pre.$lang['btn_backlink'].$suf, 'class="action"'); + break; default: print '[unknown link type]'; } -- cgit v1.2.3