adminbar macro no longer exists
This commit is contained in:
parent
1e9837365d
commit
129eb2b3d5
2 changed files with 1 additions and 11 deletions
|
|
@ -220,10 +220,6 @@ If supplied, provides a list of defaults such as title and icons for the admin c
|
|||
|
||||
A hash reference of options with the following keys
|
||||
|
||||
=head4 showAdminBar
|
||||
|
||||
If true, will show the admin bar on this admin console page
|
||||
|
||||
=cut
|
||||
|
||||
sub new {
|
||||
|
|
@ -311,10 +307,6 @@ sub render {
|
|||
$session,
|
||||
$session->setting->get("AdminConsoleTemplate")
|
||||
);
|
||||
if ( $self->{_options}->{showAdminBar} ) {
|
||||
$var{adminBar}
|
||||
= WebGUI::Macro::AdminBar::process($session);
|
||||
}
|
||||
my $output = $template->process(\%var);
|
||||
return $session->style->process($output,"PBtmpl0000000000000137");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -125,9 +125,7 @@ sub www_view {
|
|||
return $session->privilege->insufficient
|
||||
unless $session->user->isInGroup(12);
|
||||
##YUI specific datatable CSS
|
||||
my $ac = WebGUI::AdminConsole->new( $session, "assetHistory", {
|
||||
showAdminBar => 1
|
||||
} );
|
||||
my $ac = WebGUI::AdminConsole->new( $session, "assetHistory" );
|
||||
my ($style, $url) = $session->quick(qw(style url));
|
||||
$style->setCss($url->extras('/yui/build/fonts/fonts-min.css'));
|
||||
$style->setCss($url->extras('yui/build/datatable/assets/skins/sam/datatable.css'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue