first commit

This commit is contained in:
alazhar
2020-01-02 22:20:31 +07:00
commit 10eb3340ad
5753 changed files with 631345 additions and 0 deletions

View File

@ -0,0 +1,48 @@
<?php
/**
* @package Joomla.Site
* @subpackage com_wrapper
*
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<script type="text/javascript">
function iFrameHeight()
{
var h = 0;
if (!document.all)
{
h = document.getElementById('blockrandom').contentDocument.height;
document.getElementById('blockrandom').style.height = h + 60 + 'px';
} else if (document.all)
{
h = document.frames('blockrandom').document.body.scrollHeight;
document.all.blockrandom.style.height = h + 20 + 'px';
}
}
</script>
<div class="contentpane<?php echo $this->pageclass_sfx; ?>">
<?php if ($this->params->get('show_page_heading')) : ?>
<h1>
<?php if ($this->escape($this->params->get('page_heading'))) :?>
<?php echo $this->escape($this->params->get('page_heading')); ?>
<?php else : ?>
<?php echo $this->escape($this->params->get('page_title')); ?>
<?php endif; ?>
</h1>
<?php endif; ?>
<iframe <?php echo $this->wrapper->load; ?>
id="blockrandom"
name="iframe"
src="<?php echo $this->escape($this->wrapper->url); ?>"
width="<?php echo $this->escape($this->params->get('width')); ?>"
height="<?php echo $this->escape($this->params->get('height')); ?>"
scrolling="<?php echo $this->escape($this->params->get('scrolling')); ?>"
frameborder="<?php echo $this->escape($this->params->get('frameborder', 1)); ?>"
class="wrapper<?php echo $this->pageclass_sfx; ?>">
<?php echo JText::_('COM_WRAPPER_NO_IFRAMES'); ?>
</iframe>
</div>

View File

@ -0,0 +1,91 @@
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<layout title="COM_WRAPPER_WRAPPER_VIEW_DEFAULT_TITLE" option="COM_WRAPPER_WRAPPER_VIEW_DEFAULT_OPTION">
<help
key="JHELP_MENUS_MENU_ITEM_WRAPPER"
/>
<message>
<![CDATA[COM_WRAPPER_WRAPPER_VIEW_DEFAULT_DESC]]>
</message>
</layout>
<!-- Add fields to the parameters object for the layout. -->
<fields name="params">
<fieldset name="request" label="COM_MENUS_BASIC_FIELDSET_LABEL">
<field name="url" type="text"
description="COM_WRAPPER_FIELD_URL_DESC"
label="COM_WRAPPER_FIELD_URL_LABEL"
size="30"
required="true"
/>
</fieldset>
<!-- Add fields to the parameters object for the layout. -->
<!-- Scroll. -->
<fieldset name="basic" label="COM_WRAPPER_FIELD_LABEL_SCROLLBARSPARAMS">
<field name="scrolling" type="list"
default="auto"
description="COM_WRAPPER_FIELD_SCROLLBARS_DESC"
label="COM_WRAPPER_FIELD_SCROLLBARS_LABEL"
>
<option value="no">JNO</option>
<option value="yes">JYES</option>
<option value="auto">COM_WRAPPER_FIELD_VALUE_AUTO</option>
</field>
<field name="width" type="text"
default="100%"
description="COM_WRAPPER_FIELD_WIDTH_DESC"
label="JGLOBAL_WIDTH"
size="5"
/>
<field name="height" type="text"
default="500"
description="COM_WRAPPER_FIELD_HEIGHT_DESC"
label="COM_WRAPPER_FIELD_HEIGHT_LABEL"
size="5"
/>
</fieldset>
<!-- Advanced options. -->
<fieldset name="advanced">
<field name="height_auto" type="radio"
default="0"
class="btn-group"
description="COM_WRAPPER_FIELD_HEIGHTAUTO_DESC"
label="COM_WRAPPER_FIELD_HEIGHTAUTO_LABEL"
>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="add_scheme"
type="radio"
class="btn-group"
default="1"
description="COM_WRAPPER_FIELD_ADD_DESC"
label="COM_WRAPPER_FIELD_ADD_LABEL"
>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="frameborder"
type="radio"
class="btn-group"
default="1"
label="COM_WRAPPER_FIELD_FRAME_LABEL"
>
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
</fieldset>
</fields>
</metadata>

View File

@ -0,0 +1 @@
<!DOCTYPE html><title></title>