Dalibor Toman wrote: > Hi, Hi, > I found out that when a larger _template.txt file is used no template > is loaded into new page edit box at all. The reason (IMHO) is that the > strftime() PHP routine (used to format the whole content of > _template.txt as one string) accepts only 1023 chars as format > specifier string (according to PHP doc - in the fact I was able to use > somewhat larger template). could you please also open a bug report for this at http://bugs.splitbrain.org? > I solved the problem for myself by splitting the _template.txt into > lines and calling strftime() per line. In file inc/common.php I > replaced one line in pageTemplate() function I think using a preg_replace_callback() on the whole string instead of calling strftime() for each line should suffice (there might a more clever solution though ;)). Best Regards, Chi -- Michael Klier www: http://www.chimeric.de jabber: chi@xxxxxxxxxxxxxxxxxx key: http://downloads.chimeric.de/chi.asc key-id: 0x8308F551