-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from techjoomla/release-1.2.0
Release 1.2.0
- Loading branch information
Showing
70 changed files
with
799 additions
and
647 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
<?php | ||
/** | ||
* @version SVN: <svn_id> | ||
* @package Com_Tjucm | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (c) 2009-2017 TechJoomla. All rights reserved. | ||
* @license GNU General Public License version 2 or later. | ||
* @package TJ-UCM | ||
* @subpackage com_tjucm | ||
* | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (C) 2009 - 2019 Techjoomla. All rights reserved. | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL | ||
*/ | ||
|
||
defined('_JEXEC') or die('Restricted access'); | ||
jimport('joomla.form.form'); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<?php | ||
/** | ||
* @version SVN: <svn_id> | ||
* @package Com_Tjucm | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (c) 2009-2017 TechJoomla. All rights reserved. | ||
* @license GNU General Public License version 2 or later. | ||
* @package TJ-UCM | ||
* @subpackage com_tjucm | ||
* | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (C) 2009 - 2019 Techjoomla. All rights reserved. | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL | ||
*/ | ||
|
||
// No direct access | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<?php | ||
/** | ||
* @version SVN: <svn_id> | ||
* @package Com_Tjucm | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (c) 2009-2017 TechJoomla. All rights reserved. | ||
* @license GNU General Public License version 2 or later. | ||
* @package TJ-UCM | ||
* @subpackage com_tjucm | ||
* | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (C) 2009 - 2019 Techjoomla. All rights reserved. | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL | ||
*/ | ||
|
||
// No direct access | ||
|
@@ -329,7 +330,7 @@ public function save($key = null, $urlVar = null) | |
"clientComponent" => 'com_tjucm', | ||
"client" => $this->client, | ||
"view" => $client[1], | ||
"layout" => 'edit') | ||
"layout" => 'edit', ) | ||
); | ||
|
||
if (!$formExtra) | ||
|
11 changes: 6 additions & 5 deletions
11
src/components/com_tjucm/administrator/controllers/items.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<?php | ||
/** | ||
* @version SVN: <svn_id> | ||
* @package Com_Tjucm | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (c) 2009-2017 TechJoomla. All rights reserved. | ||
* @license GNU General Public License version 2 or later. | ||
* @package TJ-UCM | ||
* @subpackage com_tjucm | ||
* | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (C) 2009 - 2019 Techjoomla. All rights reserved. | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL | ||
*/ | ||
|
||
// No direct access. | ||
|
11 changes: 6 additions & 5 deletions
11
src/components/com_tjucm/administrator/controllers/type.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<?php | ||
/** | ||
* @version SVN: <svn_id> | ||
* @package Com_Tjucm | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (c) 2009-2017 TechJoomla. All rights reserved. | ||
* @license GNU General Public License version 2 or later. | ||
* @package TJ-UCM | ||
* @subpackage com_tjucm | ||
* | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (C) 2009 - 2019 Techjoomla. All rights reserved. | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL | ||
*/ | ||
|
||
// No direct access | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<?php | ||
/** | ||
* @version SVN: <svn_id> | ||
* @package Com_Tjucm | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (c) 2009-2017 TechJoomla. All rights reserved. | ||
* @license GNU General Public License version 2 or later. | ||
* @package TJ-UCM | ||
* @subpackage com_tjucm | ||
* | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (C) 2009 - 2019 Techjoomla. All rights reserved. | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL | ||
*/ | ||
|
||
// No direct access. | ||
|
@@ -29,7 +30,7 @@ | |
class TjucmControllerTypes extends JControllerAdmin | ||
{ | ||
use TjControllerHouseKeeping; | ||
|
||
/** | ||
* Method to clone existing Types | ||
* | ||
|
@@ -335,7 +336,7 @@ public function import() | |
$field['asset_id'] = ''; | ||
$field['created_by'] = $user->id; | ||
$field['group_id'] = $fieldGroupId; | ||
$field['saveOption'] = empty($options) ? 0 : 1 ; | ||
$field['saveOption'] = empty($options) ? 0 : 1; | ||
$field['params'] = (array) json_decode($field['params']); | ||
$tmpName = str_replace('.', '_', $ucmTypeData['unique_identifier']) . '_'; | ||
$field['name'] = str_replace($tmpName, '', $field['name']); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<?php | ||
/** | ||
* @version SVN: <svn_id> | ||
* @package Com_Tjucm | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (c) 2009-2017 TechJoomla. All rights reserved. | ||
* @license GNU General Public License version 2 or later. | ||
* @package TJ-UCM | ||
* @subpackage com_tjucm | ||
* | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (C) 2009 - 2019 Techjoomla. All rights reserved. | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL | ||
*/ | ||
|
||
// No direct access | ||
|
@@ -33,7 +34,7 @@ public static function toggle($value = 0, $view = '', $field = '', $i = '') | |
{ | ||
$states = array( | ||
0 => array('icon-remove', JText::_('Toggle'), 'inactive btn-danger'), | ||
1 => array('icon-checkmark', JText::_('Toggle'), 'active btn-success') | ||
1 => array('icon-checkmark', JText::_('Toggle'), 'active btn-success'), | ||
); | ||
|
||
$state = \Joomla\Utilities\ArrayHelper::getValue($states, (int) $value, $states[0]); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<?php | ||
/** | ||
* @version SVN: <svn_id> | ||
* @package Com_Tjucm | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (c) 2009-2017 TechJoomla. All rights reserved. | ||
* @license GNU General Public License version 2 or later. | ||
* @package TJ-UCM | ||
* @subpackage com_tjucm | ||
* | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (C) 2009 - 2019 Techjoomla. All rights reserved. | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL | ||
*/ | ||
|
||
// No direct access | ||
|
@@ -31,12 +32,6 @@ public static function addSubmenu($vName = '') | |
'index.php?option=com_tjucm&view=types', | ||
$vName == 'types' | ||
); | ||
|
||
JHtmlSidebar::addEntry( | ||
JText::_('COM_TJUCM_TITLE_ITEMS'), | ||
'index.php?option=com_tjucm&view=items', | ||
$vName == 'items' | ||
); | ||
} | ||
|
||
/** | ||
|
9 changes: 5 additions & 4 deletions
9
src/components/com_tjucm/administrator/houseKeeping/1.1.0/ucmSubformData.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<?php | ||
/** | ||
* @package TJ-UCM | ||
* @package TJ-UCM | ||
* @subpackage com_tjucm | ||
* | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (c) 2009-2019 TechJoomla. All rights reserved. | ||
* @license GNU General Public License version 2 or later. | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (C) 2009 - 2019 Techjoomla. All rights reserved. | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL | ||
*/ | ||
|
||
// No direct access | ||
|
Oops, something went wrong.