restructure files and folders
This commit is contained in:
parent
75953bcf95
commit
083ba483cc
335 changed files with 1096 additions and 1096 deletions
|
|
@ -37,12 +37,12 @@
|
|||
if ( ! defined('ALLOWED')) define ('ALLOWED',1);
|
||||
|
||||
require_once '../include/constant.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.'/lib/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/class_fiche.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/class_iradio.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/function_javascript.php';
|
||||
require_once NOALYSS_INCLUDE.'/lib/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/class_user.php';
|
||||
mb_internal_encoding("UTF-8");
|
||||
|
||||
$var = array('gDossier', 'op');
|
||||
|
|
@ -102,7 +102,7 @@ if ( LOGINPUT)
|
|||
switch ($op)
|
||||
{
|
||||
case 'pcmn_update':
|
||||
require 'ajax_pcmn_update.php';
|
||||
require 'ajax/ajax_pcmn_update.php';
|
||||
return;
|
||||
case "remove_anc":
|
||||
if ($g_user->check_module('ANCODS') == 0)
|
||||
|
|
@ -122,7 +122,7 @@ switch ($op)
|
|||
//--------------------------------------------------
|
||||
// get the last date of a ledger
|
||||
case 'lastdate':
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger_fin.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_fin.php';
|
||||
$ledger = new Acc_Ledger_Fin($cn, $_GET['p_jrn']);
|
||||
$html = $ledger->get_last_date();
|
||||
$html = escape_xml($html);
|
||||
|
|
@ -137,7 +137,7 @@ EOF;
|
|||
|
||||
break;
|
||||
case 'bkname':
|
||||
require_once NOALYSS_INCLUDE.'/class_acc_ledger_fin.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/class_acc_ledger_fin.php';
|
||||
$ledger = new Acc_Ledger_Fin($cn, $_GET['p_jrn']);
|
||||
$html = $ledger->get_bank_name();
|
||||
$html = escape_xml($html);
|
||||
|
|
@ -152,7 +152,7 @@ EOF;
|
|||
break;
|
||||
// display new calendar
|
||||
case 'cal':
|
||||
require_once NOALYSS_INCLUDE.'/class_calendar.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/class_calendar.php';
|
||||
/* others report */
|
||||
$cal = new Calendar();
|
||||
$cal->set_periode($per);
|
||||
|
|
@ -170,7 +170,7 @@ EOF;
|
|||
break;
|
||||
/* rem a cat of document */
|
||||
case 'rem_cat_doc':
|
||||
require_once NOALYSS_INCLUDE.'/class_document_type.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/class_document_type.php';
|
||||
// if user can not return error message
|
||||
$message="";
|
||||
if ($g_user->check_action(PARCATDOC) == 0)
|
||||
|
|
@ -309,7 +309,7 @@ EOF;
|
|||
* display the lettering
|
||||
*/
|
||||
case 'dl':
|
||||
require_once NOALYSS_INCLUDE.'/class_lettering.php';
|
||||
require_once NOALYSS_INCLUDE.'/class/class_lettering.php';
|
||||
$exercice = $g_user->get_exercice();
|
||||
if ($g_user->check_module("LETCARD") == 0 && $g_user->check_module("LETACC") == 0)
|
||||
exit();
|
||||
|
|
@ -516,43 +516,43 @@ EOF;
|
|||
EOF;
|
||||
break;
|
||||
case 'mod_doc':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_mod_document.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_mod_document.php';
|
||||
break;
|
||||
case 'input_per':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_mod_periode.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_mod_periode.php';
|
||||
break;
|
||||
case 'save_per':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_mod_periode.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_mod_periode.php';
|
||||
break;
|
||||
case 'mod_predf':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_mod_predf_op.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_mod_predf_op.php';
|
||||
break;
|
||||
case 'save_predf':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_save_predf_op.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_save_predf_op.php';
|
||||
break;
|
||||
case 'search_op':
|
||||
require_once NOALYSS_INCLUDE.'/search.inc.php';
|
||||
break;
|
||||
case 'search_action':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_search_action.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_search_action.php';
|
||||
break;
|
||||
case 'display_profile':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_get_profile.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_get_profile.php';
|
||||
break;
|
||||
case 'det_menu':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_get_menu_detail.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_get_menu_detail.php';
|
||||
break;
|
||||
case 'add_menu':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_add_menu.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_add_menu.php';
|
||||
break;
|
||||
case 'display_submenu':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_display_submenu.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_display_submenu.php';
|
||||
break;
|
||||
case 'remove_submenu':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_remove_submenu.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_remove_submenu.php';
|
||||
break;
|
||||
case 'cardsearch':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_boxcard_search.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_boxcard_search.php';
|
||||
break;
|
||||
case 'add_plugin':
|
||||
$me_code = new IText('me_code');
|
||||
|
|
@ -561,7 +561,7 @@ EOF;
|
|||
$me_description = new IText("me_description");
|
||||
$me_parameter = new IText("me_parameter");
|
||||
$new = true;
|
||||
require_once NOALYSS_INCLUDE.'/ajax_plugin_detail.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_plugin_detail.php';
|
||||
break;
|
||||
case 'mod_plugin':
|
||||
$m = $cn->get_array("select me_code,me_file,me_menu,me_description,me_parameter
|
||||
|
|
@ -578,71 +578,71 @@ EOF;
|
|||
$me_description = new IText("me_description", $m[0] ['me_description']);
|
||||
$me_parameter = new IText("me_parameter", $m[0] ['me_parameter']);
|
||||
$new = false;
|
||||
require_once NOALYSS_INCLUDE.'/ajax_plugin_detail.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_plugin_detail.php';
|
||||
break;
|
||||
case 'saldo':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_bank_saldo.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_bank_saldo.php';
|
||||
break;
|
||||
case 'up_predef':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_update_predef.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_update_predef.php';
|
||||
break;
|
||||
case 'upd_receipt':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_get_receipt.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_get_receipt.php';
|
||||
break;
|
||||
case 'up_pay_method':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_update_payment.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_update_payment.php';
|
||||
break;
|
||||
case 'openancsearch':
|
||||
case 'resultancsearch':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_anc_search.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_anc_search.php';
|
||||
break;
|
||||
case 'autoanc':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_auto_anc_card.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_auto_anc_card.php';
|
||||
break;
|
||||
case 'create_menu';
|
||||
require_once NOALYSS_INCLUDE.'/ajax_create_menu.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_create_menu.php';
|
||||
break;
|
||||
case 'modify_menu';
|
||||
require_once NOALYSS_INCLUDE.'/ajax_mod_menu.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_mod_menu.php';
|
||||
break;
|
||||
case 'mod_stock_repo':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_mod_stock_repo.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_mod_stock_repo.php';
|
||||
break;
|
||||
case 'view_mod_stock':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_view_mod_stock.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_view_mod_stock.php';
|
||||
break;
|
||||
case 'fddetail':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_fiche_def_detail.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_fiche_def_detail.php';
|
||||
break;
|
||||
case 'vw_action':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_view_action.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_view_action.php';
|
||||
break;
|
||||
case 'minrow':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_min_row.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_min_row.php';
|
||||
break;
|
||||
case 'navigator':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_navigator.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_navigator.php';
|
||||
break;
|
||||
case 'preference':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_preference.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_preference.php';
|
||||
break;
|
||||
case 'bookmark':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_bookmark.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_bookmark.php';
|
||||
break;
|
||||
case 'tag_detail':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_tag_detail.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_tag_detail.php';
|
||||
break;
|
||||
case 'tag_save':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_tag_save.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_tag_save.php';
|
||||
break;
|
||||
case 'tag_list':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_tag_list.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_tag_list.php';
|
||||
break;
|
||||
case 'tag_add':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_tag_add_action.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_tag_add_action.php';
|
||||
break;
|
||||
case 'tag_remove':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_tag_remove_action.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_tag_remove_action.php';
|
||||
break;
|
||||
case 'tag_choose':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_tag_choose.php';
|
||||
|
|
@ -651,19 +651,19 @@ EOF;
|
|||
require_once NOALYSS_INCLUDE.'/ajax_tag_choose.php';
|
||||
break;
|
||||
case 'search_display_tag':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_search_display_tag.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_search_display_tag.php';
|
||||
break;
|
||||
case 'search_add_tag':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_search_add_tag.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_search_add_tag.php';
|
||||
break;
|
||||
case 'search_clear_tag':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_search_clear_tag.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_search_clear_tag.php';
|
||||
break;
|
||||
case 'calendar_zoom':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_calendar_zoom.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_calendar_zoom.php';
|
||||
break;
|
||||
case 'ledger_show':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_ledger_show.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_ledger_show.php';
|
||||
case 'ledger_description':
|
||||
$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)
|
||||
|
|
@ -682,67 +682,67 @@ EOF;
|
|||
/*
|
||||
* Show the available distribution keys for analytic
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE.'/ajax_anc_key_choice.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_anc_key_choice.php';
|
||||
break;
|
||||
case 'anc_key_compute':
|
||||
/*
|
||||
* Show the activities computed with the selected distribution key
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE.'/ajax_anc_key_compute.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_anc_key_compute.php';
|
||||
break;
|
||||
case 'account_update':
|
||||
/**
|
||||
* update an accounting (from CFGPCMN)
|
||||
*/
|
||||
require_once NOALYSS_INCLUDE.'/ajax_account_update.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_account_update.php';
|
||||
break;
|
||||
// From admin, revoke the access to a folder from an
|
||||
// user
|
||||
case 'folder_remove':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_admin.php';
|
||||
break;
|
||||
// From admin, display a list of folder to which the user has
|
||||
// no access
|
||||
case 'folder_display':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_admin.php';
|
||||
break;
|
||||
// From admin, grant the access to a folder to an
|
||||
// user
|
||||
case 'folder_add':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_admin.php';
|
||||
break;
|
||||
|
||||
// From admin, display info and propose to drop the folder
|
||||
case 'folder_drop':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_admin.php';
|
||||
break;
|
||||
|
||||
// From admin, display the information of a folder you can
|
||||
// modify
|
||||
case 'folder_modify':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_admin.php';
|
||||
break;
|
||||
// From admin, display info and propose to drop the template
|
||||
case 'modele_drop':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_admin.php';
|
||||
break;
|
||||
|
||||
// From admin, display the information of a template you can
|
||||
// modify
|
||||
case 'modele_modify':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_admin.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_admin.php';
|
||||
break;
|
||||
// From dashboard, display detail about last operation
|
||||
case 'action_show':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_gestion.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_gestion.php';
|
||||
break;
|
||||
// From dashboard, display form for a new event
|
||||
case 'action_add':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_gestion.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_gestion.php';
|
||||
break;
|
||||
// Save a event given in the short form
|
||||
case 'action_save':
|
||||
require_once NOALYSS_INCLUDE.'/ajax_gestion.php';
|
||||
require_once NOALYSS_INCLUDE.'/ajax/ajax_gestion.php';
|
||||
break;
|
||||
default:
|
||||
var_dump($_GET);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue