aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Include')
-rw-r--r--h-source/Application/Include/languages.php17
-rw-r--r--h-source/Application/Include/myFunctions.php25
2 files changed, 35 insertions, 7 deletions
diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php
index 8429aa0..cbaf6bb 100644
--- a/h-source/Application/Include/languages.php
+++ b/h-source/Application/Include/languages.php
@@ -317,6 +317,23 @@ class Lang
/*0269*/"Download the xml file of all the <b>modems</b> in the database" => "Scarica il file xml di tutti i <b>modem</b> presenti nel database",
/*0270*/"Modems and ADSL cards" => "Modem e schede ADSL",
/*0271*/"Table of contents" => "Indice dei contenuti",
+ /*0272*/"by" => "da",
+ /*0273*/"Add a message" => "Aggiungi un messaggio",
+ /*0274*/"Save" => "Salva",
+ /*0275*/"Revision of the wiki page" => "Revisione della pagina della wiki",
+ /*0276*/"Preview" => "Anteprima",
+ /*0277*/"January" => "gennaio",
+ /*0278*/"February" => "febbraio",
+ /*0279*/"March" => "marzo",
+ /*0280*/"April" => "aprile",
+ /*0281*/"May" => "maggio",
+ /*0282*/"June" => "giugno",
+ /*0283*/"July" => "luglio",
+ /*0284*/"August" => "agosto",
+ /*0285*/"September" => "settembre",
+ /*0286*/"October" => "ottobre",
+ /*0287*/"November" => "novembre",
+ /*0288*/"December" => "dicembre",
),
'es' => array
(
diff --git a/h-source/Application/Include/myFunctions.php b/h-source/Application/Include/myFunctions.php
index 8c757e7..bb7aa5f 100644
--- a/h-source/Application/Include/myFunctions.php
+++ b/h-source/Application/Include/myFunctions.php
@@ -73,15 +73,26 @@ function titleForRedirect($title)
function smartDate($uglyDate = null, $lang = 'en')
{
- switch ($lang)
+ if (strcmp($lang,'en'))
{
- case 'en':
- $smDate = date('H:i, d F Y',strtotime($uglyDate));
- break;
- default:
- $smDate = date('H:i, d F Y',strtotime($uglyDate));
+ return date('H:i, j F Y',strtotime($uglyDate));
}
- return $smDate;
+ else
+ {
+ return date('H:i, j ',strtotime($uglyDate)).gtext(date('F',strtotime($uglyDate))).date(' Y',strtotime($uglyDate));
+ }
+// switch ($lang)
+// {
+// case 'en':
+// $smDate = date('H:i, d F Y',strtotime($uglyDate));
+// break;
+// case 'it':
+// $smDate = date('H:i, d F Y',strtotime($uglyDate));
+// break;
+// default:
+// $smDate = date('H:i, d F Y',strtotime($uglyDate)).date(' F ',strtotime($uglyDate)).date('Y',strtotime($uglyDate));
+// }
+// return $smDate;
}
function pubDateFormat($uglyDate = null)