Changeset 1252 for branches


Ignore:
Timestamp:
09/25/14 10:08:30 (10 years ago)
Author:
nanardon
Message:

merge latest fixes from trunk

Location:
branches/4.0
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/4.0

  • branches/4.0/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web.pm

    r1244 r1252  
    290290            label => 'Renvois', 
    291291        }, 
     292        managedAlsoBy => { 
     293            label => 'Resp. Adj.', 
     294        }, 
     295        autoMemberFilter => { 
     296            label => 'Filtre d\'appatenance', 
     297        }, 
    292298    }, 
    293299); 
  • branches/4.0/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Root.pm

    r1241 r1252  
    44use warnings; 
    55use base 'Catalyst::Controller'; 
    6 use utf8; 
     6no utf8; 
    77 
    88# 
     
    4343    } else { 
    4444        # No need to login for About section 
    45         if (!$c->authenticate({ username => $c->req->param('login'), password => 
     45        if (!$c->authenticate({ username => $c->req->param('username'), password => 
    4646                    $c->req->param('password') }, 'la')) { 
    4747            $c->forward('auth_required'); 
  • branches/4.0/LATMOS-Accounts-Web/root/html/search/index.tt

    r1241 r1252  
    77 
    88[% IF filter.objectslist.size > 0 %] 
    9 [% IF filter.objectslist.size > 10 %] 
     9[% IF filter.objectslist.size > 50 %] 
    1010<p>[% filter.objectslist.size %] [% otype %]...</p> 
    1111[% ELSE %] 
    1212 
    13 <h3>[% c.forward('/obj_to_label', [ otype ]) | html %]</h3> 
     13<h3>[% c.forward('/obj_to_label', [ otype ]) | html %] ([% filter.objectslist.size %])</h3> 
    1414<table> 
    1515[% FOREACH name = filter.objectslist %] 
  • branches/4.0/LATMOS-Accounts/lib/LATMOS/Accounts/Task/Buildnet.pm

    r1227 r1252  
    319319    my ($self, $ozone, $output) = @_; 
    320320 
    321     if (!$self->_la->val('network', 'checkzone')) { 
     321    if (!$self->_la->val('_network_', 'checkzone')) { 
    322322        return 1; 
    323323    } 
     
    327327    print $fh $output; 
    328328    close($fh); 
     329 
     330    my $named_checkzone = $self->_la->val('_network_', 'named-checkzone', 
     331        '/usr/sbin/named-checkzone'); 
    329332 
    330333    my $msg; 
    331334    my $res = exec_command(sprintf( 
    332335            "%s -k fail '%s' '%s'", 
    333             '/usr/sbin/named-checkzone', 
     336            $named_checkzone, 
    334337            $ozone->id, 
    335338            $filename, 
     
    355358        if ($ozone->get_attributes('description')); 
    356359    push @output, sprintf('Generated by %s', q$Id: BuildNet.pm 6283 2011-05-20 10:16:51Z nanardon $ ); 
    357     push @output, sprintf('  The %s', scalar(localtime) ); 
     360    push @output, sprintf('          the %s', scalar(localtime) ); 
    358361    push @output, sprintf('Network: %s', join(', ', $ozone->get_attributes('net'))) 
    359362        if ($ozone->get_attributes('net')); 
  • branches/4.0/LATMOS-Accounts/man/man5/latmos-accounts.ini.pod

    r1225 r1252  
    9999analysis. 
    100100 
     101=head2 named-checkzone 
     102 
     103The binary location of named-checkzone, default is C</usr/sbin/named-checkzone>. 
     104 
    101105=head2 BASES SECTIONS 
    102106 
Note: See TracChangeset for help on using the changeset viewer.