Example #1
0
    /**
     * render admin settings
     */
    function renderAdminSettings()
    {
        $pluginParams =& $this->getPluginParams();
        FabrikHelperHTML::script('admin.js', 'components/com_fabrik/plugins/element/fabrikcheckbox/', true);
        $params =& $this->getParams();
        $element =& $this->getElement();
        ?>
<div id="page-<?php 
        echo $this->_name;
        ?>
" class="elementSettings"
	style="display: none"><?php 
        FabrikHelperAdminHTML::subElementFields($element);
        echo $pluginParams->render();
        ?>
<fieldset><legend><?php 
        echo JText::_('Sub elements');
        ?>
</legend>
<table style="width: 100%">
	<tr>
		<th style="width: 5%"></th>
		<th style="width: 30%"><?php 
        echo JText::_('VALUE');
        ?>
</th>
		<th style="width: 30%"><?php 
        echo JText::_('LABEL');
        ?>
</th>
		<th style="width: 30%"><?php 
        echo JText::_('DEFAULT');
        ?>
</th>
	</tr>
</table>
<ul id="chk_subElementBody" class="subelements">
	<li></li>
</ul>
<a class="addButton" href="#" id="addCheckbox"> <?php 
        echo JText::_('Add');
        ?>
</a></fieldset>
<fieldset><legend><?php 
        echo JText::_('Add options');
        ?>
</legend> <?php 
        echo $pluginParams->render('params', 'add');
        ?>
</fieldset>
<fieldset><legend><?php 
        echo JText::_('Advanced');
        ?>
</legend> <?php 
        echo $pluginParams->render('params', 'advanced');
        ?>
</fieldset>
</div>
	<?php 
    }
Example #2
0
    /**
     * render the admin settings
     */
    function renderAdminSettings()
    {
        $pluginParams =& $this->getPluginParams();
        $params =& $this->getParams();
        $element =& $this->getElement();
        FabrikHelperHTML::script('admin.js', 'components/com_fabrik/plugins/element/fabrikpicklist/', true);
        ?>
<div id="page-<?php 
        echo $this->_name;
        ?>
" class="elementSettings"
	style="display: none"><?php 
        FabrikHelperAdminHTML::subElementFields($element);
        echo $pluginParams->render();
        ?>
<fieldset><legend><?php 
        echo JText::_('Sub elements');
        ?>
</legend> <a
	href="#" id="addPickList" class="addButton" style="text-align: right"><?php 
        echo JText::_('Add');
        ?>
</a>
<div id="picklist_subElementBody"></div>
</fieldset>
</div>
<input type="hidden"
	name="params[picklist_initial_selection]" value=""
	id="params_picklist_initial_selection" />
	<?php 
    }
Example #3
0
    /**
     * render the admin settings
     */
    function renderAdminSettings()
    {
        $pluginParams =& $this->getPluginParams();
        $params =& $this->getParams();
        $element =& $this->getElement();
        FabrikHelperHTML::script('admin.js', 'components/com_fabrik/plugins/element/fabrikdropdown/', true);
        ?>
<div id="page-<?php 
        echo $this->_name;
        ?>
" class="elementSettings"
	style="display: none"><?php 
        FabrikHelperAdminHTML::subElementFields($element);
        ?>


<fieldset><legend><?php 
        echo JText::_('Sub elements');
        ?>
</legend>
<table style="width: 100%">
	<tr>
		<th style="width: 5%"></th>
		<th style="width: 30%"><?php 
        echo JText::_('VALUE');
        ?>
</th>
		<th style="width: 30%"><?php 
        echo JText::_('LABEL');
        ?>
</th>
		<th style="width: 30%"><?php 
        echo JText::_('DEFAULT');
        ?>
</th>
	</tr>
</table>
<ul id="drd_subElementBody" class="subelements">
	<li></li>
</ul>
<a class="addButton" href="#" id="addDropDown"><?php 
        echo JText::_('Add');
        ?>
</a>
</fieldset>
<fieldset><?php 
        echo $pluginParams->render();
        ?>
</fieldset>
<fieldset><legend><?php 
        echo JText::_('Add options');
        ?>
</legend> <?php 
        echo $pluginParams->render('params', 'add');
        ?>
</fieldset>
</div>
<input type="hidden"
	name="params[drd_initial_selection]" value=""
	id="params_drd_initial_selection" />
		<?php 
    }