Author |
Message |
Topic: html_select_date whitespace |
danilo
Replies: 5
Views: 10236
|
Forum: Bugs Posted: Thu Mar 08, 2007 11:20 am Subject: html_select_date whitespace |
Yeah, looks like this has been overlooked until 06.03. when monte merged it. |
Topic: Problem with date_format ("redeclarate" ?!) |
danilo
Replies: 3
Views: 9338
|
Forum: Bugs Posted: Wed Mar 07, 2007 5:31 pm Subject: Problem with date_format ("redeclarate" ?!) |
Why not change the include / require calls to include_once / require_once? |
Topic: html_select_date whitespace |
danilo
Replies: 5
Views: 10236
|
Forum: Bugs Posted: Wed Mar 07, 2007 5:28 pm Subject: html_select_date whitespace |
Thanks for reporting this. A fix was actually brought up by
http://www.phpinsider.com/smarty-forum/viewtopic.php?p=31777 already and has been merged into CVS HEAD. |
Topic: Formular Problem |
danilo
Replies: 2
Views: 5791
|
Forum: Language: German Posted: Fri Mar 02, 2007 5:30 pm Subject: Re: Formular Problem |
{include file="header.tpl" title=Anmeldung Step 1}
{include file="header.tpl" title="Anmeldung Step 1"} |
Topic: Zählvariable |
danilo
Replies: 4
Views: 8704
|
Forum: Language: German Posted: Thu Mar 01, 2007 8:59 am Subject: Zählvariable |
Bei $i+=2 wirds dann aber schon schwieriger |
Topic: Zählvariable |
danilo
Replies: 4
Views: 8704
|
Forum: Language: German Posted: Wed Feb 28, 2007 3:52 pm Subject: Zählvariable |
http://smarty.php.net/manual/en/language.function.counter.php
http://smarty.php.net/manual/en/language.function.math.php |
Topic: regex_replace matches array? |
danilo
Replies: 3
Views: 5948
|
Forum: General Posted: Tue Feb 27, 2007 10:28 pm Subject: Re: regex_replace matches array? |
preg_replace itself cant' do that
the preg_replace() i know can exactly do that:
php -r "echo preg_replace('/f(oo)/','\1','foo');"
What you want is:
{$WHATE ... |
Topic: Newbie-Fragen |
danilo
Replies: 2
Views: 5277
|
Forum: Language: German Posted: Tue Feb 27, 2007 6:59 pm Subject: Newbie-Fragen |
de.selfhtml.org <-- lesen |
Topic: Große Arrays und Umstieg auf Smarty |
danilo
Replies: 5
Views: 8009
|
Forum: Language: German Posted: Tue Feb 27, 2007 6:58 pm Subject: Große Arrays und Umstieg auf Smarty |
2. Die Variante mit dem Objekt hört sich gut an, habe aber keinen schimmer wie das funktioniert und ob das wirklich das Problem löst. Denke mal da wirds ja dann auch wieder irgendwo ein array geben, d ... |
Topic: PHP Parse error: unexpected ':' |
danilo
Replies: 11
Views: 30417
|
Forum: Bugs Posted: Tue Feb 27, 2007 6:38 pm Subject: PHP Parse error: unexpected ':' |
Will this be fixed in the Smarty distribution too?
I commited it to CVS HEAD. It will most likely be included into 2.6.17, when that comes out. |
Topic: PHP Parse error: unexpected ':' |
danilo
Replies: 11
Views: 30417
|
Forum: Bugs Posted: Tue Feb 27, 2007 11:44 am Subject: PHP Parse error: unexpected ':' |
$ php -v
PHP 5.2.0 (cli) (built: Nov 8 2006 20:09:27)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologi ... |
Topic: PHP Parse error: unexpected ':' |
danilo
Replies: 11
Views: 30417
|
Forum: Bugs Posted: Tue Feb 27, 2007 10:59 am Subject: PHP Parse error: unexpected ':' |
I think so. I will ask monte/boots/messju to have a quick look at it. |
Topic: Große Arrays und Umstieg auf Smarty |
danilo
Replies: 5
Views: 8009
|
Forum: Language: German Posted: Tue Feb 27, 2007 10:04 am Subject: Große Arrays und Umstieg auf Smarty |
Ich hätte da zwei Lösungsvorschläge:
1) Benutze {php} {/php} im Smarty Template (was nicht empfohlen ist da es denn Sinn von Smarty unterläuft).
2) Übergebe ein Objekt an das Template und bei je ... |
Topic: PHP Parse error: unexpected ':' |
danilo
Replies: 11
Views: 30417
|
Forum: Bugs Posted: Tue Feb 27, 2007 9:54 am Subject: PHP Parse error: unexpected ':' |
Thanks for reporting this issue!
Its partially a PHP problem:
if (true) :
if (true) {}
else:
if (true) {}
endif;
Results in an err ... |
Topic: using a function in a string |
danilo
Replies: 1
Views: 4373
|
Forum: General Posted: Mon Feb 26, 2007 12:54 pm Subject: using a function in a string |
http://smarty.php.net/manual/en/language.builtin.functions.php#language.function.capture |
|