Code Cleaning #0002022: Utilisation d'un autoloader
This commit is contained in:
parent
7e4bb86959
commit
5e4b39edbe
404 changed files with 255 additions and 1156 deletions
|
|
@ -30,8 +30,6 @@ if (!defined('ALLOWED')) { die('Appel direct ne sont pas permis'); }
|
|||
echo '<div class="content">';
|
||||
global $g_parameter;
|
||||
|
||||
require_once NOALYSS_INCLUDE."/class/currency_mtable.class.php";
|
||||
require_once NOALYSS_INCLUDE."/lib/manage_table_sql.class.php";
|
||||
require_once NOALYSS_INCLUDE.'/database/v_currency_last_value_sql.class.php';
|
||||
|
||||
$currency=new V_Currency_Last_Value_SQL($cn);
|
||||
|
|
|
|||
|
|
@ -34,12 +34,6 @@ $retour=HtmlInput::button_anchor(_('Retour liste'),
|
|||
//-----------------------------------------------------
|
||||
// Follow_Up
|
||||
//-----------------------------------------------------
|
||||
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.'/lib/inplace_edit.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.
|
||||
|
|
|
|||
|
|
@ -21,13 +21,6 @@
|
|||
* the customer category
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
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;
|
||||
|
||||
|
|
|
|||
|
|
@ -27,10 +27,7 @@ if ( ! defined ('ALLOWED_ADMIN')) { die (_('Non autorisé'));}
|
|||
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.'/class/database.class.php';
|
||||
require_once NOALYSS_INCLUDE."/lib/user_menu.php";
|
||||
require_once NOALYSS_INCLUDE."/lib/http_input.class.php";
|
||||
require_once NOALYSS_INCLUDE."/lib/icon_action.class.php";
|
||||
$http=new HttpInput();
|
||||
$action = $http->request("action","string", "");
|
||||
|
||||
|
|
|
|||
|
|
@ -39,8 +39,6 @@ try {
|
|||
}
|
||||
if ( $g_user->check_module("CFGPCMN") == 0) die();
|
||||
|
||||
require_once NOALYSS_INCLUDE."/lib/manage_table_sql.class.php";
|
||||
require_once NOALYSS_INCLUDE."/class/acc_plan_mtable.class.php";
|
||||
|
||||
$obj=new Acc_Plan_SQL($cn);
|
||||
$obj->set_limit_fiche_qcode(5);
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ if ( ! $g_user->can_write_action($ag_id) ) {
|
|||
record_log(__FILE__."security : access refused");
|
||||
return;
|
||||
}
|
||||
require_once 'class/follow_up_other_concerned.class.php';
|
||||
ob_start();
|
||||
echo HtmlInput::title_box(_("Liste Autres Fiches"), "action_concerned_list_dv");
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
*@file
|
||||
*@brief remove concerned operation , call from follow up
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
$http=new HttpInput();
|
||||
try
|
||||
{
|
||||
|
|
@ -45,7 +44,6 @@ if ( ! $g_user->can_read_action($ag_id) ) {
|
|||
return;
|
||||
}
|
||||
|
||||
require_once 'class/follow_up_other_concerned.class.php';
|
||||
$follow=new Follow_Up_Other_Concerned($cn,$ag_id);
|
||||
|
||||
ob_start();
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@ if ( ! $g_user->can_write_action($ag_id) ) {
|
|||
return;
|
||||
}
|
||||
|
||||
require_once 'class/follow_up_other_concerned.class.php';
|
||||
$follow=new Follow_Up_Other_Concerned($cn,$ag_id);
|
||||
$nb_card=count($selected_card);
|
||||
for ($i=0;$i< $nb_card;$i++)
|
||||
|
|
|
|||
|
|
@ -28,8 +28,6 @@
|
|||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/card_multiple.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
ob_start();
|
||||
|
|
@ -51,7 +49,6 @@ if ( ! $g_user->can_write_action($ag_id) ) {
|
|||
return;
|
||||
}
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
|
||||
|
||||
$r=HtmlInput::title_box(_("Détail fiche"), 'search_card');
|
||||
//--------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -40,7 +40,6 @@ if (!defined('ALLOWED'))
|
|||
if ($g_user->check_module('CFGPRO')==0)
|
||||
die();
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
try
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ if ($g_user->Admin()==0)
|
|||
}
|
||||
session_write_close();
|
||||
set_language();
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
$http=new HttpInput();
|
||||
$op=$http->request("op");
|
||||
// From admin, grant the access to a folder to an
|
||||
|
|
@ -343,8 +342,6 @@ if (in_array($op, array('modele_drop', 'modele_modify', 'folder_modify', 'folder
|
|||
//------------------------------------------------------------------
|
||||
if ($op=='upgradeCore')
|
||||
{
|
||||
require_once NOALYSS_INCLUDE.'/lib/progress_bar.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/package_repository.class.php';
|
||||
$task_id=$http->request("task_id");
|
||||
$progress=new Progress_Bar($task_id);
|
||||
$progress->set_value(2);
|
||||
|
|
@ -376,8 +373,6 @@ if ($op=='upgradeCore')
|
|||
//---------------------------------------------------------------------------------------------------------
|
||||
if ($op=='upgradePlugin')
|
||||
{
|
||||
require_once NOALYSS_INCLUDE.'/lib/progress_bar.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/package_repository.class.php';
|
||||
$task_id=$http->request("task_id");
|
||||
$code=$http->post("code_plugin");
|
||||
$progress=new Progress_Bar($task_id);
|
||||
|
|
@ -397,8 +392,6 @@ if ($op=='upgradePlugin')
|
|||
//------------------------------------------------------------------------------------------------------------------
|
||||
if ($op=="installTemplate")
|
||||
{
|
||||
require_once NOALYSS_INCLUDE.'/lib/progress_bar.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/package_repository.class.php';
|
||||
$task_id=$http->request("task_id");
|
||||
$name=$http->post("code");
|
||||
$progress=new Progress_Bar($task_id);
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE."/class/anc_account_table.class.php";
|
||||
/**
|
||||
* @file
|
||||
* @brief Insert , update delete anc accounting
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
// Copyright (2014) Author Dany De Bontridder danydb@aevalys.eu
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
try
|
||||
|
|
@ -44,7 +43,6 @@ catch (Exception $exc)
|
|||
}
|
||||
|
||||
|
||||
require_once 'class/anc_key.class.php';
|
||||
|
||||
ob_start();
|
||||
echo HtmlInput::title_box(_("Choix d'une clef"), 'div_anc_key_choice');
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
// Copyright (2014) Author Dany De Bontridder danydb@aevalys.eu
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
try
|
||||
|
|
@ -45,7 +44,6 @@ catch (Exception $exc)
|
|||
}
|
||||
|
||||
|
||||
require_once 'class/anc_operation.class.php';
|
||||
global $g_user;
|
||||
|
||||
if ($g_user->get_ledger_access($ledger)=='W')
|
||||
|
|
|
|||
|
|
@ -32,8 +32,6 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/anc_key.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
try
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE . "/lib/inplace_edit.class.php";
|
||||
|
||||
if ( $g_user->check_module("PLANANC ") ) die("forbidden");
|
||||
|
||||
|
|
|
|||
|
|
@ -28,15 +28,8 @@
|
|||
// 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/itext.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/ibutton.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/database.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
$texte=new IText('plabel');
|
||||
|
|
|
|||
|
|
@ -6,8 +6,6 @@
|
|||
*@brief no used ??
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/database.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/user.class.php';
|
||||
$cn=Dossier::connect();
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -37,9 +37,6 @@
|
|||
*/
|
||||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/user.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/fiche.class.php';
|
||||
/* check the parameters */
|
||||
foreach (array('j', 'ctl') as $a)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,8 +22,6 @@
|
|||
*@brief zoom the sheduler
|
||||
*/
|
||||
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/calendar.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
ob_start();
|
||||
|
|
|
|||
|
|
@ -56,14 +56,8 @@
|
|||
*/
|
||||
if ( ! defined('ALLOWED')) die (_('Accès non autorisé'));
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/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/user.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/fiche_attr.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/input_switch.class.php';
|
||||
|
||||
mb_internal_encoding("UTF-8");
|
||||
|
||||
|
|
@ -413,7 +407,6 @@ case 'sc':
|
|||
*
|
||||
*----------------------------------------------------------------------*/
|
||||
case 'fs':
|
||||
require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
|
||||
$r=HtmlInput::title_box(_("Détail fiche"), 'search_card');
|
||||
$r.='<form method="GET" onsubmit="this.ctl=\'ipop_card\';search_get_card(this);return false;">';
|
||||
$q=new IText('query');
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@
|
|||
global $g_user;
|
||||
// security
|
||||
$g_user->can_request("CFGATCARD");
|
||||
require_once NOALYSS_INCLUDE."/lib/inplace_switch.class.php";
|
||||
require_once NOALYSS_INCLUDE.'/class/card_attribut_mtable.class.php';
|
||||
|
||||
$http=new HttpInput();
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ if ($g_user->check_action(PARCATDOC)==0)
|
|||
return;
|
||||
}
|
||||
|
||||
require_once NOALYSS_INCLUDE."/class/action_document_type_mtable.class.php";
|
||||
|
||||
$http=new HttpInput();
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ global $g_user;
|
|||
|
||||
if ($g_user->check_module("COMPANY")==0) die();
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/parameter_extra_mtable.class.php';
|
||||
|
||||
$http=new HttpInput();
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE."/class/contact_option_ref_mtable.class.php";
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
*/
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/menu_ref.class.php';
|
||||
$msg=_("Création");
|
||||
$m=new Menu_Ref($cn);
|
||||
echo '<form method="POST" id="ajax_create_menu_frm" onsubmit="return confirm_box(this,\''._('Vous confirmez ?').'\')">';
|
||||
|
|
|
|||
|
|
@ -21,9 +21,7 @@
|
|||
|
||||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE."/class/currency_mtable.class.php";
|
||||
require_once NOALYSS_INCLUDE."/lib/manage_table_sql.class.php";
|
||||
require_once NOALYSS_INCLUDE.'/database/v_currency_last_value_sql.class.php';
|
||||
|
||||
/**
|
||||
* @file
|
||||
* @brief Ajax response for currency related calls
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ if (!defined('ALLOWED'))
|
|||
* @file
|
||||
* @brief display the options of a card
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE."/class/card_multiple.class.php";
|
||||
|
||||
$card_multiple=new Card_Multiple();
|
||||
try
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ try {
|
|||
return;
|
||||
}
|
||||
|
||||
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();
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
// Security
|
||||
if ( $g_user->check_module('CFGPRO') == 0 ) die();
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
ob_start();
|
||||
|
|
@ -48,7 +47,6 @@ catch (Exception $exc)
|
|||
return;
|
||||
}
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/profile_menu.class.php';
|
||||
$p_level++;
|
||||
$profile=new Profile_Menu($cn);
|
||||
$profile->p_id=$p_id;
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
if (!defined('ALLOWED')) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE."/class/document_state_mtable.php";
|
||||
global $g_user;
|
||||
|
||||
if ( $g_user->check_module('CFGDOCST') == 0 ) {
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@
|
|||
*
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -21,8 +21,6 @@
|
|||
|
||||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE."/class/document.class.php";
|
||||
require_once NOALYSS_INCLUDE."/lib/inplace_edit.class.php";
|
||||
/**
|
||||
* @file
|
||||
* @brief Update description on file
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
if (!defined('ALLOWED')) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE."/class/forecast_category_mtable.class.php";
|
||||
global $g_user;
|
||||
|
||||
if ($g_user->check_module("FORECAST")==0) die();
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
|
||||
if (!defined('ALLOWED')) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE."/class/forecast_item_mtable.class.php";
|
||||
global $g_user;
|
||||
|
||||
if ($g_user->check_module("FORECAST")==0) die();
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
if ($op=='action_show')
|
||||
|
|
@ -34,7 +33,6 @@ if ($op=='action_show')
|
|||
/**
|
||||
* display action
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
|
||||
$gestion=new Follow_Up($cn);
|
||||
$array=$gestion->get_last(35);
|
||||
$len_array=count($array);
|
||||
|
|
@ -43,14 +41,12 @@ if ($op=='action_show')
|
|||
}
|
||||
if ($op=='action_add')
|
||||
{
|
||||
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/follow_up.class.php';
|
||||
|
||||
/**
|
||||
* save info from the get
|
||||
|
|
|
|||
|
|
@ -32,9 +32,6 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
if ( $g_user->check_module('CFGPRO') == 0 ) die();
|
||||
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -30,10 +30,6 @@
|
|||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/constant.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/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);
|
||||
|
|
|
|||
|
|
@ -25,13 +25,6 @@
|
|||
*/
|
||||
if ( ! defined('ALLOWED')) die (_('Accès interdit'));
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/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=$http->request('div');
|
||||
mb_internal_encoding("UTF-8");
|
||||
$http=new HttpInput();
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ if (!defined('ALLOWED')) die('Appel direct ne sont pas permis');
|
|||
- op history
|
||||
- exercice integer
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE."/class/anc_grandlivre.class.php";
|
||||
|
||||
try {
|
||||
$po_id=$http->get("po_id","number");
|
||||
|
|
|
|||
|
|
@ -31,18 +31,6 @@
|
|||
*/
|
||||
if ( ! defined('ALLOWED')) die(_('Non authorisé'));
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/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/noalyss_parameter_folder.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/iconcerned.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/tag_operation.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -15,8 +15,6 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/acc_ledger_search.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
|
||||
if ( ! isset ($r_jrn)) { $r_jrn=null;}
|
||||
$ctl='div_jrn'.$div;
|
||||
ob_start();
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@
|
|||
*
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
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 )
|
||||
|
|
|
|||
|
|
@ -23,9 +23,6 @@
|
|||
* \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.'/class/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();
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
*/
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
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 '<form method="POST" id="ajax_mod_menu_frm" onsubmit="return confirm_box(this,\'Vous confirmez ?\')">';
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
ob_start();
|
||||
require_once NOALYSS_INCLUDE.'/class/pre_operation.class.php';
|
||||
$id=$http->get("id","number");
|
||||
|
||||
$op=new Pre_Operation($cn,$id);
|
||||
|
|
|
|||
|
|
@ -21,8 +21,6 @@
|
|||
|
||||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/tag.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/tag_operation.class.php';
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ if (!defined('ALLOWED'))
|
|||
*
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE."/database/payment_method_sql.class.php";
|
||||
require_once NOALYSS_INCLUDE."/class/payment_method_mtable.class.php";
|
||||
|
||||
$id=$http->request("p_id", "number", -1);
|
||||
$action=$http->request("action");
|
||||
|
|
|
|||
|
|
@ -38,8 +38,6 @@ if (!defined('ALLOWED'))
|
|||
* ledger_id == 0 or not
|
||||
* The answer must be in JSON
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE.'/class/periode.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/periode_ledger.class.php';
|
||||
|
||||
$err=0;
|
||||
$a_answer=[];
|
||||
|
|
|
|||
|
|
@ -35,10 +35,7 @@
|
|||
if ( ! defined('ALLOWED')) die (_('Non authorisé'));
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/database.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/acc_account_ledger.class.php';
|
||||
mb_internal_encoding("UTF-8");
|
||||
|
||||
extract($_REQUEST, EXTR_SKIP);
|
||||
|
|
|
|||
|
|
@ -22,13 +22,6 @@
|
|||
* it permits to change the user preferences
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
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';
|
||||
require_once NOALYSS_INCLUDE.'/class/exercice.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
|
||||
|
||||
global $g_user;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die(_('Non autorisé'));
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
// Security
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ if ($sa =="acc_report_mtable")
|
|||
die("invalid data");
|
||||
}
|
||||
|
||||
require_once NOALYSS_INCLUDE."/class/acc_report_mtable.class.php";
|
||||
|
||||
$acc_report=Acc_Report_MTable::build($id, $form_def);
|
||||
$acc_report->set_object_name($ctl);
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE."/class/follow_up_other_concerned.class.php";
|
||||
/**
|
||||
* @file
|
||||
* @brief save option of card into action_person_option
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@
|
|||
*/
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/operation_predef_mtable.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,9 +21,7 @@
|
|||
* \brief Search module
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
|
||||
include_once NOALYSS_INCLUDE.'/lib/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
|
||||
|
||||
$_REQUEST['ac']='FOLLOW';
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ if (!defined('ALLOWED'))
|
|||
* @brief add tag , used for follow up
|
||||
* @see Tag
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE.'/class/tag_action.class.php';
|
||||
//Single Tag
|
||||
ob_start();
|
||||
if ($_GET['clear']==1)
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@ if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
*@see Tag
|
||||
*/
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/tag_action.class.php';
|
||||
ob_start();
|
||||
echo Tag_Action::select_tag_search($_GET['pref']);
|
||||
$response= ob_get_clean();
|
||||
|
|
|
|||
|
|
@ -24,8 +24,6 @@ if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
*@see Tag
|
||||
*/
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/tag_action.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/tag_operation.class.php';
|
||||
|
||||
try {
|
||||
$caller_obj=$http->request("caller_obj");
|
||||
|
|
|
|||
|
|
@ -22,9 +22,6 @@
|
|||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
|
||||
require NOALYSS_INCLUDE.'/database/user_filter_sql.class.php';
|
||||
require NOALYSS_INCLUDE.'/class/acc_ledger_search.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/tag_operation.class.php';
|
||||
$cn=Dossier::connect();
|
||||
$dossier_id=Dossier::id();
|
||||
global $g_user;
|
||||
|
|
|
|||
|
|
@ -23,18 +23,14 @@
|
|||
*/
|
||||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/acc_ledger_search.class.php';
|
||||
|
||||
global $http;
|
||||
$gDossier=dossier::id();
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/database.class.php';
|
||||
/* Admin. Dossier */
|
||||
|
||||
$cn=Dossier::connect();
|
||||
require_once NOALYSS_INCLUDE.'/class/user.class.php';
|
||||
// display a search box
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@
|
|||
//see licence.txt
|
||||
|
||||
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/lib/single_record.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/tag.class.php';
|
||||
ob_start();
|
||||
$tag=new Tag($cn);
|
||||
$http=new HttpInput();
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ if ( $g_user->check_module('CFGTAG') == 0 ) {
|
|||
exit();
|
||||
}
|
||||
|
||||
require_once NOALYSS_INCLUDE."/class/tag_group_mtable.class.php";
|
||||
/**
|
||||
* @file
|
||||
* @brief Manage the group of tags
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
*/
|
||||
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/tag_action.class.php';
|
||||
ob_start();
|
||||
$tag=new Tag_Action($cn);
|
||||
$tag->select();
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ if ( $g_user->check_module('CFGTAG')==0 && $g_user->check_action(TAGADD) == 0)
|
|||
}
|
||||
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/tag.class.php';
|
||||
|
||||
//Save a tag
|
||||
if ($op=='tag_save')
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
*@brief Show the tags to select
|
||||
*@see Tag
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE.'/class/tag_action.class.php';
|
||||
ob_start();
|
||||
$tag=new Tag_Action($cn);
|
||||
$tag->select_search();
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE."/class/tag_group_mtable.class.php";
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ if (!defined('ALLOWED'))
|
|||
* @brief Manage the template of category of card
|
||||
*/
|
||||
|
||||
require_once NOALYSS_INCLUDE."/class/template_card_category.class.php";
|
||||
/**
|
||||
* ajax_template_cat_card add security , accessible only for CFGCARDCAT
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -34,12 +34,7 @@
|
|||
* - i id
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die (_('Aucun accès direct'));
|
||||
require_once NOALYSS_INCLUDE.'/class/dossier.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/todo_list.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/database.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/user.class.php';
|
||||
mb_internal_encoding("UTF-8");
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
$cn= Dossier::connect();
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@ if (!defined('ALLOWED'))
|
|||
* @brief
|
||||
* @param type $name Descriptionara
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE."/class/tva_rate_mtable.class.php";
|
||||
|
||||
if ( $g_user->check_module('CFGTVA') ==0 )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
* -l for the ledger
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
|
||||
$ledger=new Acc_Ledger($cn,$l);
|
||||
echo $ledger->input_paid(1);
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -29,9 +29,6 @@
|
|||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/constant.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/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);
|
||||
|
|
|
|||
|
|
@ -23,11 +23,6 @@ if (!defined('ALLOWED'))
|
|||
die('Appel direct ne sont pas permis');
|
||||
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/lib/itext.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/iselect.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/inum.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/inplace_edit.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/inplace_switch.class.php';
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
|
|
|||
|
|
@ -27,8 +27,6 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
ob_start();
|
||||
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,"close","","y");
|
||||
$act = new Follow_Up($cn);
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
* @brief show detail of inv.
|
||||
*
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE.'/class/stock_goods.class.php';
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
$st=new Stock_Goods($cn);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
* @brief Module Balance Accountancy - Analyc
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/anc_acc_list.class.php';
|
||||
echo '<div class="content">';
|
||||
$tab = new Anc_Acc_List($cn);
|
||||
$tab->get_request();
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
* Analytic
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/anc_table.class.php';
|
||||
$tab = new Anc_Table($cn);
|
||||
$tab->get_request();
|
||||
echo '<form method="get">';
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
*@see Anc_Balance_Double
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/anc_balance_double.class.php';
|
||||
$bc = new Anc_Balance_Double($cn);
|
||||
$bc->get_request();
|
||||
echo '<form method="get">';
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
* @see Anc_Balance_Simple
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/anc_balance_simple.class.php';
|
||||
$bs = new Anc_Balance_Simple($cn);
|
||||
$bs->get_request();
|
||||
echo '<form method="get">';
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
echo '<div style="content">';
|
||||
global $http;
|
||||
require_once NOALYSS_INCLUDE.'/class/anc_grandlivre.class.php';
|
||||
$cn=Dossier::connect();
|
||||
$grandLivre=new Anc_Grandlivre($cn);
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,6 @@
|
|||
*
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
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);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
* @see Anc_Group
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/anc_group.class.php';
|
||||
|
||||
$gr = new Anc_Group($cn);
|
||||
$gr->get_request();
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
*/
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/anc_listing.class.php';
|
||||
$list = new Anc_Listing($cn);
|
||||
$list->get_request();
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
global $cn, $g_user;
|
||||
require_once NOALYSS_INCLUDE.'/class/anc_key.class.php';
|
||||
global $http;
|
||||
|
||||
$op=$http->request("op", "string", "list");
|
||||
|
|
|
|||
|
|
@ -26,12 +26,6 @@
|
|||
*
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/lib/ihidden.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/iselect.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';
|
||||
require_once NOALYSS_INCLUDE.'/class/exercice.class.php';
|
||||
|
||||
global $g_user;
|
||||
$http=new HttpInput();
|
||||
|
|
|
|||
|
|
@ -27,10 +27,7 @@
|
|||
*/
|
||||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/anc_plan.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/anc_account_table.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/database/poste_analytique_sql.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/inplace_edit.class.php';
|
||||
|
||||
$ret="";
|
||||
$str_dossier=Dossier::get();
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
* \brief Make and restore backup
|
||||
*/
|
||||
if ( !defined("ALLOWED")) { die (_("Non autorisé")); }
|
||||
require_once NOALYSS_INCLUDE.'/lib/http_input.class.php';
|
||||
|
||||
$http=new HttpInput();
|
||||
|
||||
|
|
|
|||
|
|
@ -26,13 +26,6 @@
|
|||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
include_once NOALYSS_INCLUDE.'/lib/ac_common.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();
|
||||
// Get the exercice
|
||||
|
|
|
|||
|
|
@ -73,7 +73,6 @@ $w_lettre->selected=$let;
|
|||
?>
|
||||
</form>
|
||||
<?php
|
||||
require_once NOALYSS_INCLUDE.'/class/balance_age.class.php';
|
||||
$balance=new Balance_Age($cn);
|
||||
|
||||
if ( $type == "C") :
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
* \brief show the status of a card
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/exercice.class.php';
|
||||
$http=new HttpInput();
|
||||
|
||||
global $g_user;
|
||||
|
|
|
|||
|
|
@ -25,10 +25,6 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
* @brief Aged Balance for card
|
||||
*@see Balance_Age
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE.'/class/fiche.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/exercice.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/periode.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/balance_age.class.php';
|
||||
$let=( isset ($_GET['p_let']))?'let':'unlet';
|
||||
// f_id
|
||||
$f_id=$http->get('f_id',"number");
|
||||
|
|
|
|||
|
|
@ -21,10 +21,6 @@
|
|||
* the supplier category
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
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');
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class/calendar.class.php';
|
||||
$cal=new Calendar();
|
||||
$cal->default_periode=(isset ($_GET['in']))?$_GET['in']:$g_user->get_periode();
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
* \brief Manage the attributs ,CFGATCARD
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/card_attribut_mtable.class.php';
|
||||
|
||||
$obj=new Fiche_Attr($cn);
|
||||
$mtable=new Card_Attribut_MTable($obj);
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@
|
|||
*/
|
||||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/contact.class.php';
|
||||
|
||||
global $http;
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
// Save modification
|
||||
//---------------------------------------------------------------------------
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/customer.class.php';
|
||||
global $http;
|
||||
|
||||
$f_id=$http->request('f_id','number');
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
* - $cn = database connection
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/follow_up.class.php';
|
||||
global $http;
|
||||
/**
|
||||
*\note problem with ShowActionList, this function is local
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@
|
|||
* - $ss_action
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/class/acc_ledger.class.php';
|
||||
global $http;
|
||||
|
||||
$f=new Fiche($cn,$http->request('f_id',"number"));
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
|
||||
// show list of document
|
||||
if (!defined('ALLOWED')) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE."/class/action_document_type_mtable.class.php";
|
||||
echo '<div class="content">';
|
||||
$doc_type=new Document_type_SQL($cn);
|
||||
$action_document_type=new Action_Document_Type_MTable($doc_type);
|
||||
|
|
|
|||
|
|
@ -22,15 +22,7 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once NOALYSS_INCLUDE.'/lib/ac_common.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.'/class/database.class.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/user_menu.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")));
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue