Invenzzia »


Due to the uncertain status of the Flyspray project, lack of new releases and moving the code repository to Github, we decided to shutdown this issue tracker by the end of January 2011. From that date, the bugs should be reported directly in Github project repositories.

List of repositories:

Open Power Template 2.x family


Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!

FS#118 - Put a variable value or a default value

Attached to Project: Open Power Template
Opened by Damian Nowak (Nowaker) - Saturday, 12 September 2009, 18:12 GMT-7
Last edited by Zyx (Zyx) - Monday, 01 November 2010, 11:20 GMT-7
Task Type Feature Request
Category Template syntax
Status Closed
Assigned To Zyx (Zyx)
Operating System OS-independent
Severity Low
Priority Normal
Reported Version 2.0.1
Due in Version 2.1.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


<opt:if test="$myVar">

Could be:
<opt:var name="myVar">default</opt:var>

No default value:
<opt:var name="myVar" /> (the same as {$myVar})
This task depends upon

Closed by  Zyx (Zyx)
Monday, 01 November 2010, 11:20 GMT-7
Reason for closing:  Won't implement
Additional comments about closing:  Will not be implemented in the current version.
Comment by Zyx (Zyx) - Sunday, 13 September 2009, 00:53 GMT-7
This is already implemented, but as a function:

<p>{firstof($myVar, 'Default value')}</p>

You can use it to select the first non-empty value from the provided attributes. Another way is to use `opt:content` attribute. I'll add a page about it to the wiki, because I agree the "trick" could be confusing. However, I'll keep it open, because the idea of creating the tag version of `opt:content` seems quite nice.
Comment by xianq (xianq) - Sunday, 22 April 2012, 22:36 GMT-7
matching orange shirts. affordable bridesmaid dresses I created my bouquet myself employing a black plastic jack o' lantern, like the kind applied by young children for trick or dealing with. wedding gowns bridesmaid dresses I stuffed it with autumn leaves and flowers, which includes my preferred, the Calla Lilly. long evening dress We asked our company to decorate in costume and boy had been they innovative! My brotherinlaw and his son dressed as my husband and I! There had been witches and goblins, cheap plus size wedding dresses also as superheroes and film stars. navy bridesmaid dress For us it was a terrific technique to get everybody involved with our unique day. We went with traditional Halloweenstyle decorations, total having a large spider within the ceiling 1940's vintage dresses , formal wedding dresses and cobwebs draped all over the place discount wedding gowns . Our cake shown a graveyard scene total with Jack and Sally in the Disney traditional A Nightmare Ahead of Xmas, large size bridesmaid dresses and we had skeleton goblets for that
Comment by xianq (xianq) - Tuesday, 01 May 2012, 18:56 GMT-7
Likely to balls contain a great deal of planning specifically for gals considering that straightforward formal have on will usually in no way do. rolex fake Masquerade events demand specific ball gowns that fluctuate in design based to the partys concept. Victorian ball gowns are very good examples of such, but acquiring them is basically a concern. Even now replica omega watches , replica rolex gold watch rolex datejust 116200 there are methods for a lady to discover an excellent robe for herself. rolex replica watches Masquerade gowns are incredibly unheard of and so they mostly vary with the common night don on the century replica rolex perpetual datejust . rolex gmt2 These are usually predicted to grant the wearer the oldfashioned search of somebody through the before moments replica rolex new york . Dimension and style also usually pose an issue in deciding on these masquerade gowns because they can be to get restricted while in the midsection and voluminous inside the skirt. For your faultless masquerade ball robe replica tag watches , it
Comment by xianq (xianq) - Tuesday, 19 June 2012, 01:56 GMT-7
after nning a Royal Warrant. cheap short dresses classic wedding dresses His ring eye, sleeveless dress . that is typically cover?d that has a black ey wedding casual dress ?patch,bears a pentacle indication of t?e Faustian agreement which binds the demon Sebastian Micha?lis thi mother of the bride dresses 2012 . ? will. He ?s portra?ed as emotionless, cheap wedding veils but he does specific osional worry f th? wellbeing in the f?w near thim. The cosplayer around the s?ow pre?ented the charact?r equally as ?e wa? Ci?l Phantomhive. Everyby wa? deeply shocked custom wedding dress . Some cosplayers about the ?how mad? uhe cosplay ctumes by themselevs, tea length wedding gowns . plus size dresses . but several far more purchased line to avoid wasting their time. cosplaypub h go d?al of cosplay costumes,also ar? all c?eap ap cosplay costumes. you will find it is intelligent choic? to uy sothing <p> The reasoning of organising a blogging site for CouponRefund will be to reinforce the