mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +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">>,
|
?XE(<<"td">>,
|
||||||
[?INPUTT(<<"submit">>,
|
[?INPUTT(<<"submit">>,
|
||||||
<<"add", SSPort/binary>>,
|
<<"add", SSPort/binary>>,
|
||||||
<<"Update">>)]),
|
<<"Restart">>)]),
|
||||||
?XE(<<"td">>,
|
?XE(<<"td">>,
|
||||||
[?INPUTT(<<"submit">>,
|
[?INPUTT(<<"submit">>,
|
||||||
<<"delete", SSPort/binary>>,
|
<<"delete", SSPort/binary>>,
|
||||||
<<"Delete">>)])])
|
<<"Stop">>)])])
|
||||||
end,
|
end,
|
||||||
Ports)
|
Ports)
|
||||||
++
|
++
|
||||||
@ -2423,7 +2423,7 @@ node_ports_to_xhtml(Ports, Lang) ->
|
|||||||
<<"[]">>)]),
|
<<"[]">>)]),
|
||||||
?XAE(<<"td">>, [{<<"colspan">>, <<"2">>}],
|
?XAE(<<"td">>, [{<<"colspan">>, <<"2">>}],
|
||||||
[?INPUTT(<<"submit">>, <<"addnew">>,
|
[?INPUTT(<<"submit">>, <<"addnew">>,
|
||||||
<<"Add New">>)])])]))]).
|
<<"Start">>)])])]))]).
|
||||||
|
|
||||||
make_netprot_html(NetProt) ->
|
make_netprot_html(NetProt) ->
|
||||||
?XAE(<<"select">>, [{<<"name">>, <<"netprotnew">>}],
|
?XAE(<<"select">>, [{<<"name">>, <<"netprotnew">>}],
|
||||||
|
Loading…
Reference in New Issue
Block a user