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
|
|
@ -14,7 +14,7 @@
|
||||||
color:darkblue;
|
color:darkblue;
|
||||||
margin-left : 50px;
|
margin-left : 50px;
|
||||||
margin-right: 50px;
|
margin-right: 50px;
|
||||||
background-color: #e1edf7;
|
background-color: #F8F8FF;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 120%;
|
font-size: 120%;
|
||||||
|
|
@ -59,7 +59,7 @@
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 0px;
|
border-width: 0px;
|
||||||
font-color:blue;
|
font-color:blue;
|
||||||
margin:1px 2px 1px 2px;
|
margin:2px 2px 1px 2px;
|
||||||
}
|
}
|
||||||
.warning,.error {
|
.warning,.error {
|
||||||
color:red;
|
color:red;
|
||||||
|
|
@ -68,7 +68,7 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<IMG SRC="../image/logo6720.png" alt="NOALYSS">
|
<IMG SRC="../image/logo6820.png" style="width: 415px;height: 200px" alt="NOALYSS">
|
||||||
</p>
|
</p>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
@ -103,6 +103,7 @@
|
||||||
<script type="text/javascript" charset="utf-8" language="javascript" src="setup.js"></script>
|
<script type="text/javascript" charset="utf-8" language="javascript" src="setup.js"></script>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
require_once '../../include/constant.php';
|
||||||
|
|
||||||
$failed="<span style=\"font-size:18px;color:red\">✖</span>";
|
$failed="<span style=\"font-size:18px;color:red\">✖</span>";
|
||||||
$succeed="<span style=\"font-size:18px;color:green\">✓</span>";
|
$succeed="<span style=\"font-size:18px;color:green\">✓</span>";
|
||||||
|
|
@ -211,9 +212,9 @@ if ( ! file_exists('..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'include'.D
|
||||||
// magic_quotes_runtime = Off
|
// magic_quotes_runtime = Off
|
||||||
// magic_quotes_sybase = Off
|
// magic_quotes_sybase = Off
|
||||||
// include_path
|
// include_path
|
||||||
require_once '../../include/constant.php';
|
require_once NOALYSS_INCLUDE.'/config_file.php';
|
||||||
require_once('config_file.php');
|
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||||
require_once('class_database.php');
|
|
||||||
if ( defined ("MULTI") && MULTI==1) { create_htaccess();}
|
if ( defined ("MULTI") && MULTI==1) { create_htaccess();}
|
||||||
|
|
||||||
echo '<h1 class="title">Configuration</h1>';
|
echo '<h1 class="title">Configuration</h1>';
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||||
require_once NOALYSS_INCLUDE.'/class_extension.php';
|
require_once NOALYSS_INCLUDE.'/class_extension.php';
|
||||||
if ( !isset ($_REQUEST['gDossier'])) exit();
|
if ( !isset ($_REQUEST['gDossier'])) exit();
|
||||||
|
|
||||||
require_once 'class_own.php';
|
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||||
mb_internal_encoding("UTF-8");
|
mb_internal_encoding("UTF-8");
|
||||||
|
|
||||||
global $g_user,$cn,$g_parameter;
|
global $g_user,$cn,$g_parameter;
|
||||||
|
|
@ -59,7 +59,7 @@ if (isset($_REQUEST['plugin_code']) )
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
/* call the ajax script */
|
/* call the ajax script */
|
||||||
require_once('ext'.DIRECTORY_SEPARATOR.dirname(trim($ext->getp('me_file'))).DIRECTORY_SEPARATOR.'ajax.php');
|
require_once(NOALYSS_PLUGIN.DIRECTORY_SEPARATOR.dirname(trim($ext->getp('me_file'))).DIRECTORY_SEPARATOR.'ajax.php');
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -356,7 +356,7 @@ case 'sc':
|
||||||
*
|
*
|
||||||
*----------------------------------------------------------------------*/
|
*----------------------------------------------------------------------*/
|
||||||
case 'fs':
|
case 'fs':
|
||||||
require_once('class_acc_ledger.php');
|
require_once NOALYSS_INCLUDE.'/class_acc_ledger.php';
|
||||||
$r=HtmlInput::title_box(_("Détail fiche"), 'search_card');
|
$r=HtmlInput::title_box(_("Détail fiche"), 'search_card');
|
||||||
$r.='<form method="GET" onsubmit="this.ctl=\'ipop_card\';search_get_card(this);return false;">';
|
$r.='<form method="GET" onsubmit="this.ctl=\'ipop_card\';search_get_card(this);return false;">';
|
||||||
$q=new IText('query');
|
$q=new IText('query');
|
||||||
|
|
@ -427,14 +427,14 @@ case 'fs':
|
||||||
}//foreach
|
}//foreach
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
require_once('template/card_result.php');
|
require_once NOALYSS_INCLUDE.'/template/card_result.php';
|
||||||
$r.=ob_get_contents();
|
$r.=ob_get_contents();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
$ctl=$ctl.'_content';
|
$ctl=$ctl.'_content';
|
||||||
$html=$r;
|
$html=$r;
|
||||||
break;
|
break;
|
||||||
case 'action_add_concerned_card':
|
case 'action_add_concerned_card':
|
||||||
require_once 'ajax_add_concerned_card.php';
|
require_once NOALYSS_INCLUDE.'/ajax_add_concerned_card.php';
|
||||||
return;
|
return;
|
||||||
break;
|
break;
|
||||||
case 'action_save_concerned':
|
case 'action_save_concerned':
|
||||||
|
|
|
||||||
|
|
@ -123,7 +123,7 @@ if ( isset($_GET['f_id']))
|
||||||
}
|
}
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
require_once('template/history_top.php');
|
require_once NOALYSS_INCLUDE.'/template/history_top.php';
|
||||||
$detail_card=HtmlInput::card_detail($fiche->strAttribut(ATTR_DEF_QUICKCODE),$fiche->getName());
|
$detail_card=HtmlInput::card_detail($fiche->strAttribut(ATTR_DEF_QUICKCODE),$fiche->getName());
|
||||||
echo h2( $fiche->getName().'['.$fiche->strAttribut(ATTR_DEF_QUICKCODE).']',' class="title" ');
|
echo h2( $fiche->getName().'['.$fiche->strAttribut(ATTR_DEF_QUICKCODE).']',' class="title" ');
|
||||||
echo '<p style="text-align:center;">'.$detail_card.'</p>';
|
echo '<p style="text-align:center;">'.$detail_card.'</p>';
|
||||||
|
|
@ -195,7 +195,7 @@ if ( isset($_REQUEST['pcm_val']))
|
||||||
}
|
}
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
require_once('template/history_top.php');
|
require_once NOALYSS_INCLUDE.'/template/history_top.php';
|
||||||
|
|
||||||
if ( $poste->HtmlTable($array) == -1)
|
if ( $poste->HtmlTable($array) == -1)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ $g_user->check();
|
||||||
if ( $g_user->check_dossier(dossier::id(),true)=='X' )
|
if ( $g_user->check_dossier(dossier::id(),true)=='X' )
|
||||||
{
|
{
|
||||||
ob_start();
|
ob_start();
|
||||||
require_once ('template/ledger_detail_forbidden.php');
|
require_once NOALYSS_INCLUDE.'/template/ledger_detail_forbidden.php';
|
||||||
echo HtmlInput::button_close($div);
|
echo HtmlInput::button_close($div);
|
||||||
$html=ob_get_contents();
|
$html=ob_get_contents();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
|
@ -117,7 +117,7 @@ if ($ledger=="")
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
echo HtmlInput::title_box(_("Information"), $div);
|
echo HtmlInput::title_box(_("Information"), $div);
|
||||||
require_once ('template/ledger_detail_forbidden.php');
|
require_once NOALYSS_INCLUDE.'/template/ledger_detail_forbidden.php';
|
||||||
echo HtmlInput::button_close($div);
|
echo HtmlInput::button_close($div);
|
||||||
$html=ob_get_contents();
|
$html=ob_get_contents();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
|
@ -139,7 +139,7 @@ if ( $access == 'X' )
|
||||||
{
|
{
|
||||||
ob_start();
|
ob_start();
|
||||||
echo HtmlInput::title_box(_("Information"), $div);
|
echo HtmlInput::title_box(_("Information"), $div);
|
||||||
require_once ('template/ledger_detail_forbidden.php');
|
require_once NOALYSS_INCLUDE.'/template/ledger_detail_forbidden.php';
|
||||||
echo HtmlInput::button_close($div);
|
echo HtmlInput::button_close($div);
|
||||||
$html=ob_get_contents();
|
$html=ob_get_contents();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
|
@ -202,19 +202,19 @@ case 'de':
|
||||||
if ( $obj==null || $obj->signature == 'ODS' )
|
if ( $obj==null || $obj->signature == 'ODS' )
|
||||||
{
|
{
|
||||||
/* only the details */
|
/* only the details */
|
||||||
require_once('template/ledger_detail_misc.php');
|
require_once NOALYSS_INCLUDE.'/template/ledger_detail_misc.php';
|
||||||
}
|
}
|
||||||
elseif ( $obj->signature=='ACH')
|
elseif ( $obj->signature=='ACH')
|
||||||
{
|
{
|
||||||
require_once('template/ledger_detail_ach.php');
|
require_once NOALYSS_INCLUDE.'/template/ledger_detail_ach.php';
|
||||||
}
|
}
|
||||||
elseif ($obj->signature=='FIN')
|
elseif ($obj->signature=='FIN')
|
||||||
{
|
{
|
||||||
require_once('template/ledger_detail_fin.php');
|
require_once NOALYSS_INCLUDE.'/template/ledger_detail_fin.php';
|
||||||
}
|
}
|
||||||
elseif ( $obj->signature=='VEN')
|
elseif ( $obj->signature=='VEN')
|
||||||
{
|
{
|
||||||
require_once('template/ledger_detail_ven.php');
|
require_once NOALYSS_INCLUDE.'/template/ledger_detail_ven.php';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception $e)
|
catch (Exception $e)
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ switch ($op)
|
||||||
case "rm_stock":
|
case "rm_stock":
|
||||||
if ($g_user->check_module('STOCK') == 0)
|
if ($g_user->check_module('STOCK') == 0)
|
||||||
exit();
|
exit();
|
||||||
require_once('constant.security.php');
|
require_once NOALYSS_INCLUDE.'/constant.security.php';
|
||||||
$cn->exec_sql('delete from stock_goods where sg_id=$1', array($s_id));
|
$cn->exec_sql('delete from stock_goods where sg_id=$1', array($s_id));
|
||||||
$html = escape_xml($s_id);
|
$html = escape_xml($s_id);
|
||||||
header('Content-type: text/xml; charset=UTF-8');
|
header('Content-type: text/xml; charset=UTF-8');
|
||||||
|
|
@ -122,7 +122,7 @@ switch ($op)
|
||||||
//--------------------------------------------------
|
//--------------------------------------------------
|
||||||
// get the last date of a ledger
|
// get the last date of a ledger
|
||||||
case 'lastdate':
|
case 'lastdate':
|
||||||
require_once('class_acc_ledger_fin.php');
|
require_once NOALYSS_INCLUDE.'/class_acc_ledger_fin.php';
|
||||||
$ledger = new Acc_Ledger_Fin($cn, $_GET['p_jrn']);
|
$ledger = new Acc_Ledger_Fin($cn, $_GET['p_jrn']);
|
||||||
$html = $ledger->get_last_date();
|
$html = $ledger->get_last_date();
|
||||||
$html = escape_xml($html);
|
$html = escape_xml($html);
|
||||||
|
|
@ -137,7 +137,7 @@ EOF;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case 'bkname':
|
case 'bkname':
|
||||||
require_once('class_acc_ledger_fin.php');
|
require_once NOALYSS_INCLUDE.'/class_acc_ledger_fin.php';
|
||||||
$ledger = new Acc_Ledger_Fin($cn, $_GET['p_jrn']);
|
$ledger = new Acc_Ledger_Fin($cn, $_GET['p_jrn']);
|
||||||
$html = $ledger->get_bank_name();
|
$html = $ledger->get_bank_name();
|
||||||
$html = escape_xml($html);
|
$html = escape_xml($html);
|
||||||
|
|
@ -152,7 +152,7 @@ EOF;
|
||||||
break;
|
break;
|
||||||
// display new calendar
|
// display new calendar
|
||||||
case 'cal':
|
case 'cal':
|
||||||
require_once('class_calendar.php');
|
require_once NOALYSS_INCLUDE.'/class_calendar.php';
|
||||||
/* others report */
|
/* others report */
|
||||||
$cal = new Calendar();
|
$cal = new Calendar();
|
||||||
$cal->set_periode($per);
|
$cal->set_periode($per);
|
||||||
|
|
@ -170,7 +170,7 @@ EOF;
|
||||||
break;
|
break;
|
||||||
/* rem a cat of document */
|
/* rem a cat of document */
|
||||||
case 'rem_cat_doc':
|
case 'rem_cat_doc':
|
||||||
require_once('class_document_type.php');
|
require_once NOALYSS_INCLUDE.'/class_document_type.php';
|
||||||
// if user can not return error message
|
// if user can not return error message
|
||||||
if ($g_user->check_action(PARCATDOC) == 0)
|
if ($g_user->check_action(PARCATDOC) == 0)
|
||||||
{
|
{
|
||||||
|
|
@ -212,7 +212,7 @@ EOF;
|
||||||
return;
|
return;
|
||||||
break;
|
break;
|
||||||
case 'mod_cat_doc':
|
case 'mod_cat_doc':
|
||||||
require_once 'template/document_mod_change.php';
|
require_once NOALYSS_INCLUDE.'/template/document_mod_change.php';
|
||||||
break;
|
break;
|
||||||
case 'dsp_tva':
|
case 'dsp_tva':
|
||||||
$cn = new Database($gDossier);
|
$cn = new Database($gDossier);
|
||||||
|
|
@ -303,7 +303,7 @@ EOF;
|
||||||
* display the lettering
|
* display the lettering
|
||||||
*/
|
*/
|
||||||
case 'dl':
|
case 'dl':
|
||||||
require_once('class_lettering.php');
|
require_once NOALYSS_INCLUDE.'/class_lettering.php';
|
||||||
$exercice = $g_user->get_exercice();
|
$exercice = $g_user->get_exercice();
|
||||||
if ($g_user->check_module("LETCARD") == 0 && $g_user->check_module("LETACC") == 0)
|
if ($g_user->check_module("LETCARD") == 0 && $g_user->check_module("LETACC") == 0)
|
||||||
exit();
|
exit();
|
||||||
|
|
@ -510,37 +510,37 @@ EOF;
|
||||||
EOF;
|
EOF;
|
||||||
break;
|
break;
|
||||||
case 'mod_doc':
|
case 'mod_doc':
|
||||||
require_once('ajax_mod_document.php');
|
require_once NOALYSS_INCLUDE.'/ajax_mod_document.php';
|
||||||
break;
|
break;
|
||||||
case 'input_per':
|
case 'input_per':
|
||||||
require_once('ajax_mod_periode.php');
|
require_once NOALYSS_INCLUDE.'/ajax_mod_periode.php';
|
||||||
break;
|
break;
|
||||||
case 'save_per':
|
case 'save_per':
|
||||||
require_once('ajax_mod_periode.php');
|
require_once NOALYSS_INCLUDE.'/ajax_mod_periode.php';
|
||||||
break;
|
break;
|
||||||
case 'mod_predf':
|
case 'mod_predf':
|
||||||
require_once('ajax_mod_predf_op.php');
|
require_once NOALYSS_INCLUDE.'/ajax_mod_predf_op.php';
|
||||||
break;
|
break;
|
||||||
case 'save_predf':
|
case 'save_predf':
|
||||||
require_once('ajax_save_predf_op.php');
|
require_once NOALYSS_INCLUDE.'/ajax_save_predf_op.php';
|
||||||
break;
|
break;
|
||||||
case 'search_op':
|
case 'search_op':
|
||||||
require_once 'search.inc.php';
|
require_once NOALYSS_INCLUDE.'/search.inc.php';
|
||||||
break;
|
break;
|
||||||
case 'search_action':
|
case 'search_action':
|
||||||
require_once 'ajax_search_action.php';
|
require_once NOALYSS_INCLUDE.'/ajax_search_action.php';
|
||||||
break;
|
break;
|
||||||
case 'display_profile':
|
case 'display_profile':
|
||||||
require_once("ajax_get_profile.php");
|
require_once NOALYSS_INCLUDE.'/ajax_get_profile.php';
|
||||||
break;
|
break;
|
||||||
case 'det_menu':
|
case 'det_menu':
|
||||||
require_once("ajax_get_menu_detail.php");
|
require_once NOALYSS_INCLUDE.'/ajax_get_menu_detail.php';
|
||||||
break;
|
break;
|
||||||
case 'add_menu':
|
case 'add_menu':
|
||||||
require_once 'ajax_add_menu.php';
|
require_once NOALYSS_INCLUDE.'/ajax_add_menu.php';
|
||||||
break;
|
break;
|
||||||
case 'cardsearch':
|
case 'cardsearch':
|
||||||
require_once 'ajax_boxcard_search.php';
|
require_once NOALYSS_INCLUDE.'/ajax_boxcard_search.php';
|
||||||
break;
|
break;
|
||||||
case 'add_plugin':
|
case 'add_plugin':
|
||||||
$me_code = new IText('me_code');
|
$me_code = new IText('me_code');
|
||||||
|
|
@ -549,7 +549,7 @@ EOF;
|
||||||
$me_description = new IText("me_description");
|
$me_description = new IText("me_description");
|
||||||
$me_parameter = new IText("me_parameter");
|
$me_parameter = new IText("me_parameter");
|
||||||
$new = true;
|
$new = true;
|
||||||
require_once 'ajax_plugin_detail.php';
|
require_once NOALYSS_INCLUDE.'/ajax_plugin_detail.php';
|
||||||
break;
|
break;
|
||||||
case 'mod_plugin':
|
case 'mod_plugin':
|
||||||
$m = $cn->get_array("select me_code,me_file,me_menu,me_description,me_parameter
|
$m = $cn->get_array("select me_code,me_file,me_menu,me_description,me_parameter
|
||||||
|
|
@ -566,92 +566,92 @@ EOF;
|
||||||
$me_description = new IText("me_description", $m[0] ['me_description']);
|
$me_description = new IText("me_description", $m[0] ['me_description']);
|
||||||
$me_parameter = new IText("me_parameter", $m[0] ['me_parameter']);
|
$me_parameter = new IText("me_parameter", $m[0] ['me_parameter']);
|
||||||
$new = false;
|
$new = false;
|
||||||
require_once 'ajax_plugin_detail.php';
|
require_once NOALYSS_INCLUDE.'/ajax_plugin_detail.php';
|
||||||
break;
|
break;
|
||||||
case 'saldo':
|
case 'saldo':
|
||||||
require_once 'ajax_bank_saldo.php';
|
require_once NOALYSS_INCLUDE.'/ajax_bank_saldo.php';
|
||||||
break;
|
break;
|
||||||
case 'up_predef':
|
case 'up_predef':
|
||||||
require_once 'ajax_update_predef.php';
|
require_once NOALYSS_INCLUDE.'/ajax_update_predef.php';
|
||||||
break;
|
break;
|
||||||
case 'upd_receipt':
|
case 'upd_receipt':
|
||||||
require_once 'ajax_get_receipt.php';
|
require_once NOALYSS_INCLUDE.'/ajax_get_receipt.php';
|
||||||
break;
|
break;
|
||||||
case 'up_pay_method':
|
case 'up_pay_method':
|
||||||
require_once 'ajax_update_payment.php';
|
require_once NOALYSS_INCLUDE.'/ajax_update_payment.php';
|
||||||
break;
|
break;
|
||||||
case 'openancsearch':
|
case 'openancsearch':
|
||||||
case 'resultancsearch':
|
case 'resultancsearch':
|
||||||
require_once('ajax_anc_search.php');
|
require_once NOALYSS_INCLUDE.'/ajax_anc_search.php';
|
||||||
break;
|
break;
|
||||||
case 'autoanc':
|
case 'autoanc':
|
||||||
require_once 'ajax_auto_anc_card.php';
|
require_once NOALYSS_INCLUDE.'/ajax_auto_anc_card.php';
|
||||||
break;
|
break;
|
||||||
case 'create_menu';
|
case 'create_menu';
|
||||||
require_once 'ajax_create_menu.php';
|
require_once NOALYSS_INCLUDE.'/ajax_create_menu.php';
|
||||||
break;
|
break;
|
||||||
case 'modify_menu';
|
case 'modify_menu';
|
||||||
require_once 'ajax_mod_menu.php';
|
require_once NOALYSS_INCLUDE.'/ajax_mod_menu.php';
|
||||||
break;
|
break;
|
||||||
case 'mod_stock_repo':
|
case 'mod_stock_repo':
|
||||||
require_once 'ajax_mod_stock_repo.php';
|
require_once NOALYSS_INCLUDE.'/ajax_mod_stock_repo.php';
|
||||||
break;
|
break;
|
||||||
case 'view_mod_stock':
|
case 'view_mod_stock':
|
||||||
require_once 'ajax_view_mod_stock.php';
|
require_once NOALYSS_INCLUDE.'/ajax_view_mod_stock.php';
|
||||||
break;
|
break;
|
||||||
case 'fddetail':
|
case 'fddetail':
|
||||||
require_once 'ajax_fiche_def_detail.php';
|
require_once NOALYSS_INCLUDE.'/ajax_fiche_def_detail.php';
|
||||||
break;
|
break;
|
||||||
case 'vw_action':
|
case 'vw_action':
|
||||||
require_once 'ajax_view_action.php';
|
require_once NOALYSS_INCLUDE.'/ajax_view_action.php';
|
||||||
break;
|
break;
|
||||||
case 'minrow':
|
case 'minrow':
|
||||||
require_once 'ajax_min_row.php';
|
require_once NOALYSS_INCLUDE.'/ajax_min_row.php';
|
||||||
break;
|
break;
|
||||||
case 'navigator':
|
case 'navigator':
|
||||||
require_once 'ajax_navigator.php';
|
require_once NOALYSS_INCLUDE.'/ajax_navigator.php';
|
||||||
break;
|
break;
|
||||||
case 'preference':
|
case 'preference':
|
||||||
require_once 'ajax_preference.php';
|
require_once NOALYSS_INCLUDE.'/ajax_preference.php';
|
||||||
break;
|
break;
|
||||||
case 'bookmark':
|
case 'bookmark':
|
||||||
require_once 'ajax_bookmark.php';
|
require_once NOALYSS_INCLUDE.'/ajax_bookmark.php';
|
||||||
break;
|
break;
|
||||||
case 'tag_detail':
|
case 'tag_detail':
|
||||||
require_once 'ajax_tag_detail.php';
|
require_once NOALYSS_INCLUDE.'/ajax_tag_detail.php';
|
||||||
break;
|
break;
|
||||||
case 'tag_save':
|
case 'tag_save':
|
||||||
require_once 'ajax_tag_save.php';
|
require_once NOALYSS_INCLUDE.'/ajax_tag_save.php';
|
||||||
break;
|
break;
|
||||||
case 'tag_list':
|
case 'tag_list':
|
||||||
require_once 'ajax_tag_list.php';
|
require_once NOALYSS_INCLUDE.'/ajax_tag_list.php';
|
||||||
break;
|
break;
|
||||||
case 'tag_add':
|
case 'tag_add':
|
||||||
require_once 'ajax_tag_add_action.php';
|
require_once NOALYSS_INCLUDE.'/ajax_tag_add_action.php';
|
||||||
break;
|
break;
|
||||||
case 'tag_remove':
|
case 'tag_remove':
|
||||||
require_once 'ajax_tag_remove_action.php';
|
require_once NOALYSS_INCLUDE.'/ajax_tag_remove_action.php';
|
||||||
break;
|
break;
|
||||||
case 'tag_choose':
|
case 'tag_choose':
|
||||||
require_once 'ajax_tag_choose.php';
|
require_once NOALYSS_INCLUDE.'/ajax_tag_choose.php';
|
||||||
break;
|
break;
|
||||||
case 'tag_choose':
|
case 'tag_choose':
|
||||||
require_once 'ajax_tag_choose.php';
|
require_once NOALYSS_INCLUDE.'/ajax_tag_choose.php';
|
||||||
break;
|
break;
|
||||||
case 'search_display_tag':
|
case 'search_display_tag':
|
||||||
require_once 'ajax_search_display_tag.php';
|
require_once NOALYSS_INCLUDE.'/ajax_search_display_tag.php';
|
||||||
break;
|
break;
|
||||||
case 'search_add_tag':
|
case 'search_add_tag':
|
||||||
require_once 'ajax_search_add_tag.php';
|
require_once NOALYSS_INCLUDE.'/ajax_search_add_tag.php';
|
||||||
break;
|
break;
|
||||||
case 'search_clear_tag':
|
case 'search_clear_tag':
|
||||||
require_once 'ajax_search_clear_tag.php';
|
require_once NOALYSS_INCLUDE.'/ajax_search_clear_tag.php';
|
||||||
break;
|
break;
|
||||||
case 'calendar_zoom':
|
case 'calendar_zoom':
|
||||||
require_once 'ajax_calendar_zoom.php';
|
require_once NOALYSS_INCLUDE.'/ajax_calendar_zoom.php';
|
||||||
break;
|
break;
|
||||||
case 'ledger_show':
|
case 'ledger_show':
|
||||||
require_once 'ajax_ledger_show.php';
|
require_once NOALYSS_INCLUDE.'/ajax_ledger_show.php';
|
||||||
case 'ledger_description':
|
case 'ledger_description':
|
||||||
$ajrn=$cn->get_array('select jrn_def_name,jrn_def_description from jrn_def where jrn_def_id=$1',array($l));
|
$ajrn=$cn->get_array('select jrn_def_name,jrn_def_description from jrn_def where jrn_def_id=$1',array($l));
|
||||||
if ( count($ajrn)==1)
|
if ( count($ajrn)==1)
|
||||||
|
|
@ -670,55 +670,55 @@ EOF;
|
||||||
/*
|
/*
|
||||||
* Show the available distribution keys for analytic
|
* Show the available distribution keys for analytic
|
||||||
*/
|
*/
|
||||||
require_once 'ajax_anc_key_choice.php';
|
require_once NOALYSS_INCLUDE.'/ajax_anc_key_choice.php';
|
||||||
break;
|
break;
|
||||||
case 'anc_key_compute':
|
case 'anc_key_compute':
|
||||||
/*
|
/*
|
||||||
* Show the activities computed with the selected distribution key
|
* Show the activities computed with the selected distribution key
|
||||||
*/
|
*/
|
||||||
require_once 'ajax_anc_key_compute.php';
|
require_once NOALYSS_INCLUDE.'/ajax_anc_key_compute.php';
|
||||||
break;
|
break;
|
||||||
case 'account_update':
|
case 'account_update':
|
||||||
/**
|
/**
|
||||||
* update an accounting (from CFGPCMN)
|
* update an accounting (from CFGPCMN)
|
||||||
*/
|
*/
|
||||||
require_once 'ajax_account_update.php';
|
require_once NOALYSS_INCLUDE.'/ajax_account_update.php';
|
||||||
break;
|
break;
|
||||||
// From admin, revoke the access to a folder from an
|
// From admin, revoke the access to a folder from an
|
||||||
// user
|
// user
|
||||||
case 'folder_remove':
|
case 'folder_remove':
|
||||||
require_once 'ajax_admin.php';
|
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||||
break;
|
break;
|
||||||
// From admin, display a list of folder to which the user has
|
// From admin, display a list of folder to which the user has
|
||||||
// no access
|
// no access
|
||||||
case 'folder_display':
|
case 'folder_display':
|
||||||
require_once 'ajax_admin.php';
|
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||||
break;
|
break;
|
||||||
// From admin, grant the access to a folder to an
|
// From admin, grant the access to a folder to an
|
||||||
// user
|
// user
|
||||||
case 'folder_add':
|
case 'folder_add':
|
||||||
require_once 'ajax_admin.php';
|
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// From admin, display info and propose to drop the folder
|
// From admin, display info and propose to drop the folder
|
||||||
case 'folder_drop':
|
case 'folder_drop':
|
||||||
require_once 'ajax_admin.php';
|
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// From admin, display the information of a folder you can
|
// From admin, display the information of a folder you can
|
||||||
// modify
|
// modify
|
||||||
case 'folder_modify':
|
case 'folder_modify':
|
||||||
require_once 'ajax_admin.php';
|
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||||
break;
|
break;
|
||||||
// From admin, display info and propose to drop the template
|
// From admin, display info and propose to drop the template
|
||||||
case 'modele_drop':
|
case 'modele_drop':
|
||||||
require_once 'ajax_admin.php';
|
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// From admin, display the information of a template you can
|
// From admin, display the information of a template you can
|
||||||
// modify
|
// modify
|
||||||
case 'modele_modify':
|
case 'modele_modify':
|
||||||
require_once 'ajax_admin.php';
|
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@ set_language();
|
||||||
|
|
||||||
if ( $cont != 0 ) exit();
|
if ( $cont != 0 ) exit();
|
||||||
$cn=new Database(dossier::id());
|
$cn=new Database(dossier::id());
|
||||||
include_once ("class_user.php");
|
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||||
global $g_user;
|
global $g_user;
|
||||||
$g_user=new User($cn);
|
$g_user=new User($cn);
|
||||||
$g_user->Check();
|
$g_user->Check();
|
||||||
|
|
@ -105,7 +105,7 @@ case "sf":
|
||||||
|
|
||||||
$r.='<form id="sp" method="get" onsubmit="'.$attr.'search_get_poste(this);return false;">';
|
$r.='<form id="sp" method="get" onsubmit="'.$attr.'search_get_poste(this);return false;">';
|
||||||
ob_start();
|
ob_start();
|
||||||
require_once('template/account_search.php');
|
require_once NOALYSS_INCLUDE.'/template/account_search.php';
|
||||||
$r.=ob_get_contents();
|
$r.=ob_get_contents();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
$r.=dossier::hidden();
|
$r.=dossier::hidden();
|
||||||
|
|
@ -181,7 +181,7 @@ case "sf":
|
||||||
}
|
}
|
||||||
ob_start();
|
ob_start();
|
||||||
|
|
||||||
require_once('template/account_result.php');
|
require_once NOALYSS_INCLUDE.'/template/account_result.php';
|
||||||
$r.=ob_get_contents();
|
$r.=ob_get_contents();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 171 KiB |
|
|
@ -227,7 +227,7 @@ version 6.8.1.5 - '.$my_domain.'
|
||||||
|
|
||||||
<BR>
|
<BR>
|
||||||
<center>
|
<center>
|
||||||
<IMG SRC="image/logo6820.png" alt="NOALYSS">
|
<IMG SRC="image/logo6820.png" style="width:420px;height:200px" alt="NOALYSS">
|
||||||
<BR>
|
<BR>
|
||||||
<BR>
|
<BR>
|
||||||
<BR>
|
<BR>
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||||
require_once NOALYSS_INCLUDE.'/../../include/class_iselect.php';
|
require_once NOALYSS_INCLUDE.'/class_iselect.php';
|
||||||
require_once NOALYSS_INCLUDE.'/../../include/class_icheckbox.php';
|
require_once NOALYSS_INCLUDE.'/class_icheckbox.php';
|
||||||
|
|
||||||
function is_unix()
|
function is_unix()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,6 @@ ini_set ('default_charset',"UTF-8");
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
global $g_captcha,$g_failed,$g_succeed;
|
global $g_captcha,$g_failed,$g_succeed;
|
||||||
$g_captcha=false;
|
$g_captcha=false;
|
||||||
$g_failed="<span style=\"font-size:18px;color:red\">✖</span>";
|
$g_failed="<span style=\"font-size:18px;color:red\">✖</span>";
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
/**\file
|
/**\file
|
||||||
* \brief this file respond to an ajax request to modify a type of document
|
* \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');
|
echo HtmlInput::title_box(_('Type de document'),'change_doc_div');
|
||||||
|
|
||||||
$doc_type=new Document_type($cn,$dt_id);
|
$doc_type=new Document_type($cn,$dt_id);
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
//This file is part of NOALYSS and is under GPL
|
//This file is part of NOALYSS and is under GPL
|
||||||
//see licence.txt
|
//see licence.txt
|
||||||
$str_anc="";
|
$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;">
|
<div class="content" style="padding:0;">
|
||||||
<?php
|
<?php
|
||||||
require_once('class_own.php');
|
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||||
$owner = new Own($cn);
|
$owner = new Own($cn);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
@ -250,6 +250,6 @@ $str_anc="";
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
require_once('ledger_detail_bottom.php');
|
require_once NOALYSS_INCLUDE.'/template/ledger_detail_bottom.php';
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,7 @@ echo '</div>';
|
||||||
|
|
||||||
<?php
|
<?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
|
//This file is part of NOALYSS and is under GPL
|
||||||
//see licence.txt
|
//see licence.txt
|
||||||
$str_anc="";
|
$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;">
|
<div class="content" style="padding:0;">
|
||||||
<?php
|
<?php
|
||||||
require_once('class_own.php');
|
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||||
$owner=new Own($cn);
|
$owner=new Own($cn);
|
||||||
require_once ('class_anc_plan.php');
|
require_once NOALYSS_INCLUDE.'/class_anc_plan.php';
|
||||||
require_once('class_anc_operation.php');
|
require_once NOALYSS_INCLUDE.'/class_anc_operation.php';
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<?php if ( $access=='W') : ?>
|
<?php if ( $access=='W') : ?>
|
||||||
|
|
@ -141,6 +141,6 @@ echo td(_('Pièce')).td($itext->input());
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
require_once 'ledger_detail_bottom.php';
|
require_once NOALYSS_INCLUDE.'/template/ledger_detail_bottom.php';
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -2,14 +2,14 @@
|
||||||
//This file is part of NOALYSS and is under GPL
|
//This file is part of NOALYSS and is under GPL
|
||||||
//see licence.txt
|
//see licence.txt
|
||||||
?><?php
|
?><?php
|
||||||
require_once('template/ledger_detail_top.php');
|
require_once NOALYSS_INCLUDE.'/template/ledger_detail_top.php';
|
||||||
require_once('class_anc_operation.php');
|
require_once NOALYSS_INCLUDE.'/class_anc_operation.php';
|
||||||
require_once('class_anc_plan.php');
|
require_once NOALYSS_INCLUDE.'/class_anc_plan.php';
|
||||||
$str_anc="";
|
$str_anc="";
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
require_once('class_own.php');
|
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||||
require_once ('class_anc_plan.php');
|
require_once NOALYSS_INCLUDE.'/class_anc_plan.php';
|
||||||
?>
|
?>
|
||||||
<div class="content" style="padding:0">
|
<div class="content" style="padding:0">
|
||||||
|
|
||||||
|
|
@ -86,7 +86,7 @@ require_once ('class_anc_plan.php');
|
||||||
|
|
||||||
<div class="myfieldset">
|
<div class="myfieldset">
|
||||||
<?php
|
<?php
|
||||||
require_once('class_own.php');
|
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||||
$owner=new Own($cn);
|
$owner=new Own($cn);
|
||||||
?>
|
?>
|
||||||
<table class="result">
|
<table class="result">
|
||||||
|
|
@ -187,6 +187,6 @@ $amount_idx=0;
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
require_once('ledger_detail_bottom.php');
|
require_once NOALYSS_INCLUDE.'/template/ledger_detail_bottom.php';
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -20,5 +20,5 @@
|
||||||
</div>
|
</div>
|
||||||
<?php echo _("Opération ID")."=".hb($obj->det->jr_internal); ?>
|
<?php echo _("Opération ID")."=".hb($obj->det->jr_internal); ?>
|
||||||
<div id="<?php echo $div.'info'?>" class="divinfo"></div>
|
<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
|
<?php
|
||||||
//This file is part of NOALYSS and is under GPL
|
//This file is part of NOALYSS and is under GPL
|
||||||
//see licence.txt
|
//see licence.txt
|
||||||
?><?php require_once('ledger_detail_top.php'); ?>
|
?><?php require_once NOALYSS_INCLUDE.'/template/ledger_detail_top.php'; ?>
|
||||||
<?php
|
<?php
|
||||||
$tab_account=$div."account";
|
$tab_account=$div."account";
|
||||||
$tab_rapprochement=$div."rapproch";
|
$tab_rapprochement=$div."rapproch";
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
?>
|
?>
|
||||||
<div class="content" style="padding:0;">
|
<div class="content" style="padding:0;">
|
||||||
<?php
|
<?php
|
||||||
require_once('class_own.php');
|
require_once NOALYSS_INCLUDE.'/class_own.php';
|
||||||
$owner = new Own($cn);
|
$owner = new Own($cn);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
@ -252,5 +252,5 @@ echo $ipaid->input();
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?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
|
//This file is part of NOALYSS and is under GPL
|
||||||
//see licence.txt
|
//see licence.txt
|
||||||
?><?php
|
?><?php
|
||||||
require_once ('class_acc_operation.php');
|
require_once NOALYSS_INCLUDE.'/class_acc_operation.php';
|
||||||
require_once ('class_acc_reconciliation.php');
|
require_once NOALYSS_INCLUDE.'/class_acc_reconciliation.php';
|
||||||
$amount_deb=0;$amount_cred=0;
|
$amount_deb=0;$amount_cred=0;
|
||||||
$gDossier=dossier::id();
|
$gDossier=dossier::id();
|
||||||
global $g_failed;
|
global $g_failed;
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
//This file is part of NOALYSS and is under GPL
|
//This file is part of NOALYSS and is under GPL
|
||||||
//see licence.txt
|
//see licence.txt
|
||||||
?><?php
|
?><?php
|
||||||
require_once ('class_acc_operation.php');
|
require_once NOALYSS_INCLUDE.'/class_acc_operation.php';
|
||||||
require_once ('class_acc_reconciliation.php');
|
require_once NOALYSS_INCLUDE.'/class_acc_reconciliation.php';
|
||||||
|
|
||||||
$gDossier=dossier::id();
|
$gDossier=dossier::id();
|
||||||
if ( count($this->content) == 0 ) :
|
if ( count($this->content) == 0 ) :
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
//This file is part of NOALYSS and is under GPL
|
//This file is part of NOALYSS and is under GPL
|
||||||
//see licence.txt
|
//see licence.txt
|
||||||
?><?php
|
?><?php
|
||||||
require_once 'class_html_input.php';
|
require_once NOALYSS_INCLUDE.'/class_html_input.php';
|
||||||
require_once 'class_itext.php';
|
require_once NOALYSS_INCLUDE.'/class_itext.php';
|
||||||
echo HtmlInput::title_box($msg,"divmenu");
|
echo HtmlInput::title_box($msg,"divmenu");
|
||||||
$str_code=new IText('me_code',$m->me_code);
|
$str_code=new IText('me_code',$m->me_code);
|
||||||
if ( $m->me_code != -1) $str_code->setReadOnly (true);
|
if ( $m->me_code != -1) $str_code->setReadOnly (true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue