Hallo zusammen!
Wie kann ich bei der genannten Extension die Darstellung so ändern, das folgende Ausgabe erscheint:
Es ist 'Wochentag', der 'Datum' - Uhrzeit
Danke im voraus
actual_time_extension Darstellung ändern
Forumsregeln
Bei Fragen zu einer bestimmten Extension sind Extension-Name und die Downloadquelle der Extension erforderlich. Letztere in Form der URL zum Download.
Bei Fragen zu einer bestimmten Extension sind Extension-Name und die Downloadquelle der Extension erforderlich. Letztere in Form der URL zum Download.
Re: actual_time_extension Darstellung ändern
Hallo
Öffne:
Finde:
Ersetzen mit:
Finde:
Ersetzen mit:
Finde:
Ersetzen mit:
Öffne:
root/ext/kirk/actual_time/jquery/actualtime_de.js
Finde:
Code: Alles auswählen
// Set the text to display before the clock:
var mypre_text = "Aktuelle Zeit: ";
Code: Alles auswählen
// Set the text to display before the clock:
var mypre_text = "Es ist ";
// Set the text to display after the day:
var mypre_text2 = "der ";
Code: Alles auswählen
myclock += hours+':'+minutes;
Code: Alles auswählen
myclock += DaysOfWeek[day]+' '+mypre_text2+' '+mday+'. '+MonthsOfYear[month]+' '+year+' - '+hours+':'+minutes;
//myclock += hours+':'+minutes;
Code: Alles auswählen
if (DisplayDate) { myclock += ' - '+DaysOfWeek[day]+' '+mday+'. '+MonthsOfYear[month]+' '+year; }
Code: Alles auswählen
//if (DisplayDate) { myclock += ' - '+DaysOfWeek[day]+' '+mday+'. '+MonthsOfYear[month]+' '+year; }