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

This commit is contained in:
Llewellyn committed 2017-12-15 02:01:33 +02:00
1 parent c9cad158e6
commit d3cbea5c82
172 files changed
+14538 -14358

No files matched your search

+8 -8
View File
@@ -159,10 +159,10 @@ class ComponentbuilderControllerCustom_admin_view extends JControllerForm
{
$append .= '&ref='.(string)$ref.'&refid='.(int)$refid;
}
elseif ($ref)
{
elseif ($ref)
{
$append .= '&ref='.(string)$ref;
}
}
if ($tmpl)
{
@@ -274,11 +274,11 @@ class ComponentbuilderControllerCustom_admin_view extends JControllerForm
$this->ref = $this->input->get('ref', 0, 'word');
$this->refid = $this->input->get('refid', 0, 'int');
if ($this->ref || $this->refid)
{
// to make sure the item is checkedin on redirect
$this->task = 'save';
}
if ($this->ref || $this->refid)
{
// to make sure the item is checkedin on redirect
$this->task = 'save';
}
$saved = parent::save($key, $urlVar);