Changed alias in site-view and custom-admin-view to codename so we can have views with the same names in different components, added warning notice if custom code can't be added, Bug fixes in the demo content dates

This commit is contained in:
2017-02-04 02:22:17 +02:00
parent e0efef54e9
commit 3497de7c28
307 changed files with 805 additions and 821 deletions

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 18 of this MVC
@build 13th January, 2017
@version @update number 22 of this MVC
@build 3rd February, 2017
@created 13th August, 2015
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 18 of this MVC
@build 13th January, 2017
@version @update number 22 of this MVC
@build 3rd February, 2017
@created 13th August, 2015
@package Component Builder
@subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 18 of this MVC
@build 13th January, 2017
@version @update number 22 of this MVC
@build 3rd February, 2017
@created 13th August, 2015
@package Component Builder
@subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 18 of this MVC
@build 13th January, 2017
@version @update number 22 of this MVC
@build 3rd February, 2017
@created 13th August, 2015
@package Component Builder
@subpackage default_body.php
@ -90,7 +90,7 @@ $edit = "index.php?option=com_componentbuilder&view=custom_admin_views&task=cust
<?php echo $this->escape($item->name); ?>
</td>
<td class="hidden-phone">
<?php echo $this->escape($item->alias); ?>
<?php echo $this->escape($item->codename); ?>
</td>
<td class="hidden-phone">
<?php echo $this->escape($item->description); ?>

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 18 of this MVC
@build 13th January, 2017
@version @update number 22 of this MVC
@build 3rd February, 2017
@created 13th August, 2015
@package Component Builder
@subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 18 of this MVC
@build 13th January, 2017
@version @update number 22 of this MVC
@build 3rd February, 2017
@created 13th August, 2015
@package Component Builder
@subpackage default_head.php
@ -50,7 +50,7 @@ defined('_JEXEC') or die('Restricted access');
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_LABEL', 'name', $this->listDirn, $this->listOrder); ?>
</th>
<th class="nowrap hidden-phone" >
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_LABEL', 'alias', $this->listDirn, $this->listOrder); ?>
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CODENAME_LABEL', 'codename', $this->listDirn, $this->listOrder); ?>
</th>
<th class="nowrap hidden-phone" >
<?php echo JHtml::_('grid.sort', 'COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION_LABEL', 'description', $this->listDirn, $this->listOrder); ?>

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 18 of this MVC
@build 13th January, 2017
@version @update number 22 of this MVC
@build 3rd February, 2017
@created 13th August, 2015
@package Component Builder
@subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 18 of this MVC
@build 13th January, 2017
@version @update number 22 of this MVC
@build 3rd February, 2017
@created 13th August, 2015
@package Component Builder
@subpackage view.html.php
@ -245,7 +245,7 @@ class ComponentbuilderViewCustom_admin_views extends JViewLegacy
'a.published' => JText::_('JSTATUS'),
'a.system_name' => JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_SYSTEM_NAME_LABEL'),
'a.name' => JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_NAME_LABEL'),
'a.alias' => JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_ALIAS_LABEL'),
'a.codename' => JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_CODENAME_LABEL'),
'a.description' => JText::_('COM_COMPONENTBUILDER_CUSTOM_ADMIN_VIEW_DESCRIPTION_LABEL'),
'a.id' => JText::_('JGRID_HEADING_ID')
);