From: Janusz Dobrowolski Date: Tue, 5 May 2015 07:59:14 +0000 (+0200) Subject: Help links switched on for new FA installations. X-Git-Tag: v2.4.2~19^2~184 X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=dfd951ec7a8088a89710cb9a8d9ade6705c566af Help links switched on for new FA installations. --- diff --git a/config.default.php b/config.default.php index f73aed23..386759e1 100644 --- a/config.default.php +++ b/config.default.php @@ -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; diff --git a/includes/page/header.inc b/includes/page/header.inc index 721ba242..9f785f4b 100644 --- a/includes/page/header.inc +++ b/includes/page/header.inc @@ -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')) {