Bugfix [0000115] error on empty table after 'Update' presss in fallback mode.
[fa-stable.git] / applications / setup.php
index de752454324d9c8c5288453307c74ddac5797811..6050b3ad32778cce06d448662c8c2d2a2ff1f261 100644 (file)
@@ -1,5 +1,14 @@
 <?php
-
+/**********************************************************************
+    Copyright (C) FrontAccounting, LLC.
+       Released under the terms of the GNU Affero General Public License,
+       AGPL, as published by the Free Software Foundation, either version 
+       3 of the License, or (at your option) any later version.
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
+    See the License here <http://www.gnu.org/licenses/agpl-3.0.html>.
+***********************************************************************/
        include_once("./modules/installed_modules.php");
        class setup_app extends application
        {
                        $this->add_module(_("Maintanance"));
                        $this->add_lapp_function(2, _("&Void a Transaction"),"admin/void_transaction.php?");
                        $this->add_lapp_function(2, _("View or &Print Transactions"),"admin/view_print_transaction.php?");
-                       $this->add_lapp_function(2, _("Attach Documents"),"admin/attachments.php?filterType=20");
+                       $this->add_lapp_function(2, _("&Attach Documents"),"admin/attachments.php?filterType=20");
                        $this->add_rapp_function(2, _("&Backup and Restore"),"admin/backups.php?", 15);
                        $this->add_rapp_function(2, _("Create/Update &Companies"),"admin/create_coy.php?", 14);
                        $this->add_rapp_function(2, _("Install/Update &Languages"),"admin/inst_lang.php?", 14);
                        $this->add_rapp_function(2, _("Install/Update &Modules"),"admin/inst_module.php?", 15);
+                       $this->add_rapp_function(2, _("Software &Upgrade"),"admin/inst_upgrade.php?", 15);
                        if (count($installed_modules) > 0)
                        {
                                foreach ($installed_modules as $mod)