- $this->add_lapp_function(2, _("Currencies"),"gl/manage/currencies.php?");
- $this->add_lapp_function(2, _("Exchange Rates"),"gl/manage/exchange_rates.php?");
-
- $this->add_rapp_function(2, _("GL Accounts"),"gl/manage/gl_accounts.php?");
- $this->add_rapp_function(2, _("GL Account Groups"),"gl/manage/gl_account_types.php?");
- $this->add_rapp_function(2, _("GL Account Classes"),"gl/manage/gl_account_classes.php?");
+ $this->add_lapp_function(2, _("&Currencies"),"gl/manage/currencies.php?");
+ $this->add_lapp_function(2, _("&Exchange Rates"),"gl/manage/exchange_rates.php?");
+
+ $this->add_rapp_function(2, _("&GL Accounts"),"gl/manage/gl_accounts.php?");
+ $this->add_rapp_function(2, _("GL Account &Groups"),"gl/manage/gl_account_types.php?");
+ $this->add_rapp_function(2, _("GL Account &Classes"),"gl/manage/gl_account_classes.php?");
+ if (count($installed_modules) > 0)
+ {
+ foreach ($installed_modules as $mod)
+ {
+ if ($mod["tab"] == "GL")
+ $this->add_rapp_function(2, $mod["name"], "modules/".$mod["path"]."/".$mod["filename"]."?");
+ }
+ }