forked from joomla/Component-Builder
Typo fixes
This commit is contained in:
parent
48d9265983
commit
28c404f4cd
@ -2099,12 +2099,12 @@ class Structure extends Get
|
|||||||
// set message that this was done (will still add a tutorial link later)
|
// set message that this was done (will still add a tutorial link later)
|
||||||
$this->app->enqueueMessage(
|
$this->app->enqueueMessage(
|
||||||
JText::_(
|
JText::_(
|
||||||
'<hr /><h3>Dynamic folder/s were detected.</h3>'
|
'<hr /><h3>Dynamic folders were detected.</h3>'
|
||||||
), 'Notice'
|
), 'Notice'
|
||||||
);
|
);
|
||||||
$this->app->enqueueMessage(
|
$this->app->enqueueMessage(
|
||||||
JText::sprintf(
|
JText::sprintf(
|
||||||
'A method (setDynamicF0ld3rs) was added to the install <b>script.php</b> of this package to insure that the folder/s are copied into the correct place when this componet is installed!'
|
'A method (setDynamicF0ld3rs) was added to the install <b>script.php</b> of this package to insure that the folders are copied into the correct place when this component is installed!'
|
||||||
), 'Notice'
|
), 'Notice'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -6135,7 +6135,7 @@ class Fields extends Structure
|
|||||||
{
|
{
|
||||||
$fieldData['component'] = $local_component;
|
$fieldData['component'] = $local_component;
|
||||||
}
|
}
|
||||||
// check that the componet has the com_ value in it
|
// check that the component has the com_ value in it
|
||||||
if (strpos($fieldData['component'], 'com_') === false
|
if (strpos($fieldData['component'], 'com_') === false
|
||||||
|| strpos(
|
|| strpos(
|
||||||
$fieldData['component'], '='
|
$fieldData['component'], '='
|
||||||
|
@ -184,9 +184,9 @@ class ComponentbuilderViewCompiler extends JViewLegacy
|
|||||||
$options = array();
|
$options = array();
|
||||||
$options[''] = 'COM_COMPONENTBUILDER__SELECT_COMPONENT_';
|
$options[''] = 'COM_COMPONENTBUILDER__SELECT_COMPONENT_';
|
||||||
// load component options from array
|
// load component options from array
|
||||||
foreach($this->Components as $componet)
|
foreach($this->Components as $component)
|
||||||
{
|
{
|
||||||
$options[(int) $componet->id] = $this->escape($componet->name);
|
$options[(int) $component->id] = $this->escape($component->name);
|
||||||
}
|
}
|
||||||
// add to form
|
// add to form
|
||||||
$form[] = ComponentbuilderHelper::getFieldObject($attributes, '', $options);
|
$form[] = ComponentbuilderHelper::getFieldObject($attributes, '', $options);
|
||||||
|
@ -1113,7 +1113,7 @@ abstract class ComponentbuilderHelper
|
|||||||
{
|
{
|
||||||
// we must first store the current woking directory
|
// we must first store the current woking directory
|
||||||
$joomla = getcwd();
|
$joomla = getcwd();
|
||||||
// we are changing the working directory to the componet path
|
// we are changing the working directory to the component path
|
||||||
chdir($folder);
|
chdir($folder);
|
||||||
// make sure we have file type filter
|
// make sure we have file type filter
|
||||||
if (self::checkArray($fileTypes))
|
if (self::checkArray($fileTypes))
|
||||||
|
Loading…
Reference in New Issue
Block a user