Skip to content
Snippets Groups Projects
Commit f7569b7b authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fix for actionlink back #914

darcs-hash:20061019103310-7ad00-0de42af92587989d155f55831956480b7976d6e8.gz
parent 70cbc5d2
No related branches found
No related tags found
No related merge requests found
......@@ -526,8 +526,8 @@ function tpl_actionlink($type,$pre='',$suf=''){
print '<a href="#dokuwiki__top" class="action top" accesskey="x">'.$pre.$lang['btn_top'].$suf.'</a>';
return true;
case 'back':
if ($ID = tpl_getparent($ID)) {
tpl_link(wl($ID,'do=show'),$pre.$lang['btn_back'].$suf,'class="action back" accesskey="b"');
if ($parent = tpl_getparent($ID)) {
tpl_link(wl($parent,'do=show'),$pre.$lang['btn_back'].$suf,'class="action back" accesskey="b"');
return true;
}
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment