Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 66 lines (62 sloc) 2.063 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
<mt:setvarblock name="page_title"><__trans phrase="An error occurred"></mt:setvarblock>
<mt:setvar name="complete" value="1">
<mt:setvar name="error_page" value="1">
<mt:include name="include/chromeless_header.tmpl">

<mtapp:statusmsg
   id="generic-error"
   class="error"
   can_close="0">
<mt:if name="enable_pre">
  <pre>
</mt:if>
    <mt:var name="error" escape="html">
<mt:if name="enable_pre">
  </pre>
</mt:if>
</mtapp:statusmsg>

<mt:setvarblock name="action_buttons">
<button
   id="goback-button"
   onclick="<mt:var name="goback">"
   type="submit"
   accesskey="s"
   class="goback action primary button">
  <mt:var name="value">
</button>
<mt:if name="button_loop">
<mt:loop name="button_loop">
<button
   type="submit"
<mt:if name="dialog">
   onclick="if ( window.opener ) { window.close(); } else { parent.jQuery.fn.mtDialog.close('<mt:var name="link" escape="js">'); }; return false;"
<mt:elseif name="fs">
   onclick="window.location='<mt:var name="link" escape="js">'; return false;"
<mt:else>
   onclick="if ( window.opener ) { window.opener.location.href='<mt:var name="link" escape="js">'; window.close(); } else { window.open('<mt:var name="link" escape="js">') }; return false;"
</mt:if>
   class="action button">
  <mt:var name="label" escape="html">
</button>
</mt:loop>
</mt:if>
<mt:unless name="dialog">
<button
   id="close-button"
   onclick="if ( window.opener ) { window.close(); } else { parent.jQuery.fn.mtDialog.close(); }"
   type="submit"
   accesskey="x"
   class="close action button hidden"
   title="<__trans phrase="Close (x)">">
  <__trans phrase="Close">
</button>
</mt:unless>
<script type="text/javascript">
    /* <![CDATA[ */
    // show the close button if error is in modal or popup
    if ( window != window.parent || window.opener )
        document.getElementById("close-button").className = "close action button";
    /* ]]> */
</script>
</mt:setvarblock>

<mt:include name="include/actions_bar.tmpl" bar_position="bottom" hide_pager="1" settings_bar="1">

<mt:include name="include/chromeless_footer.tmpl">
Something went wrong with that request. Please try again.