24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

Reuse some strings in WebAdmin's Listening Ports

This commit is contained in:
Badlop 2015-07-27 11:23:51 +02:00
parent 76104cd117
commit d03d08539b

View File

@ -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">>}],