commit 3b690c1f1388e2047ca1b98ecdc6122c6a9d8f56
parent b1d0920ad1c44814e3e06976cb22f3dc2b1f10c1
Author: dankert <devnull@localhost>
Date: Sat, 10 Nov 2007 00:04:13 +0100
Das "DATE_FORMAT_LONG" im Titel anzeigen.
Diffstat:
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/themes/default/include/html/date.inc.php b/themes/default/include/html/date.inc.php
@@ -5,7 +5,18 @@
if ( $time==0)
echo lang('GLOBAL_UNKNOWN');
elseif ( !$conf['interface']['human_date_format'] )
+ {
+ echo '<span title="';
+ $dl = date(lang('DATE_FORMAT_LONG'),$time);
+ $dl = str_replace('{weekday}',lang('DATE_WEEKDAY'.strval(date('w',$time))),$dl);
+ $dl = str_replace('{month}' ,lang('DATE_MONTH' .strval(date('n',$time))),$dl);
+// $dl = str_replace(' ',' ',$dl);
+ echo $dl;
+ unset($dl);
+ echo '">';
echo date(lang('DATE_FORMAT'),$time);
+ echo '</span>';
+ }
else
{