• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed editor_dialog_media invalid closing tag / unclosed tag

#1
In the editor_dialog_media template

HTML:
<dl class="ctrlUnit">
    <dt>{xen:phrase enter_media_url}:</dt>
    <dd><input type="text" id="redactor_media_link" class="textCtrl" />
        <div class="explain listInline commaImplode">
            {xen:phrase you_may_embed_media_from_following_sites}:
            <ul>
            <xen:foreach loop="$sites" value="$site" count="$totalSites" i="$i">
                <xen:if is="{$site.supported}">
                    <li><a href="{$site.site_url}" target="_blank" rel="nofollow">{$site.site_title}</a></li>
                </xen:if>
            </xen:foreach>
            </ul>
        </div>
    </dd>
</dl>

<dl class="ctrlUnit submitUnit">
    <dt></dt>
    <dd>
        <input type="button" name="upload" class="redactor_modal_btn button primary" id="redactor_insert_media_btn" value="{xen:phrase embed}" />
        <a href="javascript:void(null);" class="redactor_modal_btn redactor_btn_modal_close button">{xen:phrase cancel}</a>
    </dd>
</dd>

The final </dd> should actually be </dl>

At the moment submitUnit remains unclosed.
 
#3
Yea, hah - I noticed that people who were developing plugins also followed this "technique" lmao. I'll try and remind myself to let those I found know.