[freeside-commits] freeside/httemplate/elements select-mac.html, NONE, 1.1 tr-select-mac.html, NONE, 1.1
Erik Levinson
levinse at wavetail.420.am
Sat Jan 22 12:03:52 PST 2011
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv30702/httemplate/elements
Added Files:
select-mac.html tr-select-mac.html
Log Message:
populate MAC address from inventory for svc_phone devices, RT7794
--- NEW FILE: select-mac.html ---
<% include('/elements/xmlhttp.html',
'url' => $p.'misc/macinventory.cgi',
'subs' => [ $opt{'prefix'}. 'get_macs' ],
)
%>
<% include( '/elements/input-text.html', %opt, 'type'=>'text' ) %>
<SELECT ID="<% $opt{'prefix'} %>sel_mac_addr" NAME="<% $opt{'prefix'} %>mac_addr"
notonChange="<% $opt{'prefix'} %>mac_addr_changed(this); <% $opt{'onchange'} %>"
<% $opt{'disabled'} %> STYLE="display: none">
<OPTION VALUE="">Select MAC address</OPTION>
</SELECT>
<%init>
my %opt = @_;
</%init>
--- NEW FILE: tr-select-mac.html ---
<% include('tr-td-label.html', @_ ) %>
<TD>
<% include('/elements/select-mac.html', %opt ) %>
</TD>
</TR>
<%init>
my %opt = @_;
</%init>
More information about the freeside-commits
mailing list