]> granicus.if.org Git - ejabberd/commitdiff
Set LTR direction to Raw links (#650)
authorBadlop <badlop@process-one.net>
Wed, 15 Jul 2015 16:51:17 +0000 (18:51 +0200)
committerBadlop <badlop@process-one.net>
Wed, 15 Jul 2015 16:51:31 +0000 (18:51 +0200)
src/ejabberd_web_admin.erl

index 4a1ccbb831d1e59b744a708745268cb419b7c2f0..1838922bc8e63fb191f3fbcbd93ece225b9bc79f 100644 (file)
@@ -706,7 +706,7 @@ process_admin(Host,
                   nothing -> []
                 end
                   ++
-                  [?XE(<<"p">>, [?ACT(<<"../acls-raw/">>, <<"Raw">>)])] ++
+                  [?XAE(<<"p">>, direction(ltr), [?ACT(<<"../acls-raw/">>, <<"Raw">>)])] ++
                     [?XAE(<<"form">>,
                           [{<<"action">>, <<"">>}, {<<"method">>, <<"post">>}],
                           [acls_to_xhtml(ACLs), ?BR,
@@ -805,7 +805,7 @@ process_admin(Host,
                   nothing -> []
                 end
                   ++
-                  [?XE(<<"p">>, [?ACT(<<"../access-raw/">>, <<"Raw">>)])]
+                  [?XAE(<<"p">>, direction(ltr), [?ACT(<<"../access-raw/">>, <<"Raw">>)])]
                     ++
                     [?XAE(<<"form">>,
                           [{<<"action">>, <<"">>}, {<<"method">>, <<"post">>}],