PageRenderTime 51ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/administrator/components/com_templates/views/prevuuw/tmpl/default.php

https://github.com/joebushi/joomla
PHP | 35 lines | 23 code | 4 blank | 8 comment | 0 complexity | f2829198b38e6df75b2882dd3a5a1352 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. <?php
  2. /**
  3. * @version $Id$
  4. * @package Joomla.Administrator
  5. * @subpackage com_templates
  6. * @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
  7. * @license GNU General Public License version 2 or later; see LICENSE.txt
  8. */
  9. // no direct access
  10. defined('_JEXEC') or die;
  11. ?>
  12. <form action="<?php echo JRoute::_('index.php'); ?>" method="post" name="adminForm">
  13. <div class="width-100">
  14. <h3 class="title fltlft">
  15. <?php echo JText::_('Site Preview'); ?>
  16. </h3>
  17. <h3 class="fltrt">
  18. <?php echo JHtml::_('link', $this->url.'index.php?tp='.$this->tp.'&amp;template='.$this->id, JText::_('Open in new window'), array('target' => '_blank')); ?>
  19. </h3>
  20. <div class="clr"></div>
  21. <div class="width-100 temprev">
  22. <?php echo JHtml::_('iframe', $this->url.'index.php?tp='.$this->tp.'&amp;template='.$this->id,'previewframe', array('class' => 'previewframe')) ?>
  23. </div>
  24. </div>
  25. <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
  26. <input type="hidden" name="template" value="<?php echo $this->template; ?>" />
  27. <input type="hidden" name="option" value="<?php echo $this->option;?>" />
  28. <input type="hidden" name="task" value="" />
  29. <input type="hidden" name="client" value="<?php echo $this->client->id;?>" />
  30. <?php echo JHtml::_('form.token'); ?>
  31. </form>