removed linked components from admin views.

This commit is contained in:
2017-10-30 21:19:39 +02:00
parent 306a9b9613
commit 5553e2b822
46 changed files with 487 additions and 744 deletions

View File

@@ -9,8 +9,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC
@build 29th October, 2017
@version @update number 247 of this MVC
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage submitbutton.js

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC
@build 29th October, 2017
@version @update number 247 of this MVC
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage edit.php
@@ -156,18 +156,6 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php if ($this->canDo->get('joomla_component.access')) : ?>
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'linked_components', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_LINKED_COMPONENTS', true)); ?>
<div class="row-fluid form-horizontal-desktop">
</div>
<div class="row-fluid form-horizontal-desktop">
<div class="span12">
<?php echo JLayoutHelper::render('admin_view.linked_components_fullwidth', $this); ?>
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php endif; ?>
<?php echo JHtml::_('bootstrap.addTab', 'admin_viewTab', 'custom_import', JText::_('COM_COMPONENTBUILDER_ADMIN_VIEW_CUSTOM_IMPORT', true)); ?>
<div class="row-fluid form-horizontal-desktop">
</div>

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC
@build 29th October, 2017
@version @update number 247 of this MVC
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php
@@ -61,10 +61,7 @@ class ComponentbuilderViewAdmin_view extends JViewLegacy
{
// return to the list view that refered to this item
$this->referral = '&ref='.(string)$this->ref;
}
// Get Linked view data
$this->vxvlinked_components = $this->get('Vxvlinked_components');
}
// Set the toolbar
$this->addToolBar();
@@ -196,17 +193,7 @@ class ComponentbuilderViewAdmin_view extends JViewLegacy
$document->setTitle(JText::_($isNew ? 'COM_COMPONENTBUILDER_ADMIN_VIEW_NEW' : 'COM_COMPONENTBUILDER_ADMIN_VIEW_EDIT'));
$document->addStyleSheet(JURI::root() . "administrator/components/com_componentbuilder/assets/css/admin_view.css");
// Add Ajax Token
$document->addScriptDeclaration("var token = '".JSession::getFormToken()."';");
// Add the CSS for Footable
$document->addStyleSheet('https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css');
$document->addStyleSheet(JURI::root() .'media/com_componentbuilder/footable/css/footable.standalone.min.css');
// Add the JavaScript for Footable (adding all funtions)
$document->addScript(JURI::root() .'media/com_componentbuilder/footable/js/footable.min.js');
$footable = "jQuery(document).ready(function() { jQuery(function () { jQuery('.footable').footable();});});";
$document->addScriptDeclaration($footable);
$document->addScriptDeclaration("var token = '".JSession::getFormToken()."';");
$document->addScript(JURI::root() . $this->script);
$document->addScript(JURI::root() . "administrator/components/com_componentbuilder/views/admin_view/submitbutton.js");
// add JavaScripts

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC
@build 29th October, 2017
@version @update number 247 of this MVC
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC
@build 29th October, 2017
@version @update number 247 of this MVC
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_body.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC
@build 29th October, 2017
@version @update number 247 of this MVC
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_batch_footer.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC
@build 29th October, 2017
@version @update number 247 of this MVC
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_body.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC
@build 29th October, 2017
@version @update number 247 of this MVC
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_foot.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC
@build 29th October, 2017
@version @update number 247 of this MVC
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_head.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC
@build 29th October, 2017
@version @update number 247 of this MVC
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage default_toolbar.php

View File

@@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 244 of this MVC
@build 29th October, 2017
@version @update number 247 of this MVC
@build 30th October, 2017
@created 30th April, 2015
@package Component Builder
@subpackage view.html.php

View File

@@ -64,7 +64,7 @@ class ComponentbuilderViewCustom_admin_view extends JViewLegacy
}
// Get Linked view data
$this->vyflinked_components = $this->get('Vyflinked_components');
$this->vyelinked_components = $this->get('Vyelinked_components');
// Set the toolbar
$this->addToolBar();

View File

@@ -64,7 +64,7 @@ class ComponentbuilderViewFieldtype extends JViewLegacy
}
// Get Linked view data
$this->vzxfields = $this->get('Vzxfields');
$this->vzwfields = $this->get('Vzwfields');
// Set the toolbar
$this->addToolBar();

View File

@@ -64,7 +64,7 @@ class ComponentbuilderViewFtp extends JViewLegacy
}
// Get Linked view data
$this->vzylinked_components = $this->get('Vzylinked_components');
$this->vzxlinked_components = $this->get('Vzxlinked_components');
// Set the toolbar
$this->addToolBar();

View File

@@ -64,7 +64,7 @@ class ComponentbuilderViewSite_view extends JViewLegacy
}
// Get Linked view data
$this->vyqlinked_components = $this->get('Vyqlinked_components');
$this->vyplinked_components = $this->get('Vyplinked_components');
// Set the toolbar
$this->addToolBar();