From 4616a87c86c0ff0666e2c2490c0c76f13ee45932 Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 16 May 2015 05:24:14 +0200 Subject: [PATCH] [+] add some comments [~] change the translation path for jQuery DataTable 1.10.7 --- mail/send_mail.anubis | 12 ++++++------ web/jQuery/CXM_jquery_datatable_translation.anubis | 57 ++++++++++++++++++++++++++++----------------------------- 2 files changed, 34 insertions(+), 35 deletions(-) diff --git a/mail/send_mail.anubis b/mail/send_mail.anubis index 1d261f0..cd70b95 100644 --- a/mail/send_mail.anubis +++ b/mail/send_mail.anubis @@ -47,12 +47,12 @@ public type Str_UID: str_UID(String str). public type Send_Param: - send_param( Str_HostName host_name, - Str_Sender sender, - Str_Recipient recipient, - List(Data_IO) mail_parts, - SmtpAuth auth, - Str_UID mail_uid, + send_param( Str_HostName host_name, //domain of the sender like "mail.calexium.com" + Str_Sender sender, //sender email address + Str_Recipient recipient, //recipient email address + List(Data_IO) mail_parts, //email to send + SmtpAuth auth, // + Str_UID mail_uid, Int last_smtp_code //0 means it's the first time ). diff --git a/web/jQuery/CXM_jquery_datatable_translation.anubis b/web/jQuery/CXM_jquery_datatable_translation.anubis index 38bb4d5..c14fbfd 100644 --- a/web/jQuery/CXM_jquery_datatable_translation.anubis +++ b/web/jQuery/CXM_jquery_datatable_translation.anubis @@ -1,29 +1,28 @@ -/* - * Created by PyramIDE. - * User: Totoro - * Date: 17/09/2012 - * Time: 17:37 - * - * To change this template use Tools | Options | Coding | Edit Standard Headers. - */ - -read tools/basis.anubis - -public define String - get_datatable_translation - ( - String language, - String web_dir - )= - - with file = if file_exists(web_dir+"/public/js/jquery/dataTables/translation/"+language+".txt") then - language - else - println("NOT FOUND : "+web_dir+"/public/js/jquery/dataTables/translation/"+language+".txt"); - "en", - - "\"oLanguage\": { - \"sUrl\": \"/js/jquery/dataTables/translation/"+file+".txt\" - }". - - +/* + * Created by PyramIDE. + * User: Totoro + * Date: 17/09/2012 + * Time: 17:37 + * + */ + +read tools/basis.anubis + +public define String + get_datatable_translation + ( + String language, + String web_dir + )= + + with file = if file_exists(web_dir+"/public/jquery/plug-in/DataTables-1.10.7/translation/"+language+".txt") then + language + else + println("NOT FOUND : "+web_dir+"/public/jquery/plug-in/DataTables-1.10.7/translation/"+language+".txt"); + "en", + + "\"oLanguage\": { + \"sUrl\": \"/jquery/plug-in/DataTables-1.10.7/translation/"+file+".txt\" + }". + + -- libgit2 0.21.4