mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Reuse some strings in WebAdmin's Listening Ports
This commit is contained in:
parent
76104cd117
commit
d03d08539b
@ -2399,11 +2399,11 @@ node_ports_to_xhtml(Ports, Lang) ->
|
||||
?XE(<<"td">>,
|
||||
[?INPUTT(<<"submit">>,
|
||||
<<"add", SSPort/binary>>,
|
||||
<<"Update">>)]),
|
||||
<<"Restart">>)]),
|
||||
?XE(<<"td">>,
|
||||
[?INPUTT(<<"submit">>,
|
||||
<<"delete", SSPort/binary>>,
|
||||
<<"Delete">>)])])
|
||||
<<"Stop">>)])])
|
||||
end,
|
||||
Ports)
|
||||
++
|
||||
@ -2423,7 +2423,7 @@ node_ports_to_xhtml(Ports, Lang) ->
|
||||
<<"[]">>)]),
|
||||
?XAE(<<"td">>, [{<<"colspan">>, <<"2">>}],
|
||||
[?INPUTT(<<"submit">>, <<"addnew">>,
|
||||
<<"Add New">>)])])]))]).
|
||||
<<"Start">>)])])]))]).
|
||||
|
||||
make_netprot_html(NetProt) ->
|
||||
?XAE(<<"select">>, [{<<"name">>, <<"netprotnew">>}],
|
||||
|
Loading…
Reference in New Issue
Block a user