You are here

function theme_panels_hidden in Panels 5.2

1 theme call to theme_panels_hidden()
_panels_edit in includes/display_edit.inc
Handle calling and processing of the form for editing display content.

File

includes/display_edit.inc, line 1726

Code

function theme_panels_hidden() {
  $close_text = t('Close Window');
  $close_image = theme('image', panels_get_path('images/icon-delete.png'), t('Close window'), t('Close window'));
  $throbber_image = theme('image', panels_get_path('images/throbber.gif'), t('Loading...'), t('Loading'));
  $output = <<<EOF
<div class="panels-hidden">

  <div id="panels-modal">

    <div class="panels-modal-content">

       <div class="modal-header">

         <a class="close" href="#">{<span class="php-variable">$close_text</span>} {<span class="php-variable">$close_image</span>}</a>

         <span class="modal-title">&nbsp;</span>

       </div>

       <div class="modal-content">

       </div>

    </div>

  </div>

  <div id="panels-throbber">

    <div class="panels-throbber-wrapper">
      {<span class="php-variable">$throbber_image</span>}

    </div>
  </div>

</div>

EOF;
  return $output;
}