added prev next bottom nav in perf nodes
This commit is contained in:
@@ -219,6 +219,9 @@ function perfart_block_info() {
|
||||
$blocks['perf_prevnext'] = array(
|
||||
'info' => t('Performance prev next btns'),
|
||||
);
|
||||
$blocks['perf_prevnext_bottom'] = array(
|
||||
'info' => t('Performance prev next btns bottom'),
|
||||
);
|
||||
|
||||
return $blocks;
|
||||
}
|
||||
@@ -233,6 +236,9 @@ function perfart_block_view($delta='') {
|
||||
case 'perf_prevnext' :
|
||||
$block['content'] = perf_prevnext_view();
|
||||
break;
|
||||
case 'perf_prevnext_bottom' :
|
||||
$block['content'] = perf_prevnext_view();
|
||||
break;
|
||||
}
|
||||
|
||||
return $block;
|
||||
@@ -310,7 +316,7 @@ function perf_prevnext_view() {
|
||||
|
||||
}
|
||||
|
||||
$list['attributes']['id'] = "perf-prev-next-btns";
|
||||
$list['attributes']['class'] = "perf-prev-next-btns";
|
||||
|
||||
// dsm($list);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user