projects
/
freeside.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2019
[freeside.git]
/
httemplate
/
elements
/
tr-input-mac_addr.html
1
<& /elements/tr-input-mask.html,
2
format => '__:__:__:__:__:__',
3
allowed => '0123456789ABCDEFabcdef',
4
%opt,
5
&>
6
<%init>
7
my %opt = @_;
8
my $value = length($opt{curr_value}) ? $opt{curr_value} : $opt{value};
9
$value =~ s/\W//g;
10
$opt{curr_value} = join(':', $value =~ /../g);
11
</%init>