/administrator/components/com_templates/views/prevuuw/tmpl/default.php
PHP | 35 lines | 23 code | 4 blank | 8 comment | 0 complexity | f2829198b38e6df75b2882dd3a5a1352 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
- <?php
- /**
- * @version $Id$
- * @package Joomla.Administrator
- * @subpackage com_templates
- * @copyright Copyright (C) 2005 - 2010 Open Source Matters, Inc. All rights reserved.
- * @license GNU General Public License version 2 or later; see LICENSE.txt
- */
- // no direct access
- defined('_JEXEC') or die;
- ?>
- <form action="<?php echo JRoute::_('index.php'); ?>" method="post" name="adminForm">
- <div class="width-100">
- <h3 class="title fltlft">
- <?php echo JText::_('Site Preview'); ?>
- </h3>
- <h3 class="fltrt">
- <?php echo JHtml::_('link', $this->url.'index.php?tp='.$this->tp.'&template='.$this->id, JText::_('Open in new window'), array('target' => '_blank')); ?>
- </h3>
- <div class="clr"></div>
- <div class="width-100 temprev">
- <?php echo JHtml::_('iframe', $this->url.'index.php?tp='.$this->tp.'&template='.$this->id,'previewframe', array('class' => 'previewframe')) ?>
- </div>
- </div>
- <input type="hidden" name="id" value="<?php echo $this->id; ?>" />
- <input type="hidden" name="template" value="<?php echo $this->template; ?>" />
- <input type="hidden" name="option" value="<?php echo $this->option;?>" />
- <input type="hidden" name="task" value="" />
- <input type="hidden" name="client" value="<?php echo $this->client->id;?>" />
- <?php echo JHtml::_('form.token'); ?>
- </form>