Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-4939

Add otherwise to include condition

    XMLWordPrintable

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 1.21.100
    • None
    • GUI

    Description

      <p>Like:</p>

      <pre class="brush: xml;" contenteditable="false" name="code" style="background-color:#f7f7f7;border:1px solid #d7d7d7;padding:.5em 1em .5em 1em;">&lt;include condition="true" otherwise="False.xml"&gt;True.xml&lt;/include&gt;</pre>

      <p><span style="background-color:rgb(255, 255, 255); color:rgb(39, 42, 52); font-family:segoe ui,helvetica neue,helvetica,open sans,roboto,oxygen,ubuntu,cantarell,fira sans,droid sans,sans-serif; font-size:14.3px; letter-spacing:0px">If condition&nbsp;</span><b style="background-color:rgb(255, 255, 255); color:rgb(39, 42, 52); font-family:segoe ui,helvetica neue,helvetica,open sans,roboto,oxygen,ubuntu,cantarell,fira sans,droid sans,sans-serif; font-size:14.3px; letter-spacing:0px">true</b><span style="background-color:rgb(255, 255, 255); color:rgb(39, 42, 52); font-family:segoe ui,helvetica neue,helvetica,open sans,roboto,oxygen,ubuntu,cantarell,fira sans,droid sans,sans-serif; font-size:14.3px; letter-spacing:0px">, load&nbsp;</span><b style="background-color:rgb(255, 255, 255); color:rgb(39, 42, 52); font-family:segoe ui,helvetica neue,helvetica,open sans,roboto,oxygen,ubuntu,cantarell,fira sans,droid sans,sans-serif; font-size:14.3px; letter-spacing:0px">True.xml</b><span style="background-color:rgb(255, 255, 255); color:rgb(39, 42, 52); font-family:segoe ui,helvetica neue,helvetica,open sans,roboto,oxygen,ubuntu,cantarell,fira sans,droid sans,sans-serif; font-size:14.3px; letter-spacing:0px">, otherwise load&nbsp;</span><b style="background-color:rgb(255, 255, 255); color:rgb(39, 42, 52); font-family:segoe ui,helvetica neue,helvetica,open sans,roboto,oxygen,ubuntu,cantarell,fira sans,droid sans,sans-serif; font-size:14.3px; letter-spacing:0px">False.xml</b></p>

      Attachments

        Activity

          People

            ajs Andrew J.Swan
            ajs Andrew J.Swan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: