Help links switched on for new FA installations.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 5 May 2015 07:59:14 +0000 (09:59 +0200)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Tue, 5 May 2015 08:15:39 +0000 (10:15 +0200)
config.default.php
includes/page/header.inc

index f73aed23abba194fba390ac2bcbe4e06d8bb2b9c..386759e14431a8d7b2a8402d29568c24bef1d4a8 100644 (file)
@@ -56,7 +56,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        /* No check on edit conflicts. Maybe needed to be set to 1 in certains Windows Servers */
        $no_check_edit_conflicts = 0;
        
-       /* Use icon for editkey (=true) right of combobox. 1 = use, 0 = do not use */
+       /* Use additional icon for supplier/customer edition right of combobox. 1 = use, 0 = do not use */
        $use_icon_for_editkey = 0;
 
        /* Creates automatic a default branch with contact. Value 0 do not create auto branch */
@@ -86,14 +86,14 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
        //      locally installed wiki module
        // $help_base_url = $path_to_root.'/modules/wiki/index.php?n='._('Help').'.';
        //      context help feed from frontaccounting.com
-       // $help_base_url = 'http://frontaccounting.com/fawiki/index.php?n=Help.';
-       //      not used
-       $help_base_url = null;
+       $help_base_url = 'http://frontaccounting.com/fawiki/index.php?n=Help.';
+       //      set to null if not used:
+       //      $help_base_url = null;
 
        /* per user data/cache directory */
        $comp_path = $path_to_root.'/company';
 
-       /* Date systems. 0 = traditional, 1 = Jalali used by Iran, nabour countries, Afghanistan and some other Central Asian nations,
+       /* Date systems. 0 = traditional, 1 = Jalali used by Iran, Afghanistan and some other Central Asian nations,
        2 = Islamic used by other arabic nations. 3 = traditional, but where non-workday is Friday and start of week is Saturday */
        $date_system = 0;
 
@@ -123,7 +123,7 @@ if (!isset($path_to_root) || isset($_GET['path_to_root']) || isset($_POST['path_
           If this parameter is checked the proportion by which the purchase invoice is an overcharge
           referred to before reporting an error */
 
-       $check_price_charged_vs_order_price = True;
+       $check_price_charged_vs_order_price = true;
 
        $config_allocation_settled_allowance = 0.005;
 
index 721ba242d258ad3a6cc495054b40a2b170ef3f41..9f785f4b3d93f02a81b0aca617a5cccc9f53c19c 100644 (file)
@@ -85,7 +85,7 @@ function page_header($title, $no_menu=false, $is_index=false, $onload="", $js=""
 
        $theme = user_theme();
 
-       if ($SysPrefs->help_base_url != null && $SysPrefs->SysPrefs->use_popup_windows && $js == '')
+       if ($SysPrefs->help_base_url != null && $SysPrefs->use_popup_windows && $js == '')
        {
                if (!function_exists('get_js_open_window'))
                {