Use a variable for an absolute path for performance reason
NOALYSS_INCLUDE NOALYSS_HOME NOALYSS_PLUGIN New logo and cosmetic
This commit is contained in:
parent
8c3875c119
commit
1ddde7c2ab
21 changed files with 112 additions and 112 deletions
|
|
@ -24,8 +24,8 @@
|
|||
*/
|
||||
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/../../include/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/../../include/class_icheckbox.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_icheckbox.php';
|
||||
|
||||
function is_unix()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -65,7 +65,6 @@ ini_set ('default_charset',"UTF-8");
|
|||
*/
|
||||
|
||||
|
||||
|
||||
global $g_captcha,$g_failed,$g_succeed;
|
||||
$g_captcha=false;
|
||||
$g_failed="<span style=\"font-size:18px;color:red\">✖</span>";
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
/**\file
|
||||
* \brief this file respond to an ajax request to modify a type of document
|
||||
*/
|
||||
require_once 'class_document_type.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_document_type.php';
|
||||
echo HtmlInput::title_box(_('Type de document'),'change_doc_div');
|
||||
|
||||
$doc_type=new Document_type($cn,$dt_id);
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@
|
|||
//This file is part of NOALYSS and is under GPL
|
||||
//see licence.txt
|
||||
$str_anc="";
|
||||
?><?php require_once('template/ledger_detail_top.php'); ?>
|
||||
?><?php require_once NOALYSS_INCLUDE.'/template/ledger_detail_top.php'; ?>
|
||||
<div class="content" style="padding:0;">
|
||||
<?php
|
||||
require_once('class_own.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||
$owner = new Own($cn);
|
||||
?>
|
||||
|
||||
|
|
@ -250,6 +250,6 @@ $str_anc="";
|
|||
|
||||
|
||||
<?php
|
||||
require_once('ledger_detail_bottom.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/ledger_detail_bottom.php';
|
||||
?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -230,7 +230,7 @@ echo '</div>';
|
|||
|
||||
<?php
|
||||
|
||||
require_once('template/ledger_detail_file.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/ledger_detail_file.php';
|
||||
?>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@
|
|||
//This file is part of NOALYSS and is under GPL
|
||||
//see licence.txt
|
||||
$str_anc="";
|
||||
?><?php require_once('template/ledger_detail_top.php'); ?>
|
||||
?><?php require_once NOALYSS_INCLUDE.'/template/ledger_detail_top.php'; ?>
|
||||
<div class="content" style="padding:0;">
|
||||
<?php
|
||||
require_once('class_own.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||
$owner=new Own($cn);
|
||||
require_once ('class_anc_plan.php');
|
||||
require_once('class_anc_operation.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_plan.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_operation.php';
|
||||
|
||||
?>
|
||||
<?php if ( $access=='W') : ?>
|
||||
|
|
@ -141,6 +141,6 @@ echo td(_('Pièce')).td($itext->input());
|
|||
?>
|
||||
</div>
|
||||
<?php
|
||||
require_once 'ledger_detail_bottom.php';
|
||||
require_once NOALYSS_INCLUDE.'/template/ledger_detail_bottom.php';
|
||||
?>
|
||||
</div>
|
||||
|
|
@ -2,14 +2,14 @@
|
|||
//This file is part of NOALYSS and is under GPL
|
||||
//see licence.txt
|
||||
?><?php
|
||||
require_once('template/ledger_detail_top.php');
|
||||
require_once('class_anc_operation.php');
|
||||
require_once('class_anc_plan.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/ledger_detail_top.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_operation.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_plan.php';
|
||||
$str_anc="";
|
||||
?>
|
||||
<?php
|
||||
require_once('class_own.php');
|
||||
require_once ('class_anc_plan.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_anc_plan.php';
|
||||
?>
|
||||
<div class="content" style="padding:0">
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ require_once ('class_anc_plan.php');
|
|||
|
||||
<div class="myfieldset">
|
||||
<?php
|
||||
require_once('class_own.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||
$owner=new Own($cn);
|
||||
?>
|
||||
<table class="result">
|
||||
|
|
@ -187,6 +187,6 @@ $amount_idx=0;
|
|||
</table>
|
||||
</div>
|
||||
<?php
|
||||
require_once('ledger_detail_bottom.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/ledger_detail_bottom.php';
|
||||
?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -20,5 +20,5 @@
|
|||
</div>
|
||||
<?php echo _("Opération ID")."=".hb($obj->det->jr_internal); ?>
|
||||
<div id="<?php echo $div.'info'?>" class="divinfo"></div>
|
||||
<?php require_once('class_itextarea.php');
|
||||
<?php require_once NOALYSS_INCLUDE.'/class_itextarea.php';
|
||||
?>
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
//This file is part of NOALYSS and is under GPL
|
||||
//see licence.txt
|
||||
?><?php require_once('ledger_detail_top.php'); ?>
|
||||
?><?php require_once NOALYSS_INCLUDE.'/template/ledger_detail_top.php'; ?>
|
||||
<?php
|
||||
$tab_account=$div."account";
|
||||
$tab_rapprochement=$div."rapproch";
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
?>
|
||||
<div class="content" style="padding:0;">
|
||||
<?php
|
||||
require_once('class_own.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||
$owner = new Own($cn);
|
||||
?>
|
||||
|
||||
|
|
@ -252,5 +252,5 @@ echo $ipaid->input();
|
|||
</div>
|
||||
|
||||
<?php
|
||||
require_once('ledger_detail_bottom.php');
|
||||
require_once NOALYSS_INCLUDE.'/template/ledger_detail_bottom.php';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
//This file is part of NOALYSS and is under GPL
|
||||
//see licence.txt
|
||||
?><?php
|
||||
require_once ('class_acc_operation.php');
|
||||
require_once ('class_acc_reconciliation.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_operation.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_reconciliation.php';
|
||||
$amount_deb=0;$amount_cred=0;
|
||||
$gDossier=dossier::id();
|
||||
global $g_failed;
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
//This file is part of NOALYSS and is under GPL
|
||||
//see licence.txt
|
||||
?><?php
|
||||
require_once ('class_acc_operation.php');
|
||||
require_once ('class_acc_reconciliation.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_operation.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_reconciliation.php';
|
||||
|
||||
$gDossier=dossier::id();
|
||||
if ( count($this->content) == 0 ) :
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
//This file is part of NOALYSS and is under GPL
|
||||
//see licence.txt
|
||||
?><?php
|
||||
require_once 'class_html_input.php';
|
||||
require_once 'class_itext.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_html_input.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||
echo HtmlInput::title_box($msg,"divmenu");
|
||||
$str_code=new IText('me_code',$m->me_code);
|
||||
if ( $m->me_code != -1) $str_code->setReadOnly (true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue