Major improment to user helper methods. Fixed custom field building options to allow options to be set. Fixed gh-569 to use correct paths in module custom fields and rules. Imporved the fancy date helper methods. Added the new Text::_() languange string search for language strings. Add the option to add header custom code to custom fields.

This commit is contained in:
2020-07-07 17:13:04 +02:00
parent e86ab88f5c
commit 354565d96a
24 changed files with 2242 additions and 1755 deletions

View File

@ -125,33 +125,67 @@ $componentParams = $this->params; // will be removed just use $this->params inst
<script type="text/javascript">
// #jform_protocol listeners for protocol_vvvvwdy function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwdy = jQuery("#jform_protocol").val();
vvvvwdy(protocol_vvvvwdy);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwdy = jQuery("#jform_protocol").val();
vvvvwdy(protocol_vvvvwdy);
});
// #jform_protocol listeners for protocol_vvvvwdz function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwdz = jQuery("#jform_protocol").val();
vvvvwdz(protocol_vvvvwdz);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwdz = jQuery("#jform_protocol").val();
vvvvwdz(protocol_vvvvwdz);
});
// #jform_protocol listeners for protocol_vvvvwea function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwea = jQuery("#jform_protocol").val();
vvvvwea(protocol_vvvvwea);
var authentication_vvvvwea = jQuery("#jform_authentication").val();
vvvvwea(protocol_vvvvwea,authentication_vvvvwea);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwea = jQuery("#jform_protocol").val();
vvvvwea(protocol_vvvvwea);
var authentication_vvvvwea = jQuery("#jform_authentication").val();
vvvvwea(protocol_vvvvwea,authentication_vvvvwea);
});
// #jform_protocol listeners for protocol_vvvvweb function
jQuery('#jform_protocol').on('keyup',function()
// #jform_authentication listeners for authentication_vvvvwea function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvweb = jQuery("#jform_protocol").val();
vvvvweb(protocol_vvvvweb);
var protocol_vvvvwea = jQuery("#jform_protocol").val();
var authentication_vvvvwea = jQuery("#jform_authentication").val();
vvvvwea(protocol_vvvvwea,authentication_vvvvwea);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvweb = jQuery("#jform_protocol").val();
vvvvweb(protocol_vvvvweb);
var protocol_vvvvwea = jQuery("#jform_protocol").val();
var authentication_vvvvwea = jQuery("#jform_authentication").val();
vvvvwea(protocol_vvvvwea,authentication_vvvvwea);
});
@ -257,38 +291,4 @@ jQuery('#adminForm').on('change', '#jform_authentication',function (e)
});
// #jform_protocol listeners for protocol_vvvvwei function
jQuery('#jform_protocol').on('keyup',function()
{
var protocol_vvvvwei = jQuery("#jform_protocol").val();
var authentication_vvvvwei = jQuery("#jform_authentication").val();
vvvvwei(protocol_vvvvwei,authentication_vvvvwei);
});
jQuery('#adminForm').on('change', '#jform_protocol',function (e)
{
e.preventDefault();
var protocol_vvvvwei = jQuery("#jform_protocol").val();
var authentication_vvvvwei = jQuery("#jform_authentication").val();
vvvvwei(protocol_vvvvwei,authentication_vvvvwei);
});
// #jform_authentication listeners for authentication_vvvvwei function
jQuery('#jform_authentication').on('keyup',function()
{
var protocol_vvvvwei = jQuery("#jform_protocol").val();
var authentication_vvvvwei = jQuery("#jform_authentication").val();
vvvvwei(protocol_vvvvwei,authentication_vvvvwei);
});
jQuery('#adminForm').on('change', '#jform_authentication',function (e)
{
e.preventDefault();
var protocol_vvvvwei = jQuery("#jform_protocol").val();
var authentication_vvvvwei = jQuery("#jform_authentication").val();
vvvvwei(protocol_vvvvwei,authentication_vvvvwei);
});
</script>

View File

@ -57,7 +57,7 @@ class ComponentbuilderViewServer extends JViewLegacy
}
// Get Linked view data
$this->vyplinked_components = $this->get('Vyplinked_components');
$this->vymlinked_components = $this->get('Vymlinked_components');
// Set the toolbar
$this->addToolBar();