|
|
Choosing A Webhost: |
Re: TMPL vars in tmpl expr ?: msg#00028lang.perl.modules.html-template
X-Return-Path: root@xxxxxxxxxxxxx X-MDaemon-Deliver-To: html-template-users@xxxxxxxxxxxxxxxxxxxxx Thnx man, you are the man! it worked flawlessly! ----- Original Message ----- From: "Ãîðüêèé Þðèé" <hatebreeder@xxxxxx> To: "root" <root@xxxxxxxxxxxxx> Sent: Monday, February 16, 2004 4:34 PM Subject: Re: [htmltmpl] TMPL vars in tmpl expr ? > r> i would like to do something like this: > > r> <TMPL_LOOP NAME="LIST"> > r> <TMPL_IF EXR="current_year == <TMPLVAR="arg6">"> > r> <TMPL_IF EXR="current_month == <TMPVAR="arg7">"> > r> <TMPL_IF EXR="current_day == <TMPVAR="arg8">"> > r> NEW > r> </TMP_IF> > r> </TMP_IF> > r> </TMP_IF> > r> </TMPL_LOOP> > > r> where arg6..arg8 is the time i added the post.... > > try using HTML::Template::Expr > > you'll get smth like this: > > <TMPL_IF EXPR="current_year == arg6"></TMPL_IF> > > -- > Best regards, > Ãîðüêèé Þðèé mailto:hatebreeder@xxxxxx > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | TMPL vars in tmpl expr ?, root |
|---|---|
| Next by Date: | creating output to a file, Kevin Fletcher |
| Previous by Thread: | TMPL vars in tmpl expr ?, root |
| Next by Thread: | creating output to a file, Kevin Fletcher |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |