Added the option of placing tabs on the dashboard with custom scription options. All other changes are only random variable name and date changes (due to automation)

This commit is contained in:
2016-02-19 11:21:44 +02:00
parent 737785ea33
commit 4e65696d40
367 changed files with 3233 additions and 3013 deletions

View File

@ -845,6 +845,15 @@ class Compiler
// ###DASHBOARDICONACCESS###
$this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASHBOARDICONACCESS###'] = $this->setDashboardIconAccess();
// ###DASH_MODEL_METHODS###
$this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASH_MODEL_METHODS###'] = $this->setDashboardModelMethods();
// ###DASH_GET_CUSTOM_DATA###
$this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASH_GET_CUSTOM_DATA###'] = $this->setDashboardGetCustomData();
// ###DASH_DISPLAY_DATA###
$this->fileContentDynamic[$this->fileContentStatic['###component###']]['###DASH_DISPLAY_DATA###'] = $this->setDashboardDisplayData();
// add import
if (isset($this->addEximport) && $this->addEximport)
{
@ -12869,6 +12878,7 @@ class Compiler
return '';
}
protected function setDashboardIcons()
{
if (isset($this->componentData->admin_views) && ComponentbuilderHelper::checkArray($this->componentData->admin_views))
@ -13027,6 +13037,62 @@ class Compiler
}
return false;
}
protected function setDashboardModelMethods()
{
if (0)
{
// methods array reset
$methods = array();
// set dashboard methods
// return the methods
return "\n\t".implode("\n\t",$methods);
}
return '';
}
protected function setDashboardGetCustomData()
{
if (0)
{
// gets array reset
$gets = array();
// set dashboard gets
// return the gets
return "\n\t\t".implode("\n\t\t",$gets);
}
return '';
}
protected function setDashboardDisplayData()
{
// display array reset
$display = array();
// set dashboard display
$display[] = '<div id="j-main-container" class="span9">';
$display[] = "<?php echo JHtml::_('bootstrap.startAccordion', 'dashboard_left', array('active' => 'main')); ?>";
$display[] = "\n<?php echo JHtml::_('bootstrap.addSlide', 'dashboard_left', 'cPanel', 'main'); ?>";
$display[] = "<?php echo \$this->loadTemplate('main');?>";
$display[] = "<?php echo JHtml::_('bootstrap.endSlide'); ?>";
$display[] = "\n<?php echo JHtml::_('bootstrap.endAccordion'); ?>";
$display[] = "</div>";
$display[] = '<div id="j-main-container" class="span3">';
$display[] = "<?php echo JHtml::_('bootstrap.startAccordion', 'dashboard_right', array('active' => 'vdm')); ?>";
$display[] = "\n<?php echo JHtml::_('bootstrap.addSlide', 'dashboard_right', '".$this->fileContentStatic['###COMPANYNAME###']."', 'vdm'); ?>";
$display[] = "<?php echo \$this->loadTemplate('vdm');?>";
$display[] = "<?php echo JHtml::_('bootstrap.endSlide'); ?>";
$display[] = "\n<?php echo JHtml::_('bootstrap.endAccordion'); ?>";
$display[] = "</div>";
// return the display
return "\n".implode("\n",$display);
}
protected function addCustomDashboardIcons(&$view,&$counter)
{

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.0.9
@build 15th February, 2016
@version 2.1.0
@build 18th February, 2016
@created 30th April, 2015
@package Component Builder
@subpackage componentbuilder.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.0.9
@build 15th February, 2016
@version 2.1.0
@build 18th February, 2016
@created 30th April, 2015
@package Component Builder
@subpackage batch_.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.0.9
@build 15th February, 2016
@version 2.1.0
@build 18th February, 2016
@created 30th April, 2015
@package Component Builder
@subpackage indenter.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.0.9
@build 15th February, 2016
@version 2.1.0
@build 18th February, 2016
@created 30th April, 2015
@package Component Builder
@subpackage js.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.0.9
@build 15th February, 2016
@version 2.1.0
@build 18th February, 2016
@created 30th April, 2015
@package Component Builder
@subpackage minify.php