Fixed the links of folders in libraries, added another note to libraries, started with linked to ajax functions.
This commit is contained in:
@@ -3341,7 +3341,7 @@ class Interpretation extends Fields
|
||||
// add script to file
|
||||
$this->fileContentDynamic[$view['settings']->code]['###' . $TARGET . '_JAVASCRIPT_FILE###'] = $view['settings']->javascript_file;
|
||||
// add script to view
|
||||
return PHP_EOL . "\t\t//" . $this->setLine(__LINE__) . " Add View JavaScript File" . PHP_EOL . "\t\t" . $this->setIncludeLibScript($path);
|
||||
return PHP_EOL . PHP_EOL . "\t\t//" . $this->setLine(__LINE__) . " Add View JavaScript File" . PHP_EOL . "\t\t" . $this->setIncludeLibScript($path);
|
||||
}
|
||||
return '';
|
||||
}
|
||||
@@ -3563,7 +3563,7 @@ class Interpretation extends Fields
|
||||
// Start script builder for library files
|
||||
if (!isset($this->libwarning[$id]))
|
||||
{
|
||||
$this->app->enqueueMessage(JText::sprintf('The conditional script builder for <b>%s</b> is not ready, will only be ready in the next update to v2.6.7', $this->libraries[$id]->name), 'warning');
|
||||
$this->app->enqueueMessage(JText::sprintf('The conditional script builder for <b>%s</b> is not ready, sorry!', $this->libraries[$id]->name), 'warning');
|
||||
// set the warning only once
|
||||
$this->libwarning[$id] = true;
|
||||
}
|
||||
|
@@ -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