02ed6b9a18da3a8f536dd183dd8f9bc4c32c6d0f
[citadel] / webcit / static / t / aide / siteconfig / tab_aliases.html
1 <div class="conftitle"><?_("Global email aliases")></div>
2 <a href="javascript:load_aliases()">&#8635;</a>
3 <hr>
4
5 <div id="wc_easterbunny77">
6 </div>
7
8 <script type="text/javascript">
9
10
11 function load_aliases() {
12         var request77 = new XMLHttpRequest();
13         request77.open("GET", "ajax_servcmd?g_cmd=LIST", true);
14         request77.onreadystatechange = function() {
15                 populate_aliases(this.responseText);
16         };
17         request77.send();
18         request77 = null;
19 }
20
21 function populate_aliases(data) {
22         document.getElementById("wc_easterbunny77").innerHTML = data;
23 }
24
25
26 document.getElementById("wc_easterbunny77").innerHTML = "die easterbunny die easterbunny still fool";
27 load_aliases();
28
29 </script>
30
31 <!-- This could end up being a design pattern in WebCit-NG -->