Added bulk updater to get snippets area. Added contributor details to snippets table. Imporved the installer to update the library matchup of old snippets. gh-92

This commit is contained in:
2017-11-20 14:35:30 +02:00
parent eb43f1e3bc
commit 5ae67c1ecc
54 changed files with 1817 additions and 1242 deletions

View File

@ -60,4 +60,40 @@ class ComponentbuilderControllerGet_snippets extends JControllerAdmin
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=snippets', false));
return;
}
public function openSiteViews()
{
// Check for request forgeries
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
// redirect to the snippets admin view
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=site_views', false));
return;
}
public function openCustomAdminViews()
{
// Check for request forgeries
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
// redirect to the snippets admin view
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=custom_admin_views', false));
return;
}
public function openTemplates()
{
// Check for request forgeries
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
// redirect to the snippets admin view
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=templates', false));
return;
}
public function openLayouts()
{
// Check for request forgeries
JSession::checkToken() or die(JText::_('JINVALID_TOKEN'));
// redirect to the snippets admin view
$this->setRedirect(JRoute::_('index.php?option=com_componentbuilder&view=layouts', false));
return;
}
}