Probleme beim RepeatMod für den Kalender
Verfasst: 26.02.2005 16:46
Hallo zusammen,
brauche mal wieder eure Hilfe bei einem Einbau...
Was heißt das hier?
Und wo soll ich hier was einfügen?
Grüße
Dominik
brauche mal wieder eure Hilfe bei einem Einbau...
Was heißt das hier?
Code: Alles auswählen
## In case of a yearly event a year between {} will be replaced by the actual number of years between
## now and the year between {}.
## For instance post:
## Our club has its {1915}th anniversary
## The popup will show (in 2004):
## Our club has its 89th anniversary
Code: Alles auswählen
// replace {yyyy} with the actual number of years between now and yyyy
$search = eregi("{(.*)}", $message1, $message2);
$repl = intval($event_year) - intval($message2[1]);
$message1 = str_replace( "{".$message2[1]."}", $repl , $message1);
Dominik