Improve help to allow the help url to be global in all the views. Fixed the zip wrapper to include .htaccess files for library folders.
This commit is contained in:
@ -152,10 +152,10 @@ class ComponentbuilderViewAdmin_views extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('admin_views');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('admin_views');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewAdmins_custom_tabs extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('admins_custom_tabs');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('admins_custom_tabs');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewAdmins_fields extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('admins_fields');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('admins_fields');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewAdmins_fields_conditions extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('admins_fields_conditions');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('admins_fields_conditions');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewAdmins_fields_relations extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('admins_fields_relations');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('admins_fields_relations');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewClass_extendings extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('class_extendings');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('class_extendings');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -147,10 +147,10 @@ class ComponentbuilderViewClass_methods extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('class_methods');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('class_methods');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -147,10 +147,10 @@ class ComponentbuilderViewClass_properties extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('class_properties');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('class_properties');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -391,10 +391,10 @@ class ComponentbuilderViewCompiler extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('compiler');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('compiler');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -63,10 +63,10 @@ class ComponentbuilderViewComponentbuilder extends JViewLegacy
|
||||
JToolBarHelper::title(JText::_('COM_COMPONENTBUILDER_DASHBOARD'), 'grid-2');
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('componentbuilder');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('componentbuilder');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
if ($canDo->get('core.admin') || $canDo->get('core.options'))
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_admin_views extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('components_admin_views');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('components_admin_views');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_config extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('components_config');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('components_config');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_custom_admin_menus extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('components_custom_admin_menus');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('components_custom_admin_menus');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_custom_admin_views extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('components_custom_admin_views');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('components_custom_admin_views');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_dashboard extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('components_dashboard');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('components_dashboard');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_files_folders extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('components_files_folders');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('components_files_folders');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_modules extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('components_modules');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('components_modules');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_mysql_tweaks extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('components_mysql_tweaks');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('components_mysql_tweaks');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_placeholders extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('components_placeholders');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('components_placeholders');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_plugins extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('components_plugins');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('components_plugins');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_site_views extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('components_site_views');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('components_site_views');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewComponents_updates extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('components_updates');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('components_updates');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -152,10 +152,10 @@ class ComponentbuilderViewCustom_admin_views extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('custom_admin_views');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('custom_admin_views');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -152,10 +152,10 @@ class ComponentbuilderViewCustom_codes extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('custom_codes');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('custom_codes');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -152,10 +152,10 @@ class ComponentbuilderViewDynamic_gets extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('dynamic_gets');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('dynamic_gets');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -152,10 +152,10 @@ class ComponentbuilderViewFields extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('fields');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('fields');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -147,10 +147,10 @@ class ComponentbuilderViewFieldtypes extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('fieldtypes');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('fieldtypes');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -289,10 +289,10 @@ class ComponentbuilderViewGet_snippets extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('get_snippets');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('get_snippets');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -147,10 +147,10 @@ class ComponentbuilderViewHelp_documents extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('help_documents');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('help_documents');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -85,10 +85,10 @@ class ComponentbuilderViewImport extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('import');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('import');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -450,10 +450,10 @@ class ComponentbuilderViewImport_joomla_components extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('import_joomla_components');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('import_joomla_components');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -84,10 +84,10 @@ class ComponentbuilderViewImport_language_translations extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('import_language_translations');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('import_language_translations');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -177,10 +177,10 @@ class ComponentbuilderViewJoomla_components extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_components');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_components');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -147,10 +147,10 @@ class ComponentbuilderViewJoomla_modules extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_modules');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_modules');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewJoomla_modules_files_folders_urls extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_modules_files_folders_urls');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_modules_files_folders_urls');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewJoomla_modules_updates extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_modules_updates');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_modules_updates');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewJoomla_plugin_groups extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin_groups');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugin_groups');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -157,10 +157,10 @@ class ComponentbuilderViewJoomla_plugins extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewJoomla_plugins_files_folders_urls extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins_files_folders_urls');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins_files_folders_urls');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewJoomla_plugins_updates extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins_updates');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('joomla_plugins_updates');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -147,10 +147,10 @@ class ComponentbuilderViewLanguage_translations extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('language_translations');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('language_translations');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -152,10 +152,10 @@ class ComponentbuilderViewLanguages extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('languages');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('languages');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -152,10 +152,10 @@ class ComponentbuilderViewLayouts extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('layouts');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('layouts');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -142,10 +142,10 @@ class ComponentbuilderViewLibraries extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('libraries');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('libraries');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewLibraries_config extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('libraries_config');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('libraries_config');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewLibraries_files_folders_urls extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('libraries_files_folders_urls');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('libraries_files_folders_urls');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -147,10 +147,10 @@ class ComponentbuilderViewPlaceholders extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('placeholders');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('placeholders');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -147,10 +147,10 @@ class ComponentbuilderViewServers extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('servers');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('servers');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -152,10 +152,10 @@ class ComponentbuilderViewSite_views extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('site_views');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('site_views');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -137,10 +137,10 @@ class ComponentbuilderViewSnippet_types extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('snippet_types');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('snippet_types');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -157,10 +157,10 @@ class ComponentbuilderViewSnippets extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('snippets');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('snippets');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -152,10 +152,10 @@ class ComponentbuilderViewTemplates extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('templates');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('templates');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
@ -152,10 +152,10 @@ class ComponentbuilderViewValidation_rules extends JViewLegacy
|
||||
}
|
||||
|
||||
// set help url for this view if found
|
||||
$help_url = ComponentbuilderHelper::getHelpUrl('validation_rules');
|
||||
if (ComponentbuilderHelper::checkString($help_url))
|
||||
$this->help_url = ComponentbuilderHelper::getHelpUrl('validation_rules');
|
||||
if (ComponentbuilderHelper::checkString($this->help_url))
|
||||
{
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $help_url);
|
||||
JToolbarHelper::help('COM_COMPONENTBUILDER_HELP_MANAGER', false, $this->help_url);
|
||||
}
|
||||
|
||||
// add the options comp button
|
||||
|
Reference in New Issue
Block a user