summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php10
1 files changed, 8 insertions, 2 deletions
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]';
}