Re: Re: Web interface prototype

dean blackketter <[email protected]> Thu, 20 Feb 2003 07:52:14 -0800
Newsgroups gmane.music.equipment.slimp3.dev
Message-ID <[email protected]>
Great.  Thanks.  This is an obvious extension.  I'll add it (as well as  
[LT] )

One note, eval would work just fine here too:

[GT myval 2]Bigger than two[/GT]

could be done as:

[EVAL]$$hashref{'myval'} > 2 ? "Bigger than two" : ""[/EVAL]

-dean

On Thursday, February 20, 2003, at 02:23  AM, kevindf <[email protected]>  
wrote:

> I knew i needed an excuse to try CVS.  Much nicer with it all in place.
> I didn't have as much luck with a diff however.  Working on that
> volume idea shown in the example, it seemed a [GT...] tag was needed.
>  I managed that by adding the following line after lin 714 in HTTP.pm:
>
> $template=~s/\[GT\s+([^\[\]]+)\s+(.+?)\](.*?)\[\/GT\]/ 
> (defined($$hashref{$1})
> && $$hashref{$1} < $2) ? $3 :  ''/esg;
>
> Then, its as simple as using the slider image template from the Dark
> skin, using GT instead of EQ to generate the images.
>
> hope that's a simple enough change not to have been a pain by not
> using diff.
>
> cheers,
> Kevin
> --- In [email protected], dean blackketter <dean@s...> wrote:
>> Yes, you'll need to get the full CVS update in order to test this.
>>
>> -dean
>>
>
>
>
> ------------------------ Yahoo! Groups Sponsor  
> ---------------------~-->
> Get 128 Bit SSL Encryption!
> http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/rIp0lB/TM
> --------------------------------------------------------------------- 
> ~->
>
> To unsubscribe from this group, send an email to:
> [email protected]
>
>
>
> Your use of Yahoo! Groups is subject to  
> http://docs.yahoo.com/info/terms/
>
>


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/FpY02D/vN2EAA/xGHJAA/rIp0lB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/