include "../PHP/connect.php";
connect_mysql();
include "../PHP/mod_form.php";
if (! isset ($locale)) { $locale = "en"; }
if (! isset ($title_format)) { $title_format = "2"; }
$q_stat = mysql_query("SELECT * FROM mail_data WHERE date <> '' ORDER BY date");
$form[query] = $q_stat;
$form[href_allday] = 0;
$form[dia] = "%e";
$form[locale] = $locale;
$form[tab_opc] = "
";
$form[title_opc] = '| $b | ';
$form[td_opc] = "VALIGN=CENTER ALIGN=CENTER WIDTH=25";
$form[title_format] = "%".$title_format;
form_cal ($form);
?>
Comments:
-
Multi-language for date format (support of setlocales).
you can add all language on your system with setlocales. (locale =
echo "en / fr / pt)";
?>
-
Various title_format (according with the function strftime - except macro
%1 and %2)
-
echo "%A"; ?>:
full weekday name according to the current locale
-
echo "%a"; ?>:
abbreviated weekday name according to the current locale
-
echo "%1"; ?>:
first letter on weekday name according to the current locale
-
echo "%2"; ?>:
two firsts letters on weekday name according to the current locale
The source