--- lib/Arh/Dispatcher.pm 2007/11/30 23:23:14 23 +++ lib/Arh/Dispatcher.pm 2008/04/04 11:52:03 37 @@ -14,8 +14,12 @@ #set user => $user; #warn "##### ",dump( $user ); - $top->child( _('Units') => url => '/units' ); - $top->child( _('Pictures') => url => '/pictures' ); + if ( $user->id ) { + + $top->child( _('Units') => url => '/units' ); + $top->child( _('Pictures') => url => '/pictures' ); + + } };