Added SetFontSize method for better compatibility with pdf version.
[fa-stable.git] / applications / application.php
index 291a78a256ec9a418d252eb085f9e330df791c06..430b20c80a531b741632b9daaf9f00e2168ba2f3 100644 (file)
                
                function add_extensions()
                {
-                       global $installed_extensions, $path_to_root;
-
-                       foreach ($installed_extensions as $mod)
-                       {
-                               if (@$mod['active'] && isset($mod['entries']))
-                                       foreach($mod['entries'] as $entry) {
-                                               if ($entry['tab_id'] == $this->id)
-                                                       $this->add_rapp_function(
-                                                               isset($entry['section']) ? $entry['section'] : 2,
-                                                               $entry['title'], $path_to_root.'/'.$mod['path'].'/'.$entry['url'],
-                                                               isset($entry["access"]) ? $entry["access"] : 'SA_OPEN' );
-                                       }
-                       }
+                       hook_invoke_all('install_options', $this);
                }
                //
                // Helper returning link to report class added by extension module.