[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/components/com_wrapper/views/wrapper/tmpl/ -> default.php (source)

   1  <?php // no direct access
   2  defined('_JEXEC') or die('Restricted access'); ?>
   3  <script language="javascript" type="text/javascript">
   4  function iFrameHeight() {
   5      var h = 0;
   6      if ( !document.all ) {
   7          h = document.getElementById('blockrandom').contentDocument.height;
   8          document.getElementById('blockrandom').style.height = h + 60 + 'px';
   9      } else if( document.all ) {
  10          h = document.frames('blockrandom').document.body.scrollHeight;
  11          document.all.blockrandom.style.height = h + 20 + 'px';
  12      }
  13  }
  14  </script>
  15  <div class="contentpane<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  16  <?php if ( $this->params->get( 'show_page_title', 1 ) ) : ?>
  17      <div class="componentheading<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  18      <?php echo $this->escape($this->params->get( 'page_title' )); ?>
  19      </div>
  20  <?php endif; ?>
  21  <iframe <?php echo $this->wrapper->load; ?>
  22      id="blockrandom"
  23      name="iframe"
  24      src="<?php echo $this->wrapper->url; ?>"
  25      width="<?php echo $this->params->get( 'width' ); ?>"
  26      height="<?php echo $this->params->get( 'height' ); ?>"
  27      scrolling="<?php echo $this->params->get( 'scrolling' ); ?>"
  28      align="top"
  29      frameborder="0"
  30      class="wrapper<?php echo $this->escape($this->params->get('pageclass_sfx')); ?>">
  31      <?php echo JText::_( 'NO_IFRAMES' ); ?>
  32  </iframe>
  33  </div>


Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1