Author |
Message |
Topic: modifier.is_numeric (new) |
joscha
Replies: 5
Views: 23085
|
Forum: Plugins Posted: Thu Sep 25, 2003 12:25 pm Subject: modifier.is_numeric (new) |
Why don't you use the built-in is_numeric() function of PHP? Any special reason to preg_* the passed param?
greets,
Joscha |
Topic: utcdate_format |
joscha
Replies: 5
Views: 19064
|
Forum: Plugins Posted: Wed Jun 11, 2003 11:29 pm Subject: utcdate_format |
Hi Hinrich,
nice work!
The package should be as small as possible, just add it to the Smarty-wiki so everyone can find it!
greets,
Joscha |
Topic: new version of fsize_format |
joscha
Replies: 2
Views: 13459
|
Forum: Plugins Posted: Thu May 15, 2003 1:18 pm Subject: new version of fsize_format |
Hi folks,
there is a new version of the fsize_format modifier (formats a filesize "human-readable") available - get it here:
http://dev.feth.com/PHP/Smarty/modifier.fsize_format.phps
greets ... |
Topic: Increment and decrement |
joscha
Replies: 12
Views: 71195
|
Forum: Plugins Posted: Fri May 02, 2003 9:22 am Subject: Increment and decrement |
Nice Idea, only a small plugin, but gets rid of the overhead of the math plugin...however I changed it a bit (I don't like having too much different plugins for the same type of work, it fills the plu ... |
Topic: best way to build a multi-language site with smarty |
joscha
Replies: 210
Views: 1207529
|
Forum: Tips and Tricks Posted: Wed Apr 23, 2003 9:58 am Subject: best way to build a multi-language site with smarty |
I have another architecture:
MySQL with language table <-> language data table
|
Smarty template with {lang MESSAGE_WHATEVER} tags in it
|
... |
Topic: Smarty vs PHP Includes |
joscha
Replies: 4
Views: 17323
|
Forum: General Posted: Tue Apr 22, 2003 10:29 pm Subject: Re: Smarty vs PHP Includes |
When somebody says, "What is the point of smarty, if you can do it in PHP" what kind of answers do you guys give?
I normally ask them: ever had a graphic guy who begins trembling on hearing th ... |
Topic: strip as an output filter rather than inline |
joscha
Replies: 7
Views: 25447
|
Forum: Plugins Posted: Tue Apr 22, 2003 10:20 am Subject: strip as an output filter rather than inline |
It seems like that does not work, the [code] [/code] tags do not affect & |
Topic: strip as an output filter rather than inline |
joscha
Replies: 7
Views: 25447
|
Forum: Plugins Posted: Sat Apr 19, 2003 7:35 am Subject: strip as an output filter rather than inline |
A outputfilter handling this seems to be nice, but there could be problems with it, because then you'd have to convert all spaces you want to & nbsp;
for example here:
<a href="foo" ... |
|