diff --git a/dev/SQL/index.php b/dev/SQL/index.php index ded83e800..d0d5242bd 100644 --- a/dev/SQL/index.php +++ b/dev/SQL/index.php @@ -9,9 +9,9 @@ require_once '../../include/constant.php'; const REPOSITORY_DB=1; const ACCOUNT_DB=2; -require NOALYSS_INCLUDE."/lib/class_database.php"; -require NOALYSS_INCLUDE."/lib/class_iselect.php"; -require NOALYSS_INCLUDE."/lib/class_http_input.php"; +require NOALYSS_INCLUDE."/lib/database.class.php"; +require NOALYSS_INCLUDE."/lib/iselect.class.php"; +require NOALYSS_INCLUDE."/lib/http_input.class.php"; require './table_sql.class.php'; diff --git a/dev/SQL/template/script_sql.php b/dev/SQL/template/script_sql.php index 63275967d..2276bd65f 100644 --- a/dev/SQL/template/script_sql.php +++ b/dev/SQL/template/script_sql.php @@ -19,8 +19,8 @@ * along with NOALYSS; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -require_once NOALYSS_INCLUDE.'/database/class_noalyss_sql.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/database/noalyss_sql.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; /** diff --git a/dev/misc-testing/pdf/pdf-page-break.php b/dev/misc-testing/pdf/pdf-page-break.php index 09a14289f..e44a7c2be 100644 --- a/dev/misc-testing/pdf/pdf-page-break.php +++ b/dev/misc-testing/pdf/pdf-page-break.php @@ -23,9 +23,9 @@ * \brief create GL comptes as PDF */ include_once '../../include/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_pdf.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_own.php'; +require_once NOALYSS_INCLUDE.'/lib/pdf.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/own.class.php'; bcscale(2); $_REQUEST['gDossier']=37; $_GET['gDossier']=37; diff --git a/html/ajax.php b/html/ajax.php index 7135296ef..28a45034b 100644 --- a/html/ajax.php +++ b/html/ajax.php @@ -14,12 +14,12 @@ */ if ( ! defined ('ALLOWED') ) define ('ALLOWED',1); require_once '../include/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/class/class_extension.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/class/extension.class.php'; if ( !isset ($_REQUEST['gDossier'])) exit(); -require_once NOALYSS_INCLUDE.'/class/class_own.php'; +require_once NOALYSS_INCLUDE.'/class/own.class.php'; mb_internal_encoding("UTF-8"); global $g_user,$cn,$g_parameter; diff --git a/html/ajax_misc.php b/html/ajax_misc.php index cd2ba9da9..4172dc077 100644 --- a/html/ajax_misc.php +++ b/html/ajax_misc.php @@ -38,13 +38,13 @@ if ( ! defined('ALLOWED')) define ('ALLOWED',1); require_once '../include/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iradio.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iradio.class.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); mb_internal_encoding("UTF-8"); @@ -208,7 +208,7 @@ switch ($op) //-------------------------------------------------- // get the last date of a ledger case 'lastdate': - require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_fin.php'; + require_once NOALYSS_INCLUDE.'/class/acc_ledger_fin.class.php'; $ledger = new Acc_Ledger_Fin($cn, $_GET['p_jrn']); $html = $ledger->get_last_date(); $html = escape_xml($html); @@ -223,7 +223,7 @@ EOF; break; case 'bkname': - require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_fin.php'; + require_once NOALYSS_INCLUDE.'/class/acc_ledger_fin.class.php'; $ledger = new Acc_Ledger_Fin($cn, $_GET['p_jrn']); $html = $ledger->get_bank_name(); $html = escape_xml($html); @@ -238,7 +238,7 @@ EOF; break; // display new calendar case 'cal': - require_once NOALYSS_INCLUDE.'/class/class_calendar.php'; + require_once NOALYSS_INCLUDE.'/class/calendar.class.php'; /* others report */ $cal = new Calendar(); $cal->set_periode($per); @@ -256,7 +256,7 @@ EOF; break; /* rem a cat of document */ case 'rem_cat_doc': - require_once NOALYSS_INCLUDE.'/class/class_document_type.php'; + require_once NOALYSS_INCLUDE.'/class/document_type.class.php'; // if user can not return error message $message=""; if ($g_user->check_action(PARCATDOC) == 0) diff --git a/html/compute.php b/html/compute.php index d349ca3c0..cb114da51 100644 --- a/html/compute.php +++ b/html/compute.php @@ -31,11 +31,11 @@ * Must return at least tva, htva and tvac */ require_once '../include/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_compute.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_tva.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_compute.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_tva.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; // Check if the needed field does exist extract ($_GET, EXTR_SKIP ); diff --git a/html/direct.php b/html/direct.php index 53a1794d7..ed079f898 100644 --- a/html/direct.php +++ b/html/direct.php @@ -19,8 +19,8 @@ */ require_once '../include/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; $cn=Dossier::connect(); global $g_user; diff --git a/html/do.php b/html/do.php index 0443a7d96..7f123de8d 100644 --- a/html/do.php +++ b/html/do.php @@ -24,14 +24,14 @@ define('ALLOWED',1); * \brief Main file */ require_once '../include/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; require_once NOALYSS_INCLUDE.'/constant.security.php'; -require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/html_input.class.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); mb_internal_encoding("UTF-8"); diff --git a/html/export.php b/html/export.php index b6fdab472..0d8cf6dab 100644 --- a/html/export.php +++ b/html/export.php @@ -27,9 +27,9 @@ define ('ALLOWED',1); require_once '../include/constant.php'; global $g_user,$cn,$g_parameter; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $gDossier=dossier::id(); $cn=Dossier::connect(); mb_internal_encoding("UTF-8"); diff --git a/html/extension.raw.php b/html/extension.raw.php index 7cd12dc2f..2d1eb9355 100644 --- a/html/extension.raw.php +++ b/html/extension.raw.php @@ -24,14 +24,14 @@ * the security. Load several javascript files */ require_once '../include/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; -require_once NOALYSS_INCLUDE.'/class/class_extension.php'; -require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; +require_once NOALYSS_INCLUDE.'/class/extension.class.php'; +require_once NOALYSS_INCLUDE.'/lib/html_input.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; global $g_user,$cn,$g_parameter; diff --git a/html/fid.php b/html/fid.php index b19e65add..fd1746bc9 100644 --- a/html/fid.php +++ b/html/fid.php @@ -33,14 +33,14 @@ *\note if the j is -1 then all the card are shown */ require_once '../include/constant.php'; -require_once NOALYSS_INCLUDE.'/class/class_own.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/class/own.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; $gDossier=dossier::id(); -require_once('class/class_user.php'); +require_once('class/user.class.php'); $cn=Dossier::connect(); global $g_user; diff --git a/html/fid_card.php b/html/fid_card.php index fab07b321..839caf80f 100644 --- a/html/fid_card.php +++ b/html/fid_card.php @@ -26,8 +26,8 @@ */ require_once '../include/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; /*!\brief * Received parameters are * - j for the ledger @@ -48,7 +48,7 @@ $cn=Dossier::connect(); $d=$_REQUEST['e']; $filter_card=''; -require_once('class/class_user.php'); +require_once('class/user.class.php'); global $g_user; $g_user=new User($cn); $g_user->check(); diff --git a/html/install.php b/html/install.php index db9a07d11..89ae0acda 100644 --- a/html/install.php +++ b/html/install.php @@ -121,7 +121,7 @@ if ( ! isset($_GET['lang'])){ } require_once '../include/constant.php'; include_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -include_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; +include_once NOALYSS_INCLUDE.'/lib/html_input.class.php'; if ( $_GET['lang'] == "en_US.utf8" || $_GET['lang']=='fr_FR.utf8') { $_SESSION['g_lang']=$_GET['lang']; @@ -322,7 +322,7 @@ if ( ! file_exists(NOALYSS_INCLUDE.'/config.inc.php')) { // magic_quotes_sybase = Off // include_path require_once NOALYSS_INCLUDE.'/lib/config_file.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; // we shouldn't use it // if ( defined ("MULTI") && MULTI==1) { create_htaccess();} @@ -489,7 +489,7 @@ if ( $Res==0) { ?> "; exit(); } - include_once NOALYSS_INCLUDE."/class/class_user.php"; + require_once NOALYSS_INCLUDE."/class/user.class.php"; $User=new User($rep); $User->Check(false,'LOGIN'); if ($g_captcha == true) @@ -93,7 +93,7 @@ else } - include_once ("class/class_user.php"); + include_once ("class/user.class.php"); $User=new User($rep); $User->Check(); diff --git a/html/logout.php b/html/logout.php index 45637d6e4..be049ff1f 100644 --- a/html/logout.php +++ b/html/logout.php @@ -22,7 +22,7 @@ */ require_once '../include/constant.php'; require_once ("lib/ac_common.php"); -require_once('lib/class_database.php'); +require_once('lib/database.class.php'); session_unset(); html_page_start("classic"); diff --git a/html/popup.php b/html/popup.php index d4716bf45..9bfdcc74e 100644 --- a/html/popup.php +++ b/html/popup.php @@ -20,11 +20,11 @@ require_once '../include/constant.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; -require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/class/class_periode.php'; +require_once NOALYSS_INCLUDE.'/lib/html_input.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/class/periode.class.php'; /* diff --git a/html/recherche.php b/html/recherche.php index aba5f08f7..e56e16f2b 100644 --- a/html/recherche.php +++ b/html/recherche.php @@ -21,9 +21,9 @@ * \brief Search module */ require_once '../include/constant.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; include_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; html_page_start($_SESSION['g_theme']); @@ -32,11 +32,11 @@ load_all_script(); $gDossier=dossier::id(); -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; /* Admin. Dossier */ $cn=Dossier::connect(); -include_once NOALYSS_INCLUDE.'/class/class_user.php'; +include_once NOALYSS_INCLUDE.'/class/user.class.php'; global $g_user; $g_user=new User($cn); diff --git a/html/test.php b/html/test.php index d838730a3..e8dacc71d 100644 --- a/html/test.php +++ b/html/test.php @@ -31,11 +31,11 @@ include_once("../include/constant.php"); include_once("lib/ac_common.php"); -require_once('lib/class_database.php'); -require_once ('class/class_dossier.php'); -require_once('lib/class_html_input.php'); +require_once('lib/database.class.php'); +require_once ('class/dossier.class.php'); +require_once('lib/html_input.class.php'); require_once ('lib/function_javascript.php'); -require_once 'class/class_user.php'; +require_once 'class/user.class.php'; load_all_script(); $gDossier=HtmlInput::default_value_get('gDossier', -1); if ($gDossier==-1) diff --git a/html/user_login.php b/html/user_login.php index 9bfa66384..fab1dc0d7 100644 --- a/html/user_login.php +++ b/html/user_login.php @@ -23,14 +23,14 @@ // Copyright Author Dany De Bontridder danydb@aevalys.eu require_once '../include/constant.php'; include_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; @html_page_start($_SESSION['g_theme']); $rep=new Database(); -include_once NOALYSS_INCLUDE.'/class/class_user.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; $User=new User($rep); $User->Check(); diff --git a/include/action.inc.php b/include/action.inc.php index d0d00f5f4..73f99c539 100644 --- a/include/action.inc.php +++ b/include/action.inc.php @@ -28,11 +28,11 @@ $retour=HtmlInput::button_anchor(_('Retour liste'), //----------------------------------------------------- // Follow_Up //----------------------------------------------------- -require_once NOALYSS_INCLUDE.'/lib/class_icard.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ispan.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ifile.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; +require_once NOALYSS_INCLUDE.'/lib/icard.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ispan.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ifile.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/class/follow_up.class.php'; /*!\brief Show the list of action, this code should be common * to several webpage. But for the moment we keep like that * because it is used only by this file. diff --git a/include/adm.inc.php b/include/adm.inc.php index bf0af10aa..8165a74da 100644 --- a/include/adm.inc.php +++ b/include/adm.inc.php @@ -21,13 +21,13 @@ * the customer category */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/class/class_customer.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ibutton.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php'; -require_once NOALYSS_INCLUDE.'/class/class_admin.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/class/customer.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ibutton.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche_def.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche_def.class.php'; +require_once NOALYSS_INCLUDE.'/class/admin.class.php'; global $g_user,$http; diff --git a/include/admin_repo.inc.php b/include/admin_repo.inc.php index 8f5ad374b..701e52ea0 100644 --- a/include/admin_repo.inc.php +++ b/include/admin_repo.inc.php @@ -23,12 +23,12 @@ */ if ( ! defined ('ALLOWED')) { die (_('Non autorisé'));} -include_once NOALYSS_INCLUDE."/class/class_user.php"; +include_once NOALYSS_INCLUDE."/class/user.class.php"; require_once NOALYSS_INCLUDE."/lib/user_common.php"; include_once NOALYSS_INCLUDE."/lib/ac_common.php"; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; require_once NOALYSS_INCLUDE."/lib/user_menu.php"; -require_once NOALYSS_INCLUDE."/lib/class_http_input.php"; +require_once NOALYSS_INCLUDE."/lib/http_input.class.php"; $http=new HttpInput(); $action = $http->request("action","string", ""); diff --git a/include/ajax/ajax_action_remove_concerned.php b/include/ajax/ajax_action_remove_concerned.php index a82c58dac..023a77397 100644 --- a/include/ajax/ajax_action_remove_concerned.php +++ b/include/ajax/ajax_action_remove_concerned.php @@ -21,7 +21,7 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); try { @@ -35,7 +35,7 @@ catch (Exception $exc) return; } -require_once 'class/class_follow_up.php'; +require_once 'class/follow_up.class.php'; $follow=new Follow_Up($cn,$ag_id); ob_start(); diff --git a/include/ajax/ajax_action_save_concerned.php b/include/ajax/ajax_action_save_concerned.php index e1600a96f..5eb0aed79 100644 --- a/include/ajax/ajax_action_save_concerned.php +++ b/include/ajax/ajax_action_save_concerned.php @@ -24,7 +24,7 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); /** * Insert into follow-up the card (f_id) for the action_gestion (ag_id) */ -require_once 'class/class_follow_up.php'; +require_once 'class/follow_up.class.php'; $follow=new Follow_Up($cn,$ag_id); $follow->insert_linked_card($f_id); /** diff --git a/include/ajax/ajax_add_concerned_card.php b/include/ajax/ajax_add_concerned_card.php index da0baf6ea..1ea746883 100644 --- a/include/ajax/ajax_add_concerned_card.php +++ b/include/ajax/ajax_add_concerned_card.php @@ -24,7 +24,7 @@ if (!defined('ALLOWED')) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); ob_start(); @@ -39,7 +39,7 @@ catch (Exception $exc) return; } -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; $r=HtmlInput::title_box(_("Détail fiche"), 'search_card'); diff --git a/include/ajax/ajax_add_menu.php b/include/ajax/ajax_add_menu.php index 8e6202b76..669201dc6 100644 --- a/include/ajax/ajax_add_menu.php +++ b/include/ajax/ajax_add_menu.php @@ -40,7 +40,7 @@ if (!defined('ALLOWED')) if ($g_user->check_module('CFGPRO')==0) die(); -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); try diff --git a/include/ajax/ajax_admin.php b/include/ajax/ajax_admin.php index 30172ea38..c9e488f06 100644 --- a/include/ajax/ajax_admin.php +++ b/include/ajax/ajax_admin.php @@ -32,7 +32,7 @@ if ($g_user->Admin()==0) die(); } set_language(); -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); // From admin, grant the access to a folder to an diff --git a/include/ajax/ajax_anc_key_choice.php b/include/ajax/ajax_anc_key_choice.php index 6e33137ec..ed13bd018 100644 --- a/include/ajax/ajax_anc_key_choice.php +++ b/include/ajax/ajax_anc_key_choice.php @@ -27,7 +27,7 @@ // Copyright (2014) Author Dany De Bontridder danydb@aevalys.eu if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); try @@ -44,7 +44,7 @@ catch (Exception $exc) } -require_once 'class/class_anc_key.php'; +require_once 'class/anc_key.class.php'; ob_start(); echo HtmlInput::title_box(_("Choix d'une clef"), 'div_anc_key_choice'); diff --git a/include/ajax/ajax_anc_key_compute.php b/include/ajax/ajax_anc_key_compute.php index 1d2c09620..980fcf87c 100644 --- a/include/ajax/ajax_anc_key_compute.php +++ b/include/ajax/ajax_anc_key_compute.php @@ -28,8 +28,8 @@ // if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_anc_key.php'; -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/class/anc_key.class.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); try diff --git a/include/ajax/ajax_anc_search.php b/include/ajax/ajax_anc_search.php index a836a40cd..da399162d 100644 --- a/include/ajax/ajax_anc_search.php +++ b/include/ajax/ajax_anc_search.php @@ -28,16 +28,16 @@ // parameter are gDossier , c1 : the control id to update, // c2 the control id which contains the pa_id if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ibutton.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ibutton.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_account.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_account.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); $texte=new IText('plabel'); diff --git a/include/ajax/ajax_auto_anc_card.php b/include/ajax/ajax_auto_anc_card.php index b85088874..7b700c057 100644 --- a/include/ajax/ajax_auto_anc_card.php +++ b/include/ajax/ajax_auto_anc_card.php @@ -3,8 +3,8 @@ //see licence.txt if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; $cn=Dossier::connect(); diff --git a/include/ajax/ajax_bank_saldo.php b/include/ajax/ajax_bank_saldo.php index 165b2d190..409d17b31 100644 --- a/include/ajax/ajax_bank_saldo.php +++ b/include/ajax/ajax_bank_saldo.php @@ -35,9 +35,9 @@ * - ctl the ctl where to get the quick_code */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; extract($_GET, EXTR_SKIP); /* check the parameters */ foreach ( array('j','ctl') as $a ) diff --git a/include/ajax/ajax_calendar_zoom.php b/include/ajax/ajax_calendar_zoom.php index eab6fda8e..2f629505e 100644 --- a/include/ajax/ajax_calendar_zoom.php +++ b/include/ajax/ajax_calendar_zoom.php @@ -18,8 +18,8 @@ */ // Copyright Author Dany De Bontridder danydb@aevalys.eu if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_calendar.php'; -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/class/calendar.class.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); ob_start(); diff --git a/include/ajax/ajax_card.php b/include/ajax/ajax_card.php index 22b9a7bd0..0685c92e7 100644 --- a/include/ajax/ajax_card.php +++ b/include/ajax/ajax_card.php @@ -55,13 +55,13 @@ */ if ( ! defined('ALLOWED')) die (_('Accès non autorisé')); -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iradio.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iradio.class.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche_attr.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche_attr.class.php'; mb_internal_encoding("UTF-8"); @@ -338,7 +338,7 @@ case 'sc': * *----------------------------------------------------------------------*/ case 'fs': - require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; + require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; $r=HtmlInput::title_box(_("Détail fiche"), 'search_card'); $r.='
'; $q=new IText('query'); diff --git a/include/ajax/ajax_create_menu.php b/include/ajax/ajax_create_menu.php index 31471eab6..2e0ee9412 100644 --- a/include/ajax/ajax_create_menu.php +++ b/include/ajax/ajax_create_menu.php @@ -3,7 +3,7 @@ //see licence.txt if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_menu_ref.php'; +require_once NOALYSS_INCLUDE.'/class/menu_ref.class.php'; $msg=_("Création"); $m=new Menu_Ref($cn); echo ''; diff --git a/include/ajax/ajax_display_letter.php b/include/ajax/ajax_display_letter.php index 9fdfd717e..c73fda26e 100644 --- a/include/ajax/ajax_display_letter.php +++ b/include/ajax/ajax_display_letter.php @@ -23,7 +23,7 @@ if (!defined('ALLOWED')) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_lettering.php'; +require_once NOALYSS_INCLUDE.'/class/lettering.class.php'; $exercice=$g_user->get_exercice(); if ($g_user->check_module("LETCARD")==0 && $g_user->check_module("LETACC")==0) exit(); diff --git a/include/ajax/ajax_display_submenu.php b/include/ajax/ajax_display_submenu.php index e1dc52661..1b74d4d4c 100644 --- a/include/ajax/ajax_display_submenu.php +++ b/include/ajax/ajax_display_submenu.php @@ -30,7 +30,7 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); // Security if ( $g_user->check_module('CFGPRO') == 0 ) die(); -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); ob_start(); @@ -47,7 +47,7 @@ catch (Exception $exc) return; } -require_once NOALYSS_INCLUDE.'/class/class_profile_menu.php'; +require_once NOALYSS_INCLUDE.'/class/profile_menu.class.php'; $p_level++; $profile=new Profile_Menu($cn); $profile->p_id=$p_id; diff --git a/include/ajax/ajax_fiche_def_detail.php b/include/ajax/ajax_fiche_def_detail.php index cd810fb6b..9c62f343f 100644 --- a/include/ajax/ajax_fiche_def_detail.php +++ b/include/ajax/ajax_fiche_def_detail.php @@ -26,8 +26,8 @@ * */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php'; -require_once NOALYSS_INCLUDE.'/lib/class_single_record.php'; +require_once NOALYSS_INCLUDE.'/class/fiche_def.class.php'; +require_once NOALYSS_INCLUDE.'/lib/single_record.class.php'; global $g_user; $g_user->can_request(FICCAT,0); diff --git a/include/ajax/ajax_gestion.php b/include/ajax/ajax_gestion.php index c954fb62a..f563a98c7 100644 --- a/include/ajax/ajax_gestion.php +++ b/include/ajax/ajax_gestion.php @@ -26,7 +26,7 @@ if (!defined('ALLOWED')) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); if ($op=='action_show') @@ -34,7 +34,7 @@ if ($op=='action_show') /** * display action */ - require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; + require_once NOALYSS_INCLUDE.'/class/follow_up.class.php'; $gestion=new Follow_Up($cn); $array=$gestion->get_last(25); $len_array=count($array); @@ -43,14 +43,14 @@ if ($op=='action_show') } if ($op=='action_add') { - require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; + require_once NOALYSS_INCLUDE.'/class/follow_up.class.php'; $gestion=new Follow_Up($cn); $gestion->display_short(); return; } if ($op=='action_save') { - require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; + require_once NOALYSS_INCLUDE.'/class/follow_up.class.php'; /** * save info from the get diff --git a/include/ajax/ajax_get_profile.php b/include/ajax/ajax_get_profile.php index 66b4990d4..6fd062e4d 100644 --- a/include/ajax/ajax_get_profile.php +++ b/include/ajax/ajax_get_profile.php @@ -31,10 +31,10 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); // Security if ( $g_user->check_module('CFGPRO') == 0 ) die(); -require_once NOALYSS_INCLUDE.'/database/class_profile_sql.php'; -require_once NOALYSS_INCLUDE.'/class/class_profile_menu.php'; -require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/database/profile_sql.class.php'; +require_once NOALYSS_INCLUDE.'/class/profile_menu.class.php'; +require_once NOALYSS_INCLUDE.'/lib/html_input.class.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); $p_id=$http->request('p_id',"string", -1); diff --git a/include/ajax/ajax_get_receipt.php b/include/ajax/ajax_get_receipt.php index 73dfa845b..1e6019324 100644 --- a/include/ajax/ajax_get_receipt.php +++ b/include/ajax/ajax_get_receipt.php @@ -30,10 +30,10 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); require_once NOALYSS_INCLUDE.'/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; // Check if the needed field does exist extract ($_GET, EXTR_SKIP); diff --git a/include/ajax/ajax_history.php b/include/ajax/ajax_history.php index a879ac83e..a6426b10b 100644 --- a/include/ajax/ajax_history.php +++ b/include/ajax/ajax_history.php @@ -25,13 +25,13 @@ */ if ( ! defined('ALLOWED')) die (_('Accès interdit')); -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_periode.php'; -require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account.php'; -require_once NOALYSS_INCLUDE.'/class/class_exercice.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/periode.class.php'; +require_once NOALYSS_INCLUDE.'/lib/html_input.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account.class.php'; +require_once NOALYSS_INCLUDE.'/class/exercice.class.php'; $div=$_REQUEST['div']; mb_internal_encoding("UTF-8"); diff --git a/include/ajax/ajax_ledger.php b/include/ajax/ajax_ledger.php index 641f82901..c5f90676a 100644 --- a/include/ajax/ajax_ledger.php +++ b/include/ajax/ajax_ledger.php @@ -30,17 +30,17 @@ */ if ( ! defined('ALLOWED')) die(_('Non authorisé')); -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_operation.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_reconciliation.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_operation.php'; -require_once NOALYSS_INCLUDE.'/lib/class_idate.php'; -require_once NOALYSS_INCLUDE.'/class/class_own.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iconcerned.php'; -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_operation.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_reconciliation.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_operation.class.php'; +require_once NOALYSS_INCLUDE.'/lib/idate.class.php'; +require_once NOALYSS_INCLUDE.'/class/own.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iconcerned.class.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); /** diff --git a/include/ajax/ajax_ledger_show.php b/include/ajax/ajax_ledger_show.php index 6afa939ae..2557270a0 100644 --- a/include/ajax/ajax_ledger_show.php +++ b/include/ajax/ajax_ledger_show.php @@ -14,8 +14,8 @@ */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; -require_once NOALYSS_INCLUDE.'/lib/class_html_input.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; +require_once NOALYSS_INCLUDE.'/lib/html_input.class.php'; if ( ! isset ($r_jrn)) { $r_jrn=null;} $ctl='div_jrn'.$div; ob_start(); diff --git a/include/ajax/ajax_min_row.php b/include/ajax/ajax_min_row.php index 1f06964a4..687081cee 100644 --- a/include/ajax/ajax_min_row.php +++ b/include/ajax/ajax_min_row.php @@ -26,8 +26,8 @@ * */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; extract($_GET, EXTR_SKIP); /* check the parameters */ foreach ( array('j','ctl') as $a ) diff --git a/include/ajax/ajax_mod_document.php b/include/ajax/ajax_mod_document.php index 881e84341..88a48e931 100644 --- a/include/ajax/ajax_mod_document.php +++ b/include/ajax/ajax_mod_document.php @@ -23,9 +23,9 @@ * \brief show the detail of a document and let you modify it */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_document_modele.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/document_modele.class.php'; /* 1. Check security */ $cn=Dossier::connect(); diff --git a/include/ajax/ajax_mod_menu.php b/include/ajax/ajax_mod_menu.php index df759beed..919736c13 100644 --- a/include/ajax/ajax_mod_menu.php +++ b/include/ajax/ajax_mod_menu.php @@ -3,7 +3,7 @@ //see licence.txt if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_menu_ref.php'; +require_once NOALYSS_INCLUDE.'/class/menu_ref.class.php'; $m=new Menu_Ref($cn,$me_code); $msg="Modification ".$m->me_code.' '.h($m->me_menu); echo ''; diff --git a/include/ajax/ajax_mod_periode.php b/include/ajax/ajax_mod_periode.php index e07c70484..c82f7562e 100644 --- a/include/ajax/ajax_mod_periode.php +++ b/include/ajax/ajax_mod_periode.php @@ -20,7 +20,7 @@ // Copyright Author Dany De Bontridder danydb@aevalys.eu if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_periode.php'; +require_once NOALYSS_INCLUDE.'/class/periode.class.php'; /**\file * \brief display or save a periode diff --git a/include/ajax/ajax_mod_predf_op.php b/include/ajax/ajax_mod_predf_op.php index 9c4745432..4e11ee084 100644 --- a/include/ajax/ajax_mod_predf_op.php +++ b/include/ajax/ajax_mod_predf_op.php @@ -25,7 +25,7 @@ */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); ob_start(); -require_once NOALYSS_INCLUDE.'/class/class_pre_operation.php'; +require_once NOALYSS_INCLUDE.'/class/pre_operation.class.php'; $op=new Pre_Operation($cn,$_GET['id']); $array=$op->load(); echo HtmlInput::anchor_close('mod_predf_op'); diff --git a/include/ajax/ajax_mod_stock_repo.php b/include/ajax/ajax_mod_stock_repo.php index f3e035919..738245d40 100644 --- a/include/ajax/ajax_mod_stock_repo.php +++ b/include/ajax/ajax_mod_stock_repo.php @@ -26,7 +26,7 @@ * */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/database/class_stock_sql.php'; +require_once NOALYSS_INCLUDE.'/database/stock_sql.class.php'; $cn=Dossier::connect(); $st=new Stock_Sql($cn,$_GET['r_id']); ?> diff --git a/include/ajax/ajax_poste.php b/include/ajax/ajax_poste.php index d498b731b..8e246f497 100644 --- a/include/ajax/ajax_poste.php +++ b/include/ajax/ajax_poste.php @@ -35,10 +35,10 @@ if ( ! defined('ALLOWED')) die (_('Non authorisé')); require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; require_once NOALYSS_INCLUDE.'/lib/function_javascript.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php'; mb_internal_encoding("UTF-8"); extract($_REQUEST, EXTR_SKIP); diff --git a/include/ajax/ajax_preference.php b/include/ajax/ajax_preference.php index 82bb35de6..4505aaa31 100644 --- a/include/ajax/ajax_preference.php +++ b/include/ajax/ajax_preference.php @@ -22,11 +22,11 @@ * it permits to change the user preferences */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iperiod.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_report.php'; -require_once NOALYSS_INCLUDE.'/class/class_periode.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iperiod.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_report.class.php'; +require_once NOALYSS_INCLUDE.'/class/periode.class.php'; echo HtmlInput::title_box(_('Préférence'), 'preference_div'); echo '
'; echo '

'; diff --git a/include/ajax/ajax_remove_submenu.php b/include/ajax/ajax_remove_submenu.php index c5946f07c..43bb415d7 100644 --- a/include/ajax/ajax_remove_submenu.php +++ b/include/ajax/ajax_remove_submenu.php @@ -21,7 +21,7 @@ // require_once '.php'; if ( ! defined ('ALLOWED') ) die(_('Non autorisé')); -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); // Security diff --git a/include/ajax/ajax_save_predf_op.php b/include/ajax/ajax_save_predf_op.php index 7e49d11e5..a6d985248 100644 --- a/include/ajax/ajax_save_predf_op.php +++ b/include/ajax/ajax_save_predf_op.php @@ -23,7 +23,7 @@ * \brief save the new predefined operation * included from ajax_misc */ -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); diff --git a/include/ajax/ajax_search_action.php b/include/ajax/ajax_search_action.php index 684da335f..9c21b5a0a 100755 --- a/include/ajax/ajax_search_action.php +++ b/include/ajax/ajax_search_action.php @@ -21,9 +21,9 @@ * \brief Search module */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; include_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; +require_once NOALYSS_INCLUDE.'/class/follow_up.class.php'; $_REQUEST['ac']='FOLLOW'; diff --git a/include/ajax/ajax_search_add_tag.php b/include/ajax/ajax_search_add_tag.php index a9c3e103e..fc58cc04b 100644 --- a/include/ajax/ajax_search_add_tag.php +++ b/include/ajax/ajax_search_add_tag.php @@ -19,7 +19,7 @@ // Copyright Author Dany De Bontridder danydb@aevalys.eu if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_tag.php'; +require_once NOALYSS_INCLUDE.'/class/tag.class.php'; ob_start(); if ($_GET['clear']==1) { /* Add a clear button */ diff --git a/include/ajax/ajax_search_clear_tag.php b/include/ajax/ajax_search_clear_tag.php index 697543e34..d89013928 100644 --- a/include/ajax/ajax_search_clear_tag.php +++ b/include/ajax/ajax_search_clear_tag.php @@ -19,7 +19,7 @@ // Copyright Author Dany De Bontridder danydb@aevalys.eu if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_tag.php'; +require_once NOALYSS_INCLUDE.'/class/tag.class.php'; ob_start(); echo Tag::button_search($_GET['pref']); $response= ob_get_clean(); diff --git a/include/ajax/ajax_search_display_tag.php b/include/ajax/ajax_search_display_tag.php index 592e1d469..ed5f4ddc9 100644 --- a/include/ajax/ajax_search_display_tag.php +++ b/include/ajax/ajax_search_display_tag.php @@ -19,7 +19,7 @@ // Copyright Author Dany De Bontridder danydb@aevalys.eu if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_tag.php'; +require_once NOALYSS_INCLUDE.'/class/tag.class.php'; ob_start(); $tag=new Tag($cn); $tag->select_search($_GET['pref']); diff --git a/include/ajax/ajax_tag_detail.php b/include/ajax/ajax_tag_detail.php index 902c26085..28d456ebd 100644 --- a/include/ajax/ajax_tag_detail.php +++ b/include/ajax/ajax_tag_detail.php @@ -6,8 +6,8 @@ //see licence.txt if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_single_record.php'; -require_once NOALYSS_INCLUDE.'/class/class_tag.php'; +require_once NOALYSS_INCLUDE.'/lib/single_record.class.php'; +require_once NOALYSS_INCLUDE.'/class/tag.class.php'; ob_start(); $tag=new Tag($cn); $tag->data->t_id=$_GET['tag']; diff --git a/include/ajax/ajax_tag_list.php b/include/ajax/ajax_tag_list.php index 983e877de..ee5c148cf 100644 --- a/include/ajax/ajax_tag_list.php +++ b/include/ajax/ajax_tag_list.php @@ -19,7 +19,7 @@ // Copyright Author Dany De Bontridder danydb@aevalys.eu if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_tag.php'; +require_once NOALYSS_INCLUDE.'/class/tag.class.php'; ob_start(); $tag=new Tag($cn); $tag->select(); diff --git a/include/ajax/ajax_tag_save.php b/include/ajax/ajax_tag_save.php index d2dc0705b..81109fa3c 100644 --- a/include/ajax/ajax_tag_save.php +++ b/include/ajax/ajax_tag_save.php @@ -4,7 +4,7 @@ if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_tag.php'; +require_once NOALYSS_INCLUDE.'/class/tag.class.php'; $tag=new Tag($cn); $tag->save($_GET); diff --git a/include/ajax/ajax_tag_select_search.php b/include/ajax/ajax_tag_select_search.php index 1652c1d4e..575737eea 100644 --- a/include/ajax/ajax_tag_select_search.php +++ b/include/ajax/ajax_tag_select_search.php @@ -19,7 +19,7 @@ // Copyright Author Dany De Bontridder danydb@aevalys.eu if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_tag.php'; +require_once NOALYSS_INCLUDE.'/class/tag.class.php'; ob_start(); $tag=new Tag($cn); $tag->select_search(); diff --git a/include/ajax/ajax_todo_list.php b/include/ajax/ajax_todo_list.php index 3aca70d33..10789b2ef 100644 --- a/include/ajax/ajax_todo_list.php +++ b/include/ajax/ajax_todo_list.php @@ -34,12 +34,12 @@ * - i id */ if ( ! defined ('ALLOWED') ) die (_('Aucun accès direct')); -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_todo_list.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/todo_list.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; mb_internal_encoding("UTF-8"); -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); $cn= Dossier::connect(); diff --git a/include/ajax/ajax_update_payment.php b/include/ajax/ajax_update_payment.php index 970a63930..d65807ec9 100644 --- a/include/ajax/ajax_update_payment.php +++ b/include/ajax/ajax_update_payment.php @@ -26,7 +26,7 @@ * -l for the ledger */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; $ledger=new Acc_Ledger($cn,$l); echo $ledger->input_paid(1); ?> diff --git a/include/ajax/ajax_update_predef.php b/include/ajax/ajax_update_predef.php index 3e86ca774..989c927bc 100644 --- a/include/ajax/ajax_update_predef.php +++ b/include/ajax/ajax_update_predef.php @@ -29,9 +29,9 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); require_once NOALYSS_INCLUDE.'/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_pre_operation.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/pre_operation.class.php'; // Check if the needed field does exist extract ($_GET, EXTR_SKIP); diff --git a/include/ajax/ajax_view_action.php b/include/ajax/ajax_view_action.php index 2a15f0e37..b143457a4 100644 --- a/include/ajax/ajax_view_action.php +++ b/include/ajax/ajax_view_action.php @@ -27,8 +27,8 @@ */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); ob_start(); -require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; -require_once NOALYSS_INCLUDE.'/class/class_default_menu.php'; +require_once NOALYSS_INCLUDE.'/class/follow_up.class.php'; +require_once NOALYSS_INCLUDE.'/class/default_menu.class.php'; echo HtmlInput::title_box(_("Détail action"), $div); $act = new Follow_Up($cn); diff --git a/include/ajax/ajax_view_mod_stock.php b/include/ajax/ajax_view_mod_stock.php index c079b9395..b0f612446 100644 --- a/include/ajax/ajax_view_mod_stock.php +++ b/include/ajax/ajax_view_mod_stock.php @@ -25,7 +25,7 @@ * @brief show detail of inv. * */ -require_once NOALYSS_INCLUDE.'/class/class_stock_goods.php'; +require_once NOALYSS_INCLUDE.'/class/stock_goods.class.php'; if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); $st=new Stock_Goods($cn); diff --git a/include/anc_acc_balance.inc.php b/include/anc_acc_balance.inc.php index e58a90984..c9f72b25a 100644 --- a/include/anc_acc_balance.inc.php +++ b/include/anc_acc_balance.inc.php @@ -3,7 +3,7 @@ //see licence.txt if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_anc_acc_list.php'; +require_once NOALYSS_INCLUDE.'/class/anc_acc_list.class.php'; echo '

'; $tab = new Anc_Acc_List($cn); $tab->get_request(); diff --git a/include/anc_acc_table.inc.php b/include/anc_acc_table.inc.php index d1ce3a905..7f0047a25 100644 --- a/include/anc_acc_table.inc.php +++ b/include/anc_acc_table.inc.php @@ -3,7 +3,7 @@ //see licence.txt if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_anc_table.php'; +require_once NOALYSS_INCLUDE.'/class/anc_table.class.php'; $tab = new Anc_Table($cn); $tab->get_request(); echo ''; diff --git a/include/anc_balance_double.inc.php b/include/anc_balance_double.inc.php index fd450aadb..a1ac67008 100644 --- a/include/anc_balance_double.inc.php +++ b/include/anc_balance_double.inc.php @@ -3,7 +3,7 @@ //see licence.txt if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_anc_balance_double.php'; +require_once NOALYSS_INCLUDE.'/class/anc_balance_double.class.php'; $bc = new Anc_Balance_Double($cn); $bc->get_request(); echo ''; diff --git a/include/anc_balance_simple.inc.php b/include/anc_balance_simple.inc.php index aa28ad81b..d0dac9f6f 100644 --- a/include/anc_balance_simple.inc.php +++ b/include/anc_balance_simple.inc.php @@ -3,7 +3,7 @@ //see licence.txt if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_anc_balance_simple.php'; +require_once NOALYSS_INCLUDE.'/class/anc_balance_simple.class.php'; $bs = new Anc_Balance_Simple($cn); $bs->get_request(); echo ''; diff --git a/include/anc_great_ledger.inc.php b/include/anc_great_ledger.inc.php index f20a4fb10..32737eadc 100644 --- a/include/anc_great_ledger.inc.php +++ b/include/anc_great_ledger.inc.php @@ -5,7 +5,7 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); echo '
'; global $http; -require_once NOALYSS_INCLUDE.'/class/class_anc_grandlivre.php'; +require_once NOALYSS_INCLUDE.'/class/anc_grandlivre.class.php'; $grandLivre=new Anc_Grandlivre($cn); diff --git a/include/anc_group.inc.php b/include/anc_group.inc.php index 97651f26e..ed11af56a 100644 --- a/include/anc_group.inc.php +++ b/include/anc_group.inc.php @@ -24,9 +24,9 @@ * */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_group.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_group.class.php'; $r=new Anc_Group($cn); diff --git a/include/anc_group_balance.inc.php b/include/anc_group_balance.inc.php index 91ba047e5..09b056a85 100644 --- a/include/anc_group_balance.inc.php +++ b/include/anc_group_balance.inc.php @@ -3,7 +3,7 @@ //see licence.txt if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_anc_group.php'; +require_once NOALYSS_INCLUDE.'/class/anc_group.class.php'; $gr = new Anc_Group($cn); $gr->get_request(); diff --git a/include/anc_history.inc.php b/include/anc_history.inc.php index 0bc5312c9..1901dcbbb 100644 --- a/include/anc_history.inc.php +++ b/include/anc_history.inc.php @@ -5,7 +5,7 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_anc_listing.php'; +require_once NOALYSS_INCLUDE.'/class/anc_listing.class.php'; $list = new Anc_Listing($cn); $list->get_request(); diff --git a/include/anc_key.inc.php b/include/anc_key.inc.php index 063e6f626..a2b343f43 100644 --- a/include/anc_key.inc.php +++ b/include/anc_key.inc.php @@ -29,7 +29,7 @@ if (!defined('ALLOWED')) die('Appel direct ne sont pas permis'); global $cn, $g_user; -require_once NOALYSS_INCLUDE.'/class/class_anc_key.php'; +require_once NOALYSS_INCLUDE.'/class/anc_key.class.php'; global $http; $op=$http->request("op", "string", "list"); diff --git a/include/anc_od.inc.php b/include/anc_od.inc.php index 17600d7bb..5a51c3e79 100644 --- a/include/anc_od.inc.php +++ b/include/anc_od.inc.php @@ -26,12 +26,12 @@ * */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_account.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_operation.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_group_operation.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_account.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_operation.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_group_operation.class.php'; global $g_user; diff --git a/include/anc_pa.inc.php b/include/anc_pa.inc.php index e38d44741..335a6867c 100644 --- a/include/anc_pa.inc.php +++ b/include/anc_pa.inc.php @@ -27,8 +27,8 @@ */ if (!defined('ALLOWED')) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_account.php'; +require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_account.class.php'; $ret=""; $str_dossier=Dossier::get(); diff --git a/include/backup.inc.php b/include/backup.inc.php index 53611de9c..7af861181 100644 --- a/include/backup.inc.php +++ b/include/backup.inc.php @@ -20,7 +20,7 @@ * \brief Make and restore backup */ if ( !defined("ALLOWED")) { die (_("Non autorisé")); } - require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; + require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); diff --git a/include/balance.inc.php b/include/balance.inc.php index 63ac5781b..87760c96c 100644 --- a/include/balance.inc.php +++ b/include/balance.inc.php @@ -25,14 +25,14 @@ */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); include_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -include_once NOALYSS_INCLUDE.'/class/class_acc_balance.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ispan.php'; -require_once NOALYSS_INCLUDE.'/lib/class_icheckbox.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; -require_once NOALYSS_INCLUDE.'/class/class_periode.php'; -require_once NOALYSS_INCLUDE.'/class/class_exercice.php'; +include_once NOALYSS_INCLUDE.'/class/acc_balance.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ispan.class.php'; +require_once NOALYSS_INCLUDE.'/lib/icheckbox.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; +require_once NOALYSS_INCLUDE.'/class/periode.class.php'; +require_once NOALYSS_INCLUDE.'/class/exercice.class.php'; global $g_user, $http; $gDossier=dossier::id(); $exercice=(isset($_GET['exercice']))?$_GET['exercice']:$g_user->get_exercice(); diff --git a/include/balance_age.inc.php b/include/balance_age.inc.php index 9cc592a42..f8a22326a 100644 --- a/include/balance_age.inc.php +++ b/include/balance_age.inc.php @@ -69,7 +69,7 @@ $w_lettre->selected=$let; ?> '; diff --git a/include/balance_card_ageing.inc.php b/include/balance_card_ageing.inc.php index acdcfc563..a9a6f7bd5 100644 --- a/include/balance_card_ageing.inc.php +++ b/include/balance_card_ageing.inc.php @@ -25,8 +25,8 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); * @brief * @param type $name Descriptionara */ -require_once NOALYSS_INCLUDE.'/class/class_exercice.php'; -require_once NOALYSS_INCLUDE.'/class/class_balance_age.php'; +require_once NOALYSS_INCLUDE.'/class/exercice.class.php'; +require_once NOALYSS_INCLUDE.'/class/balance_age.class.php'; $let=( isset ($_GET['p_let']))?'let':'unlet'; $export_csv = '
'; diff --git a/include/bank.inc.php b/include/bank.inc.php index 438edcfe6..cf2ae7a36 100644 --- a/include/bank.inc.php +++ b/include/bank.inc.php @@ -21,10 +21,10 @@ * the supplier category */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/class/class_bank.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ibutton.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/class/bank.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ibutton.class.php'; global $g_user , $http; $low_action=$http->request('sb',"string",'list'); diff --git a/include/calendar.inc.php b/include/calendar.inc.php index 4f665c155..3fd8070d5 100644 --- a/include/calendar.inc.php +++ b/include/calendar.inc.php @@ -8,7 +8,7 @@ */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_calendar.php'; +require_once NOALYSS_INCLUDE.'/class/calendar.class.php'; $cal=new Calendar(); $cal->default_periode=(isset ($_GET['in']))?$_GET['in']:$g_user->get_periode(); diff --git a/include/card_attr.inc.php b/include/card_attr.inc.php index 87013d98b..88e3d9a9b 100644 --- a/include/card_attr.inc.php +++ b/include/card_attr.inc.php @@ -23,7 +23,7 @@ * \brief Manage the attributs */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_fiche_attr.php'; +require_once NOALYSS_INCLUDE.'/class/fiche_attr.class.php'; global $http; diff --git a/include/cat_document.inc.php b/include/cat_document.inc.php index 5e8e6dc63..5bae1ccd5 100644 --- a/include/cat_document.inc.php +++ b/include/cat_document.inc.php @@ -28,7 +28,7 @@ // show list of document if (!defined('ALLOWED')) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_document_type.php'; +require_once NOALYSS_INCLUDE.'/class/document_type.class.php'; global $http; diff --git a/include/category_card.inc.php b/include/category_card.inc.php index e8075cabc..101b00f09 100644 --- a/include/category_card.inc.php +++ b/include/category_card.inc.php @@ -28,7 +28,7 @@ */ if (!defined('ALLOWED')) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_contact.php'; +require_once NOALYSS_INCLUDE.'/class/contact.class.php'; global $http; diff --git a/include/category_detail.inc.php b/include/category_detail.inc.php index d4321be0a..e3256bc06 100644 --- a/include/category_detail.inc.php +++ b/include/category_detail.inc.php @@ -32,7 +32,7 @@ // Save modification //--------------------------------------------------------------------------- if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_customer.php'; +require_once NOALYSS_INCLUDE.'/class/customer.class.php'; global $http; $f_id=$http->request('f_id','number'); diff --git a/include/category_followup.inc.php b/include/category_followup.inc.php index aec345c58..da20ee72f 100644 --- a/include/category_followup.inc.php +++ b/include/category_followup.inc.php @@ -27,7 +27,7 @@ * - $cn = database connection */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; +require_once NOALYSS_INCLUDE.'/class/follow_up.class.php'; global $http; /** *\note problem with ShowActionList, this function is local diff --git a/include/category_operation.inc.php b/include/category_operation.inc.php index b101113a6..187ace054 100644 --- a/include/category_operation.inc.php +++ b/include/category_operation.inc.php @@ -29,7 +29,7 @@ * - $ss_action */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; global $http; $f=new Fiche($cn,$http->request('f_id',"number")); diff --git a/include/cfgfiche.inc.php b/include/cfgfiche.inc.php index 4d5c6834a..47aaa1d63 100644 --- a/include/cfgfiche.inc.php +++ b/include/cfgfiche.inc.php @@ -22,15 +22,15 @@ */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_menu.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/lib/class_sort_table.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php'; -require_once NOALYSS_INCLUDE.'/lib/class_single_record.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/lib/sort_table.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche_def.class.php'; +require_once NOALYSS_INCLUDE.'/lib/single_record.class.php'; global $http; $retour=HtmlInput::button_anchor("Retour à la liste", HtmlInput::get_to_string(array("gDossier","ac"))); diff --git a/include/cfgledger.inc.php b/include/cfgledger.inc.php index 1103f713a..e3b20c2ed 100644 --- a/include/cfgledger.inc.php +++ b/include/cfgledger.inc.php @@ -27,12 +27,12 @@ * */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_menu.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; $gDossier=dossier::id(); global $cn; diff --git a/include/cfgplugin.inc.php b/include/cfgplugin.inc.php index dcbc049be..e09e60098 100644 --- a/include/cfgplugin.inc.php +++ b/include/cfgplugin.inc.php @@ -19,7 +19,7 @@ // Copyright (2014) Author Dany De Bontridder if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_extension.php'; +require_once NOALYSS_INCLUDE.'/class/extension.class.php'; /** * @file diff --git a/include/cfgtags.inc.php b/include/cfgtags.inc.php index 2a7995689..e9aef771f 100644 --- a/include/cfgtags.inc.php +++ b/include/cfgtags.inc.php @@ -24,8 +24,8 @@ if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); * @brief Manage the tags * */ -require_once NOALYSS_INCLUDE.'/class/class_tag.php'; -require_once NOALYSS_INCLUDE.'/lib/class_single_record.php'; +require_once NOALYSS_INCLUDE.'/class/tag.class.php'; +require_once NOALYSS_INCLUDE.'/lib/single_record.class.php'; $tag=new Tag($cn); $uos=new Single_Record('tag'); diff --git a/include/class/class_acc_account.php b/include/class/acc_account.class.php similarity index 97% rename from include/class/class_acc_account.php rename to include/class/acc_account.class.php index f8347ad2f..798333a3a 100644 --- a/include/class/class_acc_account.php +++ b/include/class/acc_account.class.php @@ -23,9 +23,9 @@ /*! * \brief Manage the account from the table tmp_pcmn */ -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; class Acc_Account { diff --git a/include/class/class_acc_account_ledger.php b/include/class/acc_account_ledger.class.php similarity index 99% rename from include/class/class_acc_account_ledger.php rename to include/class/acc_account_ledger.class.php index ccd682ba7..4dedf6195 100644 --- a/include/class/class_acc_account_ledger.php +++ b/include/class/acc_account_ledger.class.php @@ -23,9 +23,9 @@ /*! * \brief Manage the account from the table jrn, jrnx or tmp_pcmn */ -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; class Acc_Account_Ledger { diff --git a/include/class/class_acc_balance.php b/include/class/acc_balance.class.php similarity index 99% rename from include/class/class_acc_balance.php rename to include/class/acc_balance.class.php index 446142fa8..684120606 100644 --- a/include/class/class_acc_balance.php +++ b/include/class/acc_balance.class.php @@ -23,7 +23,7 @@ /*! * \brief Class for manipulating data to print the balance of account */ -require_once NOALYSS_INCLUDE.'/class/class_acc_account.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account.class.php'; class Acc_Balance { @@ -406,7 +406,7 @@ class Acc_Balance } static function test_me () { - require 'class/class_user.php'; + require 'class/user.class.php'; global $g_user; $cn=Dossier::connect(); $g_user=new User($cn); diff --git a/include/class/class_acc_bilan.php b/include/class/acc_bilan.class.php similarity index 98% rename from include/class/class_acc_bilan.php rename to include/class/acc_bilan.class.php index bd8c0b387..e2b408b7a 100644 --- a/include/class/class_acc_bilan.php +++ b/include/class/acc_bilan.class.php @@ -23,12 +23,12 @@ * \brief this class handle the different bilan, from the table bilan * */ -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/lib/class_impress.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/lib/impress.class.php'; require_once NOALYSS_INCLUDE.'/header_print.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php'; /*! * \brief this class handle the different bilan, from the table bilan, parse the form and replace diff --git a/include/class/class_acc_compute.php b/include/class/acc_compute.class.php similarity index 100% rename from include/class/class_acc_compute.php rename to include/class/acc_compute.class.php diff --git a/include/class/class_acc_ledger.php b/include/class/acc_ledger.class.php similarity index 98% rename from include/class/class_acc_ledger.php rename to include/class/acc_ledger.class.php index 6c84ee1ee..6a0239919 100644 --- a/include/class/class_acc_ledger.php +++ b/include/class/acc_ledger.class.php @@ -17,33 +17,33 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // Copyright Author Dany De Bontridder danydb@aevalys.eu -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_icard.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ispan.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/lib/class_idate.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_icheckbox.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iperiod.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_operation.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_operation.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; -require_once NOALYSS_INCLUDE.'/class/class_pre_op_advanced.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_reconciliation.php'; -require_once NOALYSS_INCLUDE.'/class/class_periode.php'; -require_once NOALYSS_INCLUDE.'/class/class_gestion_purchase.php'; -require_once NOALYSS_INCLUDE.'/class/class_gestion_sold.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/icard.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ispan.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/lib/idate.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/icheckbox.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iperiod.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_operation.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_operation.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php'; +require_once NOALYSS_INCLUDE.'/class/pre_op_advanced.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_reconciliation.class.php'; +require_once NOALYSS_INCLUDE.'/class/periode.class.php'; +require_once NOALYSS_INCLUDE.'/class/gestion_purchase.class.php'; +require_once NOALYSS_INCLUDE.'/class/gestion_sold.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account.class.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/lib/class_inum.php'; -require_once NOALYSS_INCLUDE.'/class/class_lettering.php'; -require_once NOALYSS_INCLUDE.'/lib/class_sort_table.php'; -require_once NOALYSS_INCLUDE.'/database/class_jrn_def_sql.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_payment.php'; -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/inum.class.php'; +require_once NOALYSS_INCLUDE.'/class/lettering.class.php'; +require_once NOALYSS_INCLUDE.'/lib/sort_table.class.php'; +require_once NOALYSS_INCLUDE.'/database/jrn_def_sql.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_payment.class.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; /** \file * @brief Class for jrn, class acc_ledger for manipulating the ledger diff --git a/include/class/class_acc_ledger_fin.php b/include/class/acc_ledger_fin.class.php similarity index 98% rename from include/class/class_acc_ledger_fin.php rename to include/class/acc_ledger_fin.class.php index 5b1e6cd40..451edcf6e 100644 --- a/include/class/class_acc_ledger_fin.php +++ b/include/class/acc_ledger_fin.class.php @@ -24,17 +24,17 @@ * \brief the class Acc_Ledger_Fin inherits from Acc_Ledger, this * object permit to manage the financial ledger */ -require_once NOALYSS_INCLUDE.'/lib/class_idate.php'; -require_once NOALYSS_INCLUDE.'/lib/class_icard.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ispan.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iconcerned.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ifile.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; +require_once NOALYSS_INCLUDE.'/lib/idate.class.php'; +require_once NOALYSS_INCLUDE.'/lib/icard.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ispan.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iconcerned.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ifile.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_reconciliation.php'; +require_once NOALYSS_INCLUDE.'/class/acc_reconciliation.class.php'; class Acc_Ledger_Fin extends Acc_Ledger { diff --git a/include/class/class_acc_ledger_info.php b/include/class/acc_ledger_info.class.php similarity index 98% rename from include/class/class_acc_ledger_info.php rename to include/class/acc_ledger_info.class.php index 0e0542cd0..52cc71b1b 100644 --- a/include/class/class_acc_ledger_info.php +++ b/include/class/acc_ledger_info.class.php @@ -18,8 +18,8 @@ */ // Copyright Author Dany De Bontridder danydb@aevalys.eu -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; /*!\file diff --git a/include/class/class_acc_ledger_purchase.php b/include/class/acc_ledger_purchase.class.php similarity index 98% rename from include/class/class_acc_ledger_purchase.php rename to include/class/acc_ledger_purchase.class.php index d44563d4d..f031dd102 100644 --- a/include/class/class_acc_ledger_purchase.php +++ b/include/class/acc_ledger_purchase.class.php @@ -22,25 +22,25 @@ /*!\file * \brief class for the purchase, herits from acc_ledger */ -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_icard.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ispan.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iperiod.php'; -require_once NOALYSS_INCLUDE.'/lib/class_idate.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ifile.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_compute.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_operation.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/icard.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ispan.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iperiod.class.php'; +require_once NOALYSS_INCLUDE.'/lib/idate.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ifile.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_compute.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_operation.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_parm_code.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_payment.php'; +require_once NOALYSS_INCLUDE.'/class/acc_parm_code.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_payment.class.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itva_popup.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_info.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_fin.php'; -require_once NOALYSS_INCLUDE.'/class/class_stock_goods.php'; +require_once NOALYSS_INCLUDE.'/lib/itva_popup.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger_info.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger_fin.class.php'; +require_once NOALYSS_INCLUDE.'/class/stock_goods.class.php'; /*!\brief Handle the ledger of purchase, * diff --git a/include/class/class_acc_ledger_sold.php b/include/class/acc_ledger_sold.class.php similarity index 98% rename from include/class/class_acc_ledger_sold.php rename to include/class/acc_ledger_sold.class.php index c331abd13..b857c7063 100644 --- a/include/class/class_acc_ledger_sold.php +++ b/include/class/acc_ledger_sold.class.php @@ -24,24 +24,24 @@ * \file * \brief class for the sold, herits from acc_ledger */ -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_icard.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ispan.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/lib/class_idate.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ifile.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_compute.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_operation.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/icard.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ispan.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/lib/idate.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ifile.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_compute.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_operation.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_payment.php'; +require_once NOALYSS_INCLUDE.'/class/acc_payment.class.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_own.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itva_popup.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_fin.php'; -require_once NOALYSS_INCLUDE.'/class/class_stock_goods.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; +require_once NOALYSS_INCLUDE.'/class/own.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itva_popup.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger_fin.class.php'; +require_once NOALYSS_INCLUDE.'/class/stock_goods.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; /*! * \brief Handle the ledger of sold, diff --git a/include/class/class_acc_operation.php b/include/class/acc_operation.class.php similarity index 99% rename from include/class/class_acc_operation.php rename to include/class/acc_operation.class.php index c81423fcb..344f340f5 100644 --- a/include/class/class_acc_operation.php +++ b/include/class/acc_operation.class.php @@ -23,8 +23,8 @@ * \brief this file match the tables jrn & jrnx the purpose is to * remove or save accountant writing to these table. */ -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; /*! * \brief this file match the tables jrn & jrnx the purpose is to diff --git a/include/class/class_acc_parm_code.php b/include/class/acc_parm_code.class.php similarity index 97% rename from include/class/class_acc_parm_code.php rename to include/class/acc_parm_code.class.php index 6f4dd1e41..f140ef4f2 100644 --- a/include/class/class_acc_parm_code.php +++ b/include/class/acc_parm_code.class.php @@ -25,8 +25,8 @@ * \brief Manage the table parm_code which contains the custom parameter * for the module accountancy */ -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php'; class Acc_Parm_Code { diff --git a/include/class/class_acc_payment.php b/include/class/acc_payment.class.php similarity index 97% rename from include/class/class_acc_payment.php rename to include/class/acc_payment.class.php index 801c234c1..4c8498154 100644 --- a/include/class/class_acc_payment.php +++ b/include/class/acc_payment.class.php @@ -22,14 +22,14 @@ /*!\file * \brief Handle the table mod_payment */ -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_icard.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ispan.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/icard.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ispan.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche_def.class.php'; require_once NOALYSS_INCLUDE.'/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_http_input.php'; +require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; /*!\brief Handle the table mod_payment *\note the private data member are accessed via diff --git a/include/class/class_acc_reconciliation.php b/include/class/acc_reconciliation.class.php similarity index 98% rename from include/class/class_acc_reconciliation.php rename to include/class/acc_reconciliation.class.php index ba6abf494..ad5351a9a 100644 --- a/include/class/class_acc_reconciliation.php +++ b/include/class/acc_reconciliation.class.php @@ -24,10 +24,10 @@ * must use it * */ -require_once NOALYSS_INCLUDE.'/lib/class_iconcerned.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_lettering.php'; +require_once NOALYSS_INCLUDE.'/lib/iconcerned.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/lettering.class.php'; /*! \brief new class for managing the reconciliation it must be used * instead of the function InsertRapt, ... @@ -434,7 +434,7 @@ j1.j_poste as poste */ function export_csv($p_choice) { - require_once NOALYSS_INCLUDE.'/lib/class_noalyss_csv.php'; + require_once NOALYSS_INCLUDE.'/lib/noalyss_csv.class.php'; $export=new Noalyss_Csv(_('rapprochement')); $export->send_header(); diff --git a/include/class/class_acc_report.php b/include/class/acc_report.class.php similarity index 98% rename from include/class/class_acc_report.php rename to include/class/acc_report.class.php index b3f7dc76d..a4ada52c1 100644 --- a/include/class/class_acc_report.php +++ b/include/class/acc_report.class.php @@ -21,10 +21,10 @@ * \brief Create, view, modify and parse report */ -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ibutton.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_report_row.php'; -require_once NOALYSS_INCLUDE.'/lib/class_impress.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ibutton.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_report_row.class.php'; +require_once NOALYSS_INCLUDE.'/lib/impress.class.php'; /*! * \brief Class rapport Create, view, modify and parse report diff --git a/include/class/class_acc_report_row.php b/include/class/acc_report_row.class.php similarity index 100% rename from include/class/class_acc_report_row.php rename to include/class/acc_report_row.class.php diff --git a/include/class/class_acc_tva.php b/include/class/acc_tva.class.php similarity index 98% rename from include/class/class_acc_tva.php rename to include/class/acc_tva.class.php index 9eca8d6bd..ebbe095ac 100644 --- a/include/class/class_acc_tva.php +++ b/include/class/acc_tva.class.php @@ -22,8 +22,8 @@ /*!\file * \brief this class is used for the table tva_rate */ -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; /*!\brief Acc_Tva is used for to map the table tva_rate * parameter are diff --git a/include/class/class_admin.php b/include/class/admin.class.php similarity index 87% rename from include/class/class_admin.php rename to include/class/admin.class.php index 0aed0a2fb..f8fc8e20f 100644 --- a/include/class/class_admin.php +++ b/include/class/admin.class.php @@ -18,11 +18,11 @@ */ // Copyright Author Dany De Bontridder danydb@aevalys.eu require_once NOALYSS_INCLUDE.'/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_parm_code.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_parm_code.class.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; /*! \file * \brief Derived from class fiche Administration are a specific kind of card diff --git a/include/class/class_anc_acc_link.php b/include/class/anc_acc_link.class.php similarity index 96% rename from include/class/class_anc_acc_link.php rename to include/class/anc_acc_link.class.php index 7e490b16b..9bea5977b 100644 --- a/include/class/class_anc_acc_link.php +++ b/include/class/anc_acc_link.class.php @@ -22,7 +22,7 @@ /*!\file * \brief link between accountancy and analytic, like table but as a listing */ -require_once NOALYSS_INCLUDE.'/class/class_anc_print.php'; +require_once NOALYSS_INCLUDE.'/class/anc_print.class.php'; class Anc_Acc_Link extends Anc_Print { diff --git a/include/class/class_anc_acc_list.php b/include/class/anc_acc_list.class.php similarity index 99% rename from include/class/class_anc_acc_list.php rename to include/class/anc_acc_list.class.php index 25ca3f737..001066b9d 100644 --- a/include/class/class_anc_acc_list.php +++ b/include/class/anc_acc_list.class.php @@ -23,7 +23,7 @@ * \brief */ -require_once NOALYSS_INCLUDE.'/class/class_anc_acc_link.php'; +require_once NOALYSS_INCLUDE.'/class/anc_acc_link.class.php'; class Anc_Acc_List extends Anc_Acc_Link { diff --git a/include/class/class_anc_account.php b/include/class/anc_account.class.php similarity index 96% rename from include/class/class_anc_account.php rename to include/class/anc_account.class.php index 8a18c4605..7327f490e 100644 --- a/include/class/class_anc_account.php +++ b/include/class/anc_account.class.php @@ -26,12 +26,12 @@ /*!\brief contains the object for the poste_analytique (table poste_analytique) * */ -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ispan.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ispan.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php'; class Anc_Account { diff --git a/include/class/class_anc_balance_double.php b/include/class/anc_balance_double.class.php similarity index 98% rename from include/class/class_anc_balance_double.php rename to include/class/anc_balance_double.class.php index 6e1e2e30c..88985d07b 100644 --- a/include/class/class_anc_balance_double.php +++ b/include/class/anc_balance_double.class.php @@ -28,13 +28,13 @@ * Print the crossed balance between 2 plan * */ -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ibutton.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_print.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; -require_once NOALYSS_INCLUDE.'/lib/class_pdf.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ibutton.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_print.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php'; +require_once NOALYSS_INCLUDE.'/lib/pdf.class.php'; class Anc_Balance_Double extends Anc_Print { diff --git a/include/class/class_anc_balance_simple.php b/include/class/anc_balance_simple.class.php similarity index 97% rename from include/class/class_anc_balance_simple.php rename to include/class/anc_balance_simple.class.php index 10f826f5c..4766cc365 100644 --- a/include/class/class_anc_balance_simple.php +++ b/include/class/anc_balance_simple.class.php @@ -23,11 +23,11 @@ \brief manage the simple balance for CA, inherit from balance_ca */ -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_print.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_print.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/lib/class_pdf.php'; +require_once NOALYSS_INCLUDE.'/lib/pdf.class.php'; require_once NOALYSS_INCLUDE.'/header_print.php'; /*! \brief manage the simple balance for CA, inherit from balance_ca * diff --git a/include/class/class_anc_grandlivre.php b/include/class/anc_grandlivre.class.php similarity index 98% rename from include/class/class_anc_grandlivre.php rename to include/class/anc_grandlivre.class.php index ca4121454..8e6d813b5 100644 --- a/include/class/class_anc_grandlivre.php +++ b/include/class/anc_grandlivre.class.php @@ -22,8 +22,8 @@ /*!\file * \brief show the Grand Livre for analytic */ -require_once NOALYSS_INCLUDE.'/class/class_anc_print.php'; -require_once NOALYSS_INCLUDE.'/lib/class_impress.php'; +require_once NOALYSS_INCLUDE.'/class/anc_print.class.php'; +require_once NOALYSS_INCLUDE.'/lib/impress.class.php'; class Anc_GrandLivre extends Anc_Print { diff --git a/include/class/class_anc_group.php b/include/class/anc_group.class.php similarity index 97% rename from include/class/class_anc_group.php rename to include/class/anc_group.class.php index 026ca565a..fd4a1dda6 100644 --- a/include/class/class_anc_group.php +++ b/include/class/anc_group.class.php @@ -23,10 +23,10 @@ * \brief class for the group of the analytic account * */ -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; require_once NOALYSS_INCLUDE.'/constant.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_print.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_print.class.php'; /*! \brief class for the group of the analytic account * diff --git a/include/class/class_anc_group_operation.php b/include/class/anc_group_operation.class.php similarity index 94% rename from include/class/class_anc_group_operation.php rename to include/class/anc_group_operation.class.php index 6bd6de1df..4878cce7f 100644 --- a/include/class/class_anc_group_operation.php +++ b/include/class/anc_group_operation.class.php @@ -26,14 +26,14 @@ /*! \brief group of object operations, used for misc operation * */ -require_once NOALYSS_INCLUDE.'/lib/class_idate.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_icheckbox.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_operation.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/lib/idate.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/icheckbox.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_operation.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; class Anc_Group_Operation { diff --git a/include/class/class_anc_key.php b/include/class/anc_key.class.php similarity index 99% rename from include/class/class_anc_key.php rename to include/class/anc_key.class.php index 11cd37143..f553a53f2 100644 --- a/include/class/class_anc_key.php +++ b/include/class/anc_key.class.php @@ -25,7 +25,7 @@ * @brief Class to manage distribution keys for Analytic accountancy * */ -require_once NOALYSS_INCLUDE.'/database/class_anc_key_sql.php'; +require_once NOALYSS_INCLUDE.'/database/anc_key_sql.class.php'; class Anc_Key { diff --git a/include/class/class_anc_listing.php b/include/class/anc_listing.class.php similarity index 96% rename from include/class/class_anc_listing.php rename to include/class/anc_listing.class.php index 70437a2f4..ff2869b06 100644 --- a/include/class/class_anc_listing.php +++ b/include/class/anc_listing.class.php @@ -23,10 +23,10 @@ * \brief definition of Anc_Listing */ -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_print.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_operation.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_print.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_operation.class.php'; /*! * \brief manage the CA listing * diff --git a/include/class/class_anc_operation.php b/include/class/anc_operation.class.php similarity index 99% rename from include/class/class_anc_operation.php rename to include/class/anc_operation.class.php index 7d9dd627f..e1b06d293 100644 --- a/include/class/class_anc_operation.php +++ b/include/class/anc_operation.class.php @@ -22,11 +22,11 @@ /*!\file *\brief definition of Anc_Operation */ -require_once NOALYSS_INCLUDE.'/lib/class_ibutton.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; +require_once NOALYSS_INCLUDE.'/lib/ibutton.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; /*! \brief this class is used to show the form for entering an diff --git a/include/class/class_anc_plan.php b/include/class/anc_plan.class.php similarity index 96% rename from include/class/class_anc_plan.php rename to include/class/anc_plan.class.php index 291e05ec8..11d382ad3 100644 --- a/include/class/class_anc_plan.php +++ b/include/class/anc_plan.class.php @@ -26,12 +26,12 @@ /*! \brief * Concerns the Analytic plan (table plan_analytique) */ -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; require_once NOALYSS_INCLUDE.'/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_account.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_account.class.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; class Anc_Plan { diff --git a/include/class/class_anc_print.php b/include/class/anc_print.class.php similarity index 92% rename from include/class/class_anc_print.php rename to include/class/anc_print.class.php index c70953d25..bb14ba4a7 100644 --- a/include/class/class_anc_print.php +++ b/include/class/anc_print.class.php @@ -27,16 +27,16 @@ * * */ -require_once NOALYSS_INCLUDE.'/lib/class_idate.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ibutton.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/lib/idate.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ibutton.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; require_once NOALYSS_INCLUDE.'/constant.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; -require_once NOALYSS_INCLUDE.'/class/class_anc_plan.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ianccard.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; +require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ianccard.class.php'; class Anc_Print { var $db; /*!< $db database connection */ diff --git a/include/class/class_anc_table.php b/include/class/anc_table.class.php similarity index 99% rename from include/class/class_anc_table.php rename to include/class/anc_table.class.php index 735079fb9..3d216e528 100644 --- a/include/class/class_anc_table.php +++ b/include/class/anc_table.class.php @@ -22,7 +22,7 @@ /*!\file * \brief object to show a table: link between accountancy and analytic */ -require_once NOALYSS_INCLUDE.'/class/class_anc_acc_link.php'; +require_once NOALYSS_INCLUDE.'/class/anc_acc_link.class.php'; class Anc_Table extends Anc_Acc_Link { diff --git a/include/class/class_anticipation.php b/include/class/anticipation.class.php similarity index 97% rename from include/class/class_anticipation.php rename to include/class/anticipation.class.php index f4672ee37..711fda986 100644 --- a/include/class/class_anticipation.php +++ b/include/class/anticipation.class.php @@ -29,13 +29,13 @@ *@see Forecast Forecast_Cat Forecast_Item * */ -require_once NOALYSS_INCLUDE.'/class/class_forecast.php'; -require_once NOALYSS_INCLUDE.'/class/class_forecast_cat.php'; -require_once NOALYSS_INCLUDE.'/class/class_forecast_item.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; -require_once NOALYSS_INCLUDE.'/class/class_periode.php'; -require_once NOALYSS_INCLUDE.'/lib/class_impress.php'; +require_once NOALYSS_INCLUDE.'/class/forecast.class.php'; +require_once NOALYSS_INCLUDE.'/class/forecast_cat.class.php'; +require_once NOALYSS_INCLUDE.'/class/forecast_item.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php'; +require_once NOALYSS_INCLUDE.'/class/periode.class.php'; +require_once NOALYSS_INCLUDE.'/lib/impress.class.php'; class Anticipation { diff --git a/include/class/class_balance_age.php b/include/class/balance_age.class.php similarity index 98% rename from include/class/class_balance_age.php rename to include/class/balance_age.class.php index 60f355183..1ff239398 100644 --- a/include/class/class_balance_age.php +++ b/include/class/balance_age.class.php @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -require_once NOALYSS_INCLUDE.'/class/class_lettering.php'; +require_once NOALYSS_INCLUDE.'/class/lettering.class.php'; /* * * * @file @@ -138,7 +138,7 @@ class Balance_Age */ function export_csv($p_date_start, $p_let) { - require_once NOALYSS_INCLUDE.'/lib/class_noalyss_csv.php'; + require_once NOALYSS_INCLUDE.'/lib/noalyss_csv.class.php'; bcscale(2); $export=new Noalyss_Csv('aged_balance'); $header = array(_('QuickCode') , diff --git a/include/class/class_bank.php b/include/class/bank.class.php similarity index 87% rename from include/class/class_bank.php rename to include/class/bank.class.php index 8e90ab011..731b40466 100644 --- a/include/class/class_bank.php +++ b/include/class/bank.class.php @@ -18,11 +18,11 @@ */ // Copyright Author Dany De Bontridder danydb@aevalys.eu require_once NOALYSS_INCLUDE.'/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_parm_code.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_parm_code.class.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; /*! \file * \brief Derived from class fiche Administration are a specific kind of card diff --git a/include/class/class_calendar.php b/include/class/calendar.class.php similarity index 100% rename from include/class/class_calendar.php rename to include/class/calendar.class.php diff --git a/include/class/class_contact.php b/include/class/contact.class.php similarity index 98% rename from include/class/class_contact.php rename to include/class/contact.class.php index 585c9ec04..389074c6b 100644 --- a/include/class/class_contact.php +++ b/include/class/contact.class.php @@ -18,7 +18,7 @@ */ // Copyright Author Dany De Bontridder danydb@aevalys.eu //!\brief class for the contact, contact are derived from fiche -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; require_once NOALYSS_INCLUDE.'/constant.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; /*! \file diff --git a/include/class/class_customer.php b/include/class/customer.class.php similarity index 95% rename from include/class/class_customer.php rename to include/class/customer.class.php index 1c9a49e0e..4a7d10f15 100644 --- a/include/class/class_customer.php +++ b/include/class/customer.class.php @@ -18,11 +18,11 @@ */ // Copyright Author Dany De Bontridder danydb@aevalys.eu require_once NOALYSS_INCLUDE.'/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_parm_code.php'; -require_once NOALYSS_INCLUDE.'/class/class_periode.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_parm_code.class.php'; +require_once NOALYSS_INCLUDE.'/class/periode.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; /*! \file * \brief Derived from class fiche Customer are a specific kind of card diff --git a/include/class/class_default_menu.php b/include/class/default_menu.class.php similarity index 97% rename from include/class/class_default_menu.php rename to include/class/default_menu.class.php index 64d474671..acb85207f 100644 --- a/include/class/class_default_menu.php +++ b/include/class/default_menu.class.php @@ -23,8 +23,8 @@ * * @author dany */ -require_once NOALYSS_INCLUDE.'/database/class_default_menu_sql.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; +require_once NOALYSS_INCLUDE.'/database/default_menu_sql.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; class Default_Menu { diff --git a/include/class/class_document.php b/include/class/document.class.php similarity index 99% rename from include/class/class_document.php rename to include/class/document.class.php index 55c025e28..54f6103ae 100644 --- a/include/class/class_document.php +++ b/include/class/document.class.php @@ -17,12 +17,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // Copyright Author Dany De Bontridder danydb@aevalys.eu -require_once NOALYSS_INCLUDE.'/class/class_own.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; -require_once NOALYSS_INCLUDE.'/class/class_follow_up.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_tva.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; -require_once NOALYSS_INCLUDE.'/lib/class_zip_extended.php'; +require_once NOALYSS_INCLUDE.'/class/own.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php'; +require_once NOALYSS_INCLUDE.'/class/follow_up.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_tva.class.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; +require_once NOALYSS_INCLUDE.'/lib/zip_extended.class.php'; /*! \file * \brief Class Document corresponds to the table document diff --git a/include/class/class_document_export.php b/include/class/document_export.class.php similarity index 99% rename from include/class/class_document_export.php rename to include/class/document_export.class.php index fc20d52c6..e0a96f35e 100644 --- a/include/class/class_document_export.php +++ b/include/class/document_export.class.php @@ -18,7 +18,7 @@ */ // Copyright Author Dany De Bontridder danydb@aevalys.eu -require_once NOALYSS_INCLUDE.'/class/class_pdf_operation.php'; +require_once NOALYSS_INCLUDE.'/class/pdf_operation.class.php'; /** * @brief Export DOCUMENT from Analytic accountancy, can transform into PDF * and add a stamp on each pages diff --git a/include/class/class_document_modele.php b/include/class/document_modele.class.php similarity index 98% rename from include/class/class_document_modele.php rename to include/class/document_modele.class.php index 8a9ba50c6..ad3fc9f11 100644 --- a/include/class/class_document_modele.php +++ b/include/class/document_modele.class.php @@ -23,9 +23,9 @@ /*! * \brief Class for the document template */ -require_once NOALYSS_INCLUDE.'/lib/class_icheckbox.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ifile.php'; +require_once NOALYSS_INCLUDE.'/lib/icheckbox.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ifile.class.php'; class Document_modele { var $cn; /*!< $cn database connection */ diff --git a/include/class/class_document_type.php b/include/class/document_type.class.php similarity index 100% rename from include/class/class_document_type.php rename to include/class/document_type.class.php diff --git a/include/class/class_dossier.php b/include/class/dossier.class.php similarity index 98% rename from include/class/class_dossier.php rename to include/class/dossier.class.php index 68f9e1749..957beb200 100644 --- a/include/class/class_dossier.php +++ b/include/class/dossier.class.php @@ -34,9 +34,9 @@ "desc"=>"dos_description"); * */ -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_user.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; class Dossier { diff --git a/include/class/class_exercice.php b/include/class/exercice.class.php similarity index 95% rename from include/class/class_exercice.php rename to include/class/exercice.class.php index 702aef931..991eea460 100644 --- a/include/class/class_exercice.php +++ b/include/class/exercice.class.php @@ -22,8 +22,8 @@ /*!\file * \brief about the accountant exercice */ -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; class Exercice { function __construct(&$cn) diff --git a/include/class/class_extension.php b/include/class/extension.class.php similarity index 97% rename from include/class/class_extension.php rename to include/class/extension.class.php index 6e8168c8f..781318938 100644 --- a/include/class/class_extension.php +++ b/include/class/extension.class.php @@ -35,10 +35,10 @@ * - enable (extension.ex_enable) * - filepath (extension.ex_file) */ -require_once NOALYSS_INCLUDE.'/database/class_menu_ref_sql.php'; -require_once NOALYSS_INCLUDE.'/database/class_profile_sql.php'; -require_once NOALYSS_INCLUDE.'/class/class_menu_ref.php'; -require_once NOALYSS_INCLUDE.'/class/class_profile_menu.php'; +require_once NOALYSS_INCLUDE.'/database/menu_ref_sql.class.php'; +require_once NOALYSS_INCLUDE.'/database/profile_sql.class.php'; +require_once NOALYSS_INCLUDE.'/class/menu_ref.class.php'; +require_once NOALYSS_INCLUDE.'/class/profile_menu.class.php'; class Extension extends Menu_Ref_sql { diff --git a/include/class/class_fiche.php b/include/class/fiche.class.php similarity index 99% rename from include/class/class_fiche.php rename to include/class/fiche.class.php index 820f9b567..385d93fbc 100644 --- a/include/class/class_fiche.php +++ b/include/class/fiche.class.php @@ -20,13 +20,13 @@ // Copyright Author Dany De Bontridder danydb@aevalys.eu -include_once("class/class_fiche_attr.php"); -require_once NOALYSS_INCLUDE.'/lib/class_ispan.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itva_popup.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iposte.php'; +include_once("class/fiche_attr.class.php"); +require_once NOALYSS_INCLUDE.'/lib/ispan.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itva_popup.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche_def.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iposte.class.php'; /*! \file * \brief define Class fiche, this class are using diff --git a/include/class/class_fiche_attr.php b/include/class/fiche_attr.class.php similarity index 99% rename from include/class/class_fiche_attr.php rename to include/class/fiche_attr.class.php index 1e7a140f5..eea1ed8b3 100644 --- a/include/class/class_fiche_attr.php +++ b/include/class/fiche_attr.class.php @@ -6,7 +6,7 @@ * * */ -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; class Fiche_Attr diff --git a/include/class/class_fiche_def.php b/include/class/fiche_def.class.php similarity index 99% rename from include/class/class_fiche_def.php rename to include/class/fiche_def.class.php index 417b083d5..6bfb60b26 100644 --- a/include/class/class_fiche_def.php +++ b/include/class/fiche_def.class.php @@ -17,12 +17,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // Copyright Author Dany De Bontridder danydb@aevalys.eu -require_once NOALYSS_INCLUDE.'/class/class_fiche_attr.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche_def_ref.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; +require_once NOALYSS_INCLUDE.'/class/fiche_attr.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche_def_ref.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iradio.php'; +require_once NOALYSS_INCLUDE.'/lib/iradio.class.php'; /*! \file * \brief define Class fiche and fiche def, those class are using diff --git a/include/class/class_fiche_def_ref.php b/include/class/fiche_def_ref.class.php similarity index 100% rename from include/class/class_fiche_def_ref.php rename to include/class/fiche_def_ref.class.php diff --git a/include/class/class_follow_up.php b/include/class/follow_up.class.php similarity index 98% rename from include/class/class_follow_up.php rename to include/class/follow_up.class.php index a021513ce..a554f31e0 100644 --- a/include/class/class_follow_up.php +++ b/include/class/follow_up.class.php @@ -18,26 +18,26 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // Copyright Author Dany De Bontridder danydb@aevalys.eu -require_once NOALYSS_INCLUDE.'/lib/class_itextarea.php'; -require_once NOALYSS_INCLUDE.'/lib/class_idate.php'; -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/lib/class_itext.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ispan.php'; -require_once NOALYSS_INCLUDE.'/lib/class_icard.php'; -require_once NOALYSS_INCLUDE.'/lib/class_icheckbox.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ifile.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/class/class_document.php'; -require_once NOALYSS_INCLUDE.'/class/class_document_type.php'; -require_once NOALYSS_INCLUDE.'/class/class_document_modele.php'; +require_once NOALYSS_INCLUDE.'/lib/itextarea.class.php'; +require_once NOALYSS_INCLUDE.'/lib/idate.class.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/lib/itext.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ispan.class.php'; +require_once NOALYSS_INCLUDE.'/lib/icard.class.php'; +require_once NOALYSS_INCLUDE.'/lib/icheckbox.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ifile.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/class/document.class.php'; +require_once NOALYSS_INCLUDE.'/class/document_type.class.php'; +require_once NOALYSS_INCLUDE.'/class/document_modele.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_follow_up_detail.php'; -require_once NOALYSS_INCLUDE.'/lib/class_inum.php'; -require_once NOALYSS_INCLUDE.'/lib/class_sort_table.php'; -require_once NOALYSS_INCLUDE.'/lib/class_irelated_action.php'; -require_once NOALYSS_INCLUDE.'/class/class_tag.php'; -require_once NOALYSS_INCLUDE.'/class/class_default_menu.php'; +require_once NOALYSS_INCLUDE.'/class/follow_up_detail.class.php'; +require_once NOALYSS_INCLUDE.'/lib/inum.class.php'; +require_once NOALYSS_INCLUDE.'/lib/sort_table.class.php'; +require_once NOALYSS_INCLUDE.'/lib/irelated_action.class.php'; +require_once NOALYSS_INCLUDE.'/class/tag.class.php'; +require_once NOALYSS_INCLUDE.'/class/default_menu.class.php'; /** * \file * \brief class_action for manipulating actions diff --git a/include/class/class_follow_up_detail.php b/include/class/follow_up_detail.class.php similarity index 98% rename from include/class/class_follow_up_detail.php rename to include/class/follow_up_detail.class.php index 89f7e1da7..e779bc750 100644 --- a/include/class/class_follow_up_detail.php +++ b/include/class/follow_up_detail.class.php @@ -16,8 +16,8 @@ * along with NOALYSS; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; // Copyright Author Dany De Bontridder danydb@aevalys.eu /*!\file diff --git a/include/class/class_forecast.php b/include/class/forecast.class.php similarity index 100% rename from include/class/class_forecast.php rename to include/class/forecast.class.php diff --git a/include/class/class_forecast_cat.php b/include/class/forecast_cat.class.php similarity index 100% rename from include/class/class_forecast_cat.php rename to include/class/forecast_cat.class.php diff --git a/include/class/class_forecast_item.php b/include/class/forecast_item.class.php similarity index 100% rename from include/class/class_forecast_item.php rename to include/class/forecast_item.class.php diff --git a/include/class/class_gestion_purchase.php b/include/class/gestion_purchase.class.php similarity index 98% rename from include/class/class_gestion_purchase.php rename to include/class/gestion_purchase.class.php index b738bb325..f678738c4 100644 --- a/include/class/class_gestion_purchase.php +++ b/include/class/gestion_purchase.class.php @@ -26,7 +26,7 @@ /*! \brief this object handles the table quant_purchase * */ -require_once NOALYSS_INCLUDE.'/class/class_gestion_table.php'; +require_once NOALYSS_INCLUDE.'/class/gestion_table.class.php'; class gestion_purchase extends gestion_table diff --git a/include/class/class_gestion_sold.php b/include/class/gestion_sold.class.php similarity index 98% rename from include/class/class_gestion_sold.php rename to include/class/gestion_sold.class.php index a047ab6cd..c13492b08 100644 --- a/include/class/class_gestion_sold.php +++ b/include/class/gestion_sold.class.php @@ -27,7 +27,7 @@ * */ -require_once NOALYSS_INCLUDE.'/class/class_gestion_table.php'; +require_once NOALYSS_INCLUDE.'/class/gestion_table.class.php'; class gestion_sold extends gestion_table diff --git a/include/class/class_gestion_table.php b/include/class/gestion_table.class.php similarity index 100% rename from include/class/class_gestion_table.php rename to include/class/gestion_table.class.php diff --git a/include/class/class_lettering.php b/include/class/lettering.class.php similarity index 99% rename from include/class/class_lettering.php rename to include/class/lettering.class.php index 8821bdfb3..daac89d0a 100644 --- a/include/class/class_lettering.php +++ b/include/class/lettering.class.php @@ -22,7 +22,7 @@ /*!\file * \brief letter the accounting entry (row level) */ -require_once NOALYSS_INCLUDE.'/class/class_user.php'; +require_once NOALYSS_INCLUDE.'/class/user.class.php'; /** *@brief mother class for the lettering by account and by card diff --git a/include/class/class_manager.php b/include/class/manager.class.php similarity index 85% rename from include/class/class_manager.php rename to include/class/manager.class.php index 76a06864c..a770dfe88 100644 --- a/include/class/class_manager.php +++ b/include/class/manager.class.php @@ -19,11 +19,11 @@ // Copyright Author Dany De Bontridder danydb@aevalys.eu require_once NOALYSS_INCLUDE.'/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_parm_code.php'; -require_once NOALYSS_INCLUDE.'/class/class_periode.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_parm_code.class.php'; +require_once NOALYSS_INCLUDE.'/class/periode.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; /*! \file * \brief Derived from class fiche Supplier are a specific kind of card diff --git a/include/class/class_menu_ref.php b/include/class/menu_ref.class.php similarity index 96% rename from include/class/class_menu_ref.php rename to include/class/menu_ref.class.php index d18a23216..7677bf3cb 100644 --- a/include/class/class_menu_ref.php +++ b/include/class/menu_ref.class.php @@ -21,7 +21,7 @@ *@file *@brief Menu_Ref let you manage the available menu */ -require_once NOALYSS_INCLUDE.'/database/class_menu_ref_sql.php'; +require_once NOALYSS_INCLUDE.'/database/menu_ref_sql.class.php'; class Menu_Ref extends Menu_Ref_sql { function format_code() diff --git a/include/class/class_own.php b/include/class/own.class.php similarity index 100% rename from include/class/class_own.php rename to include/class/own.class.php diff --git a/include/class/class_pdf_operation.php b/include/class/pdf_operation.class.php similarity index 98% rename from include/class/class_pdf_operation.php rename to include/class/pdf_operation.class.php index d0975c157..19dc67d39 100644 --- a/include/class/class_pdf_operation.php +++ b/include/class/pdf_operation.class.php @@ -25,11 +25,11 @@ * Detail Operation ACC + ANC , it will use Acc_Operation and Anc_Operation * */ -require_once NOALYSS_INCLUDE . '/lib/class_pdf.php'; -require_once NOALYSS_INCLUDE . '/class/class_acc_operation.php'; -require_once NOALYSS_INCLUDE . '/class/class_acc_ledger.php'; -require_once NOALYSS_INCLUDE . '/class/class_acc_operation.php'; -require_once NOALYSS_INCLUDE . '/class/class_anc_operation.php'; +require_once NOALYSS_INCLUDE . '/lib/pdf.class.php'; +require_once NOALYSS_INCLUDE . '/class/acc_operation.class.php'; +require_once NOALYSS_INCLUDE . '/class/acc_ledger.class.php'; +require_once NOALYSS_INCLUDE . '/class/acc_operation.class.php'; +require_once NOALYSS_INCLUDE . '/class/anc_operation.class.php'; class PDF_Operation extends PDF { diff --git a/include/class/class_periode.php b/include/class/periode.class.php similarity index 99% rename from include/class/class_periode.php rename to include/class/periode.class.php index c19c7e7b9..92315bb5d 100644 --- a/include/class/class_periode.php +++ b/include/class/periode.class.php @@ -26,7 +26,7 @@ * \brief For the periode tables parm_periode and jrn_periode */ require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; class Periode { var $cn; /*!< database connection */ diff --git a/include/class/class_pre_op_ach.php b/include/class/pre_op_ach.class.php similarity index 99% rename from include/class/class_pre_op_ach.php rename to include/class/pre_op_ach.class.php index a8f69f0fd..5a5544a5d 100644 --- a/include/class/class_pre_op_ach.php +++ b/include/class/pre_op_ach.class.php @@ -22,7 +22,7 @@ /*!\file * \brief definition of the class pre_op_ach */ -require_once NOALYSS_INCLUDE.'/class/class_pre_operation.php'; +require_once NOALYSS_INCLUDE.'/class/pre_operation.class.php'; /*---------------------------------------------------------------------- */ /*!\brief concerns the predefined operation for ACH ledger @@ -162,7 +162,7 @@ class Pre_op_ach extends Pre_operation_detail } function display($p_array) { - require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_purchase.php'; + require_once NOALYSS_INCLUDE.'/class/acc_ledger_purchase.class.php'; global $g_parameter,$g_user; extract($p_array, EXTR_SKIP); $ledger=new Acc_Ledger_Purchase($this->db,$this->jrn_def_id); diff --git a/include/class/class_pre_op_advanced.php b/include/class/pre_op_advanced.class.php similarity index 98% rename from include/class/class_pre_op_advanced.php rename to include/class/pre_op_advanced.class.php index 17c25eca8..f8d6efcec 100644 --- a/include/class/class_pre_op_advanced.php +++ b/include/class/pre_op_advanced.class.php @@ -22,7 +22,7 @@ /*!\file * \brief definition of the class Pre_Op_Advanced */ -require_once NOALYSS_INCLUDE.'/class/class_pre_operation.php'; +require_once NOALYSS_INCLUDE.'/class/pre_operation.class.php'; /*---------------------------------------------------------------------- */ /*!\brief concerns the predefined operation for the operation from 'Ecriture direct' @@ -157,7 +157,7 @@ class Pre_Op_Advanced extends Pre_operation_detail function display($p_array) { global $g_parameter, $g_user; - require_once NOALYSS_INCLUDE.'/class/class_acc_ledger.php'; + require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php'; $legder=new Acc_Ledger($this->db,$this->jrn_def_id); $legder->nb=$legder->get_min_row(); diff --git a/include/class/class_pre_op_fin.php b/include/class/pre_op_fin.class.php similarity index 98% rename from include/class/class_pre_op_fin.php rename to include/class/pre_op_fin.class.php index 9316f8727..3523d427d 100644 --- a/include/class/class_pre_op_fin.php +++ b/include/class/pre_op_fin.class.php @@ -22,7 +22,7 @@ /*!\file * \brief definition of the class Pre_op_fin */ -require_once NOALYSS_INCLUDE.'/class/class_pre_operation.php'; +require_once NOALYSS_INCLUDE.'/class/pre_operation.class.php'; /*---------------------------------------------------------------------- */ /*!\brief concerns the predefined operation for FIN ledger diff --git a/include/class/class_pre_op_ods.php b/include/class/pre_op_ods.class.php similarity index 98% rename from include/class/class_pre_op_ods.php rename to include/class/pre_op_ods.class.php index fa1bbec24..d886768aa 100644 --- a/include/class/class_pre_op_ods.php +++ b/include/class/pre_op_ods.class.php @@ -22,7 +22,7 @@ /*!\file * \brief definition of the class Pre_op_ods */ -require_once NOALYSS_INCLUDE.'/class/class_pre_operation.php'; +require_once NOALYSS_INCLUDE.'/class/pre_operation.class.php'; /*---------------------------------------------------------------------- */ /*!\brief concerns the predefined operation for ODS ledger diff --git a/include/class/class_pre_op_ven.php b/include/class/pre_op_ven.class.php similarity index 99% rename from include/class/class_pre_op_ven.php rename to include/class/pre_op_ven.class.php index 29a83a41c..3a81daed2 100644 --- a/include/class/class_pre_op_ven.php +++ b/include/class/pre_op_ven.class.php @@ -22,7 +22,7 @@ /*!\file * \brief definition of the class Pre_op_ven */ -require_once NOALYSS_INCLUDE.'/class/class_pre_operation.php'; +require_once NOALYSS_INCLUDE.'/class/pre_operation.class.php'; /*---------------------------------------------------------------------- */ /*!\brief concerns the predefined operation for VEN ledger @@ -168,7 +168,7 @@ class Pre_op_ven extends Pre_operation_detail { global $g_parameter,$g_user; if ( $p_array != null ) extract($p_array, EXTR_SKIP); - require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_sold.php'; + require_once NOALYSS_INCLUDE.'/class/acc_ledger_sold.class.php'; $ledger=new Acc_Ledger_Sold($this->db,$this->jrn_def_id); $flag_tva=$g_parameter->MY_TVA_USE; diff --git a/include/class/class_pre_operation.php b/include/class/pre_operation.class.php similarity index 97% rename from include/class/class_pre_operation.php rename to include/class/pre_operation.class.php index f3e7ad750..637ff22d7 100644 --- a/include/class/class_pre_operation.php +++ b/include/class/pre_operation.class.php @@ -27,11 +27,11 @@ * and op_def_detail * */ -require_once NOALYSS_INCLUDE.'/lib/class_iselect.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ihidden.php'; -require_once NOALYSS_INCLUDE.'/class/class_pre_op_ach.php'; -require_once NOALYSS_INCLUDE.'/class/class_pre_op_ven.php'; -require_once NOALYSS_INCLUDE.'/class/class_pre_op_advanced.php'; +require_once NOALYSS_INCLUDE.'/lib/iselect.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php'; +require_once NOALYSS_INCLUDE.'/class/pre_op_ach.class.php'; +require_once NOALYSS_INCLUDE.'/class/pre_op_ven.class.php'; +require_once NOALYSS_INCLUDE.'/class/pre_op_advanced.class.php'; class Pre_operation { var $db; /*!< $db database connection */ diff --git a/include/class/class_print_ledger.php b/include/class/print_ledger.class.php similarity index 91% rename from include/class/class_print_ledger.php rename to include/class/print_ledger.class.php index 90403eda1..08372ea48 100644 --- a/include/class/class_print_ledger.php +++ b/include/class/print_ledger.class.php @@ -23,13 +23,13 @@ * * @author danydb */ -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_print_ledger_detail.php'; -require_once NOALYSS_INCLUDE.'/class/class_print_ledger_simple.php'; -require_once NOALYSS_INCLUDE.'/class/class_print_ledger_simple_without_vat.php'; -require_once NOALYSS_INCLUDE.'/class/class_print_ledger_fin.php'; -require_once NOALYSS_INCLUDE.'/class/class_print_ledger_misc.php'; -require_once NOALYSS_INCLUDE.'/class/class_print_ledger_detail_item.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/print_ledger_detail.class.php'; +require_once NOALYSS_INCLUDE.'/class/print_ledger_simple.class.php'; +require_once NOALYSS_INCLUDE.'/class/print_ledger_simple_without_vat.class.php'; +require_once NOALYSS_INCLUDE.'/class/print_ledger_fin.class.php'; +require_once NOALYSS_INCLUDE.'/class/print_ledger_misc.class.php'; +require_once NOALYSS_INCLUDE.'/class/print_ledger_detail_item.class.php'; /** * @brief Strategie class for the print_ledger class diff --git a/include/class/class_print_ledger_detail.php b/include/class/print_ledger_detail.class.php similarity index 99% rename from include/class/class_print_ledger_detail.php rename to include/class/print_ledger_detail.class.php index 0ccebb99b..d8c458cd4 100644 --- a/include/class/class_print_ledger_detail.php +++ b/include/class/print_ledger_detail.class.php @@ -23,7 +23,7 @@ * \brief this class extends PDF and let you export the detailled printing * of any ledgers */ -require_once NOALYSS_INCLUDE.'/lib/class_pdf.php'; +require_once NOALYSS_INCLUDE.'/lib/pdf.class.php'; class Print_Ledger_Detail extends PDF { diff --git a/include/class/class_print_ledger_detail_item.php b/include/class/print_ledger_detail_item.class.php similarity index 98% rename from include/class/class_print_ledger_detail_item.php rename to include/class/print_ledger_detail_item.class.php index 6904037ba..68387c01d 100644 --- a/include/class/class_print_ledger_detail_item.php +++ b/include/class/print_ledger_detail_item.class.php @@ -23,8 +23,8 @@ * * @author danydb */ -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_sold.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_purchase.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger_sold.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger_purchase.class.php'; class Print_Ledger_Detail_Item extends PDFLand { public function __construct (Database $p_cn,Acc_Ledger $p_jrn) diff --git a/include/class/class_print_ledger_fin.php b/include/class/print_ledger_fin.class.php similarity index 98% rename from include/class/class_print_ledger_fin.php rename to include/class/print_ledger_fin.class.php index e1d9519f5..bfa141c81 100644 --- a/include/class/class_print_ledger_fin.php +++ b/include/class/print_ledger_fin.class.php @@ -22,7 +22,7 @@ /*!\file * \brief print a listing of financial */ -require_once NOALYSS_INCLUDE.'/lib/class_pdf.php'; +require_once NOALYSS_INCLUDE.'/lib/pdf.class.php'; class Print_Ledger_Financial extends PDF { private $rap_amount; /* amount from begining exercice */ diff --git a/include/class/class_print_ledger_misc.php b/include/class/print_ledger_misc.class.php similarity index 98% rename from include/class/class_print_ledger_misc.php rename to include/class/print_ledger_misc.class.php index ec0b78ded..8534f8be7 100644 --- a/include/class/class_print_ledger_misc.php +++ b/include/class/print_ledger_misc.class.php @@ -22,7 +22,7 @@ /*!\file * \brief print a listing of financial */ -require_once NOALYSS_INCLUDE.'/lib/class_pdf.php'; +require_once NOALYSS_INCLUDE.'/lib/pdf.class.php'; class Print_Ledger_Misc extends PDF { function __construct($p_cn,$p_jrn) diff --git a/include/class/class_print_ledger_simple.php b/include/class/print_ledger_simple.class.php similarity index 99% rename from include/class/class_print_ledger_simple.php rename to include/class/print_ledger_simple.class.php index 167765187..f40b69d2b 100644 --- a/include/class/class_print_ledger_simple.php +++ b/include/class/print_ledger_simple.class.php @@ -23,7 +23,7 @@ * \brief this class extends PDF and let you export the detailled printing * of any ledgers */ -require_once NOALYSS_INCLUDE.'/lib/class_pdf.php'; +require_once NOALYSS_INCLUDE.'/lib/pdf.class.php'; class Print_Ledger_Simple extends PDF { diff --git a/include/class/class_print_ledger_simple_without_vat.php b/include/class/print_ledger_simple_without_vat.class.php similarity index 99% rename from include/class/class_print_ledger_simple_without_vat.php rename to include/class/print_ledger_simple_without_vat.class.php index 6988ff10c..ec77e2381 100644 --- a/include/class/class_print_ledger_simple_without_vat.php +++ b/include/class/print_ledger_simple_without_vat.class.php @@ -23,7 +23,7 @@ * \brief this class extends PDF and let you export the detailled printing * of any ledgers */ -require_once NOALYSS_INCLUDE.'/lib/class_pdf.php'; +require_once NOALYSS_INCLUDE.'/lib/pdf.class.php'; class Print_Ledger_Simple_Without_Vat extends PDF { diff --git a/include/class/class_profile_menu.php b/include/class/profile_menu.class.php similarity index 99% rename from include/class/class_profile_menu.php rename to include/class/profile_menu.class.php index a56d630aa..9be00591f 100644 --- a/include/class/class_profile_menu.php +++ b/include/class/profile_menu.class.php @@ -18,7 +18,7 @@ */ // Copyright Author Dany De Bontridder danydb@aevalys.eu -require_once NOALYSS_INCLUDE.'/database/class_profile_menu_sql.php'; +require_once NOALYSS_INCLUDE.'/database/profile_menu_sql.class.php'; /** * Manage the menu of a profile diff --git a/include/class/class_stock.php b/include/class/stock.class.php similarity index 99% rename from include/class/class_stock.php rename to include/class/stock.class.php index 4a0606c94..dcd58ad16 100644 --- a/include/class/class_stock.php +++ b/include/class/stock.class.php @@ -26,7 +26,7 @@ * * */ -require_once NOALYSS_INCLUDE.'/database/class_stock_sql.php'; +require_once NOALYSS_INCLUDE.'/database/stock_sql.class.php'; class Stock extends Stock_Sql { @@ -39,7 +39,7 @@ class Stock extends Stock_Sql { $sql = $this->create_query_histo($p_array); - require_once NOALYSS_INCLUDE.'/lib/class_sort_table.php'; + require_once NOALYSS_INCLUDE.'/lib/sort_table.class.php'; $p_url = HtmlInput::get_to_string(array("gDossier", "ac", "wcard", "wdate_start", "wdate_end", "wrepo", "wamount_start", "wamount_end", "wcode_stock", "wdirection")); diff --git a/include/class/class_stock_goods.php b/include/class/stock_goods.class.php similarity index 99% rename from include/class/class_stock_goods.php rename to include/class/stock_goods.class.php index 379480a66..b2c22283d 100644 --- a/include/class/class_stock_goods.php +++ b/include/class/stock_goods.class.php @@ -25,7 +25,7 @@ * @brief Manage the goods * */ -require_once NOALYSS_INCLUDE.'/database/class_stock_goods_sql.php'; +require_once NOALYSS_INCLUDE.'/database/stock_goods_sql.class.php'; class Stock_Goods extends Stock_Goods_Sql { diff --git a/include/class/class_supplier.php b/include/class/supplier.class.php similarity index 88% rename from include/class/class_supplier.php rename to include/class/supplier.class.php index 4f008ee67..51fc47182 100644 --- a/include/class/class_supplier.php +++ b/include/class/supplier.class.php @@ -18,11 +18,11 @@ */ // Copyright Author Dany De Bontridder danydb@aevalys.eu require_once NOALYSS_INCLUDE.'/constant.php'; -require_once NOALYSS_INCLUDE.'/lib/class_database.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_parm_code.php'; -require_once NOALYSS_INCLUDE.'/class/class_periode.php'; -require_once NOALYSS_INCLUDE.'/class/class_fiche.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_account_ledger.php'; +require_once NOALYSS_INCLUDE.'/lib/database.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_parm_code.class.php'; +require_once NOALYSS_INCLUDE.'/class/periode.class.php'; +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; /*! \file * \brief Derived from class fiche Supplier are a specific kind of card diff --git a/include/class/class_tag.php b/include/class/tag.class.php similarity index 98% rename from include/class/class_tag.php rename to include/class/tag.class.php index 75b0d8720..afd19e57c 100644 --- a/include/class/class_tag.php +++ b/include/class/tag.class.php @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ // Copyright Author Dany De Bontridder danydb@aevalys.eu -require_once NOALYSS_INCLUDE.'/database/class_tag_sql.php'; +require_once NOALYSS_INCLUDE.'/database/tag_sql.class.php'; class Tag { diff --git a/include/class/class_todo_list.php b/include/class/todo_list.class.php similarity index 100% rename from include/class/class_todo_list.php rename to include/class/todo_list.class.php diff --git a/include/class/class_user.php b/include/class/user.class.php similarity index 99% rename from include/class/class_user.php rename to include/class/user.class.php index 4a0aa3133..ed730f74b 100644 --- a/include/class/class_user.php +++ b/include/class/user.class.php @@ -30,7 +30,7 @@ require_once NOALYSS_INCLUDE.'/constant.php'; require_once NOALYSS_INCLUDE.'/lib/user_common.php'; -require_once NOALYSS_INCLUDE.'/class/class_dossier.php'; +require_once NOALYSS_INCLUDE.'/class/dossier.class.php'; require_once NOALYSS_INCLUDE.'/lib/ac_common.php'; class User @@ -1041,7 +1041,7 @@ class User $Res = $cn->exec_sql("select distinct dos_id,dos_name,dos_description from ac_dossier where dos_name ~* $1 or dos_description ~* $1 order by dos_name", array($p_filter)); } - require_once NOALYSS_INCLUDE.'/lib/class_database.php'; + require_once NOALYSS_INCLUDE.'/lib/database.class.php'; $max = Database::num_row($Res); if ($max == 0) diff --git a/include/company.inc.php b/include/company.inc.php index 803e21b1a..71d9bbe2e 100644 --- a/include/company.inc.php +++ b/include/company.inc.php @@ -26,7 +26,7 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); global $g_user; global $http; echo '
'; -require_once NOALYSS_INCLUDE.'/class/class_own.php'; +require_once NOALYSS_INCLUDE.'/class/own.class.php'; if (isset($_POST['record_company'])) { $m = new Own($cn); diff --git a/include/compta_ach.inc.php b/include/compta_ach.inc.php index 35e703b06..ea42a7d00 100644 --- a/include/compta_ach.inc.php +++ b/include/compta_ach.inc.php @@ -25,10 +25,10 @@ * \brief file included to manage all the sold operation */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/lib/class_icheckbox.php'; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_purchase.php'; -require_once NOALYSS_INCLUDE.'/class/class_pre_op_ach.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ipopup.php'; +require_once NOALYSS_INCLUDE.'/lib/icheckbox.class.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger_purchase.class.php'; +require_once NOALYSS_INCLUDE.'/class/pre_op_ach.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ipopup.class.php'; $gDossier = dossier::id(); global $g_parameter; global $http; diff --git a/include/compta_fin.inc.php b/include/compta_fin.inc.php index cfc078e18..54fe66ca7 100644 --- a/include/compta_fin.inc.php +++ b/include/compta_fin.inc.php @@ -23,8 +23,8 @@ * \brief this file is to be included to handle the financial ledger */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_fin.php'; -require_once NOALYSS_INCLUDE.'/lib/class_ipopup.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger_fin.class.php'; +require_once NOALYSS_INCLUDE.'/lib/ipopup.class.php'; global $g_user,$g_parameter; $gDossier=dossier::id(); diff --git a/include/compta_fin_rec.inc.php b/include/compta_fin_rec.inc.php index 40223be2c..11391f292 100644 --- a/include/compta_fin_rec.inc.php +++ b/include/compta_fin_rec.inc.php @@ -28,7 +28,7 @@ */ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); global $g_failed,$g_succeed,$http; -require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_fin.php'; +require_once NOALYSS_INCLUDE.'/class/acc_ledger_fin.class.php'; bcscale(2); ?>