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">>,
|
||||
?T("Jabber Account Registration")),
|
||||
?XA(<<"link">>,
|
||||
[{<<"href">>, <<"/register/register.css">>},
|
||||
[{<<"href">>, <<"register.css">>},
|
||||
{<<"type">>, <<"text/css">>},
|
||||
{<<"rel">>, <<"stylesheet">>}])],
|
||||
Els = [?XACT(<<"h1">>,
|
||||
@ -211,11 +211,11 @@ index_page(Lang) ->
|
||||
?T("Jabber Account Registration")),
|
||||
?XE(<<"ul">>,
|
||||
[?XE(<<"li">>,
|
||||
[?ACT(<<"new">>, ?T("Register a Jabber account"))]),
|
||||
[?ACT(<<"new/">>, ?T("Register a Jabber account"))]),
|
||||
?XE(<<"li">>,
|
||||
[?ACT(<<"change_password">>, ?T("Change Password"))]),
|
||||
[?ACT(<<"change_password/">>, ?T("Change Password"))]),
|
||||
?XE(<<"li">>,
|
||||
[?ACT(<<"delete">>,
|
||||
[?ACT(<<"delete/">>,
|
||||
?T("Unregister a Jabber account"))])])],
|
||||
{200,
|
||||
[{<<"Server">>, <<"ejabberd">>},
|
||||
@ -241,7 +241,7 @@ form_new_get2(Host, Lang, CaptchaEls) ->
|
||||
?XCT(<<"title">>,
|
||||
?T("Register a Jabber account")),
|
||||
?XA(<<"link">>,
|
||||
[{<<"href">>, <<"/register/register.css">>},
|
||||
[{<<"href">>, <<"../register.css">>},
|
||||
{<<"type">>, <<"text/css">>},
|
||||
{<<"rel">>, <<"stylesheet">>}])],
|
||||
Els = [?XACT(<<"h1">>,
|
||||
@ -388,7 +388,7 @@ form_changepass_get(Host, Lang) ->
|
||||
HeadEls = [meta(),
|
||||
?XCT(<<"title">>, ?T("Change Password")),
|
||||
?XA(<<"link">>,
|
||||
[{<<"href">>, <<"/register/register.css">>},
|
||||
[{<<"href">>, <<"../register.css">>},
|
||||
{<<"type">>, <<"text/css">>},
|
||||
{<<"rel">>, <<"stylesheet">>}])],
|
||||
Els = [?XACT(<<"h1">>,
|
||||
@ -496,7 +496,7 @@ form_del_get(Host, Lang) ->
|
||||
?XCT(<<"title">>,
|
||||
?T("Unregister a Jabber account")),
|
||||
?XA(<<"link">>,
|
||||
[{<<"href">>, <<"/register/register.css">>},
|
||||
[{<<"href">>, <<"../register.css">>},
|
||||
{<<"type">>, <<"text/css">>},
|
||||
{<<"rel">>, <<"stylesheet">>}])],
|
||||
Els = [?XACT(<<"h1">>,
|
||||
|
Loading…
Reference in New Issue
Block a user