Fixes #39 to ensure components are build even if created and modified dates are not set. Improved #37 #issuecomment-278372267 to avoid one line error in windows.
This commit is contained in:
@ -51,7 +51,7 @@ class ComponentbuilderViewCompiler extends JViewLegacy
|
||||
// Check for errors.
|
||||
if (count($errors = $this->get('Errors')))
|
||||
{
|
||||
JError::raiseError(500, implode("\n", $errors));
|
||||
JError::raiseError(500, implode(PHP_EOL, $errors));
|
||||
return false;
|
||||
}
|
||||
if ($this->getLayout() !== 'modal')
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.3.0
|
||||
@build 4th February, 2017
|
||||
@version 2.3.1
|
||||
@build 9th February, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage default.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.3.0
|
||||
@build 4th February, 2017
|
||||
@version 2.3.1
|
||||
@build 9th February, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage default_closed_issues_the_closed_issues_on_github.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.3.0
|
||||
@build 4th February, 2017
|
||||
@version 2.3.1
|
||||
@build 9th February, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage default_main.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.3.0
|
||||
@build 4th February, 2017
|
||||
@version 2.3.1
|
||||
@build 9th February, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage default_open_issues_the_open_issues_on_github.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.3.0
|
||||
@build 4th February, 2017
|
||||
@version 2.3.1
|
||||
@build 9th February, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage default_readme_information.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.3.0
|
||||
@build 4th February, 2017
|
||||
@version 2.3.1
|
||||
@build 9th February, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage default_vast_development_method_notice_board.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.3.0
|
||||
@build 4th February, 2017
|
||||
@version 2.3.1
|
||||
@build 9th February, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage default_vdm.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.3.0
|
||||
@build 4th February, 2017
|
||||
@version 2.3.1
|
||||
@build 9th February, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage view.html.php
|
||||
|
@ -9,8 +9,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 14 of this MVC
|
||||
@build 31st January, 2017
|
||||
@version @update number 28 of this MVC
|
||||
@build 9th February, 2017
|
||||
@created 11th October, 2016
|
||||
@package Component Builder
|
||||
@subpackage submitbutton.js
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 14 of this MVC
|
||||
@build 31st January, 2017
|
||||
@version @update number 28 of this MVC
|
||||
@build 9th February, 2017
|
||||
@created 11th October, 2016
|
||||
@package Component Builder
|
||||
@subpackage edit.php
|
||||
@ -116,25 +116,117 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
|
||||
<input type="hidden" name="task" value="custom_code.edit" />
|
||||
<?php echo JHtml::_('form.token'); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="clearfix"></div>
|
||||
<?php echo JLayoutHelper::render('custom_code.details_under', $this); ?>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_type listeners for type_vvvvvzo function
|
||||
// #jform_target listeners for target_vvvvvzo function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var target_vvvvvzo = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvvzo(target_vvvvvzo);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target_vvvvvzo = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvvzo(target_vvvvvzo);
|
||||
|
||||
});
|
||||
|
||||
// #jform_target listeners for target_vvvvvzp function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var target_vvvvvzp = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvvzp(target_vvvvvzp);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target_vvvvvzp = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvvzp(target_vvvvvzp);
|
||||
|
||||
});
|
||||
|
||||
// #jform_target listeners for target_vvvvvzq function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var target_vvvvvzq = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvvzq = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvvzq(target_vvvvvzq,type_vvvvvzq);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target_vvvvvzq = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvvzq = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvvzq(target_vvvvvzq,type_vvvvvzq);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_vvvvvzq function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_vvvvvzo = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvvzo(type_vvvvvzo);
|
||||
var target_vvvvvzq = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvvzq = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvvzq(target_vvvvvzq,type_vvvvvzq);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_vvvvvzo = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvvzo(type_vvvvvzo);
|
||||
var target_vvvvvzq = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
var type_vvvvvzq = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
vvvvvzq(target_vvvvvzq,type_vvvvvzq);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_vvvvvzr function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_vvvvvzr = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvvzr = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvvzr(type_vvvvvzr,target_vvvvvzr);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_vvvvvzr = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvvzr = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvvzr(type_vvvvvzr,target_vvvvvzr);
|
||||
|
||||
});
|
||||
|
||||
// #jform_target listeners for target_vvvvvzr function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var type_vvvvvzr = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvvzr = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvvzr(type_vvvvvzr,target_vvvvvzr);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_vvvvvzr = jQuery("#jform_type input[type='radio']:checked").val();
|
||||
var target_vvvvvzr = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvvzr(type_vvvvvzr,target_vvvvvzr);
|
||||
|
||||
});
|
||||
|
||||
|
||||
var ide = jQuery('#jform_id').val();
|
||||
if (ide > 0)
|
||||
{
|
||||
jQuery('#jcb-placeholder').html('<code> [CUSTO'+'MCODE='+ide+'] </code>');
|
||||
}
|
||||
</script>
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 14 of this MVC
|
||||
@build 31st January, 2017
|
||||
@version @update number 28 of this MVC
|
||||
@build 9th February, 2017
|
||||
@created 11th October, 2016
|
||||
@package Component Builder
|
||||
@subpackage view.html.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 14 of this MVC
|
||||
@build 31st January, 2017
|
||||
@version @update number 28 of this MVC
|
||||
@build 9th February, 2017
|
||||
@created 11th October, 2016
|
||||
@package Component Builder
|
||||
@subpackage default.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 14 of this MVC
|
||||
@build 31st January, 2017
|
||||
@version @update number 28 of this MVC
|
||||
@build 9th February, 2017
|
||||
@created 11th October, 2016
|
||||
@package Component Builder
|
||||
@subpackage default_batch_body.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 14 of this MVC
|
||||
@build 31st January, 2017
|
||||
@version @update number 28 of this MVC
|
||||
@build 9th February, 2017
|
||||
@created 11th October, 2016
|
||||
@package Component Builder
|
||||
@subpackage default_batch_footer.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 14 of this MVC
|
||||
@build 31st January, 2017
|
||||
@version @update number 28 of this MVC
|
||||
@build 9th February, 2017
|
||||
@created 11th October, 2016
|
||||
@package Component Builder
|
||||
@subpackage default_body.php
|
||||
@ -89,6 +89,9 @@ $edit = "index.php?option=com_componentbuilder&view=custom_codes&task=custom_cod
|
||||
<td class="hidden-phone">
|
||||
<?php echo $this->escape($item->path); ?>
|
||||
</td>
|
||||
<td class="hidden-phone">
|
||||
<?php echo JText::_($item->target); ?>
|
||||
</td>
|
||||
<td class="hidden-phone">
|
||||
<?php echo JText::_($item->type); ?>
|
||||
</td>
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 14 of this MVC
|
||||
@build 31st January, 2017
|
||||
@version @update number 28 of this MVC
|
||||
@build 9th February, 2017
|
||||
@created 11th October, 2016
|
||||
@package Component Builder
|
||||
@subpackage default_foot.php
|
||||
@ -28,5 +28,5 @@ defined('_JEXEC') or die('Restricted access');
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="7"><?php echo $this->pagination->getListFooter(); ?></td>
|
||||
<td colspan="8"><?php echo $this->pagination->getListFooter(); ?></td>
|
||||
</tr>
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 14 of this MVC
|
||||
@build 31st January, 2017
|
||||
@version @update number 28 of this MVC
|
||||
@build 9th February, 2017
|
||||
@created 11th October, 2016
|
||||
@package Component Builder
|
||||
@subpackage default_head.php
|
||||
@ -49,6 +49,9 @@ defined('_JEXEC') or die('Restricted access');
|
||||
<th class="nowrap hidden-phone" >
|
||||
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_LABEL', 'path', $this->listDirn, $this->listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap hidden-phone" >
|
||||
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_CODE_TARGET_LABEL', 'target', $this->listDirn, $this->listOrder); ?>
|
||||
</th>
|
||||
<th class="nowrap hidden-phone" >
|
||||
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE_LABEL', 'type', $this->listDirn, $this->listOrder); ?>
|
||||
</th>
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 14 of this MVC
|
||||
@build 31st January, 2017
|
||||
@version @update number 28 of this MVC
|
||||
@build 9th February, 2017
|
||||
@created 11th October, 2016
|
||||
@package Component Builder
|
||||
@subpackage default_toolbar.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version @update number 14 of this MVC
|
||||
@build 31st January, 2017
|
||||
@version @update number 28 of this MVC
|
||||
@build 9th February, 2017
|
||||
@created 11th October, 2016
|
||||
@package Component Builder
|
||||
@subpackage view.html.php
|
||||
@ -224,6 +224,28 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
|
||||
}
|
||||
}
|
||||
|
||||
// Set Target Selection
|
||||
$this->targetOptions = $this->getTheTargetSelections();
|
||||
if ($this->targetOptions)
|
||||
{
|
||||
// Target Filter
|
||||
JHtmlSidebar::addFilter(
|
||||
'- Select '.JText::_('COM_COMPONENTBUILDER_CUSTOM_CODE_TARGET_LABEL').' -',
|
||||
'filter_target',
|
||||
JHtml::_('select.options', $this->targetOptions, 'value', 'text', $this->state->get('filter.target'))
|
||||
);
|
||||
|
||||
if ($this->canBatch && $this->canCreate && $this->canEdit)
|
||||
{
|
||||
// Target Batch Selection
|
||||
JHtmlBatch_::addListSelection(
|
||||
'- Keep Original '.JText::_('COM_COMPONENTBUILDER_CUSTOM_CODE_TARGET_LABEL').' -',
|
||||
'batch[target]',
|
||||
JHtml::_('select.options', $this->targetOptions, 'value', 'text')
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// Set Type Selection
|
||||
$this->typeOptions = $this->getTheTypeSelections();
|
||||
if ($this->typeOptions)
|
||||
@ -289,11 +311,48 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
|
||||
'a.published' => JText::_('JSTATUS'),
|
||||
'g.system_name' => JText::_('COM_COMPONENTBUILDER_CUSTOM_CODE_COMPONENT_LABEL'),
|
||||
'a.path' => JText::_('COM_COMPONENTBUILDER_CUSTOM_CODE_PATH_LABEL'),
|
||||
'a.target' => JText::_('COM_COMPONENTBUILDER_CUSTOM_CODE_TARGET_LABEL'),
|
||||
'a.type' => JText::_('COM_COMPONENTBUILDER_CUSTOM_CODE_TYPE_LABEL'),
|
||||
'a.id' => JText::_('JGRID_HEADING_ID')
|
||||
);
|
||||
}
|
||||
|
||||
protected function getTheTargetSelections()
|
||||
{
|
||||
// Get a db connection.
|
||||
$db = JFactory::getDbo();
|
||||
|
||||
// Create a new query object.
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
// Select the text.
|
||||
$query->select($db->quoteName('target'));
|
||||
$query->from($db->quoteName('#__componentbuilder_custom_code'));
|
||||
$query->order($db->quoteName('target') . ' ASC');
|
||||
|
||||
// Reset the query using our newly populated query object.
|
||||
$db->setQuery($query);
|
||||
|
||||
$results = $db->loadColumn();
|
||||
|
||||
if ($results)
|
||||
{
|
||||
// get model
|
||||
$model = $this->getModel();
|
||||
$results = array_unique($results);
|
||||
$filter = array();
|
||||
foreach ($results as $target)
|
||||
{
|
||||
// Translate the target selection
|
||||
$text = $model->selectionTranslation($target,'target');
|
||||
// Now add the target and its text to the options array
|
||||
$filter[] = JHtml::_('select.option', $target, JText::_($text));
|
||||
}
|
||||
return $filter;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
protected function getTheTypeSelections()
|
||||
{
|
||||
// Get a db connection.
|
||||
|
@ -125,157 +125,157 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_datalenght listeners for datalenght_vvvvvzp function
|
||||
// #jform_datalenght listeners for datalenght_vvvvvzs function
|
||||
jQuery('#jform_datalenght').on('keyup',function()
|
||||
{
|
||||
var datalenght_vvvvvzp = jQuery("#jform_datalenght").val();
|
||||
vvvvvzp(datalenght_vvvvvzp);
|
||||
var datalenght_vvvvvzs = jQuery("#jform_datalenght").val();
|
||||
vvvvvzs(datalenght_vvvvvzs);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datalenght',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datalenght_vvvvvzp = jQuery("#jform_datalenght").val();
|
||||
vvvvvzp(datalenght_vvvvvzp);
|
||||
var datalenght_vvvvvzs = jQuery("#jform_datalenght").val();
|
||||
vvvvvzs(datalenght_vvvvvzs);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datadefault listeners for datadefault_vvvvvzq function
|
||||
// #jform_datadefault listeners for datadefault_vvvvvzt function
|
||||
jQuery('#jform_datadefault').on('keyup',function()
|
||||
{
|
||||
var datadefault_vvvvvzq = jQuery("#jform_datadefault").val();
|
||||
vvvvvzq(datadefault_vvvvvzq);
|
||||
var datadefault_vvvvvzt = jQuery("#jform_datadefault").val();
|
||||
vvvvvzt(datadefault_vvvvvzt);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datadefault',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datadefault_vvvvvzq = jQuery("#jform_datadefault").val();
|
||||
vvvvvzq(datadefault_vvvvvzq);
|
||||
var datadefault_vvvvvzt = jQuery("#jform_datadefault").val();
|
||||
vvvvvzt(datadefault_vvvvvzt);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datatype listeners for datatype_vvvvvzr function
|
||||
// #jform_datatype listeners for datatype_vvvvvzu function
|
||||
jQuery('#jform_datatype').on('keyup',function()
|
||||
{
|
||||
var datatype_vvvvvzr = jQuery("#jform_datatype").val();
|
||||
vvvvvzr(datatype_vvvvvzr);
|
||||
var datatype_vvvvvzu = jQuery("#jform_datatype").val();
|
||||
vvvvvzu(datatype_vvvvvzu);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datatype_vvvvvzr = jQuery("#jform_datatype").val();
|
||||
vvvvvzr(datatype_vvvvvzr);
|
||||
var datatype_vvvvvzu = jQuery("#jform_datatype").val();
|
||||
vvvvvzu(datatype_vvvvvzu);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datatype listeners for datatype_vvvvvzs function
|
||||
// #jform_datatype listeners for datatype_vvvvvzv function
|
||||
jQuery('#jform_datatype').on('keyup',function()
|
||||
{
|
||||
var datatype_vvvvvzs = jQuery("#jform_datatype").val();
|
||||
vvvvvzs(datatype_vvvvvzs);
|
||||
var datatype_vvvvvzv = jQuery("#jform_datatype").val();
|
||||
vvvvvzv(datatype_vvvvvzv);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var datatype_vvvvvzs = jQuery("#jform_datatype").val();
|
||||
vvvvvzs(datatype_vvvvvzs);
|
||||
var datatype_vvvvvzv = jQuery("#jform_datatype").val();
|
||||
vvvvvzv(datatype_vvvvvzv);
|
||||
|
||||
});
|
||||
|
||||
// #jform_store listeners for store_vvvvvzt function
|
||||
// #jform_store listeners for store_vvvvvzw function
|
||||
jQuery('#jform_store').on('keyup',function()
|
||||
{
|
||||
var store_vvvvvzt = jQuery("#jform_store").val();
|
||||
var datatype_vvvvvzt = jQuery("#jform_datatype").val();
|
||||
vvvvvzt(store_vvvvvzt,datatype_vvvvvzt);
|
||||
var store_vvvvvzw = jQuery("#jform_store").val();
|
||||
var datatype_vvvvvzw = jQuery("#jform_datatype").val();
|
||||
vvvvvzw(store_vvvvvzw,datatype_vvvvvzw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_store',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var store_vvvvvzt = jQuery("#jform_store").val();
|
||||
var datatype_vvvvvzt = jQuery("#jform_datatype").val();
|
||||
vvvvvzt(store_vvvvvzt,datatype_vvvvvzt);
|
||||
var store_vvvvvzw = jQuery("#jform_store").val();
|
||||
var datatype_vvvvvzw = jQuery("#jform_datatype").val();
|
||||
vvvvvzw(store_vvvvvzw,datatype_vvvvvzw);
|
||||
|
||||
});
|
||||
|
||||
// #jform_datatype listeners for datatype_vvvvvzt function
|
||||
// #jform_datatype listeners for datatype_vvvvvzw function
|
||||
jQuery('#jform_datatype').on('keyup',function()
|
||||
{
|
||||
var store_vvvvvzt = jQuery("#jform_store").val();
|
||||
var datatype_vvvvvzt = jQuery("#jform_datatype").val();
|
||||
vvvvvzt(store_vvvvvzt,datatype_vvvvvzt);
|
||||
var store_vvvvvzw = jQuery("#jform_store").val();
|
||||
var datatype_vvvvvzw = jQuery("#jform_datatype").val();
|
||||
vvvvvzw(store_vvvvvzw,datatype_vvvvvzw);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_datatype',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var store_vvvvvzt = jQuery("#jform_store").val();
|
||||
var datatype_vvvvvzt = jQuery("#jform_datatype").val();
|
||||
vvvvvzt(store_vvvvvzt,datatype_vvvvvzt);
|
||||
var store_vvvvvzw = jQuery("#jform_store").val();
|
||||
var datatype_vvvvvzw = jQuery("#jform_datatype").val();
|
||||
vvvvvzw(store_vvvvvzw,datatype_vvvvvzw);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_css_view listeners for add_css_view_vvvvvzv function
|
||||
// #jform_add_css_view listeners for add_css_view_vvvvvzy function
|
||||
jQuery('#jform_add_css_view').on('keyup',function()
|
||||
{
|
||||
var add_css_view_vvvvvzv = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvzv(add_css_view_vvvvvzv);
|
||||
var add_css_view_vvvvvzy = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvzy(add_css_view_vvvvvzy);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_css_view',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_css_view_vvvvvzv = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvzv(add_css_view_vvvvvzv);
|
||||
var add_css_view_vvvvvzy = jQuery("#jform_add_css_view input[type='radio']:checked").val();
|
||||
vvvvvzy(add_css_view_vvvvvzy);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_css_views listeners for add_css_views_vvvvvzw function
|
||||
// #jform_add_css_views listeners for add_css_views_vvvvvzz function
|
||||
jQuery('#jform_add_css_views').on('keyup',function()
|
||||
{
|
||||
var add_css_views_vvvvvzw = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvzw(add_css_views_vvvvvzw);
|
||||
var add_css_views_vvvvvzz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvzz(add_css_views_vvvvvzz);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_css_views',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_css_views_vvvvvzw = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvzw(add_css_views_vvvvvzw);
|
||||
var add_css_views_vvvvvzz = jQuery("#jform_add_css_views input[type='radio']:checked").val();
|
||||
vvvvvzz(add_css_views_vvvvvzz);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvvzx function
|
||||
// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_vvvvwaa function
|
||||
jQuery('#jform_add_javascript_view_footer').on('keyup',function()
|
||||
{
|
||||
var add_javascript_view_footer_vvvvvzx = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvzx(add_javascript_view_footer_vvvvvzx);
|
||||
var add_javascript_view_footer_vvvvwaa = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwaa(add_javascript_view_footer_vvvvwaa);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_javascript_view_footer_vvvvvzx = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvvzx(add_javascript_view_footer_vvvvvzx);
|
||||
var add_javascript_view_footer_vvvvwaa = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val();
|
||||
vvvvwaa(add_javascript_view_footer_vvvvwaa);
|
||||
|
||||
});
|
||||
|
||||
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvvzy function
|
||||
// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_vvvvwab function
|
||||
jQuery('#jform_add_javascript_views_footer').on('keyup',function()
|
||||
{
|
||||
var add_javascript_views_footer_vvvvvzy = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvzy(add_javascript_views_footer_vvvvvzy);
|
||||
var add_javascript_views_footer_vvvvwab = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwab(add_javascript_views_footer_vvvvwab);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var add_javascript_views_footer_vvvvvzy = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvvzy(add_javascript_views_footer_vvvvvzy);
|
||||
var add_javascript_views_footer_vvvvwab = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val();
|
||||
vvvvwab(add_javascript_views_footer_vvvvwab);
|
||||
|
||||
});
|
||||
|
||||
|
@ -71,7 +71,7 @@ class ComponentbuilderViewField extends JViewLegacy
|
||||
}
|
||||
|
||||
// Get Linked view data
|
||||
$this->vzslinked_admin_views = $this->get('Vzslinked_admin_views');
|
||||
$this->vzvlinked_admin_views = $this->get('Vzvlinked_admin_views');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
@ -71,7 +71,7 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
|
||||
}
|
||||
|
||||
// Get Linked view data
|
||||
$this->vztfields = $this->get('Vztfields');
|
||||
$this->vzwfields = $this->get('Vzwfields');
|
||||
|
||||
// Set the toolbar
|
||||
$this->addToolBar();
|
||||
|
@ -125,93 +125,93 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// #jform_location listeners for location_vvvvvzz function
|
||||
// #jform_location listeners for location_vvvvwac function
|
||||
jQuery('#jform_location').on('keyup',function()
|
||||
{
|
||||
var location_vvvvvzz = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvvzz(location_vvvvvzz);
|
||||
var location_vvvvwac = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwac(location_vvvvwac);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var location_vvvvvzz = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvvzz(location_vvvvvzz);
|
||||
var location_vvvvwac = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwac(location_vvvvwac);
|
||||
|
||||
});
|
||||
|
||||
// #jform_location listeners for location_vvvvwaa function
|
||||
// #jform_location listeners for location_vvvvwad function
|
||||
jQuery('#jform_location').on('keyup',function()
|
||||
{
|
||||
var location_vvvvwaa = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwaa(location_vvvvwaa);
|
||||
var location_vvvvwad = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwad(location_vvvvwad);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_location',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var location_vvvvwaa = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwaa(location_vvvvwaa);
|
||||
var location_vvvvwad = jQuery("#jform_location input[type='radio']:checked").val();
|
||||
vvvvwad(location_vvvvwad);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_vvvvwab function
|
||||
// #jform_type listeners for type_vvvvwae function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_vvvvwab = jQuery("#jform_type").val();
|
||||
vvvvwab(type_vvvvwab);
|
||||
var type_vvvvwae = jQuery("#jform_type").val();
|
||||
vvvvwae(type_vvvvwae);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_vvvvwab = jQuery("#jform_type").val();
|
||||
vvvvwab(type_vvvvwab);
|
||||
var type_vvvvwae = jQuery("#jform_type").val();
|
||||
vvvvwae(type_vvvvwae);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_vvvvwac function
|
||||
// #jform_type listeners for type_vvvvwaf function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_vvvvwac = jQuery("#jform_type").val();
|
||||
vvvvwac(type_vvvvwac);
|
||||
var type_vvvvwaf = jQuery("#jform_type").val();
|
||||
vvvvwaf(type_vvvvwaf);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_vvvvwac = jQuery("#jform_type").val();
|
||||
vvvvwac(type_vvvvwac);
|
||||
var type_vvvvwaf = jQuery("#jform_type").val();
|
||||
vvvvwaf(type_vvvvwaf);
|
||||
|
||||
});
|
||||
|
||||
// #jform_type listeners for type_vvvvwad function
|
||||
// #jform_type listeners for type_vvvvwag function
|
||||
jQuery('#jform_type').on('keyup',function()
|
||||
{
|
||||
var type_vvvvwad = jQuery("#jform_type").val();
|
||||
vvvvwad(type_vvvvwad);
|
||||
var type_vvvvwag = jQuery("#jform_type").val();
|
||||
vvvvwag(type_vvvvwag);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_type',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var type_vvvvwad = jQuery("#jform_type").val();
|
||||
vvvvwad(type_vvvvwad);
|
||||
var type_vvvvwag = jQuery("#jform_type").val();
|
||||
vvvvwag(type_vvvvwag);
|
||||
|
||||
});
|
||||
|
||||
// #jform_target listeners for target_vvvvwae function
|
||||
// #jform_target listeners for target_vvvvwah function
|
||||
jQuery('#jform_target').on('keyup',function()
|
||||
{
|
||||
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwae(target_vvvvwae);
|
||||
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwah(target_vvvvwah);
|
||||
|
||||
});
|
||||
jQuery('#adminForm').on('change', '#jform_target',function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target_vvvvwae = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwae(target_vvvvwae);
|
||||
var target_vvvvwah = jQuery("#jform_target input[type='radio']:checked").val();
|
||||
vvvvwah(target_vvvvwah);
|
||||
|
||||
});
|
||||
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.3.0
|
||||
@build 4th February, 2017
|
||||
@version 2.3.1
|
||||
@build 9th February, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage default.php
|
||||
|
@ -10,8 +10,8 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.3.0
|
||||
@build 4th February, 2017
|
||||
@version 2.3.1
|
||||
@build 9th February, 2017
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage view.html.php
|
||||
|
Reference in New Issue
Block a user