mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Fix hardcoded URL to register.css and URLS to sections (#3281)
This commit is contained in:
parent
8efdd439f1
commit
42c82c9e72
@ -202,7 +202,7 @@ index_page(Lang) ->
|
|||||||
?XCT(<<"title">>,
|
?XCT(<<"title">>,
|
||||||
?T("Jabber Account Registration")),
|
?T("Jabber Account Registration")),
|
||||||
?XA(<<"link">>,
|
?XA(<<"link">>,
|
||||||
[{<<"href">>, <<"/register/register.css">>},
|
[{<<"href">>, <<"register.css">>},
|
||||||
{<<"type">>, <<"text/css">>},
|
{<<"type">>, <<"text/css">>},
|
||||||
{<<"rel">>, <<"stylesheet">>}])],
|
{<<"rel">>, <<"stylesheet">>}])],
|
||||||
Els = [?XACT(<<"h1">>,
|
Els = [?XACT(<<"h1">>,
|
||||||
@ -211,11 +211,11 @@ index_page(Lang) ->
|
|||||||
?T("Jabber Account Registration")),
|
?T("Jabber Account Registration")),
|
||||||
?XE(<<"ul">>,
|
?XE(<<"ul">>,
|
||||||
[?XE(<<"li">>,
|
[?XE(<<"li">>,
|
||||||
[?ACT(<<"new">>, ?T("Register a Jabber account"))]),
|
[?ACT(<<"new/">>, ?T("Register a Jabber account"))]),
|
||||||
?XE(<<"li">>,
|
?XE(<<"li">>,
|
||||||
[?ACT(<<"change_password">>, ?T("Change Password"))]),
|
[?ACT(<<"change_password/">>, ?T("Change Password"))]),
|
||||||
?XE(<<"li">>,
|
?XE(<<"li">>,
|
||||||
[?ACT(<<"delete">>,
|
[?ACT(<<"delete/">>,
|
||||||
?T("Unregister a Jabber account"))])])],
|
?T("Unregister a Jabber account"))])])],
|
||||||
{200,
|
{200,
|
||||||
[{<<"Server">>, <<"ejabberd">>},
|
[{<<"Server">>, <<"ejabberd">>},
|
||||||
@ -241,7 +241,7 @@ form_new_get2(Host, Lang, CaptchaEls) ->
|
|||||||
?XCT(<<"title">>,
|
?XCT(<<"title">>,
|
||||||
?T("Register a Jabber account")),
|
?T("Register a Jabber account")),
|
||||||
?XA(<<"link">>,
|
?XA(<<"link">>,
|
||||||
[{<<"href">>, <<"/register/register.css">>},
|
[{<<"href">>, <<"../register.css">>},
|
||||||
{<<"type">>, <<"text/css">>},
|
{<<"type">>, <<"text/css">>},
|
||||||
{<<"rel">>, <<"stylesheet">>}])],
|
{<<"rel">>, <<"stylesheet">>}])],
|
||||||
Els = [?XACT(<<"h1">>,
|
Els = [?XACT(<<"h1">>,
|
||||||
@ -388,7 +388,7 @@ form_changepass_get(Host, Lang) ->
|
|||||||
HeadEls = [meta(),
|
HeadEls = [meta(),
|
||||||
?XCT(<<"title">>, ?T("Change Password")),
|
?XCT(<<"title">>, ?T("Change Password")),
|
||||||
?XA(<<"link">>,
|
?XA(<<"link">>,
|
||||||
[{<<"href">>, <<"/register/register.css">>},
|
[{<<"href">>, <<"../register.css">>},
|
||||||
{<<"type">>, <<"text/css">>},
|
{<<"type">>, <<"text/css">>},
|
||||||
{<<"rel">>, <<"stylesheet">>}])],
|
{<<"rel">>, <<"stylesheet">>}])],
|
||||||
Els = [?XACT(<<"h1">>,
|
Els = [?XACT(<<"h1">>,
|
||||||
@ -496,7 +496,7 @@ form_del_get(Host, Lang) ->
|
|||||||
?XCT(<<"title">>,
|
?XCT(<<"title">>,
|
||||||
?T("Unregister a Jabber account")),
|
?T("Unregister a Jabber account")),
|
||||||
?XA(<<"link">>,
|
?XA(<<"link">>,
|
||||||
[{<<"href">>, <<"/register/register.css">>},
|
[{<<"href">>, <<"../register.css">>},
|
||||||
{<<"type">>, <<"text/css">>},
|
{<<"type">>, <<"text/css">>},
|
||||||
{<<"rel">>, <<"stylesheet">>}])],
|
{<<"rel">>, <<"stylesheet">>}])],
|
||||||
Els = [?XACT(<<"h1">>,
|
Els = [?XACT(<<"h1">>,
|
||||||
|
Loading…
Reference in New Issue
Block a user