Major code formate to try and set a standared. Added four new fields for JavaScript files

This commit is contained in:
2017-12-15 01:10:47 +02:00
parent c9cad158e6
commit d3cbea5c82
172 changed files with 14538 additions and 14358 deletions

View File

@ -55,20 +55,20 @@ class ###Component###ControllerAjax extends JControllerLegacy
$token = JSession::getFormToken();
$call_token = $jinput->get('token', 0, 'ALNUM');
if($token == $call_token)
{
{
$task = $this->getTask();
switch($task)
{###AJAX_SITE_INPUT_RETURN###
{###AJAX_SITE_INPUT_RETURN###
}
}
else
{
else
{
if($callback = $jinput->get('callback', null, 'CMD'))
{
{
echo $callback."(".json_encode(false).");";
}
else
{
else
{
echo "(".json_encode(false).");";
}
}