mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Update URLs of module documentations
This commit is contained in:
parent
4ec236966a
commit
38fd9a3ed2
@ -400,7 +400,7 @@ process_admin(global, #request{path = [], lang = Lang}, AJID) ->
|
|||||||
MenuItems = get_menu_items(global, cluster, Lang, AJID, 0),
|
MenuItems = get_menu_items(global, cluster, Lang, AJID, 0),
|
||||||
Disclaimer = maybe_disclaimer_not_admin(MenuItems, AJID, Lang),
|
Disclaimer = maybe_disclaimer_not_admin(MenuItems, AJID, Lang),
|
||||||
make_xhtml((?H1GL((translate:translate(Lang, ?T("Administration"))), <<"">>,
|
make_xhtml((?H1GL((translate:translate(Lang, ?T("Administration"))), <<"">>,
|
||||||
<<"Contents">>))
|
<<"Configuration">>))
|
||||||
++ Disclaimer ++
|
++ Disclaimer ++
|
||||||
[?XE(<<"ul">>,
|
[?XE(<<"ul">>,
|
||||||
[?LI([?ACT(MIU, MIN)])
|
[?LI([?ACT(MIU, MIN)])
|
||||||
@ -477,7 +477,7 @@ process_admin(Host, #request{path = [<<"last-activity">>],
|
|||||||
list_last_activity(Host, Lang, false, Month);
|
list_last_activity(Host, Lang, false, Month);
|
||||||
_ -> list_last_activity(Host, Lang, true, Month)
|
_ -> list_last_activity(Host, Lang, true, Month)
|
||||||
end,
|
end,
|
||||||
PageH1 = ?H1GL(translate:translate(Lang, ?T("Users Last Activity")), <<"modules/#mod-last">>, <<"mod_last">>),
|
PageH1 = ?H1GL(translate:translate(Lang, ?T("Users Last Activity")), <<"modules/#mod_last">>, <<"mod_last">>),
|
||||||
make_xhtml(PageH1 ++
|
make_xhtml(PageH1 ++
|
||||||
[?XAE(<<"form">>,
|
[?XAE(<<"form">>,
|
||||||
[{<<"action">>, <<"">>}, {<<"method">>, <<"post">>}],
|
[{<<"action">>, <<"">>}, {<<"method">>, <<"post">>}],
|
||||||
@ -508,7 +508,7 @@ process_admin(Host, #request{path = [<<"last-activity">>],
|
|||||||
Host, Lang, AJID, 3);
|
Host, Lang, AJID, 3);
|
||||||
process_admin(Host, #request{path = [<<"stats">>], lang = Lang}, AJID) ->
|
process_admin(Host, #request{path = [<<"stats">>], lang = Lang}, AJID) ->
|
||||||
Res = get_stats(Host, Lang),
|
Res = get_stats(Host, Lang),
|
||||||
PageH1 = ?H1GL(translate:translate(Lang, ?T("Statistics")), <<"modules/#mod-stats">>, <<"mod_stats">>),
|
PageH1 = ?H1GL(translate:translate(Lang, ?T("Statistics")), <<"modules/#mod_stats">>, <<"mod_stats">>),
|
||||||
Level = case Host of
|
Level = case Host of
|
||||||
global -> 1;
|
global -> 1;
|
||||||
_ -> 3
|
_ -> 3
|
||||||
@ -1413,8 +1413,9 @@ get_node(global, Node, [<<"stats">>], _Query, Lang) ->
|
|||||||
system_info, [transaction_restarts]),
|
system_info, [transaction_restarts]),
|
||||||
TransactionsLogged = ejabberd_cluster:call(Node, mnesia, system_info,
|
TransactionsLogged = ejabberd_cluster:call(Node, mnesia, system_info,
|
||||||
[transaction_log_writes]),
|
[transaction_log_writes]),
|
||||||
[?XC(<<"h1">>,
|
?H1GL(str:translate_and_format(Lang, ?T("Statistics of ~p"), [Node]),
|
||||||
(str:translate_and_format(Lang, ?T("Statistics of ~p"), [Node]))),
|
<<"modules/#mod_stats">>,
|
||||||
|
<<"mod_stats">>) ++ [
|
||||||
?XAE(<<"table">>, [],
|
?XAE(<<"table">>, [],
|
||||||
[?XE(<<"tbody">>,
|
[?XE(<<"tbody">>,
|
||||||
[?XE(<<"tr">>,
|
[?XE(<<"tr">>,
|
||||||
|
@ -512,7 +512,7 @@ web_mix_channels(User, Server, Lang) ->
|
|||||||
[?XE(<<"table">>, [THead, ?XE(<<"tbody">>, Entries)])]
|
[?XE(<<"table">>, [THead, ?XE(<<"tbody">>, Entries)])]
|
||||||
end,
|
end,
|
||||||
PageTitle = str:translate_and_format(Lang, ?T("Joined MIX channels of ~ts"), [us_to_list(US)]),
|
PageTitle = str:translate_and_format(Lang, ?T("Joined MIX channels of ~ts"), [us_to_list(US)]),
|
||||||
(?H1GL(PageTitle, <<"modules/#mod-mix-pam">>, <<"mod_mix_pam">>))
|
(?H1GL(PageTitle, <<"modules/#mod_mix_pam">>, <<"mod_mix_pam">>))
|
||||||
++ FItems.
|
++ FItems.
|
||||||
|
|
||||||
us_to_list({User, Server}) ->
|
us_to_list({User, Server}) ->
|
||||||
|
@ -608,7 +608,7 @@ web_page_main(_, #request{path=[<<"muc">>], lang = Lang} = _Request) ->
|
|||||||
Acc + mod_muc:count_online_rooms(Host)
|
Acc + mod_muc:count_online_rooms(Host)
|
||||||
end, 0, find_hosts(global)),
|
end, 0, find_hosts(global)),
|
||||||
PageTitle = translate:translate(Lang, ?T("Multi-User Chat")),
|
PageTitle = translate:translate(Lang, ?T("Multi-User Chat")),
|
||||||
Res = ?H1GL(PageTitle, <<"modules/#mod-muc">>, <<"mod_muc">>) ++
|
Res = ?H1GL(PageTitle, <<"modules/#mod_muc">>, <<"mod_muc">>) ++
|
||||||
[?XCT(<<"h3">>, ?T("Statistics")),
|
[?XCT(<<"h3">>, ?T("Statistics")),
|
||||||
?XAE(<<"table">>, [],
|
?XAE(<<"table">>, [],
|
||||||
[?XE(<<"tbody">>, [?TDTD(?T("Total rooms"), OnlineRoomsNumber)
|
[?XE(<<"tbody">>, [?TDTD(?T("Total rooms"), OnlineRoomsNumber)
|
||||||
@ -683,7 +683,7 @@ make_rooms_page(Host, Lang, {Sort_direction, Sort_column}) ->
|
|||||||
1,
|
1,
|
||||||
Titles),
|
Titles),
|
||||||
PageTitle = translate:translate(Lang, ?T("Multi-User Chat")),
|
PageTitle = translate:translate(Lang, ?T("Multi-User Chat")),
|
||||||
?H1GL(PageTitle, <<"modules/#mod-muc">>, <<"mod_muc">>) ++
|
?H1GL(PageTitle, <<"modules/#mod_muc">>, <<"mod_muc">>) ++
|
||||||
[?XCT(<<"h2">>, ?T("Chatrooms")),
|
[?XCT(<<"h2">>, ?T("Chatrooms")),
|
||||||
?XE(<<"table">>,
|
?XE(<<"table">>,
|
||||||
[?XE(<<"thead">>,
|
[?XE(<<"thead">>,
|
||||||
|
@ -983,7 +983,7 @@ user_queue(User, Server, Query, Lang) ->
|
|||||||
Hdrs = get_messages_subset(User, Server, HdrsAll),
|
Hdrs = get_messages_subset(User, Server, HdrsAll),
|
||||||
FMsgs = format_user_queue(Hdrs),
|
FMsgs = format_user_queue(Hdrs),
|
||||||
PageTitle = str:translate_and_format(Lang, ?T("~ts's Offline Messages Queue"), [us_to_list(US)]),
|
PageTitle = str:translate_and_format(Lang, ?T("~ts's Offline Messages Queue"), [us_to_list(US)]),
|
||||||
(?H1GL(PageTitle, <<"modules/#mod-offline">>, <<"mod_offline">>))
|
(?H1GL(PageTitle, <<"modules/#mod_offline">>, <<"mod_offline">>))
|
||||||
++ [?XREST(?T("Submitted"))] ++
|
++ [?XREST(?T("Submitted"))] ++
|
||||||
[?XAE(<<"form">>,
|
[?XAE(<<"form">>,
|
||||||
[{<<"action">>, <<"">>}, {<<"method">>, <<"post">>}],
|
[{<<"action">>, <<"">>}, {<<"method">>, <<"post">>}],
|
||||||
|
@ -1094,7 +1094,7 @@ user_roster(User, Server, Query, Lang) ->
|
|||||||
SItems)))])]
|
SItems)))])]
|
||||||
end,
|
end,
|
||||||
PageTitle = str:translate_and_format(Lang, ?T("Roster of ~ts"), [us_to_list(US)]),
|
PageTitle = str:translate_and_format(Lang, ?T("Roster of ~ts"), [us_to_list(US)]),
|
||||||
(?H1GL(PageTitle, <<"modules/#mod-roster">>, <<"mod_roster">>))
|
(?H1GL(PageTitle, <<"modules/#mod_roster">>, <<"mod_roster">>))
|
||||||
++
|
++
|
||||||
case Res of
|
case Res of
|
||||||
ok -> [?XREST(?T("Submitted"))];
|
ok -> [?XREST(?T("Submitted"))];
|
||||||
|
@ -912,7 +912,7 @@ list_shared_roster_groups(Host, Query, Lang) ->
|
|||||||
?INPUTT(<<"submit">>, <<"addnew">>,
|
?INPUTT(<<"submit">>, <<"addnew">>,
|
||||||
?T("Add New"))])])]))])),
|
?T("Add New"))])])]))])),
|
||||||
(?H1GL((translate:translate(Lang, ?T("Shared Roster Groups"))),
|
(?H1GL((translate:translate(Lang, ?T("Shared Roster Groups"))),
|
||||||
<<"modules/#mod-shared-roster">>, <<"mod_shared_roster">>))
|
<<"modules/#mod_shared_roster">>, <<"mod_shared_roster">>))
|
||||||
++
|
++
|
||||||
case Res of
|
case Res of
|
||||||
ok -> [?XREST(?T("Submitted"))];
|
ok -> [?XREST(?T("Submitted"))];
|
||||||
@ -1019,7 +1019,7 @@ shared_roster_group(Host, Group, Query, Lang) ->
|
|||||||
?XE(<<"td">>, [?CT(?T("Groups that will be displayed to the members"))])
|
?XE(<<"td">>, [?CT(?T("Groups that will be displayed to the members"))])
|
||||||
])])])),
|
])])])),
|
||||||
(?H1GL((translate:translate(Lang, ?T("Shared Roster Groups"))),
|
(?H1GL((translate:translate(Lang, ?T("Shared Roster Groups"))),
|
||||||
<<"modules/#mod-shared-roster">>, <<"mod_shared_roster">>))
|
<<"modules/#mod_shared_roster">>, <<"mod_shared_roster">>))
|
||||||
++
|
++
|
||||||
[?XC(<<"h2">>, translate:translate(Lang, ?T("Group")))] ++
|
[?XC(<<"h2">>, translate:translate(Lang, ?T("Group")))] ++
|
||||||
case Res of
|
case Res of
|
||||||
|
Loading…
Reference in New Issue
Block a user