summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/lang/en/lang.php1
-rw-r--r--inc/template.php10
2 files changed, 9 insertions, 2 deletions
diff --git a/inc/lang/en/lang.php b/inc/lang/en/lang.php
index 31e375cb5..1298733d8 100644
--- a/inc/lang/en/lang.php
+++ b/inc/lang/en/lang.php
@@ -31,6 +31,7 @@ $lang['btn_admin'] = 'Admin';
$lang['btn_update'] = 'Update';
$lang['btn_delete'] = 'Delete';
$lang['btn_back'] = 'Back';
+$lang['btn_backlink'] = "Backlinks";
$lang['btn_backtomedia'] = 'Back to Mediafile Selection';
$lang['btn_subscribe'] = 'Subscribe Changes';
$lang['btn_unsubscribe'] = 'Unsubscribe Changes';
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]';
}