tidy includes
authorx2000habouzit <x2000habouzit>
Sun, 2 Jan 2005 21:06:50 +0000 (21:06 +0000)
committerx2000habouzit <x2000habouzit>
Sun, 2 Jan 2005 21:06:50 +0000 (21:06 +0000)
include/misc.inc.php

index 4a0e2dc..2c31e9c 100644 (file)
@@ -1,14 +1,23 @@
 <?php
 /********************************************************************************
-* include/misc.inc.php : Misc functions
-* -------------------------
-*
-* This file is part of the banana distribution
-* Copyright: See COPYING files that comes with this distribution
-********************************************************************************/
+ * include/misc.inc.php : Misc functions
+ * -------------------------
+ *
+ * This file is part of the banana distribution
+ * Copyright: See COPYING files that comes with this distribution
+ ********************************************************************************/
+
+/********************************************************************************
+ *  I18N
+ */
+
 
 function _b_($str) { return utf8_decode(dgettext('banana', utf8_encode($str))); }
 
+/********************************************************************************
+ *  HEADER STUFF
+ */
+
 function _headerdecode($charset, $c, $str) {
     $s = ($c == 'Q') ? quoted_printable_decode($str) : base64_decode($str);
     $s = iconv($charset, 'iso-8859-15', $s);
@@ -35,6 +44,10 @@ function header_translate($hdr) {
     }
 }
 
+/********************************************************************************
+ *  FORMATTING STUFF
+ */
+
 function formatDate($_text) {
     return strftime("%A %d %B %Y, %H:%M (fuseau serveur)", strtotime($_text));
 }