Added remote printing support.
[fa-stable.git] / applications / setup.php
1 <?php
2
3         include_once("./modules/installed_modules.php");
4         class setup_app extends application
5         {
6                 function setup_app()
7                 {
8                         global $installed_modules;
9                         $this->application("system",_("Setup"));
10
11                         $this->add_module(_("Company Setup"));
12                         $this->add_lapp_function(0, _("&Company Setup"),"admin/company_preferences.php?");
13                         $this->add_lapp_function(0, _("&User Accounts Setup"),"admin/users.php?", 15);
14                         $this->add_lapp_function(0, "","");
15                         $this->add_lapp_function(0, _("&Display Setup"),"admin/display_prefs.php?");
16                         $this->add_lapp_function(0, _("&Forms Setup"),"admin/forms_setup.php?");
17                         $this->add_rapp_function(0, _("&Taxes"),"taxes/tax_types.php?");
18                         $this->add_rapp_function(0, _("Tax &Groups"),"taxes/tax_groups.php?");
19                         $this->add_rapp_function(0, "","");
20                         $this->add_rapp_function(0, _("System and &General GL Setup"),"admin/gl_setup.php?");
21                         $this->add_rapp_function(0, _("&Fiscal Years"),"admin/fiscalyears.php?");
22                         $this->add_rapp_function(0, _("&Print Profiles"),"admin/print_profiles.php?");
23
24                         $this->add_module(_("Miscellaneous"));
25                         $this->add_lapp_function(1, _("Pa&yment Terms"),"admin/payment_terms.php?");
26                         $this->add_lapp_function(1, _("Shi&pping Company"),"admin/shipping_companies.php?");
27                         $this->add_rapp_function(1, _("&Printers"),"admin/printers.php?");
28
29                         $this->add_module(_("Maintanance"));
30                         $this->add_lapp_function(2, _("&Void a Transaction"),"admin/void_transaction.php?");
31                         $this->add_lapp_function(2, _("View or &Print Transactions"),"admin/view_print_transaction.php?");
32                         $this->add_rapp_function(2, _("&Backup and Restore"),"admin/backups.php?", 15);
33                         $this->add_rapp_function(2, _("Create/Update &Companies"),"admin/create_coy.php?", 14);
34                         $this->add_rapp_function(2, _("Install/Update &Languages"),"admin/inst_lang.php?", 14);
35                         $this->add_rapp_function(2, _("Install/Update &Modules"),"admin/inst_module.php?", 15);
36                         if (count($installed_modules) > 0)
37                         {
38                                 foreach ($installed_modules as $mod)
39                                 {
40                                         if ($mod["tab"] == "system")
41                                                 $this->add_rapp_function(2, $mod["name"], "modules/".$mod["path"]."/".$mod["filename"]."?");
42                                 }
43                         }
44                 }
45         }
46
47
48 ?>