';
}
if ($symb) {
@@ -2618,7 +2684,7 @@ sub resource_info_box {
} else {
$return='
'.&mt('No context provided.').'
';
}
- if (($stuvcurrent ne '') || ($divforres)) {
+ if ($stuvcurrent ne '') {
$return .= '
';
}
return $return;
@@ -3349,18 +3415,12 @@ PARAMSONE
if (itemid != null) {
itemh = itemid.offsetHeight;
}
- var primaryheight = 0;
- if (document.getElementById('LC_nav_bar') != null) {
- primaryheight = document.getElementById('LC_nav_bar').offsetHeight;
- }
- var secondaryheight = 0;
+ var primaryheight = document.getElementById('LC_nav_bar').offsetHeight;
+ var secondaryheight;
if (document.getElementById('LC_secondary_menu') != null) {
secondaryheight = document.getElementById('LC_secondary_menu').offsetHeight;
}
- var crumbsheight = 0;
- if (document.getElementById('LC_breadcrumbs') != null) {
- crumbsheight = document.getElementById('LC_breadcrumbs').offsetHeight;
- }
+ var crumbsheight = document.getElementById('LC_breadcrumbs').offsetHeight;
var dccidheight = 0;
if (document.getElementById('dccid') != null) {
dccidheight = document.getElementById('dccid').offsetHeight;
@@ -3433,10 +3493,7 @@ THIRD
sub javascript_jumpto_resource {
my $confirm_switch = &mt("Editing requires switching to the resource's home server.")."\n".
&mt('Switch server?');
- my $confirm_new_tab = &mt("Editing requires using the resource's home server.")."\n".
- &mt('Open a new browser tab?');
&js_escape(\$confirm_switch);
- &js_escape(\$confirm_new_tab);
return (<