updated the year value. Added placeholder search to the new placeholder area.

This commit is contained in:
2019-02-23 15:28:54 +02:00
parent 25c14b45de
commit 9fcb317275
1021 changed files with 1656 additions and 1096 deletions

View File

@@ -5,7 +5,7 @@
* @created 30th April, 2015
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
* @copyright Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
* @copyright Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
@@ -802,7 +802,7 @@ class ComponentbuilderModelPlaceholder extends JModelAdmin
}
// make sure no padding is set
$data['target'] = str_replace(array('[', ']', '#'), '', $data['target']);
$data['target'] = preg_replace("/[^A-Za-z0-9_]/", '', $data['target']);
// add the padding (needed)
$data['target'] = '[[[' . trim($data['target']) . ']]]';