diff options
author | chris <chris@teacherscpd.co.uk> | 2005-08-25 00:20:56 +0200 |
---|---|---|
committer | chris <chris@teacherscpd.co.uk> | 2005-08-25 00:20:56 +0200 |
commit | f00151b4e3d17bcf50767f821c0e3834d36e7b4f (patch) | |
tree | a7e7f8179d66b0bb3acd6ef8b40cce7bfac54d5c /inc/template.php | |
parent | 1dad36f5f0020323fc1fb83f29d3af2b56dbec25 (diff) | |
download | rpg-f00151b4e3d17bcf50767f821c0e3834d36e7b4f.tar.gz rpg-f00151b4e3d17bcf50767f821c0e3834d36e7b4f.tar.bz2 |
add backlink btn and actionlink
darcs-hash:20050824222056-50fdc-0afb947d649df545039c1ddc4ed1e1bfd9cb71fc.gz
Diffstat (limited to 'inc/template.php')
-rw-r--r-- | inc/template.php | 10 |
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]'; } |