Commit 4616a87c86c0ff0666e2c2490c0c76f13ee45932

Authored by totoro
1 parent 55d0f4b9

[+] add some comments

[~] change the translation path for jQuery DataTable 1.10.7
mail/send_mail.anubis
... ... @@ -47,12 +47,12 @@ public type Str_UID:
47 47 str_UID(String str).
48 48  
49 49 public type Send_Param:
50   - send_param( Str_HostName host_name,
51   - Str_Sender sender,
52   - Str_Recipient recipient,
53   - List(Data_IO) mail_parts,
54   - SmtpAuth auth,
55   - Str_UID mail_uid,
  50 + send_param( Str_HostName host_name, //domain of the sender like "mail.calexium.com"
  51 + Str_Sender sender, //sender email address
  52 + Str_Recipient recipient, //recipient email address
  53 + List(Data_IO) mail_parts, //email to send
  54 + SmtpAuth auth, //
  55 + Str_UID mail_uid,
56 56 Int last_smtp_code //0 means it's the first time
57 57 ).
58 58  
... ...
web/jQuery/CXM_jquery_datatable_translation.anubis
1   -/*
2   - * Created by PyramIDE.
3   - * User: Totoro
4   - * Date: 17/09/2012
5   - * Time: 17:37
6   - *
7   - * To change this template use Tools | Options | Coding | Edit Standard Headers.
8   - */
9   -
10   -read tools/basis.anubis
11   -
12   -public define String
13   - get_datatable_translation
14   - (
15   - String language,
16   - String web_dir
17   - )=
18   -
19   - with file = if file_exists(web_dir+"/public/js/jquery/dataTables/translation/"+language+".txt") then
20   - language
21   - else
22   - println("NOT FOUND : "+web_dir+"/public/js/jquery/dataTables/translation/"+language+".txt");
23   - "en",
24   -
25   - "\"oLanguage\": {
26   - \"sUrl\": \"/js/jquery/dataTables/translation/"+file+".txt\"
27   - }".
28   -
29   -
  1 +/*
  2 + * Created by PyramIDE.
  3 + * User: Totoro
  4 + * Date: 17/09/2012
  5 + * Time: 17:37
  6 + *
  7 + */
  8 +
  9 +read tools/basis.anubis
  10 +
  11 +public define String
  12 + get_datatable_translation
  13 + (
  14 + String language,
  15 + String web_dir
  16 + )=
  17 +
  18 + with file = if file_exists(web_dir+"/public/jquery/plug-in/DataTables-1.10.7/translation/"+language+".txt") then
  19 + language
  20 + else
  21 + println("NOT FOUND : "+web_dir+"/public/jquery/plug-in/DataTables-1.10.7/translation/"+language+".txt");
  22 + "en",
  23 +
  24 + "\"oLanguage\": {
  25 + \"sUrl\": \"/jquery/plug-in/DataTables-1.10.7/translation/"+file+".txt\"
  26 + }".
  27 +
  28 +
... ...