
"Последнее обновление:
18 мая 2013 г. 11:31"
Сейчас так:

"Последнее обновление:
18 мая 2013 г. 11:31"

"Последнее обновление:
18 мая 2013 г. 11:31"
facebook: the meeting point ebay: the market place CMSimple: your home at the www
Impressum - Legal Notice | Datenschutzerklärung - Privacy Policy
Only for "de" there is the variable "m", that gives the result "06"
So if you change the line to "d m Y, H:i" you will get the result: "18.06.2013, 09:19"
<?php
$monate = array(01=>"Januar",
02=>"Februar",
03=>"März",
04=>"April",
05=>"Mai",
06=>"Juni",
07=>"Juli",
08=>"August",
09=>"September",
10=>"Oktober",
11=>"November",
12=>"Dezember");
?>
That change the "06" into "Juni"<?php
$monat = date("m");
echo $monate[$monat];
?>
Code: Select all
function lastupdate($br = NULL, $hour = NULL) {
global $tx, $pth;
$t = $tx['lastupdate']['text'] . ':';
if (!(isset($br)))
$t .= tag('br');
else
$t .= ' ';
return $t . date($tx['lastupdate']['dateformat'], filemtime($pth['file']['content']) + (isset($hour) ? $hour * 3600 : 0));
}
Of course you need the name of the months in your language.$tx['lastupdate']['monthnames_array']="Januar,Februar,März,April,Mai,Juni,Juli,August,September,Oktober,November,Dezember";
But I hope Gert can tell you more$month = (isset($month)) ? $month : date("n",time());
$textmonth = date("F",mktime(1,1,1,$month,1,$year));
$monthnames = explode(",", $plugin_tx['calendar']['monthnames_array']);
$textmonth = $monthnames[$mo..