Fixed the links of folders in libraries, added another note to libraries, started with linked to ajax functions.
This commit is contained in:
@ -391,8 +391,12 @@ abstract class ComponentbuilderHelper
|
||||
// load document script
|
||||
$files[md5($url['path'])] = '(' . JText::_('URL') . ') ' . basename($url['url']) . ' - ' . JText::_('COM_COMPONENTBUILDER_LOCAL');
|
||||
}
|
||||
// load url also if not building document
|
||||
$files[md5($url['url'])] = '(' . JText::_('URL') . ') ' . basename($url['url']) . ' - ' . JText::_('COM_COMPONENTBUILDER_LINK');
|
||||
// check if link must be added
|
||||
if (isset($url['url']) && ((isset($url['type']) && $url['type'] == 1) || (isset($url['type']) && $url['type'] == 3) || !isset($url['type'])))
|
||||
{
|
||||
// load url also if not building document
|
||||
$files[md5($url['url'])] = '(' . JText::_('URL') . ') ' . basename($url['url']) . ' - ' . JText::_('COM_COMPONENTBUILDER_LINK');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -475,7 +479,7 @@ abstract class ComponentbuilderHelper
|
||||
// load per path
|
||||
foreach($paths as $path)
|
||||
{
|
||||
$files[md5($root.'/'.trim($path, '/'))] = '(' . JText::_('COM_COMPONENTBUILDER_FOLDER') . ') ' . basename($path);
|
||||
$files[md5($root.'/'.trim($path, '/'))] = '(' . JText::_('COM_COMPONENTBUILDER_FOLDER') . ') ' . basename($path) . ' - ' . basename($root);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user