• 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

In the editor_dialog_media template

<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}:
            <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>

<dl class="ctrlUnit submitUnit">
        <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>

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

At the moment submitUnit remains unclosed.
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.