Inline include possibility
| From: | loic d'Anterroches | Date: | Sun, 26 Jan 2003 20:46:51 +0000 |
| Subject: | Inline include possibility | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-626@lists.php.net to get a copy of this message | ||
Hi all,
I just wonder if it is possible to create an "inline" include at compile
time.
I know that in this case you may lose the possibility to recompile the
template if changed after compilation for the templates "inlined", but my problem
is if I need to "include" 10 times a little template (like an HTML piece of
code to start a table) the system makes 10 includes, and that slow done
everything...
Something like {include file="filename" inline="true"} could be nice. With a
inline to false by default.
Thank you,
loic
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!