Use a variable for an absolute path for performance reason
NOALYSS_INCLUDE NOALYSS_HOME NOALYSS_PLUGIN
This commit is contained in:
parent
da382a11d5
commit
8f265c7bbc
278 changed files with 1092 additions and 1073 deletions
|
|
@ -1,4 +1,5 @@
|
|||
<!doctype html><HTML><HEAD>
|
||||
<!doctype html>
|
||||
<HTML><HEAD>
|
||||
<TITLE>Noaliss - Mise à jour</TITLE>
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF8">
|
||||
</title>
|
||||
|
|
|
|||
|
|
@ -13,9 +13,9 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) define ('ALLOWED',1);
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_database.php');
|
||||
require_once('class_user.php');
|
||||
require_once('class_extension.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_extension.php';
|
||||
if ( !isset ($_REQUEST['gDossier'])) exit();
|
||||
|
||||
require_once 'class_own.php';
|
||||
|
|
|
|||
|
|
@ -56,13 +56,14 @@
|
|||
if ( ! defined('ALLOWED')) define ('ALLOWED',1);
|
||||
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_database.php');
|
||||
require_once ('class_fiche.php');
|
||||
require_once('class_iradio.php');
|
||||
require_once('function_javascript.php');
|
||||
require_once('ac_common.php');
|
||||
require_once ('class_user.php');
|
||||
require_once ('class_fiche_attr.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iradio.php';
|
||||
require_once NOALYSS_INCLUDE.'/function_javascript.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche_attr.php';
|
||||
|
||||
mb_internal_encoding("UTF-8");
|
||||
|
||||
$var=array('gDossier','op','ctl');
|
||||
|
|
|
|||
|
|
@ -26,13 +26,13 @@
|
|||
if ( ! defined('ALLOWED')) define ('ALLOWED',1);
|
||||
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_database.php');
|
||||
require_once('class_user.php');
|
||||
require_once('class_dossier.php');
|
||||
require_once('class_periode.php');
|
||||
require_once('class_html_input.php');
|
||||
require_once('class_acc_account.php');
|
||||
require_once('class_exercice.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_periode.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_html_input.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_account.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_exercice.php';
|
||||
$div=$_REQUEST['div'];
|
||||
mb_internal_encoding("UTF-8");
|
||||
|
||||
|
|
|
|||
|
|
@ -31,16 +31,16 @@
|
|||
if ( ! defined('ALLOWED')) define ('ALLOWED',1);
|
||||
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_database.php');
|
||||
require_once('class_user.php');
|
||||
require_once('class_acc_operation.php');
|
||||
require_once('class_acc_ledger.php');
|
||||
require_once ('class_fiche.php');
|
||||
require_once('class_acc_reconciliation.php');
|
||||
require_once('class_anc_operation.php');
|
||||
require_once('class_idate.php');
|
||||
require_once 'class_own.php';
|
||||
require_once 'class_iconcerned.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_operation.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_reconciliation.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_operation.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_idate.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iconcerned.php';
|
||||
/**
|
||||
* Check if we receive the needed data (jr_id...)
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -37,12 +37,12 @@
|
|||
if ( ! defined('ALLOWED')) define ('ALLOWED',1);
|
||||
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_database.php');
|
||||
require_once ('class_fiche.php');
|
||||
require_once('class_iradio.php');
|
||||
require_once('function_javascript.php');
|
||||
require_once('ac_common.php');
|
||||
require_once ('class_user.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iradio.php';
|
||||
require_once NOALYSS_INCLUDE.'/function_javascript.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
mb_internal_encoding("UTF-8");
|
||||
|
||||
$var = array('gDossier', 'op');
|
||||
|
|
|
|||
|
|
@ -35,11 +35,11 @@
|
|||
if ( ! defined('ALLOWED')) define ('ALLOWED',1);
|
||||
|
||||
require_once '../include/constant.php';
|
||||
require_once ("ac_common.php");
|
||||
require_once('class_acc_ledger.php');
|
||||
require_once ('class_database.php');
|
||||
require_once('function_javascript.php');
|
||||
require_once('class_acc_account_ledger.php');
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php;
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php;
|
||||
require_once NOALYSS_INCLUDE.'/function_javascript.php;
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_account_ledger.php;
|
||||
mb_internal_encoding("UTF-8");
|
||||
|
||||
extract($_REQUEST);
|
||||
|
|
|
|||
|
|
@ -35,10 +35,10 @@
|
|||
*/
|
||||
define ('ALLOWED',1);
|
||||
require_once '../include/constant.php';
|
||||
require_once ('class_dossier.php');
|
||||
require_once ('class_todo_list.php');
|
||||
require_once ('class_database.php');
|
||||
require_once ('class_user.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_todo_list.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
mb_internal_encoding("UTF-8");
|
||||
|
||||
$cn= Dossier::connect();
|
||||
|
|
|
|||
|
|
@ -31,11 +31,11 @@
|
|||
* Must return at least tva, htva and tvac
|
||||
*/
|
||||
require_once '../include/constant.php';
|
||||
require_once ('class_database.php');
|
||||
require_once ('class_acc_compute.php');
|
||||
require_once('class_dossier.php');
|
||||
require_once ('class_acc_tva.php');
|
||||
require_once ('class_user.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_compute.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_tva.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
|
||||
// Check if the needed field does exist
|
||||
extract ($_GET);
|
||||
|
|
|
|||
|
|
@ -19,8 +19,9 @@
|
|||
*/
|
||||
|
||||
require_once '../include/constant.php';
|
||||
require_once ("class_database.php");
|
||||
require_once 'class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
|
||||
$cn=new Database($_GET['gDossier']);
|
||||
global $g_user;
|
||||
$g_user=new User($cn);
|
||||
|
|
|
|||
14
html/do.php
14
html/do.php
|
|
@ -24,13 +24,13 @@ define('ALLOWED',1);
|
|||
* \brief Main file
|
||||
*/
|
||||
require_once '../include/constant.php';
|
||||
require_once 'class_database.php';
|
||||
require_once ('class_dossier.php');
|
||||
require_once('user_common.php');
|
||||
require_once('ac_common.php');
|
||||
require_once 'function_javascript.php';
|
||||
require_once 'constant.security.php';
|
||||
require_once 'class_html_input.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/user_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/function_javascript.php';
|
||||
require_once NOALYSS_INCLUDE.'/constant.security.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_html_input.php';
|
||||
mb_internal_encoding("UTF-8");
|
||||
|
||||
// if gDossier is not set redirect to form to choose a folder
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@
|
|||
define ('ALLOWED',1);
|
||||
require_once '../include/constant.php';
|
||||
global $g_user,$cn,$g_parameter;
|
||||
require_once('class_database.php');
|
||||
require_once('class_user.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
$gDossier=dossier::id();
|
||||
$cn=new Database($gDossier);
|
||||
mb_internal_encoding("UTF-8");
|
||||
|
|
|
|||
|
|
@ -24,16 +24,14 @@
|
|||
* the security. Load several javascript files
|
||||
*/
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_database.php');
|
||||
require_once('class_dossier.php');
|
||||
require_once("ac_common.php");
|
||||
require_once("constant.php");
|
||||
require_once('function_javascript.php');
|
||||
require_once('class_extension.php');
|
||||
require_once ('class_html_input.php');
|
||||
require_once('class_iselect.php');
|
||||
require_once ('constant.security.php');
|
||||
require_once ('class_user.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/function_javascript.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_extension.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_html_input.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
|
||||
global $g_user,$cn,$g_parameter;
|
||||
|
||||
|
|
@ -52,11 +50,11 @@ if ( $ext->search($_REQUEST['plugin_code']) != -1 )
|
|||
exit();
|
||||
}
|
||||
/* call the ajax script */
|
||||
require_once('ext'.DIRECTORY_SEPARATOR.dirname(trim($ext->getp('me_file'))).DIRECTORY_SEPARATOR.'raw.php');
|
||||
require_once(NOALYSS_PLUGIN.DIRECTORY_SEPARATOR.dirname(trim($ext->getp('me_file'))).DIRECTORY_SEPARATOR.'raw.php');
|
||||
}
|
||||
else
|
||||
{
|
||||
alert(j(_("Cette extension n'existe pas ")));
|
||||
exit();
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -33,11 +33,10 @@
|
|||
*\note if the j is -1 then all the card are shown
|
||||
*/
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_own.php');
|
||||
require_once ("constant.php");
|
||||
require_once('class_database.php');
|
||||
require_once ("user_common.php");
|
||||
require_once('class_dossier.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/user_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
$gDossier=dossier::id();
|
||||
|
||||
require_once('class_user.php');
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@
|
|||
*/
|
||||
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_database.php');
|
||||
require_once('class_dossier.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
/*!\brief
|
||||
* Received parameters are
|
||||
* - j for the ledger
|
||||
|
|
|
|||
|
|
@ -19,14 +19,13 @@
|
|||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
require_once '../include/constant.php';
|
||||
|
||||
include_once ("ac_common.php");
|
||||
require_once('constant.php');
|
||||
include_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
|
||||
/*! \file
|
||||
* \brief Login page
|
||||
*/
|
||||
|
||||
require_once('class_database.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
// Verif if User and Pass match DB
|
||||
// if no, then redirect to the login page
|
||||
$rep=new Database();
|
||||
|
|
|
|||
|
|
@ -17,13 +17,15 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
require_once('../include/ac_common.php');
|
||||
require_once('function_javascript.php');
|
||||
require_once('class_html_input.php');
|
||||
require_once('class_dossier.php');
|
||||
require_once('class_database.php');
|
||||
require_once('class_user.php');
|
||||
require_once('class_periode.php');
|
||||
require_once '../include/constant.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/function_javascript.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_html_input.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_periode.php';
|
||||
|
||||
echo '<div style="float:left;">'.HtmlInput::print_window();
|
||||
|
||||
html_page_start($_SESSION['g_theme']);
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@
|
|||
* \brief Search module
|
||||
*/
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_dossier.php');
|
||||
include_once("ac_common.php");
|
||||
include_once ("constant.php");
|
||||
require_once('class_acc_ledger.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
include_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
|
||||
html_page_start($_SESSION['g_theme']);
|
||||
|
||||
load_all_script();
|
||||
|
|
@ -32,11 +32,12 @@ load_all_script();
|
|||
|
||||
$gDossier=dossier::id();
|
||||
|
||||
require_once('class_database.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
/* Admin. Dossier */
|
||||
|
||||
$cn=new Database($gDossier);
|
||||
include_once ('class_user.php');
|
||||
include_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
|
||||
global $g_user;
|
||||
$g_user=new User($cn);
|
||||
$g_user->Check();
|
||||
|
|
|
|||
|
|
@ -23,15 +23,15 @@
|
|||
* \brief retrieve a document
|
||||
*/
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_database.php');
|
||||
require_once("ac_common.php");
|
||||
require_once( "class_document.php");
|
||||
require_once('class_dossier.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_document.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
$gDossier = dossier::id();
|
||||
$cn = new Database($gDossier);
|
||||
$action = (isset($_REQUEST['a'])) ? $_REQUEST['a'] : 'sh';
|
||||
|
||||
require_once ('class_user.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
global $g_user;
|
||||
$g_user = new User($cn);
|
||||
$g_user->Check();
|
||||
|
|
|
|||
|
|
@ -22,15 +22,15 @@
|
|||
* \brief send the document template
|
||||
*/
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_database.php');
|
||||
require_once("ac_common.php");
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
|
||||
require_once('class_dossier.php');
|
||||
$gDossier=dossier::id();
|
||||
$cn=new Database($gDossier);
|
||||
|
||||
|
||||
require_once ('class_user.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
global $g_user;
|
||||
$g_user=new User($cn);
|
||||
$g_user->Check();
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
* \brief show an attach of an operation
|
||||
*/
|
||||
require_once '../include/constant.php';
|
||||
include_once ("ac_common.php");
|
||||
require_once('class_dossier.php');
|
||||
include_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
$gDossier=dossier::id();
|
||||
|
||||
if ( !isset ($_GET['jrn'] ) ||
|
||||
|
|
@ -32,7 +32,7 @@ if ( !isset ($_GET['jrn'] ) ||
|
|||
echo_error("Missing parameters");
|
||||
}
|
||||
|
||||
require_once('class_database.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
set_language();
|
||||
|
||||
$jr_grpt_id=$_GET['jr_grpt_id'];
|
||||
|
|
@ -40,7 +40,7 @@ $jr_grpt_id=$_GET['jr_grpt_id'];
|
|||
$cn=new Database($gDossier);
|
||||
|
||||
|
||||
include_once ('class_user.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
global $g_user;
|
||||
$g_user=new User($cn);
|
||||
$g_user->Check();
|
||||
|
|
|
|||
|
|
@ -22,13 +22,15 @@
|
|||
|
||||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
require_once '../include/constant.php';
|
||||
include_once ("ac_common.php");
|
||||
require_once('class_database.php');
|
||||
require_once('class_itext.php');
|
||||
require_once 'function_javascript.php';
|
||||
include_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/function_javascript.php';
|
||||
|
||||
@html_page_start($_SESSION['g_theme']);
|
||||
$rep=new Database();
|
||||
include_once ("class_user.php");
|
||||
include_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
|
||||
$User=new User($rep);
|
||||
|
||||
$User->Check();
|
||||
|
|
@ -156,7 +158,6 @@ $result.='<TD class="tool" ><A class="cell" HREF="logout.php" >'._('Deconnexion
|
|||
$result.="</TR>";
|
||||
$result.="</table>";
|
||||
|
||||
echo '<h2 class="info">'._('Bienvenue')." ".$User->first_name.' '.$User->name.' '._("dans NOALYSS")."</h2>";
|
||||
echo '<div id="module">'.$result.'</div>';
|
||||
echo '</div>';
|
||||
?>
|
||||
|
|
@ -166,7 +167,7 @@ echo '</div>';
|
|||
echo _('Filtre').HtmlInput::infobulle(23);
|
||||
?>
|
||||
<?php
|
||||
echo HtmlInput::filter_table("folder", '1,2',0);
|
||||
echo HtmlInput::filter_table("folder", '1,2',1);
|
||||
?>
|
||||
</span>
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -25,9 +25,8 @@
|
|||
* @brief common utilities for a lot of procedure, classe
|
||||
*/
|
||||
|
||||
include_once("constant.php");
|
||||
require_once('class_database.php');
|
||||
require_once('class_periode.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_periode.php';
|
||||
|
||||
/**\brief to protect again bad characters which can lead to a cross scripting attack
|
||||
the string to be diplayed must be protected
|
||||
|
|
|
|||
|
|
@ -28,11 +28,11 @@ $retour=HtmlInput::button_anchor(_('Retour liste'),
|
|||
//-----------------------------------------------------
|
||||
// Follow_Up
|
||||
//-----------------------------------------------------
|
||||
require_once("class_icard.php");
|
||||
require_once("class_ispan.php");
|
||||
require_once("class_ifile.php");
|
||||
require_once("class_itext.php");
|
||||
require_once("class_follow_up.php");
|
||||
require_once NOALYSS_INCLUDE.'/class_icard.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ispan.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ifile.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_follow_up.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.
|
||||
|
|
@ -54,7 +54,7 @@ $ag_id=(isset($_REQUEST['ag_id']))?$_REQUEST['ag_id']:0;
|
|||
$ac=$_REQUEST['ac'];
|
||||
$base=HtmlInput::request_to_string(array('ac','gDossier'),"");
|
||||
|
||||
require_once('action.common.inc.php');
|
||||
require_once NOALYSS_INCLUDE.'/action.common.inc.php';
|
||||
echo "</div>";
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -21,13 +21,13 @@
|
|||
* the customer category
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once("class_iselect.php");
|
||||
require_once("class_ihidden.php");
|
||||
require_once("class_customer.php");
|
||||
require_once("class_ibutton.php");
|
||||
require_once('class_fiche_def.php');
|
||||
require_once('class_fiche_def.php');
|
||||
require_once('class_admin.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ihidden.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_customer.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ibutton.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche_def.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche_def.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_admin.php';
|
||||
|
||||
global $g_user;
|
||||
|
||||
|
|
@ -148,7 +148,7 @@ if ( $low_action == "list" )
|
|||
if ( $low_action == 'detail')
|
||||
{
|
||||
/* Menu */
|
||||
require_once('category_card.inc.php');
|
||||
require_once NOALYSS_INCLUDE.'/category_card.inc.php';
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
// Copyright 2014 Author Dany De Bontridder danydb@aevalys.eu
|
||||
|
||||
// require_once '.php';
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
$ag_id=HtmlInput::default_value_get("ag_id", "0");
|
||||
$f_id=HtmlInput::default_value_get("f_id", "0");
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
//
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once 'class_anc_key.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_key.php';
|
||||
ob_start();
|
||||
/////
|
||||
$key=HtmlInput::default_value_get('key',0);
|
||||
|
|
|
|||
|
|
@ -28,15 +28,15 @@
|
|||
// 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("class_itext.php");
|
||||
require_once("class_ihidden.php");
|
||||
require_once("class_ibutton.php");
|
||||
require_once ('class_database.php');
|
||||
require_once ("ac_common.php");
|
||||
require_once ('class_dossier.php');
|
||||
require_once ('class_anc_account.php');
|
||||
require_once ('class_anc_plan.php');
|
||||
require_once('function_javascript.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ihidden.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ibutton.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_account.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_plan.php';
|
||||
require_once NOALYSS_INCLUDE.'/function_javascript.php';
|
||||
|
||||
echo HtmlInput::title_box(_("Recherche activité"), $ctl);
|
||||
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
//see licence.txt
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once ("class_database.php");
|
||||
require_once 'class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
$cn=new Database($_GET['gDossier']);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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('class_user.php');
|
||||
require_once('class_dossier.php');
|
||||
require_once('class_fiche.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche.php';
|
||||
extract($_GET);
|
||||
/* check the parameters */
|
||||
foreach ( array('j','ctl') as $a )
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once 'class_calendar.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_calendar.php';
|
||||
ob_start();
|
||||
if ( $notitle== 0 ) echo HtmlInput::title_box(_("Calendrier"), "calendar_zoom_div");
|
||||
$cal=new Calendar();
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
//see licence.txt
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once 'class_menu_ref.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_menu_ref.php';
|
||||
$msg="Création";
|
||||
$m=new Menu_Ref($cn);
|
||||
echo '<form method="POST" onsubmit="return confirm(\'Vous confirmez ?\')">';
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@
|
|||
*
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_fiche_def.php');
|
||||
require_once 'class_tool_uos.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche_def.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_tool_uos.php';
|
||||
global $g_user;
|
||||
|
||||
$g_user->can_request(FICCAT,0);
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@
|
|||
*
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once 'class_profile_sql.php';
|
||||
require_once 'class_profile_menu.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_profile_sql.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_profile_menu.php';
|
||||
$profile=new Profile_sql($cn,$p_id);
|
||||
$gDossier=Dossier::id();
|
||||
$add_menu=HtmlInput::button("add", "Ajout Menu","onclick=\"add_menu({dossier:$gDossier,p_id:$p_id,type:'me'})\"");
|
||||
|
|
@ -79,7 +79,7 @@ if ($profile->p_id > 0)
|
|||
{
|
||||
echo '<form method="POST" onsubmit="return confirm (\''._("vous confirmez").'\')">';
|
||||
|
||||
echo 'Vous pouvez aussi copier ce profil et puis le corriger';
|
||||
echo _('Vous pouvez aussi copier ce profil et puis le corriger');
|
||||
|
||||
echo HtmlInput::hidden('p_id', $profile->p_id);
|
||||
echo HtmlInput::submit("clone", "Copier");
|
||||
|
|
@ -95,7 +95,7 @@ if ($profile->p_id > 0)
|
|||
echo '</div>';
|
||||
echo '<div class="myfieldset" style="display:none" id="profile_menu_div">';
|
||||
//Menu / Module /plugin in this profile
|
||||
echo "<h1 class=\"legend\">"."Menu"."</h2>";
|
||||
echo "<h1 class=\"legend\">"._("Menu")."</h2>";
|
||||
echo $add_menu;
|
||||
$profile_menu = new Profile_Menu($cn);
|
||||
$profile_menu->listing_profile($p_id);
|
||||
|
|
@ -106,11 +106,11 @@ if ($profile->p_id > 0)
|
|||
echo $add_impression;
|
||||
echo '</div>';
|
||||
echo '<div class="myfieldset" style="display:none" id="profile_gestion_div">';
|
||||
echo "<h1 class=\"legend\">Action gestion accessible</h1>";
|
||||
echo "<h1 class=\"legend\">".('Action gestion accessible')."</h1>";
|
||||
$profile_menu->available_profile($p_id);
|
||||
echo '</div>';
|
||||
echo '<div class="myfieldset" style="display:none" id="profile_repo_div">';
|
||||
echo "<h1 class=\"legend\">"."Dépôt de stock accessible"."</h1>";
|
||||
echo "<h1 class=\"legend\">"._("Dépôt de stock accessible")."</h1>";
|
||||
$profile_menu->available_repository($p_id);
|
||||
echo '</div>';
|
||||
if ( isset ($_POST['tab']))
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once ('constant.php');
|
||||
require_once ('class_database.php');
|
||||
require_once('class_dossier.php');
|
||||
require_once('class_acc_ledger.php');
|
||||
require_once ('class_user.php');
|
||||
require_once NOALYSS_INCLUDE.'/constant.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
|
||||
// Check if the needed field does exist
|
||||
extract ($_GET);
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
* - r_jrn[]
|
||||
*/
|
||||
// require_once '.php';
|
||||
require_once 'class_acc_ledger.php';
|
||||
require_once 'class_html_input.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_html_input.php';
|
||||
if ( ! isset ($r_jrn)) { $r_jrn=null;}
|
||||
$ctl='div_jrn'.$div;
|
||||
ob_start();
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@
|
|||
*
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_user.php');
|
||||
require_once('class_dossier.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
extract($_GET);
|
||||
/* check the parameters */
|
||||
foreach ( array('j','ctl') as $a )
|
||||
|
|
|
|||
|
|
@ -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('class_database.php');
|
||||
require_once('class_dossier.php');
|
||||
require_once("class_document_modele.php");
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_document_modele.php';
|
||||
|
||||
/* 1. Check security */
|
||||
$cn=new Database(dossier::id());
|
||||
|
|
@ -35,7 +35,7 @@ $doc=new Document_Modele($cn,$id);
|
|||
/* 3. display it */
|
||||
$doc->load();
|
||||
ob_start();
|
||||
require('template/modele_document.php');
|
||||
require(NOALYSS_INCLUDE.'/template/modele_document.php');
|
||||
|
||||
$html=ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
|
|
|||
|
|
@ -3,14 +3,14 @@
|
|||
//see licence.txt
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once 'class_menu_ref.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_menu_ref.php';
|
||||
$m=new Menu_Ref($cn,$me_code);
|
||||
$msg="Modification ".$m->me_code.' '.h($m->me_menu);
|
||||
echo '<form method="POST" onsubmit="return confirm(\'Vous confirmez ?\')">';
|
||||
|
||||
require_once 'template/menu_detail.php';
|
||||
require_once NOALYSS_INCLUDE.'/template/menu_detail.php';
|
||||
|
||||
echo HtmlInput::submit('modify_menu','Sauver');
|
||||
echo HtmlInput::submit('modify_menu',_('Sauver'));
|
||||
echo HtmlInput::button_close('divmenu');
|
||||
echo '</form>';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_periode.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_periode.php';
|
||||
|
||||
/**\file
|
||||
* \brief display or save a periode
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
ob_start();
|
||||
require_once 'class_pre_operation.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_pre_operation.php';
|
||||
$op=new Pre_Operation($cn,$_GET['id']);
|
||||
$array=$op->load();
|
||||
echo HtmlInput::anchor_close('mod_predf_op');
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
*
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once 'class_stock_sql.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_stock_sql.php';
|
||||
$st=new Stock_Sql($_GET['r_id']);
|
||||
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
// Copyright Author Dany De Bontridder dany@alchimerys.be
|
||||
if ( ! defined ('ALLOWED')) die('Appel direct ne sont pas permis');
|
||||
echo HtmlInput::title_box("Navigateur", "navi_div");
|
||||
echo HtmlInput::title_box(_("Navigateur"), "navi_div");
|
||||
$sql="
|
||||
select code, me_code,me_description,coalesce(me_description_etendue,me_description) as me_description_etendue,v1menu,v2menu,v3menu,p_type_display,
|
||||
javascript
|
||||
|
|
|
|||
|
|
@ -22,11 +22,11 @@
|
|||
* it permits to change the user preferences
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_user.php');
|
||||
require_once("class_iselect.php");
|
||||
require_once("class_iperiod.php");
|
||||
require_once('class_acc_report.php');
|
||||
require_once('class_periode.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iperiod.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_report.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_periode.php';
|
||||
echo HtmlInput::title_box(_('Préférence'), 'preference_div');
|
||||
echo '<DIV class="content">';
|
||||
echo '<p class="notice">';
|
||||
|
|
|
|||
|
|
@ -21,9 +21,10 @@
|
|||
* \brief Search module
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_dossier.php');
|
||||
include_once("ac_common.php");
|
||||
require_once('class_follow_up.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
include_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_follow_up.php';
|
||||
|
||||
$_REQUEST['ac']='FOLLOW';
|
||||
|
||||
echo Follow_Up::display_search($cn,true);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once 'class_tag.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_tag.php';
|
||||
ob_start();
|
||||
if ($_GET['clear']==1) {
|
||||
/* Add a clear button */
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once 'class_tag.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_tag.php';
|
||||
ob_start();
|
||||
echo Tag::button_search($_GET['pref']);
|
||||
$response= ob_get_clean();
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once 'class_tag.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_tag.php';
|
||||
ob_start();
|
||||
$tag=new Tag($cn);
|
||||
$tag->select_search($_GET['pref']);
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
//see licence.txt
|
||||
|
||||
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once 'class_tool_uos.php';
|
||||
require_once 'class_tag.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_tool_uos.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_tag.php';
|
||||
ob_start();
|
||||
$tag=new Tag($cn);
|
||||
$tag->data->t_id=$_GET['tag'];
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once 'class_tag.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_tag.php';
|
||||
ob_start();
|
||||
$tag=new Tag($cn);
|
||||
$tag->select();
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once 'class_tag.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_tag.php';
|
||||
$tag=new Tag($cn);
|
||||
$tag->save($_GET);
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once 'class_tag.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_tag.php';
|
||||
ob_start();
|
||||
$tag=new Tag($cn);
|
||||
$tag->select_search();
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
* -l for the ledger
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once 'class_acc_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
$ledger=new Acc_Ledger($cn,$l);
|
||||
echo $ledger->input_paid(1);
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -28,10 +28,11 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once ('constant.php');
|
||||
require_once ('class_database.php');
|
||||
require_once('class_dossier.php');
|
||||
require_once('class_pre_operation.php');
|
||||
require_once NOALYSS_INCLUDE.'/constant.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_pre_operation.php';
|
||||
|
||||
// Check if the needed field does exist
|
||||
extract ($_GET);
|
||||
foreach (array('l','t','d','gDossier') as $a)
|
||||
|
|
|
|||
|
|
@ -27,8 +27,8 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
ob_start();
|
||||
require_once 'class_follow_up.php';
|
||||
require_once 'class_default_menu.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_follow_up.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_default_menu.php';
|
||||
|
||||
echo HtmlInput::title_box(_("Détail action"), $div);
|
||||
$act = new Follow_Up($cn);
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
* @brief show detail of inv.
|
||||
*
|
||||
*/
|
||||
require_once 'class_stock_goods.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_stock_goods.php';
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
$st=new Stock_Goods($cn);
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
//see licence.txt
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_anc_acc_list.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_acc_list.php';
|
||||
echo '<div class="content">';
|
||||
$tab = new Anc_Acc_List($cn);
|
||||
$tab->get_request();
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
//see licence.txt
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_anc_table.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_table.php';
|
||||
$tab = new Anc_Table($cn);
|
||||
$tab->get_request();
|
||||
echo '<form method="get">';
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
//see licence.txt
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once ('class_anc_balance_double.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_balance_double.php';
|
||||
$bc = new Anc_Balance_Double($cn);
|
||||
$bc->get_request();
|
||||
echo '<form method="get">';
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
//see licence.txt
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once ('class_anc_balance_simple.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_balance_simple.php';
|
||||
$bs = new Anc_Balance_Simple($cn);
|
||||
$bs->get_request();
|
||||
echo '<form method="get">';
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
echo '<div style="content">';
|
||||
|
||||
require_once 'class_anc_grandlivre.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_grandlivre.php';
|
||||
|
||||
$grandLivre=new Anc_Grandlivre($cn);
|
||||
|
||||
|
|
|
|||
|
|
@ -24,9 +24,9 @@
|
|||
*
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once("class_itext.php");
|
||||
require_once("class_iselect.php");
|
||||
require_once ('class_anc_group.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_group.php';
|
||||
$r=new Anc_Group($cn);
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@
|
|||
//see licence.txt
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_anc_group.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_group.php';
|
||||
|
||||
$gr = new Anc_Group($cn);
|
||||
$gr->get_request();
|
||||
echo '<form method="get">';
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once ('class_anc_listing.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_listing.php';
|
||||
$list = new Anc_Listing($cn);
|
||||
$list->get_request();
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
if (!defined('ALLOWED'))
|
||||
die('Appel direct ne sont pas permis');
|
||||
global $cn, $g_user;
|
||||
require_once 'class_anc_key.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_key.php';
|
||||
$op=HtmlInput::default_value_request("op", "list");
|
||||
|
||||
switch ($op)
|
||||
|
|
|
|||
|
|
@ -26,12 +26,13 @@
|
|||
*
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once("class_ihidden.php");
|
||||
require_once("class_iselect.php");
|
||||
require_once("class_anc_account.php");
|
||||
require_once ("class_anc_operation.php");
|
||||
require_once ("class_anc_plan.php");
|
||||
require_once ("class_anc_group_operation.php");
|
||||
require_once NOALYSS_INCLUDE.'/class_ihidden.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_account.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_operation.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_plan.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_group_operation.php';
|
||||
|
||||
global $g_user;
|
||||
|
||||
$str_dossier=Dossier::get();
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@
|
|||
*
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once("class_anc_plan.php");
|
||||
require_once("class_anc_account.php");
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_plan.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_account.php';
|
||||
$ret="";
|
||||
$str_dossier=Dossier::get();
|
||||
//---------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -24,15 +24,15 @@
|
|||
* some variable are already defined ($cn, $g_user ...)
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
include_once ("ac_common.php");
|
||||
include_once("class_acc_balance.php");
|
||||
require_once("class_iselect.php");
|
||||
require_once("class_ispan.php");
|
||||
require_once("class_icheckbox.php");
|
||||
require_once("class_ihidden.php");
|
||||
require_once('class_acc_ledger.php');
|
||||
require_once('class_periode.php');
|
||||
require_once('class_exercice.php');
|
||||
include_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
include_once NOALYSS_INCLUDE.'/class_acc_balance.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ispan.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_icheckbox.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ihidden.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_periode.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_exercice.php';
|
||||
global $g_user;
|
||||
$gDossier=dossier::id();
|
||||
$exercice=(isset($_GET['exercice']))?$_GET['exercice']:$g_user->get_exercice();
|
||||
|
|
|
|||
|
|
@ -23,7 +23,8 @@
|
|||
* \brief show the status of a card
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_exercice.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_exercice.php';
|
||||
|
||||
global $g_user;
|
||||
echo '<div class="content" style="width:90%;margin-left:5%">';
|
||||
$exercice=new Exercice($cn);
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
* @brief
|
||||
* @param type $name Descriptionara
|
||||
*/
|
||||
require_once('class_exercice.php');
|
||||
require_once 'class_balance_age.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_exercice.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_balance_age.php';
|
||||
$let=( isset ($_GET['p_let']))?'let':'unlet';
|
||||
|
||||
$export_csv = '<FORM METHOD="get" ACTION="export.php" style="display:inline">';
|
||||
|
|
|
|||
|
|
@ -21,21 +21,21 @@
|
|||
* the supplier category
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once("class_iselect.php");
|
||||
require_once("class_ihidden.php");
|
||||
require_once("class_bank.php");
|
||||
require_once("class_ibutton.php");
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ihidden.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_bank.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ibutton.php';
|
||||
global $g_user;
|
||||
|
||||
$low_action=(isset($_REQUEST['sb']))?$_REQUEST['sb']:"list";
|
||||
$low_action=(isset($_REQUEST['sb']))?$_REQUEST['sb']:'list';
|
||||
/*! \file
|
||||
* \brief Called from the module "Gestion" to manage the supplier
|
||||
* \brief Called from the module 'Gestion' to manage the supplier
|
||||
*/
|
||||
$href=basename($_SERVER['PHP_SELF']);
|
||||
|
||||
// by default open liste
|
||||
if ( $low_action == "" )
|
||||
$low_action="list";
|
||||
if ( $low_action == '' )
|
||||
$low_action='list';
|
||||
|
||||
|
||||
//-----------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
|
||||
require_once 'class_calendar.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_calendar.php';
|
||||
$cal=new Calendar();
|
||||
$cal->default_periode=(isset ($_GET['in']))?$_GET['in']:$g_user->get_periode();
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
* \brief Manage the attributs
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_fiche_attr.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche_attr.php';
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
// show list of document
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once ('class_document_type.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_document_type.php';
|
||||
|
||||
if ( isset($_POST['add']) )
|
||||
{
|
||||
|
|
@ -54,6 +54,7 @@ $str_addCat=$addCat->input();
|
|||
$str_addPrefix=$addPrefix->input();
|
||||
$str_submit=HtmlInput::submit('add',_('Ajout'));
|
||||
echo '<div class="content">';
|
||||
require_once('template/list_category_document.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/list_category_document.php';
|
||||
|
||||
echo '</div>';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
* the customer category
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_contact.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_contact.php';
|
||||
|
||||
$str_dossier=Dossier::get();
|
||||
/* $sub_action = sb = detail */
|
||||
|
|
@ -92,14 +92,14 @@ echo '<div class="myfieldset">';
|
|||
//---------------------------------------------------------------------------
|
||||
if ( $ss_action == 'dc' )
|
||||
{
|
||||
require_once('category_detail.inc.php');
|
||||
require_once NOALYSS_INCLUDE.'category_detail.inc.php';
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
// Follow up : mail, bons de commande, livraison, rendez-vous...
|
||||
//---------------------------------------------------------------------------
|
||||
if ( $ss_action == 'sv' )
|
||||
{
|
||||
require_once('category_followup.inc.php');
|
||||
require_once NOALYSS_INCLUDE.'category_followup.inc.php';
|
||||
}
|
||||
/*----------------------------------------------------------------------
|
||||
* Operation all the operation of this customer
|
||||
|
|
@ -107,21 +107,21 @@ if ( $ss_action == 'sv' )
|
|||
* ----------------------------------------------------------------------*/
|
||||
if ( $ss_action == 'op')
|
||||
{
|
||||
require_once('category_operation.inc.php');
|
||||
require_once NOALYSS_INCLUDE.'category_operation.inc.php';
|
||||
}
|
||||
/*-------------------------------------------------------------------------
|
||||
* Balance of the card
|
||||
*-------------------------------------------------------------------------*/
|
||||
if ( $ss_action=='bal')
|
||||
{
|
||||
require_once('balance_card.inc.php');
|
||||
require_once NOALYSS_INCLUDE.'balance_card.inc.php';
|
||||
}
|
||||
/*-------------------------------------------------------------------------
|
||||
* Ageing Balance of the card
|
||||
*-------------------------------------------------------------------------*/
|
||||
if ( $ss_action=='balag')
|
||||
{
|
||||
require_once('balance_card_ageing.inc.php');
|
||||
require_once NOALYSS_INCLUDE.'balance_card_ageing.inc.php';
|
||||
}
|
||||
/*----------------------------------------------------------------------
|
||||
* All the contact
|
||||
|
|
@ -161,6 +161,6 @@ if ( $ss_action == 'cn')
|
|||
*----------------------------------------------------------------------------*/
|
||||
if ( $def==7 )
|
||||
{
|
||||
require_once('lettering.gestion.inc.php');
|
||||
require_once NOALYSS_INCLUDE.'lettering.gestion.inc.php';
|
||||
}
|
||||
echo '</div>';
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
* - $cn = database connection
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_follow_up.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_follow_up.php';
|
||||
|
||||
/**
|
||||
*\note problem with ShowActionList, this function is local
|
||||
|
|
@ -47,5 +47,5 @@ $_GET['qcode']=$fiche->get_quick_code();
|
|||
$_REQUEST['qcode'] = $fiche->get_quick_code();
|
||||
|
||||
echo '<div class="content">';
|
||||
require_once('action.common.inc.php');
|
||||
require_once NOALYSS_INCLUDE.'/action.common.inc.php';
|
||||
echo '</div>';
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
* - $ss_action
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_acc_ledger.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
$f=new Fiche($cn,$_REQUEST['f_id']);
|
||||
$qcode=$f->get_quick_code();
|
||||
$_GET['qcode']=$qcode;
|
||||
|
|
@ -37,5 +37,5 @@ $_REQUEST['qcode']=$qcode;
|
|||
$var_array=compute_variable('ledger_type=ALL');
|
||||
put_global($var_array);
|
||||
|
||||
require_once ('history_operation.inc.php');
|
||||
require_once NOALYSS_INCLUDE.'/history_operation.inc.php';
|
||||
|
||||
|
|
|
|||
|
|
@ -21,16 +21,16 @@
|
|||
* \brief module to manage the card (removing, listing, creating, modify attribut)
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
include_once ("ac_common.php");
|
||||
require_once("class_itext.php");
|
||||
require_once("class_ihidden.php");
|
||||
require_once('class_fiche.php');
|
||||
require_once('class_database.php');
|
||||
include_once ("user_menu.php");
|
||||
require_once('class_dossier.php');
|
||||
require_once 'class_sort_table.php';
|
||||
require_once 'class_fiche_def.php';
|
||||
require_once 'class_tool_uos.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ihidden.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/user_menu.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'class_sort_table.php';
|
||||
require_once NOALYSS_INCLUDE.'class_fiche_def.php';
|
||||
require_once NOALYSS_INCLUDE.'class_tool_uos.php';
|
||||
|
||||
$retour=HtmlInput::button_anchor("Retour à la liste", HtmlInput::get_to_string(array("gDossier","ac")));
|
||||
|
||||
|
|
|
|||
|
|
@ -27,12 +27,12 @@
|
|||
*
|
||||
*/
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once('class_dossier.php');
|
||||
require_once ("ac_common.php");
|
||||
require_once('class_database.php');
|
||||
require_once ("class_user.php");
|
||||
require_once ("user_menu.php");
|
||||
require_once 'class_acc_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/user_menu.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
|
||||
$gDossier=dossier::id();
|
||||
global $cn;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
// Copyright (2014) Author Dany De Bontridder <dany@alchimerys.be>
|
||||
|
||||
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
||||
require_once 'class_extension.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_extension.php';
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
|
@ -32,15 +32,15 @@ global $cn;
|
|||
* store them into an array a_plugin
|
||||
******************************************************************************
|
||||
*/
|
||||
$dirscan=scandir('../include/ext/');
|
||||
$dirscan=scandir(NOALYSS_PLUGIN);
|
||||
$nb_dirscan=count($dirscan);
|
||||
$a_plugin=array();
|
||||
for ($e=0;$e<$nb_dirscan;$e++) {
|
||||
if ($dirscan[$e] != '.' && $dirscan[$e]!='..' && is_dir('../include/ext/'.$dirscan[$e])) {
|
||||
if ($dirscan[$e] != '.' && $dirscan[$e]!='..' && is_dir(NOALYSS_PLUGIN.'/'.$dirscan[$e])) {
|
||||
$dir_plugin=$dirscan[$e];
|
||||
if (file_exists('../include/ext/'.$dir_plugin.'/plugin.xml')) {
|
||||
if (file_exists(NOALYSS_PLUGIN.'/'.$dir_plugin.'/plugin.xml')) {
|
||||
|
||||
$extension=Extension::read_definition('../include/ext/'.$dir_plugin.'/plugin.xml');
|
||||
$extension=Extension::read_definition(NOALYSS_PLUGIN.'/'.$dir_plugin.'/plugin.xml');
|
||||
for ($i=0;$i<count($extension);$i++)
|
||||
{
|
||||
$a_plugin[]=clone $extension[$i];
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
* @brief Manage the tags
|
||||
*
|
||||
*/
|
||||
require_once 'class_tag.php';
|
||||
require_once 'class_tool_uos.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_tag.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_tool_uos.php';
|
||||
|
||||
$tag=new Tag($cn);
|
||||
$uos=new Tool_Uos('tag');
|
||||
|
|
|
|||
|
|
@ -23,9 +23,9 @@
|
|||
/*!
|
||||
* \brief Manage the account from the table tmp_pcmn
|
||||
*/
|
||||
require_once("class_iselect.php");
|
||||
require_once ('class_database.php');
|
||||
require_once ('class_dossier.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
|
||||
class Acc_Account
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,9 +23,9 @@
|
|||
/*!
|
||||
* \brief Manage the account from the table jrn, jrnx or tmp_pcmn
|
||||
*/
|
||||
require_once("class_ihidden.php");
|
||||
require_once ('class_database.php');
|
||||
require_once ('class_dossier.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_ihidden.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
|
||||
class Acc_Account_Ledger
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
/*!
|
||||
* \brief Class for manipulating data to print the balance of account
|
||||
*/
|
||||
require_once('class_acc_account.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_account.php';
|
||||
|
||||
class Acc_Balance
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,12 +23,12 @@
|
|||
* \brief this class handle the different bilan, from the table bilan
|
||||
*
|
||||
*/
|
||||
require_once("class_iselect.php");
|
||||
require_once ('class_database.php');
|
||||
require_once ('class_dossier.php');
|
||||
require_once ('class_impress.php');
|
||||
require_once ('header_print.php');
|
||||
require_once ('class_acc_account_ledger.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_impress.php';
|
||||
require_once NOALYSS_INCLUDE.'/header_print.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_account_ledger.php';
|
||||
|
||||
/*!
|
||||
* \brief this class handle the different bilan, from the table bilan, parse the form and replace
|
||||
|
|
|
|||
|
|
@ -17,32 +17,32 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
require_once("class_iselect.php");
|
||||
require_once("class_icard.php");
|
||||
require_once("class_ispan.php");
|
||||
require_once("class_ihidden.php");
|
||||
require_once("class_idate.php");
|
||||
require_once("class_itext.php");
|
||||
require_once("class_icheckbox.php");
|
||||
require_once('class_iperiod.php');
|
||||
require_once('class_fiche.php');
|
||||
require_once('class_user.php');
|
||||
require_once ('class_dossier.php');
|
||||
require_once ('class_anc_operation.php');
|
||||
require_once ('class_acc_operation.php');
|
||||
require_once ('class_acc_account_ledger.php');
|
||||
require_once ('class_pre_op_advanced.php');
|
||||
require_once ('class_acc_reconciliation.php');
|
||||
require_once ('class_periode.php');
|
||||
require_once ('class_gestion_purchase.php');
|
||||
require_once ('class_gestion_sold.php');
|
||||
require_once ('class_acc_account.php');
|
||||
require_once('ac_common.php');
|
||||
require_once('class_inum.php');
|
||||
require_once('class_lettering.php');
|
||||
require_once 'class_sort_table.php';
|
||||
require_once 'class_jrn_def_sql.php';
|
||||
require_once 'class_acc_payment.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_icard.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ispan.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ihidden.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_idate.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_icheckbox.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iperiod.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_operation.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_operation.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_account_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_pre_op_advanced.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_reconciliation.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_periode.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_gestion_purchase.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_gestion_sold.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_account.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_inum.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_lettering.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_sort_table.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_jrn_def_sql.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_payment.php';
|
||||
/** \file
|
||||
* @brief Class for jrn, class acc_ledger for manipulating the ledger
|
||||
*/
|
||||
|
|
@ -2643,7 +2643,7 @@ class Acc_Ledger extends jrn_def_sql
|
|||
$r.=HtmlInput::hidden('ledger_type', $this->type);
|
||||
$r.=HtmlInput::hidden('ac', $_REQUEST['ac']);
|
||||
ob_start();
|
||||
require_once('template/ledger_search.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/ledger_search.php';
|
||||
$r.=ob_get_contents();
|
||||
ob_end_clean();
|
||||
return $r;
|
||||
|
|
@ -3516,7 +3516,7 @@ class Acc_Ledger extends jrn_def_sql
|
|||
$new = 0;
|
||||
$cn = $this->db;
|
||||
echo $hidden;
|
||||
require_once('template/param_jrn.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/param_jrn.php';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -3727,7 +3727,7 @@ class Acc_Ledger extends jrn_def_sql
|
|||
$cn = $this->db;
|
||||
$min_row = new INum("min_row",MAX_ARTICLE);
|
||||
$min_row->prec=0;
|
||||
require_once('template/param_jrn.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/param_jrn.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("class_idate.php");
|
||||
require_once("class_icard.php");
|
||||
require_once("class_ispan.php");
|
||||
require_once("class_itext.php");
|
||||
require_once("class_iconcerned.php");
|
||||
require_once("class_ifile.php");
|
||||
require_once("class_ihidden.php");
|
||||
require_once("class_iselect.php");
|
||||
require_once('class_acc_ledger.php');
|
||||
require_once('ac_common.php');
|
||||
require_once('class_acc_reconciliation.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_idate.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_icard.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ispan.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iconcerned.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ifile.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ihidden.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_reconciliation.php';
|
||||
|
||||
class Acc_Ledger_Fin extends Acc_Ledger
|
||||
{
|
||||
|
|
@ -440,7 +440,7 @@ class Acc_Ledger_Fin extends Acc_Ledger
|
|||
}
|
||||
|
||||
ob_start();
|
||||
require_once('template/form_ledger_fin.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/form_ledger_fin.php';
|
||||
$r.=ob_get_contents();
|
||||
ob_end_clean();
|
||||
$r.= create_script("$('".$Date->id."').focus()");
|
||||
|
|
|
|||
|
|
@ -18,9 +18,9 @@
|
|||
*/
|
||||
|
||||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
require_once ('class_dossier.php');
|
||||
require_once ('class_database.php');
|
||||
require_once('ac_common.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
|
||||
/*!\file
|
||||
* \brief Manage additional info for Accountancy
|
||||
|
|
|
|||
|
|
@ -22,25 +22,25 @@
|
|||
/*!\file
|
||||
* \brief class for the purchase, herits from acc_ledger
|
||||
*/
|
||||
require_once("class_iselect.php");
|
||||
require_once("class_icard.php");
|
||||
require_once("class_ispan.php");
|
||||
require_once("class_ihidden.php");
|
||||
require_once("class_iperiod.php");
|
||||
require_once("class_idate.php");
|
||||
require_once("class_itext.php");
|
||||
require_once("class_ifile.php");
|
||||
require_once('class_acc_ledger.php');
|
||||
require_once('class_acc_compute.php');
|
||||
require_once('class_anc_operation.php');
|
||||
require_once('user_common.php');
|
||||
require_once('class_acc_parm_code.php');
|
||||
require_once('class_acc_payment.php');
|
||||
require_once('ac_common.php');
|
||||
require_once('class_itva_popup.php');
|
||||
require_once('class_acc_ledger_info.php');
|
||||
require_once('class_acc_ledger_fin.php');
|
||||
require_once 'class_stock_goods.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_icard.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ispan.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ihidden.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iperiod.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_idate.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ifile.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_compute.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_operation.php';
|
||||
require_once NOALYSS_INCLUDE.'/user_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_parm_code.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_payment.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_itva_popup.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger_info.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger_fin.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_stock_goods.php';
|
||||
|
||||
/*!\brief Handle the ledger of purchase,
|
||||
*
|
||||
|
|
@ -1272,7 +1272,7 @@ class Acc_Ledger_Purchase extends Acc_Ledger
|
|||
$f_type=_('Fournisseur');
|
||||
|
||||
ob_start();
|
||||
require_once('template/form_ledger_detail.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/form_ledger_detail.php';
|
||||
$r.=ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
|
|
|
|||
|
|
@ -23,24 +23,24 @@
|
|||
/* !\file
|
||||
* \brief class for the sold, herits from acc_ledger
|
||||
*/
|
||||
require_once("class_iselect.php");
|
||||
require_once("class_icard.php");
|
||||
require_once("class_ispan.php");
|
||||
require_once("class_ihidden.php");
|
||||
require_once("class_idate.php");
|
||||
require_once("class_itext.php");
|
||||
require_once("class_ifile.php");
|
||||
require_once('class_acc_ledger.php');
|
||||
require_once('class_acc_compute.php');
|
||||
require_once('class_anc_operation.php');
|
||||
require_once('user_common.php');
|
||||
require_once('class_acc_payment.php');
|
||||
require_once('ac_common.php');
|
||||
require_once('class_own.php');
|
||||
require_once('class_itva_popup.php');
|
||||
require_once('class_acc_ledger_fin.php');
|
||||
require_once 'class_stock_goods.php';
|
||||
require_once 'class_acc_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_icard.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ispan.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ihidden.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_idate.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ifile.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_compute.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_operation.php';
|
||||
require_once NOALYSS_INCLUDE.'/user_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_payment.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_itva_popup.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger_fin.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_stock_goods.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
|
||||
/* !\brief Handle the ledger of sold,
|
||||
*
|
||||
|
|
@ -1284,7 +1284,7 @@ EOF;
|
|||
|
||||
|
||||
ob_start();
|
||||
require_once('template/form_ledger_detail.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/form_ledger_detail.php';
|
||||
$r.=ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
|
|
|
|||
|
|
@ -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 ('class_user.php');
|
||||
require_once('class_acc_ledger.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
|
||||
/*! \brief this file match the tables jrn & jrnx the purpose is to
|
||||
* remove or save accountant writing to these table.
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@
|
|||
* \brief Manage the table parm_code which contains the custom parameter
|
||||
* for the module accountancy
|
||||
*/
|
||||
require_once("class_itext.php");
|
||||
require_once('class_acc_account_ledger.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_account_ledger.php';
|
||||
|
||||
class Acc_Parm_Code
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,13 +22,13 @@
|
|||
/*!\file
|
||||
* \brief Handle the table mod_payment
|
||||
*/
|
||||
require_once("class_iselect.php");
|
||||
require_once("class_icard.php");
|
||||
require_once("class_ispan.php");
|
||||
require_once('class_acc_ledger.php');
|
||||
require_once('class_fiche.php');
|
||||
require_once('class_fiche_def.php');
|
||||
require_once('constant.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_icard.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ispan.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche_def.php';
|
||||
require_once NOALYSS_INCLUDE.'/constant.php';
|
||||
/*!\brief Handle the table mod_payment
|
||||
*\note the private data member are accessed via
|
||||
- mp_id ==> id ( Primary key )
|
||||
|
|
@ -267,7 +267,7 @@ class Acc_Payment
|
|||
|
||||
$msg="Modification de ".$this->mp_lib;
|
||||
ob_start();
|
||||
require_once('template/new_mod_payment.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/new_mod_payment.php';
|
||||
$r=ob_get_contents();
|
||||
ob_end_clean();
|
||||
return $r;
|
||||
|
|
@ -389,7 +389,7 @@ class Acc_Payment
|
|||
$f_qcode=$qcode->input();
|
||||
$msg="Ajout d'un nouveau moyen de paiement";
|
||||
ob_start();
|
||||
require_once('template/new_mod_payment.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/new_mod_payment.php';
|
||||
$r=ob_get_contents();
|
||||
ob_end_clean();
|
||||
return $r;
|
||||
|
|
|
|||
|
|
@ -24,10 +24,10 @@
|
|||
* must use it
|
||||
*
|
||||
*/
|
||||
require_once("class_iconcerned.php");
|
||||
require_once ('class_database.php');
|
||||
require_once ('class_dossier.php');
|
||||
require_once 'class_lettering.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iconcerned.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_lettering.php';
|
||||
|
||||
/*! \brief new class for managing the reconciliation it must be used
|
||||
* instead of the function InsertRapt, ...
|
||||
|
|
|
|||
|
|
@ -21,10 +21,10 @@
|
|||
* \brief Create, view, modify and parse report
|
||||
*/
|
||||
|
||||
require_once("class_itext.php");
|
||||
require_once("class_ibutton.php");
|
||||
require_once('class_acc_report_row.php');
|
||||
require_once('class_impress.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ibutton.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_report_row.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_impress.php';
|
||||
|
||||
/*!
|
||||
* \brief Class rapport Create, view, modify and parse report
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
/*!\file
|
||||
* \brief this class is used for the table tva_rate
|
||||
*/
|
||||
require_once('class_dossier.php');
|
||||
require_once('class_database.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
|
||||
/*!\brief Acc_Tva is used for to map the table tva_rate
|
||||
* parameter are
|
||||
|
|
|
|||
|
|
@ -17,13 +17,13 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
// Copyright Author Dany De Bontridder danydb@aevalys.eu
|
||||
require_once("constant.php");
|
||||
require_once('class_database.php');
|
||||
require_once("class_acc_parm_code.php");
|
||||
require_once NOALYSS_INCLUDE.'/constant.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_parm_code.php';
|
||||
|
||||
require_once('class_fiche.php');
|
||||
require_once('class_acc_account_ledger.php');
|
||||
require_once('user_common.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_fiche.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_account_ledger.php';
|
||||
require_once NOALYSS_INCLUDE.'/user_common.php';
|
||||
/*! \file
|
||||
* \brief Derived from class fiche Administration are a specific kind of card
|
||||
* concerned only by official (or not) administration
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
/*!\file
|
||||
* \brief link between accountancy and analytic, like table but as a listing
|
||||
*/
|
||||
require_once('class_anc_print.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_print.php';
|
||||
|
||||
class Anc_Acc_Link extends Anc_Print
|
||||
{
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
* \brief
|
||||
*/
|
||||
|
||||
require_once('class_anc_acc_link.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_acc_link.php';
|
||||
|
||||
class Anc_Acc_List extends Anc_Acc_Link
|
||||
{
|
||||
|
|
|
|||
|
|
@ -26,12 +26,12 @@
|
|||
/*!\brief contains the object for the poste_analytique (table poste_analytique)
|
||||
*
|
||||
*/
|
||||
require_once("class_ihidden.php");
|
||||
require_once("class_itext.php");
|
||||
require_once("class_iselect.php");
|
||||
require_once("class_ispan.php");
|
||||
require_once('class_database.php');
|
||||
require_once("class_anc_plan.php");
|
||||
require_once NOALYSS_INCLUDE.'/class_ihidden.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_ispan.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_plan.php';
|
||||
|
||||
class Anc_Account
|
||||
{
|
||||
|
|
|
|||
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