Changeset 2133


Ignore:
Timestamp:
04/05/18 21:11:43 (6 years ago)
Author:
nanardon
Message:

Ajout test sur la syntaxe des alias et autre nom de postes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/Nethost.pm

    r2117 r2133  
    110110                input => sub { lc($_[0]) }, 
    111111                label => l('Aliases'), 
     112                checkinputformat => sub { 
     113                    return $_[0] =~ /[\s^[:ascii:]]/ ? 0 : 1; 
     114                }, 
    112115            }, 
    113116            related   => { 
     
    201204                input => sub { lc($_[0]) }, 
    202205                label => l('Other name'), 
     206                checkinputformat => sub { 
     207                    return $_[0] =~ /[\s^[:ascii:]]/ ? 0 : 1; 
     208                }, 
    203209            }, 
    204210            sshfp => { 
Note: See TracChangeset for help on using the changeset viewer.