Categories > TinyButStrong general >

UL in Conditional

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Maz
Date: 2005-07-23
Time: 14:32

UL in Conditional

I have the following code pieces:

This one works perfectly:

                        <td class="dark">
                            [onload_1;block=td;when [var.subscriber]=1]
                            <input type="checkbox" id="notify" name="notify" tabindex="18" />
                            <label for="notify">Notify me when downloaded</label>
                        </td>
                        <td class="dark">
                            [onload_1;block=td;when [var.subscriber]=0]
                            <input type="checkbox" id="notify" name="notify" tabindex="18" disabled="disabled" />
                            <label for="notify">Notify me when downloaded [lang.subscribe_feature]</label>
                        </td>

However, this one just shows nothing. What have I missed or what am I doing wrong?

            <div class="panelbox account">
                <ul>
                    [onload_1;block=ul;when [var.subscriber]=1]
                    <li>[lang.tickets_pending] 0</li>
                    <li>[lang.subs_expiry]31 Dec 2005</li>
                    <li>[lang.ups_pending] 0</li>
                    <li>&nbsp;</li>
                    <li><a href="#" title="Duff">[lang.link_sub_support]</a></li>
                </ul>
                <ul>
                    [onload_1;block=ul;when [var.subscriber]=0]
                    <li>[lang.subscribe_feature] 0</li>
                </ul>
            </div>

Many thanks for any assistance provided.
By: Maz
Date: 2005-07-24
Time: 04:49

Re: UL in Conditional

Resolved