25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

* src/web/ejabberd_web_admin.erl: Added link to shared roster page

SVN Revision: 316
This commit is contained in:
Alexey Shchepin 2005-04-18 20:03:07 +00:00
parent 59d166101e
commit bf21482fac
2 changed files with 20 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2005-04-18 Alexey Shchepin <alexey@sevcom.net> 2005-04-18 Alexey Shchepin <alexey@sevcom.net>
* src/web/ejabberd_web_admin.erl: Added link to shared roster page
* src/odbc/ejabberd_odbc.erl: ODBC connection string can be * src/odbc/ejabberd_odbc.erl: ODBC connection string can be
specified via odbc_server option now specified via odbc_server option now
* src/ejabberd.cfg.example: Added ODBC usage example * src/ejabberd.cfg.example: Added ODBC usage example

View File

@ -107,7 +107,15 @@ make_xhtml(Els, Lang) ->
?LI([?ACT("/admin/online-users/", "Online Users")]), ?LI([?ACT("/admin/online-users/", "Online Users")]),
?LI([?ACT("/admin/nodes/", "Nodes")]), ?LI([?ACT("/admin/nodes/", "Nodes")]),
?LI([?ACT("/admin/stats/", "Statistics")]) ?LI([?ACT("/admin/stats/", "Statistics")])
])]), ] ++
case lists:member(mod_shared_roster,
gen_mod:loaded_modules()) of
true ->
[?LI([?ACT("/admin/shared-roster/", "Shared Roster")])];
false ->
[]
end
)]),
?XAE("td", ?XAE("td",
[{"id", "middle-td2"}], [{"id", "middle-td2"}],
[?XAE("div", [{"id", "content"}], Els)])])]) [?XAE("div", [{"id", "content"}], Els)])])])
@ -508,7 +516,15 @@ process_admin(#request{us = US,
?LI([?ACT("online-users/", "Online Users")]), ?LI([?ACT("online-users/", "Online Users")]),
?LI([?ACT("nodes/", "Nodes")]), ?LI([?ACT("nodes/", "Nodes")]),
?LI([?ACT("stats/", "Statistics")]) ?LI([?ACT("stats/", "Statistics")])
]) ] ++
case lists:member(mod_shared_roster,
gen_mod:loaded_modules()) of
true ->
[?LI([?ACT("shared-roster/", "Shared Roster")])];
false ->
[]
end
)
], Lang); ], Lang);
process_admin(#request{us = US, process_admin(#request{us = US,