my( $req, $args, $tables, $auth, $error, $data ) = @_;
my $addr = PciIds::Address::new( $req->uri() );
genHtmlHead( $req, $addr->pretty().' - notifications', undef );
- print "<h1>".$addr->pretty()." - notifications</h1>\n";
- genLocMenu( $req, $args, [ logItem( $auth ), $addr->canAddItem() ? [ 'New item', 'newitem' ] : (), $addr->canDiscuss ? [ 'Discuss', 'newhistory' ] : (), [ 'Profile', 'profile' ], [ 'Help', 'help', 'notifications' ] ] );
+ genCustomHead( $req, $args, $addr, $addr->pretty()." - notifications", [ $addr->canAddItem() ? [ 'New item', 'newitem' ] : (), $addr->canDiscuss ? [ 'Discuss', 'newhistory' ] : (), [ 'Help', 'help', 'notifications' ] ], [ logItem( $auth ), [ 'Profile', 'profile' ] ] );
print "<div class='error'>$error</div>\n" if( defined $error );
my $uri = $addr->get();
my $notifs = $tables->notificationsUser( $auth->{'authid'} );