forked from joomla/Component-Builder
Added some checks to lang array, adapted the notice board
This commit is contained in:
parent
e6466474b1
commit
467a7aac95
@ -130,7 +130,7 @@ Component Builder is mapped as a component in itself on my local development env
|
|||||||
+ *Version*: 2.6.12
|
+ *Version*: 2.6.12
|
||||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
+ *Line count*: **180462**
|
+ *Line count*: **180465**
|
||||||
+ *Field count*: **1573**
|
+ *Field count*: **1573**
|
||||||
+ *File count*: **1160**
|
+ *File count*: **1160**
|
||||||
+ *Folder count*: **186**
|
+ *Folder count*: **186**
|
||||||
|
@ -130,7 +130,7 @@ Component Builder is mapped as a component in itself on my local development env
|
|||||||
+ *Version*: 2.6.12
|
+ *Version*: 2.6.12
|
||||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||||
+ *Line count*: **180462**
|
+ *Line count*: **180465**
|
||||||
+ *Field count*: **1573**
|
+ *Field count*: **1573**
|
||||||
+ *File count*: **1160**
|
+ *File count*: **1160**
|
||||||
+ *Folder count*: **186**
|
+ *Folder count*: **186**
|
||||||
|
@ -440,9 +440,12 @@ class ComponentbuilderModelLanguage_translations extends JModelList
|
|||||||
$headers->id = 'id';
|
$headers->id = 'id';
|
||||||
$headers->English = 'English';
|
$headers->English = 'English';
|
||||||
// add the languages
|
// add the languages
|
||||||
foreach ($languages as $language)
|
if (ComponentbuilderHelper::checkArray($languages))
|
||||||
{
|
{
|
||||||
$headers->{$language} = $language;
|
foreach ($languages as $language)
|
||||||
|
{
|
||||||
|
$headers->{$language} = $language;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return $headers;
|
return $headers;
|
||||||
}
|
}
|
||||||
|
@ -91,12 +91,12 @@ JHtml::_('behavior.tooltip');
|
|||||||
</div>
|
</div>
|
||||||
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
||||||
|
|
||||||
<?php echo JHtml::_('bootstrap.addTab', 'cpanel_tab', 'vast_development_method', JText::_('Vast Development Method', true)); ?>
|
<?php echo JHtml::_('bootstrap.addTab', 'cpanel_tab', 'notice_board', JText::_('Notice Board', true)); ?>
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span12">
|
<div class="span12">
|
||||||
<?php echo JHtml::_('bootstrap.startAccordion', 'vast_development_method_accordian', array('active' => 'vast_development_method_one')); ?>
|
<?php echo JHtml::_('bootstrap.startAccordion', 'notice_board_accordian', array('active' => 'notice_board_one')); ?>
|
||||||
<?php echo JHtml::_('bootstrap.addSlide', 'vast_development_method_accordian', 'Notice Board', 'vast_development_method_one'); ?>
|
<?php echo JHtml::_('bootstrap.addSlide', 'notice_board_accordian', 'Vast Development Method', 'notice_board_one'); ?>
|
||||||
<?php echo $this->loadTemplate('vast_development_method_notice_board');?>
|
<?php echo $this->loadTemplate('notice_board_vast_development_method');?>
|
||||||
<?php echo JHtml::_('bootstrap.endSlide'); ?>
|
<?php echo JHtml::_('bootstrap.endSlide'); ?>
|
||||||
<?php echo JHtml::_('bootstrap.endAccordion'); ?>
|
<?php echo JHtml::_('bootstrap.endAccordion'); ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
@version 2.6.x
|
@version 2.6.x
|
||||||
@created 30th April, 2015
|
@created 30th April, 2015
|
||||||
@package Component Builder
|
@package Component Builder
|
||||||
@subpackage default_vast_development_method_notice_board.php
|
@subpackage default_notice_board_vast_development_method.php
|
||||||
@author Llewellyn van der Merwe <http://joomlacomponentbuilder.com>
|
@author Llewellyn van der Merwe <http://joomlacomponentbuilder.com>
|
||||||
@github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
@github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||||
@copyright Copyright (C) 2015. All Rights Reserved
|
@copyright Copyright (C) 2015. All Rights Reserved
|
Loading…
Reference in New Issue
Block a user