[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5380 - in phpcompta/trunk: doc html html/image include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5380 - in phpcompta/trunk: doc html html/image include |
Date: |
Fri, 13 Sep 2013 21:17:33 +0200 (CEST) |
Author: danydb
Date: 2013-09-13 21:17:32 +0200 (Fri, 13 Sep 2013)
New Revision: 5380
Modified:
phpcompta/trunk/doc/data.dia
phpcompta/trunk/html/admin_repo.php
phpcompta/trunk/html/ajax.php
phpcompta/trunk/html/ajax_card.php
phpcompta/trunk/html/ajax_history.php
phpcompta/trunk/html/ajax_ledger.php
phpcompta/trunk/html/ajax_misc.php
phpcompta/trunk/html/ajax_poste.php
phpcompta/trunk/html/ajax_todo_list.php
phpcompta/trunk/html/do.php
phpcompta/trunk/html/export.php
phpcompta/trunk/html/image/
phpcompta/trunk/html/test.php
phpcompta/trunk/include/action.common.inc.php
phpcompta/trunk/include/action.inc.php
phpcompta/trunk/include/adm.inc.php
phpcompta/trunk/include/ajax_add_menu.php
phpcompta/trunk/include/ajax_anc_search.php
phpcompta/trunk/include/ajax_auto_anc_card.php
phpcompta/trunk/include/ajax_bank_saldo.php
phpcompta/trunk/include/ajax_boxcard_search.php
phpcompta/trunk/include/ajax_create_menu.php
phpcompta/trunk/include/ajax_fiche_def_detail.php
phpcompta/trunk/include/ajax_get_menu_detail.php
phpcompta/trunk/include/ajax_get_profile.php
phpcompta/trunk/include/ajax_get_receipt.php
phpcompta/trunk/include/ajax_min_row.php
phpcompta/trunk/include/ajax_mod_document.php
phpcompta/trunk/include/ajax_mod_menu.php
phpcompta/trunk/include/ajax_mod_periode.php
phpcompta/trunk/include/ajax_mod_predf_op.php
phpcompta/trunk/include/ajax_mod_stock_repo.php
phpcompta/trunk/include/ajax_plugin_detail.php
phpcompta/trunk/include/ajax_save_predf_op.php
phpcompta/trunk/include/ajax_search_action.php
phpcompta/trunk/include/ajax_update_payment.php
phpcompta/trunk/include/ajax_update_predef.php
phpcompta/trunk/include/ajax_view_action.php
phpcompta/trunk/include/ajax_view_mod_stock.php
phpcompta/trunk/include/anc_acc_balance.inc.php
phpcompta/trunk/include/anc_acc_table.inc.php
phpcompta/trunk/include/anc_balance_double.inc.php
phpcompta/trunk/include/anc_balance_simple.inc.php
phpcompta/trunk/include/anc_great_ledger.inc.php
phpcompta/trunk/include/anc_group.inc.php
phpcompta/trunk/include/anc_group_balance.inc.php
phpcompta/trunk/include/anc_history.inc.php
phpcompta/trunk/include/anc_od.inc.php
phpcompta/trunk/include/anc_pa.inc.php
phpcompta/trunk/include/audit_log.php
phpcompta/trunk/include/balance.inc.php
phpcompta/trunk/include/balance_card.inc.php
phpcompta/trunk/include/bank.inc.php
phpcompta/trunk/include/card_attr.inc.php
phpcompta/trunk/include/cat_document.inc.php
phpcompta/trunk/include/category_card.inc.php
phpcompta/trunk/include/category_detail.inc.php
phpcompta/trunk/include/category_followup.inc.php
phpcompta/trunk/include/category_operation.inc.php
phpcompta/trunk/include/cfgfiche.inc.php
phpcompta/trunk/include/cfgledger.inc.php
phpcompta/trunk/include/client.inc.php
phpcompta/trunk/include/company.inc.php
phpcompta/trunk/include/compta_ach.inc.php
phpcompta/trunk/include/compta_fin.inc.php
phpcompta/trunk/include/compta_fin_rec.inc.php
phpcompta/trunk/include/compta_fin_saldo.inc.php
phpcompta/trunk/include/compta_ods.inc.php
phpcompta/trunk/include/compta_ven.inc.php
phpcompta/trunk/include/contact.inc.php
phpcompta/trunk/include/dashboard.inc.php
phpcompta/trunk/include/doc_state.inc.php
phpcompta/trunk/include/document_modele.inc.php
phpcompta/trunk/include/dossier.inc.php
phpcompta/trunk/include/export_anc_acc_list_csv.php
phpcompta/trunk/include/export_anc_balance_double_csv.php
phpcompta/trunk/include/export_anc_balance_double_pdf.php
phpcompta/trunk/include/export_anc_balance_group_csv.php
phpcompta/trunk/include/export_anc_balance_simple_csv.php
phpcompta/trunk/include/export_anc_balance_simple_pdf.php
phpcompta/trunk/include/export_anc_grandlivre_csv.php
phpcompta/trunk/include/export_anc_list_csv.php
phpcompta/trunk/include/export_anc_table_csv.php
phpcompta/trunk/include/export_balance_csv.php
phpcompta/trunk/include/export_balance_pdf.php
phpcompta/trunk/include/export_bilan_oth.php
phpcompta/trunk/include/export_fiche_balance_csv.php
phpcompta/trunk/include/export_fiche_balance_pdf.php
phpcompta/trunk/include/export_fiche_csv.php
phpcompta/trunk/include/export_fiche_detail_csv.php
phpcompta/trunk/include/export_fiche_detail_pdf.php
phpcompta/trunk/include/export_fiche_pdf.php
phpcompta/trunk/include/export_follow_up_csv.php
phpcompta/trunk/include/export_form_csv.php
phpcompta/trunk/include/export_form_pdf.php
phpcompta/trunk/include/export_gl_csv.php
phpcompta/trunk/include/export_gl_pdf.php
phpcompta/trunk/include/export_histo_csv.php
phpcompta/trunk/include/export_ledger_csv.php
phpcompta/trunk/include/export_ledger_pdf.php
phpcompta/trunk/include/export_poste_detail_csv.php
phpcompta/trunk/include/export_poste_detail_pdf.php
phpcompta/trunk/include/export_reportinit_csv.php
phpcompta/trunk/include/export_security_pdf.php
phpcompta/trunk/include/export_stock_histo_csv.php
phpcompta/trunk/include/export_stock_resume_list.php
phpcompta/trunk/include/extension.inc.php
phpcompta/trunk/include/extension_choice.inc.php
phpcompta/trunk/include/extension_get.inc.php
phpcompta/trunk/include/fiche.inc.php
phpcompta/trunk/include/fiche_def.inc.php
phpcompta/trunk/include/forecast.inc.php
phpcompta/trunk/include/history_operation.inc.php
phpcompta/trunk/include/impress_bilan.inc.php
phpcompta/trunk/include/impress_gl_comptes.inc.php
phpcompta/trunk/include/impress_jrn.inc.php
phpcompta/trunk/include/impress_poste.inc.php
phpcompta/trunk/include/impress_rapport.inc.php
phpcompta/trunk/include/impress_rec.inc.php
phpcompta/trunk/include/lettering.account.inc.php
phpcompta/trunk/include/lettering.card.inc.php
phpcompta/trunk/include/lettering.gestion.inc.php
phpcompta/trunk/include/menu.inc.php
phpcompta/trunk/include/modele.inc.php
phpcompta/trunk/include/opening.inc.php
phpcompta/trunk/include/operation_ods_confirm.inc.php
phpcompta/trunk/include/operation_ods_new.inc.php
phpcompta/trunk/include/param_pcmn.inc.php
phpcompta/trunk/include/param_sec.inc.php
phpcompta/trunk/include/payment_middle.inc.php
phpcompta/trunk/include/periode.inc.php
phpcompta/trunk/include/poste.inc.php
phpcompta/trunk/include/pref.inc.php
phpcompta/trunk/include/preod.inc.php
phpcompta/trunk/include/profile.inc.php
phpcompta/trunk/include/report.inc.php
phpcompta/trunk/include/restore.inc.php
phpcompta/trunk/include/search.inc.php
phpcompta/trunk/include/stock_cfg.inc.php
phpcompta/trunk/include/stock_histo.inc.php
phpcompta/trunk/include/stock_inv.inc.php
phpcompta/trunk/include/stock_inv_histo.inc.php
phpcompta/trunk/include/stock_state.inc.php
phpcompta/trunk/include/supplier.inc.php
phpcompta/trunk/include/tva.inc.php
phpcompta/trunk/include/user.inc.php
phpcompta/trunk/include/user_detail.inc.php
phpcompta/trunk/include/verif_bilan.inc.php
Log:
Task #0000877: Renforcement protection
Modified: phpcompta/trunk/doc/data.dia
===================================================================
(Binary files differ)
Modified: phpcompta/trunk/html/admin_repo.php
===================================================================
--- phpcompta/trunk/html/admin_repo.php 2013-09-05 20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/html/admin_repo.php 2013-09-13 19:17:32 UTC (rev 5380)
@@ -45,9 +45,9 @@
echo MenuAdmin()."</div>";
+define('ALLOWED',true);
-
?>
<DIV >
<?php
Modified: phpcompta/trunk/html/ajax.php
===================================================================
--- phpcompta/trunk/html/ajax.php 2013-09-05 20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/html/ajax.php 2013-09-13 19:17:32 UTC (rev 5380)
@@ -7,6 +7,7 @@
* - gDossier
* - plugin_code
*/
+define ('ALLOWED',1);
require_once '../include/constant.php';
require_once('class_database.php');
require_once('class_user.php');
Modified: phpcompta/trunk/html/ajax_card.php
===================================================================
--- phpcompta/trunk/html/ajax_card.php 2013-09-05 20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/html/ajax_card.php 2013-09-13 19:17:32 UTC (rev 5380)
@@ -54,6 +54,8 @@
* - ref if we want to refresh the window
*\see fiche fiche::Save constant.php
*/
+define ('ALLOWED',1);
+
require_once '../include/constant.php';
require_once('class_database.php');
require_once ('class_fiche.php');
Modified: phpcompta/trunk/html/ajax_history.php
===================================================================
--- phpcompta/trunk/html/ajax_history.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/html/ajax_history.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -34,6 +34,7 @@
require_once('class_exercice.php');
$div=$_REQUEST['div'];
mb_internal_encoding("UTF-8");
+define ('ALLOWED',1);
/**
*if $_SESSION['g_user'] is not set : echo a warning
Modified: phpcompta/trunk/html/ajax_ledger.php
===================================================================
--- phpcompta/trunk/html/ajax_ledger.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/html/ajax_ledger.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -29,6 +29,7 @@
- for reconcialiation
- update of analytic content
*/
+define ('ALLOWED',1);
require_once '../include/constant.php';
require_once('class_database.php');
require_once('class_user.php');
Modified: phpcompta/trunk/html/ajax_misc.php
===================================================================
--- phpcompta/trunk/html/ajax_misc.php 2013-09-05 20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/html/ajax_misc.php 2013-09-13 19:17:32 UTC (rev 5380)
@@ -35,6 +35,7 @@
* dl : display form to modify, add and delete lettering for a given operation
*
*/
+define ('ALLOWED',1);
require_once '../include/constant.php';
require_once('class_database.php');
require_once ('class_fiche.php');
Modified: phpcompta/trunk/html/ajax_poste.php
===================================================================
--- phpcompta/trunk/html/ajax_poste.php 2013-09-05 20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/html/ajax_poste.php 2013-09-13 19:17:32 UTC (rev 5380)
@@ -33,6 +33,7 @@
*
*
*/
+define ('ALLOWED',1);
require_once '../include/constant.php';
require_once ("ac_common.php");
require_once('class_acc_ledger.php');
Modified: phpcompta/trunk/html/ajax_todo_list.php
===================================================================
--- phpcompta/trunk/html/ajax_todo_list.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/html/ajax_todo_list.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -34,6 +34,7 @@
* - gDossier
* - i id
*/
+define ('ALLOWED',1);
require_once '../include/constant.php';
require_once ('class_dossier.php');
require_once ('class_todo_list.php');
Modified: phpcompta/trunk/html/do.php
===================================================================
--- phpcompta/trunk/html/do.php 2013-09-05 20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/html/do.php 2013-09-13 19:17:32 UTC (rev 5380)
@@ -20,7 +20,7 @@
/* $Revision$ */
// Copyright Author Dany De Bontridder address@hidden
-
+define('ALLOWED',1);
/**\file
* \brief Main file
*/
Modified: phpcompta/trunk/html/export.php
===================================================================
--- phpcompta/trunk/html/export.php 2013-09-05 20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/html/export.php 2013-09-13 19:17:32 UTC (rev 5380)
@@ -25,6 +25,7 @@
* act can be
*
*/
+define ('ALLOWED',1);
require_once '../include/constant.php';
global $g_user,$cn,$g_parameter;
require_once('class_database.php');
Property changes on: phpcompta/trunk/html/image
___________________________________________________________________
Name: svn:ignore
+ .directory
Modified: phpcompta/trunk/html/test.php
===================================================================
--- phpcompta/trunk/html/test.php 2013-09-05 20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/html/test.php 2013-09-13 19:17:32 UTC (rev 5380)
@@ -77,7 +77,8 @@
array(33,'Ledger : reverse op'),
array(34,'Reconciliation'),
array(35,'Bilan'),
- array(36,'SQL2Table')
+ array(36,'SQL2Table'),
+ array(37,'balance')
);
$r='<form method="get">';
$r.='<select name="test_select" >';
@@ -297,6 +298,9 @@
require_once('class_html_table.php');
Html_Table::test_me();
break;
+case 37:
+ require 'class_acc_balance.php';
+ Acc_Balance::test_me();
}
Modified: phpcompta/trunk/include/action.common.inc.php
===================================================================
--- phpcompta/trunk/include/action.common.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/action.common.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -29,7 +29,7 @@
* - $sub_action sa from suivi courrier but sc from Suivi client,
fournisseur...
*
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
$supl_hidden = '';
if (isset($_REQUEST['sc']))
$supl_hidden.=HtmlInput::hidden('sc', $_REQUEST['sc']);
Modified: phpcompta/trunk/include/action.inc.php
===================================================================
--- phpcompta/trunk/include/action.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/action.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -21,6 +21,7 @@
/*! \file
* \brief Page who manage the different actions (meeting, letter)
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_ipopup.php');
global $g_user;
$retour=HtmlInput::button_anchor(_('Retour liste'),
Modified: phpcompta/trunk/include/adm.inc.php
===================================================================
--- phpcompta/trunk/include/adm.inc.php 2013-09-05 20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/include/adm.inc.php 2013-09-13 19:17:32 UTC (rev 5380)
@@ -21,6 +21,7 @@
/*!\brief include from adm.inc.php and concerned only the customer card and
* 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");
Modified: phpcompta/trunk/include/ajax_add_menu.php
===================================================================
--- phpcompta/trunk/include/ajax_add_menu.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/ajax_add_menu.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -25,6 +25,7 @@
* @file
* @brief show the form to add a menu
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
$type=$_GET['type'];
if ( $type=='me')
{
Modified: phpcompta/trunk/include/ajax_anc_search.php
===================================================================
--- phpcompta/trunk/include/ajax_anc_search.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/ajax_anc_search.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -28,6 +28,7 @@
// 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");
Modified: phpcompta/trunk/include/ajax_auto_anc_card.php
===================================================================
--- phpcompta/trunk/include/ajax_auto_anc_card.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_auto_anc_card.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -1,4 +1,5 @@
<?php
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ("class_database.php");
require_once 'class_user.php';
$cn=new Database($_GET['gDossier']);
Modified: phpcompta/trunk/include/ajax_bank_saldo.php
===================================================================
--- phpcompta/trunk/include/ajax_bank_saldo.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/ajax_bank_saldo.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -35,6 +35,7 @@
* - l the jrn id
* - 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');
Modified: phpcompta/trunk/include/ajax_boxcard_search.php
===================================================================
--- phpcompta/trunk/include/ajax_boxcard_search.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_boxcard_search.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -26,6 +26,7 @@
* @brief show result card search
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
$sql="
select distinct
vw.f_id,vw_name,vw_first_name,vw_description,fd_label,quick_code,tva_num,(select
ad_value from fiche_Detail where f_id=pc.f_id and ad_id=5) as poste
from vw_fiche_attr as vw
Modified: phpcompta/trunk/include/ajax_create_menu.php
===================================================================
--- phpcompta/trunk/include/ajax_create_menu.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_create_menu.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -1,4 +1,5 @@
<?php
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_menu_ref.php';
$msg="Création";
$m=new Menu_Ref($cn);
Modified: phpcompta/trunk/include/ajax_fiche_def_detail.php
===================================================================
--- phpcompta/trunk/include/ajax_fiche_def_detail.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_fiche_def_detail.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -26,6 +26,7 @@
* @brief show detail of a fiche_def (category of card) + Attribut
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_fiche_def.php');
require_once 'class_tool_uos.php';
global $g_user;
Modified: phpcompta/trunk/include/ajax_get_menu_detail.php
===================================================================
--- phpcompta/trunk/include/ajax_get_menu_detail.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_get_menu_detail.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -27,6 +27,7 @@
*
*/
// retrieve data
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
$profile=$cn->get_value("select p_id from profile_menu where
pm_id=$1",array($pm_id));
$a_value=$cn->make_array("select me_code,me_code||' '||me_menu||'
'||coalesce(me_description,'') from menu_ref",0);
$ame_code_dep=$cn->make_array("
Modified: phpcompta/trunk/include/ajax_get_profile.php
===================================================================
--- phpcompta/trunk/include/ajax_get_profile.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_get_profile.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -27,6 +27,7 @@
* @see ajax_misc.php scripts.js profile.inc.php
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_profile_sql.php';
require_once 'class_profile_menu.php';
$profile=new Profile_sql($cn,$p_id);
Modified: phpcompta/trunk/include/ajax_get_receipt.php
===================================================================
--- phpcompta/trunk/include/ajax_get_receipt.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_get_receipt.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -28,6 +28,7 @@
* Must return at least tva, htva and tvac
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('constant.php');
require_once ('class_database.php');
Modified: phpcompta/trunk/include/ajax_min_row.php
===================================================================
--- phpcompta/trunk/include/ajax_min_row.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/ajax_min_row.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -26,6 +26,7 @@
* @brief
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_user.php');
require_once('class_dossier.php');
extract($_GET);
Modified: phpcompta/trunk/include/ajax_mod_document.php
===================================================================
--- phpcompta/trunk/include/ajax_mod_document.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_mod_document.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -23,6 +23,7 @@
/*!\file
* \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");
Modified: phpcompta/trunk/include/ajax_mod_menu.php
===================================================================
--- phpcompta/trunk/include/ajax_mod_menu.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/ajax_mod_menu.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -1,4 +1,5 @@
<?php
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_menu_ref.php';
$m=new Menu_Ref($cn,$me_code);
$msg="Modification ".$m->me_code.' '.h($m->me_menu);
Modified: phpcompta/trunk/include/ajax_mod_periode.php
===================================================================
--- phpcompta/trunk/include/ajax_mod_periode.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_mod_periode.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -20,6 +20,7 @@
/* $Revision$ */
// Copyright Author Dany De Bontridder address@hidden
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_periode.php');
/**\file
Modified: phpcompta/trunk/include/ajax_mod_predf_op.php
===================================================================
--- phpcompta/trunk/include/ajax_mod_predf_op.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_mod_predf_op.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -24,6 +24,7 @@
/**\file
* \brief display a form to change the name of a predefined operation
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
ob_start();
require_once 'class_pre_operation.php';
$op=new Pre_Operation($cn,$_GET['id']);
Modified: phpcompta/trunk/include/ajax_mod_stock_repo.php
===================================================================
--- phpcompta/trunk/include/ajax_mod_stock_repo.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_mod_stock_repo.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -26,6 +26,7 @@
* @brief show a depot
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_stock_sql.php';
$st=new Stock_Sql($_GET['r_id']);
Modified: phpcompta/trunk/include/ajax_plugin_detail.php
===================================================================
--- phpcompta/trunk/include/ajax_plugin_detail.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_plugin_detail.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -26,6 +26,7 @@
* @brief add, modify or delete plugin
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
$msg=($new==1)?"Nouvelle extension":"Modification ".$me_menu->value;
echo HtmlInput::title_box($msg, $ctl);
?>
Modified: phpcompta/trunk/include/ajax_save_predf_op.php
===================================================================
--- phpcompta/trunk/include/ajax_save_predf_op.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_save_predf_op.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -24,6 +24,7 @@
* \brief save the new predefined operation
* included from ajax_misc
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
if ($g_user->check_module('PREDOP') == 0) exit();
if ( trim($_POST['opd_name']) != '')
{
Modified: phpcompta/trunk/include/ajax_search_action.php
===================================================================
--- phpcompta/trunk/include/ajax_search_action.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_search_action.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -21,6 +21,7 @@
/*! \file
* \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');
Modified: phpcompta/trunk/include/ajax_update_payment.php
===================================================================
--- phpcompta/trunk/include/ajax_update_payment.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_update_payment.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -26,6 +26,7 @@
* @brief refresh the area with payment method
* -l for the ledger
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_acc_ledger.php';
$ledger=new Acc_Ledger($cn,$l);
echo $ledger->input_paid(1);
Modified: phpcompta/trunk/include/ajax_update_predef.php
===================================================================
--- phpcompta/trunk/include/ajax_update_predef.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_update_predef.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -27,6 +27,7 @@
* - gDossier
* Must return at least tva, htva and tvac
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('constant.php');
require_once ('class_database.php');
Modified: phpcompta/trunk/include/ajax_view_action.php
===================================================================
--- phpcompta/trunk/include/ajax_view_action.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_view_action.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -26,6 +26,7 @@
* @brief show the detail of an action
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_follow_up.php';
echo HtmlInput::title_box(_("Détail action"), $div);
$act = new Follow_Up($cn);
Modified: phpcompta/trunk/include/ajax_view_mod_stock.php
===================================================================
--- phpcompta/trunk/include/ajax_view_mod_stock.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/ajax_view_mod_stock.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -27,6 +27,7 @@
*
*/
require_once 'class_stock_goods.php';
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
$st=new Stock_Goods($cn);
$array=$cn->get_array("select * from stock_goods where
c_id=$1",array($_GET['c_id']));
Modified: phpcompta/trunk/include/anc_acc_balance.inc.php
===================================================================
--- phpcompta/trunk/include/anc_acc_balance.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/anc_acc_balance.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -1,5 +1,5 @@
<?php
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_anc_acc_list.php');
$tab = new Anc_Acc_List($cn);
$tab->get_request();
Modified: phpcompta/trunk/include/anc_acc_table.inc.php
===================================================================
--- phpcompta/trunk/include/anc_acc_table.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/anc_acc_table.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -1,5 +1,5 @@
<?php
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_anc_table.php');
$tab = new Anc_Table($cn);
$tab->get_request();
Modified: phpcompta/trunk/include/anc_balance_double.inc.php
===================================================================
--- phpcompta/trunk/include/anc_balance_double.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/anc_balance_double.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -1,5 +1,5 @@
<?php
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_anc_balance_double.php');
$bc = new Anc_Balance_Double($cn);
$bc->get_request();
Modified: phpcompta/trunk/include/anc_balance_simple.inc.php
===================================================================
--- phpcompta/trunk/include/anc_balance_simple.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/anc_balance_simple.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -1,5 +1,5 @@
<?php
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_anc_balance_simple.php');
$bs = new Anc_Balance_Simple($cn);
$bs->get_request();
Modified: phpcompta/trunk/include/anc_great_ledger.inc.php
===================================================================
--- phpcompta/trunk/include/anc_great_ledger.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/anc_great_ledger.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -1,5 +1,5 @@
<?php
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_anc_grandlivre.php');
$gl = new Anc_GrandLivre($cn);
$gl->get_request();
Modified: phpcompta/trunk/include/anc_group.inc.php
===================================================================
--- phpcompta/trunk/include/anc_group.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/anc_group.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -24,6 +24,7 @@
*\brief manage the group
*
*/
+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');
Modified: phpcompta/trunk/include/anc_group_balance.inc.php
===================================================================
--- phpcompta/trunk/include/anc_group_balance.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/anc_group_balance.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -1,5 +1,5 @@
<?php
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_anc_group.php');
$gr = new Anc_Group($cn);
$gr->get_request();
Modified: phpcompta/trunk/include/anc_history.inc.php
===================================================================
--- phpcompta/trunk/include/anc_history.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/anc_history.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -5,7 +5,7 @@
* and open the template in the editor.
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_anc_listing.php');
$list = new Anc_Listing($cn);
$list->get_request();
Modified: phpcompta/trunk/include/anc_od.inc.php
===================================================================
--- phpcompta/trunk/include/anc_od.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/anc_od.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -26,6 +26,7 @@
* \brief Misc Operation for analytic accountancy
*
*/
+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");
Modified: phpcompta/trunk/include/anc_pa.inc.php
===================================================================
--- phpcompta/trunk/include/anc_pa.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/anc_pa.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -25,6 +25,7 @@
* \brief Plan Analytique
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_anc_plan.php");
require_once("class_anc_account.php");
$ret="";
Modified: phpcompta/trunk/include/audit_log.php
===================================================================
--- phpcompta/trunk/include/audit_log.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/audit_log.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -23,7 +23,7 @@
/*!\file
* \brief let you see the list of the connexion
*/
-
+if ( !defined ('ALLOWED')) die('Forbidden');
?>
<DIV class="content" style="width:80%;margin-left:10%">
<span class="notice">Liste limitée aux 100 dernières connexions</span>
Modified: phpcompta/trunk/include/balance.inc.php
===================================================================
--- phpcompta/trunk/include/balance.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/balance.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -24,7 +24,7 @@
*
* 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");
Modified: phpcompta/trunk/include/balance_card.inc.php
===================================================================
--- phpcompta/trunk/include/balance_card.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/balance_card.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -23,6 +23,7 @@
/*!\file
* \brief show the status of a card
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_exercice.php');
global $g_user;
echo '<div class="content" style="width:90%;margin-left:5%">';
Modified: phpcompta/trunk/include/bank.inc.php
===================================================================
--- phpcompta/trunk/include/bank.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/bank.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -21,6 +21,7 @@
/*!\brief include from supplier.inc.php and concerned only the supplier card
and
* 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");
Modified: phpcompta/trunk/include/card_attr.inc.php
===================================================================
--- phpcompta/trunk/include/card_attr.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/card_attr.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -23,6 +23,7 @@
/*!\file
* \brief Manage the attributs
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_fiche_attr.php');
Modified: phpcompta/trunk/include/cat_document.inc.php
===================================================================
--- phpcompta/trunk/include/cat_document.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/cat_document.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -26,6 +26,7 @@
*/
// show list of document
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_document_type.php');
if ( isset($_POST['add']) )
Modified: phpcompta/trunk/include/category_card.inc.php
===================================================================
--- phpcompta/trunk/include/category_card.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/category_card.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -26,6 +26,7 @@
* include from client.inc.php and concerned only the customer card and
* the customer category
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_contact.php');
$str_dossier=Dossier::get();
Modified: phpcompta/trunk/include/category_detail.inc.php
===================================================================
--- phpcompta/trunk/include/category_detail.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/category_detail.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -32,6 +32,7 @@
//----------------------------------------------------------------------------
// Save modification
//---------------------------------------------------------------------------
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
if ( isset ($_POST['mod']))
{
Modified: phpcompta/trunk/include/category_followup.inc.php
===================================================================
--- phpcompta/trunk/include/category_followup.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/category_followup.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -27,6 +27,7 @@
* - sd = this parameter is used here
* - $cn = database connection
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_follow_up.php');
/**
Modified: phpcompta/trunk/include/category_operation.inc.php
===================================================================
--- phpcompta/trunk/include/category_operation.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/category_operation.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -29,6 +29,7 @@
* - $sub_action
* - $ss_action
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_acc_ledger.php');
$f=new Fiche($cn,$_REQUEST['f_id']);
$qcode=$f->get_quick_code();
Modified: phpcompta/trunk/include/cfgfiche.inc.php
===================================================================
--- phpcompta/trunk/include/cfgfiche.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/cfgfiche.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -21,6 +21,7 @@
/*! \file
* \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");
Modified: phpcompta/trunk/include/cfgledger.inc.php
===================================================================
--- phpcompta/trunk/include/cfgledger.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/cfgledger.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -27,6 +27,7 @@
* @brief Create, update and delete ledgers
*
*/
+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');
Modified: phpcompta/trunk/include/client.inc.php
===================================================================
--- phpcompta/trunk/include/client.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/client.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -18,9 +18,11 @@
*/
/* $Revision$ */
// Copyright Author Dany De Bontridder address@hidden
-/**\brief include from client.inc.php and concerned only the customer card and
+/**
+ * \brief include from client.inc.php and concerned only the customer card and
* 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");
Modified: phpcompta/trunk/include/company.inc.php
===================================================================
--- phpcompta/trunk/include/company.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/company.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -1,5 +1,5 @@
<?php
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
global $g_user;
echo '<div class="content">';
require_once("class_own.php");
Modified: phpcompta/trunk/include/compta_ach.inc.php
===================================================================
--- phpcompta/trunk/include/compta_ach.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/compta_ach.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -21,9 +21,11 @@
// Copyright Author Dany De Bontridder address@hidden
-/**\file
+/**
+ *\file
* \brief file included to manage all the sold operation
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_icheckbox.php");
require_once("class_acc_ledger_purchase.php");
require_once ('class_pre_op_ach.php');
Modified: phpcompta/trunk/include/compta_fin.inc.php
===================================================================
--- phpcompta/trunk/include/compta_fin.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/compta_fin.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -23,6 +23,7 @@
/*!\file
* \brief this file is to be included to handle the financial ledger
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_acc_ledger_fin.php');
require_once('class_ipopup.php');
global $g_user,$g_parameter;
Modified: phpcompta/trunk/include/compta_fin_rec.inc.php
===================================================================
--- phpcompta/trunk/include/compta_fin_rec.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/compta_fin_rec.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -27,6 +27,7 @@
* \brief reconcile operation
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
global $g_failed,$g_succeed;
require_once 'class_acc_ledger_fin.php';
bcscale(2);
Modified: phpcompta/trunk/include/compta_fin_saldo.inc.php
===================================================================
--- phpcompta/trunk/include/compta_fin_saldo.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/compta_fin_saldo.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -27,6 +27,7 @@
* \brief show bank saldo
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_acc_parm_code.php');
echo '<div class="content">';
$fiche=new Fiche($cn);
Modified: phpcompta/trunk/include/compta_ods.inc.php
===================================================================
--- phpcompta/trunk/include/compta_ods.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/compta_ods.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -27,6 +27,7 @@
* quant_purchase and quant_sold are not changed by this
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_icheckbox.php");
require_once ('class_acc_ledger.php');
require_once ('class_acc_reconciliation.php');
Modified: phpcompta/trunk/include/compta_ven.inc.php
===================================================================
--- phpcompta/trunk/include/compta_ven.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/compta_ven.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -23,6 +23,7 @@
/*!\file
* \brief file included to manage all the sold operation
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_icheckbox.php");
require_once("class_acc_ledger_sold.php");
require_once ('class_pre_op_ven.php');
Modified: phpcompta/trunk/include/contact.inc.php
===================================================================
--- phpcompta/trunk/include/contact.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/contact.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -21,6 +21,7 @@
/**\brief include from client.inc.php and concerned only the contact card and
* the contact category
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_iselect.php");
require_once("class_ihidden.php");
require_once("class_contact.php");
Modified: phpcompta/trunk/include/dashboard.inc.php
===================================================================
--- phpcompta/trunk/include/dashboard.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/dashboard.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -1,4 +1,5 @@
<?php
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_idate.php");
require_once("class_itext.php");
require_once ('constant.php');
Modified: phpcompta/trunk/include/doc_state.inc.php
===================================================================
--- phpcompta/trunk/include/doc_state.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/doc_state.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -26,6 +26,7 @@
* @brief Manage the status of the document (document_state)
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
global $cn;
if ( isset($_POST['add']))
Modified: phpcompta/trunk/include/document_modele.inc.php
===================================================================
--- phpcompta/trunk/include/document_modele.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/document_modele.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -22,6 +22,7 @@
* \brief Manage the document template
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_document_modele.php");
$sub_action=(isset ($_REQUEST['sa']))?$_REQUEST['sa']:"";
echo js_include('modele_document.js');
Modified: phpcompta/trunk/include/dossier.inc.php
===================================================================
--- phpcompta/trunk/include/dossier.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/dossier.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -19,7 +19,7 @@
/* $Revision$ */
// Copyright Author Dany De Bontridder address@hidden
-
+if ( !defined ('ALLOWED')) die('Forbidden');
/*!\file
* \brief Management of the folder
*
Modified: phpcompta/trunk/include/export_anc_acc_list_csv.php
===================================================================
--- phpcompta/trunk/include/export_anc_acc_list_csv.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_anc_acc_list_csv.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -24,6 +24,7 @@
* \brief export analytic list in csv
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="export-anc-list.csv"',FALSE);
Modified: phpcompta/trunk/include/export_anc_balance_double_csv.php
===================================================================
--- phpcompta/trunk/include/export_anc_balance_double_csv.php 2013-09-05
20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/include/export_anc_balance_double_csv.php 2013-09-13
19:17:32 UTC (rev 5380)
@@ -27,6 +27,7 @@
/* \brief export the operation in pdf
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Content-type: application/csv');
header('Pragma: public');
header('Content-Disposition: attachment;filename="ca_bal_croise.csv"',FALSE);
Modified: phpcompta/trunk/include/export_anc_balance_double_pdf.php
===================================================================
--- phpcompta/trunk/include/export_anc_balance_double_pdf.php 2013-09-05
20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/include/export_anc_balance_double_pdf.php 2013-09-13
19:17:32 UTC (rev 5380)
@@ -23,7 +23,7 @@
/*!\file
* \brief export the operation in pdf
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_anc_balance_double.php');
require_once ('header_print.php');
Modified: phpcompta/trunk/include/export_anc_balance_group_csv.php
===================================================================
--- phpcompta/trunk/include/export_anc_balance_group_csv.php 2013-09-05
20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/include/export_anc_balance_group_csv.php 2013-09-13
19:17:32 UTC (rev 5380)
@@ -23,7 +23,7 @@
/*!\file
* \brief export balance by group
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_anc_group.php');
header('Pragma: public');
Modified: phpcompta/trunk/include/export_anc_balance_simple_csv.php
===================================================================
--- phpcompta/trunk/include/export_anc_balance_simple_csv.php 2013-09-05
20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/include/export_anc_balance_simple_csv.php 2013-09-13
19:17:32 UTC (rev 5380)
@@ -23,6 +23,7 @@
/*!\file
* \brief export the operation in pdf
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="ca_bal_simple.csv"',FALSE);
Modified: phpcompta/trunk/include/export_anc_balance_simple_pdf.php
===================================================================
--- phpcompta/trunk/include/export_anc_balance_simple_pdf.php 2013-09-05
20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/include/export_anc_balance_simple_pdf.php 2013-09-13
19:17:32 UTC (rev 5380)
@@ -24,6 +24,7 @@
* \brief export the operation in pdf
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_anc_balance_simple.php');
$cn=new Database(dossier::id());
Modified: phpcompta/trunk/include/export_anc_grandlivre_csv.php
===================================================================
--- phpcompta/trunk/include/export_anc_grandlivre_csv.php 2013-09-05
20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/include/export_anc_grandlivre_csv.php 2013-09-13
19:17:32 UTC (rev 5380)
@@ -1,4 +1,5 @@
<?php
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="anc-grand-livre.csv"',FALSE);
Modified: phpcompta/trunk/include/export_anc_list_csv.php
===================================================================
--- phpcompta/trunk/include/export_anc_list_csv.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_anc_list_csv.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -24,6 +24,7 @@
* \brief export the operation in pdf
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="jrn.csv"',FALSE);
Modified: phpcompta/trunk/include/export_anc_table_csv.php
===================================================================
--- phpcompta/trunk/include/export_anc_table_csv.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_anc_table_csv.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -23,7 +23,7 @@
/*!\file
* \brief export the anc tables in CSV
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition:
attachment;filename="anc-table-export.csv"',FALSE);
Modified: phpcompta/trunk/include/export_balance_csv.php
===================================================================
--- phpcompta/trunk/include/export_balance_csv.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_balance_csv.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -21,6 +21,7 @@
/*! \file
* \brief Return the balance in CSV format
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="balance.csv"',FALSE);
Modified: phpcompta/trunk/include/export_balance_pdf.php
===================================================================
--- phpcompta/trunk/include/export_balance_pdf.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_balance_pdf.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -30,7 +30,7 @@
*/
// Copyright Author Dany De Bontridder address@hidden
// $Revision$
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once("ac_common.php");
require_once('class_database.php');
include_once("class_acc_balance.php");
Modified: phpcompta/trunk/include/export_bilan_oth.php
===================================================================
--- phpcompta/trunk/include/export_bilan_oth.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_bilan_oth.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -21,6 +21,7 @@
/*! \file
* \brief send a Bilan in RTF format
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once("ac_common.php");
include_once("class_impress.php");
require_once('class_database.php');
Modified: phpcompta/trunk/include/export_fiche_balance_csv.php
===================================================================
--- phpcompta/trunk/include/export_fiche_balance_csv.php 2013-09-05
20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/include/export_fiche_balance_csv.php 2013-09-13
19:17:32 UTC (rev 5380)
@@ -24,6 +24,7 @@
* \brief Called by impress->category, export in CVS the history of a category
* of card
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="bal-fiche.csv"',FALSE);
Modified: phpcompta/trunk/include/export_fiche_balance_pdf.php
===================================================================
--- phpcompta/trunk/include/export_fiche_balance_pdf.php 2013-09-05
20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/include/export_fiche_balance_pdf.php 2013-09-13
19:17:32 UTC (rev 5380)
@@ -24,7 +24,7 @@
* \brief Called by impress->category, export in PDF the history of a category
or balance
* of card
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
// Security we check if user does exist and his privilege
require_once('class_user.php');
require_once('class_database.php');
Modified: phpcompta/trunk/include/export_fiche_csv.php
===================================================================
--- phpcompta/trunk/include/export_fiche_csv.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_fiche_csv.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -21,7 +21,7 @@
/*! \file
* \brief Send a CSV file with card
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="fiche.csv"',FALSE);
Modified: phpcompta/trunk/include/export_fiche_detail_csv.php
===================================================================
--- phpcompta/trunk/include/export_fiche_detail_csv.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_fiche_detail_csv.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -21,6 +21,7 @@
/*! \file
* \brief Send the poste list in csv
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once("ac_common.php");
require_once('class_database.php');
require_once("class_fiche.php");
Modified: phpcompta/trunk/include/export_fiche_detail_pdf.php
===================================================================
--- phpcompta/trunk/include/export_fiche_detail_pdf.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_fiche_detail_pdf.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -23,6 +23,7 @@
/*! \file
* \brief send the account list in PDF
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once("class_acc_account_ledger.php");
include_once("ac_common.php");
require_once('class_database.php');
Modified: phpcompta/trunk/include/export_fiche_pdf.php
===================================================================
--- phpcompta/trunk/include/export_fiche_pdf.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_fiche_pdf.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -24,7 +24,7 @@
* \brief Called by impress->category, export in PDF the history of a category
* of card
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
// Security we check if user does exist and his privilege
require_once('class_user.php');
require_once('class_database.php');
Modified: phpcompta/trunk/include/export_follow_up_csv.php
===================================================================
--- phpcompta/trunk/include/export_follow_up_csv.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_follow_up_csv.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -26,6 +26,7 @@
* @brief export Action Gestion to csv, taking in account the search
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_follow_up.php';
header('Pragma: public');
header('Content-type: application/csv');
Modified: phpcompta/trunk/include/export_form_csv.php
===================================================================
--- phpcompta/trunk/include/export_form_csv.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/export_form_csv.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -21,6 +21,7 @@
/*! \file
* \brief Send a report in CSV format
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ("ac_common.php");
require_once('class_database.php');
require_once ('class_user.php');
Modified: phpcompta/trunk/include/export_form_pdf.php
===================================================================
--- phpcompta/trunk/include/export_form_pdf.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/export_form_pdf.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -23,7 +23,7 @@
/*! \file
* \brief Send a report in PDF
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once("class_acc_report.php");
include_once("ac_common.php");
require_once('class_database.php');
Modified: phpcompta/trunk/include/export_gl_csv.php
===================================================================
--- phpcompta/trunk/include/export_gl_csv.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/export_gl_csv.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -23,7 +23,7 @@
/*! \file
* \brief create GL comptes as PDF
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once('class_acc_account_ledger.php');
include_once('ac_common.php');
require_once('class_database.php');
Modified: phpcompta/trunk/include/export_gl_pdf.php
===================================================================
--- phpcompta/trunk/include/export_gl_pdf.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/export_gl_pdf.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -23,7 +23,7 @@
/*! \file
* \brief create GL comptes as PDF
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once('class_acc_account_ledger.php');
include_once('ac_common.php');
require_once('class_database.php');
Modified: phpcompta/trunk/include/export_histo_csv.php
===================================================================
--- phpcompta/trunk/include/export_histo_csv.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_histo_csv.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -23,7 +23,7 @@
/*!\file
* \brief history of the accountancy exported in CSV
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="histo-export.csv"',FALSE);
Modified: phpcompta/trunk/include/export_ledger_csv.php
===================================================================
--- phpcompta/trunk/include/export_ledger_csv.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_ledger_csv.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -21,7 +21,7 @@
/*! \file
* \brief Send a ledger in CSV format
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
header('Pragma: public');
header('Content-type: application/csv');
header('Content-Disposition: attachment;filename="jrn.csv"',FALSE);
Modified: phpcompta/trunk/include/export_ledger_pdf.php
===================================================================
--- phpcompta/trunk/include/export_ledger_pdf.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_ledger_pdf.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -25,7 +25,7 @@
* \brief Send a ledger in a pdf format
*
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_dossier.php');
$gDossier=dossier::id();
require_once('class_pdf.php');
Modified: phpcompta/trunk/include/export_poste_detail_csv.php
===================================================================
--- phpcompta/trunk/include/export_poste_detail_csv.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_poste_detail_csv.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -21,6 +21,7 @@
/*! \file
* \brief Send the poste list in csv
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once("ac_common.php");
require_once('class_database.php');
require_once("class_acc_account_ledger.php");
Modified: phpcompta/trunk/include/export_poste_detail_pdf.php
===================================================================
--- phpcompta/trunk/include/export_poste_detail_pdf.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_poste_detail_pdf.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -23,6 +23,7 @@
/*! \file
* \brief send the account list in PDF
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once("class_acc_account_ledger.php");
include_once("ac_common.php");
require_once('class_database.php');
Modified: phpcompta/trunk/include/export_reportinit_csv.php
===================================================================
--- phpcompta/trunk/include/export_reportinit_csv.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_reportinit_csv.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -24,7 +24,7 @@
* \brief export definition of a report
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ("constant.php");
require_once('class_database.php');
require_once ("user_common.php");
Modified: phpcompta/trunk/include/export_security_pdf.php
===================================================================
--- phpcompta/trunk/include/export_security_pdf.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_security_pdf.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -22,7 +22,7 @@
/*! \file
* \brief Print the user security in pdf
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_dossier.php');
$gDossier=dossier::id();
include_once("ac_common.php");
Modified: phpcompta/trunk/include/export_stock_histo_csv.php
===================================================================
--- phpcompta/trunk/include/export_stock_histo_csv.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/export_stock_histo_csv.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -26,6 +26,7 @@
* @brief export in CSV the export of history
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_stock.php';
$stock=new Stock();
Modified: phpcompta/trunk/include/export_stock_resume_list.php
===================================================================
--- phpcompta/trunk/include/export_stock_resume_list.php 2013-09-05
20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/include/export_stock_resume_list.php 2013-09-13
19:17:32 UTC (rev 5380)
@@ -26,6 +26,7 @@
* @brief export in CSV the summary of stock in list
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_stock.php';
// var_dump($_GET);
$stock=new Stock();
Modified: phpcompta/trunk/include/extension.inc.php
===================================================================
--- phpcompta/trunk/include/extension.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/extension.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -30,6 +30,7 @@
* - $cn database connection
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_extension.php');
require_once('class_html_input.php');
require_once('class_ibutton.php');
Modified: phpcompta/trunk/include/extension_choice.inc.php
===================================================================
--- phpcompta/trunk/include/extension_choice.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/extension_choice.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -1,4 +1,5 @@
<?php
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_database.php');
require_once('class_dossier.php');
require_once("ac_common.php");
Modified: phpcompta/trunk/include/extension_get.inc.php
===================================================================
--- phpcompta/trunk/include/extension_get.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/extension_get.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -1,4 +1,5 @@
<?php
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_database.php');
require_once('class_dossier.php');
require_once("ac_common.php");
Modified: phpcompta/trunk/include/fiche.inc.php
===================================================================
--- phpcompta/trunk/include/fiche.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/fiche.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -22,6 +22,7 @@
/**\file
* \brief printing of category of card : balance, historic
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once('class_database.php');
include_once('class_fiche.php');
require_once('class_lettering.php');
Modified: phpcompta/trunk/include/fiche_def.inc.php
===================================================================
--- phpcompta/trunk/include/fiche_def.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/fiche_def.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -18,6 +18,7 @@
*/
/* $Revision$ */
// Copyright Author Dany De Bontridder address@hidden
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_ihidden.php");
require_once("class_fiche_def.php");
Modified: phpcompta/trunk/include/forecast.inc.php
===================================================================
--- phpcompta/trunk/include/forecast.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/forecast.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -25,6 +25,7 @@
* \brief display, add, delete and modify forecast
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_anticipation.php';
echo '<div class="content">';
Modified: phpcompta/trunk/include/history_operation.inc.php
===================================================================
--- phpcompta/trunk/include/history_operation.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/history_operation.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -27,6 +27,7 @@
* \brief
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_acc_ledger_purchase.php';
require_once 'class_acc_ledger_fin.php';
require_once 'class_acc_ledger_sold.php';
Modified: phpcompta/trunk/include/impress_bilan.inc.php
===================================================================
--- phpcompta/trunk/include/impress_bilan.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/impress_bilan.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -17,6 +17,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* $Revision$ */
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_acc_bilan.php');
require_once('class_exercice.php');
Modified: phpcompta/trunk/include/impress_gl_comptes.inc.php
===================================================================
--- phpcompta/trunk/include/impress_gl_comptes.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/impress_gl_comptes.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -18,6 +18,7 @@
*/
/* $Revision$ */
// Copyright Author Dany De Bontridder address@hidden
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_ispan.php");
require_once("class_icard.php");
require_once("class_iselect.php");
Modified: phpcompta/trunk/include/impress_jrn.inc.php
===================================================================
--- phpcompta/trunk/include/impress_jrn.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/impress_jrn.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -22,7 +22,7 @@
/** \file
* \brief ask for Printing the ledger (pdf,html)
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_ihidden.php");
require_once("class_iselect.php");
require_once("class_icheckbox.php");
Modified: phpcompta/trunk/include/impress_poste.inc.php
===================================================================
--- phpcompta/trunk/include/impress_poste.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/impress_poste.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -18,6 +18,7 @@
*/
/* $Revision$ */
// Copyright Author Dany De Bontridder address@hidden
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_ispan.php");
require_once("class_icard.php");
require_once("class_iselect.php");
Modified: phpcompta/trunk/include/impress_rapport.inc.php
===================================================================
--- phpcompta/trunk/include/impress_rapport.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/impress_rapport.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -23,6 +23,7 @@
*
* some variable are already defined ($cn, $g_user ...)
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_ihidden.php");
require_once("class_iselect.php");
require_once("class_idate.php");
Modified: phpcompta/trunk/include/impress_rec.inc.php
===================================================================
--- phpcompta/trunk/include/impress_rec.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/impress_rec.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -23,6 +23,7 @@
/*!\file
* \brief print the all the operation reconciled or not, with or without the
same amount
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_acc_reconciliation.php');
require_once('function_javascript.php');
global $g_user;
Modified: phpcompta/trunk/include/lettering.account.inc.php
===================================================================
--- phpcompta/trunk/include/lettering.account.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/lettering.account.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -24,6 +24,7 @@
* \brief show the lettering by account
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_lettering.php');
echo '<div class="content">';
Modified: phpcompta/trunk/include/lettering.card.inc.php
===================================================================
--- phpcompta/trunk/include/lettering.card.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/lettering.card.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -23,6 +23,7 @@
/*!\file
* \brief show the lettering by account
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_ipopup.php');
require_once('class_lettering.php');
Modified: phpcompta/trunk/include/lettering.gestion.inc.php
===================================================================
--- phpcompta/trunk/include/lettering.gestion.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/lettering.gestion.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -1,4 +1,5 @@
<?php
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_lettering.php');
global $g_user;
echo '<div class="content">';
Modified: phpcompta/trunk/include/menu.inc.php
===================================================================
--- phpcompta/trunk/include/menu.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/menu.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -27,6 +27,7 @@
* \brief Show the table menu and let you add your own
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_menu_ref.php';
require_once 'class_sort_table.php';
require_once 'class_extension.php';
Modified: phpcompta/trunk/include/modele.inc.php
===================================================================
--- phpcompta/trunk/include/modele.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/modele.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -27,6 +27,7 @@
* \brief concerne only the template
*
*/
+if ( !defined ('ALLOWED')) die('Forbidden');
require_once("class_itext.php");
require_once("class_icheckbox.php");
require_once ('class_extension.php');
Modified: phpcompta/trunk/include/opening.inc.php
===================================================================
--- phpcompta/trunk/include/opening.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/opening.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -29,6 +29,7 @@
*
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_iselect.php");
require_once('class_acc_ledger.php');
Modified: phpcompta/trunk/include/operation_ods_confirm.inc.php
===================================================================
--- phpcompta/trunk/include/operation_ods_confirm.inc.php 2013-09-05
20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/include/operation_ods_confirm.inc.php 2013-09-13
19:17:32 UTC (rev 5380)
@@ -27,7 +27,7 @@
* \brief confirm ODS operation
*
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
echo '<div class="content">';
echo h2("Confirmation",'class="info"');
echo '<div id="jrn_name_div">';
Modified: phpcompta/trunk/include/operation_ods_new.inc.php
===================================================================
--- phpcompta/trunk/include/operation_ods_new.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/operation_ods_new.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -25,6 +25,7 @@
*
* \brief to write into the ledgers ODS a new operation
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_pre_op_ods.php';
require_once 'class_iconcerned.php';
Modified: phpcompta/trunk/include/param_pcmn.inc.php
===================================================================
--- phpcompta/trunk/include/param_pcmn.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/param_pcmn.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -21,6 +21,7 @@
/*! \file
* \brief concerns the management of the "Plan Comptable"
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_acc_account.php');
include_once ("ac_common.php");
require_once("constant.php");
Modified: phpcompta/trunk/include/param_sec.inc.php
===================================================================
--- phpcompta/trunk/include/param_sec.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/param_sec.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -23,7 +23,7 @@
/*! \file
* \brief Set the security for an user
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once ("ac_common.php");
require_once("class_iselect.php");
require_once('class_dossier.php');
Modified: phpcompta/trunk/include/payment_middle.inc.php
===================================================================
--- phpcompta/trunk/include/payment_middle.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/payment_middle.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -19,6 +19,7 @@
/* $Revision$ */
// Copyright Author Dany De Bontridder address@hidden
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_acc_payment.php');
require_once 'class_sort_table.php';
//---------------------------------------------------------------------------
Modified: phpcompta/trunk/include/periode.inc.php
===================================================================
--- phpcompta/trunk/include/periode.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/periode.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -21,6 +21,7 @@
/*! \file
* \brief add, modify, close or delete a period
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
$gDossier=dossier::id();
require_once("class_iselect.php");
require_once ('class_periode.php');
Modified: phpcompta/trunk/include/poste.inc.php
===================================================================
--- phpcompta/trunk/include/poste.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/poste.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -22,6 +22,7 @@
* \brief p_action contains the main action (always poste here)
* action contains the sub action
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_ihidden.php");
require_once("class_acc_parm_code.php");
echo '<div class="content">';
Modified: phpcompta/trunk/include/pref.inc.php
===================================================================
--- phpcompta/trunk/include/pref.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/pref.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -23,7 +23,7 @@
* it permits to change the user preferences
* \see user_pref.php
*/
-
+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");
Modified: phpcompta/trunk/include/preod.inc.php
===================================================================
--- phpcompta/trunk/include/preod.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/preod.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -23,6 +23,7 @@
/*!\file
* \brief included file for managing the predefined operation
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once("class_iselect.php");
require_once("class_icheckbox.php");
require_once("class_ihidden.php");
Modified: phpcompta/trunk/include/profile.inc.php
===================================================================
--- phpcompta/trunk/include/profile.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/profile.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -19,6 +19,7 @@
*/
/* $Revision$ */
// Copyright Author Dany De Bontridder address@hidden
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_profile_sql.php';
global $cn;
Modified: phpcompta/trunk/include/report.inc.php
===================================================================
--- phpcompta/trunk/include/report.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/report.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -21,6 +21,7 @@
/*! \file
* \brief handle your own report: create or view report
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once ("ac_common.php");
include_once ("user_menu.php");
require_once("class_ifile.php");
Modified: phpcompta/trunk/include/restore.inc.php
===================================================================
--- phpcompta/trunk/include/restore.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/restore.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -19,7 +19,7 @@
/* $Revision$ */
// Copyright Author Dany De Bontridder address@hidden
-
+if ( !defined ('ALLOWED')) die('Forbidden');
require_once('class_iradio.php');
require_once('class_ifile.php');
Modified: phpcompta/trunk/include/search.inc.php
===================================================================
--- phpcompta/trunk/include/search.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/search.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -21,6 +21,7 @@
/*! \file
* \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_acc_ledger.php');
Modified: phpcompta/trunk/include/stock_cfg.inc.php
===================================================================
--- phpcompta/trunk/include/stock_cfg.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/stock_cfg.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -26,6 +26,7 @@
* @brief Manage the repository
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_stock_sql.php';
require_once 'class_sort_table.php';
Modified: phpcompta/trunk/include/stock_histo.inc.php
===================================================================
--- phpcompta/trunk/include/stock_histo.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/stock_histo.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -26,6 +26,7 @@
* @brief
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
global $g_user,$cn,$g_parameter;
require_once 'class_stock.php';
require_once 'class_periode.php';
Modified: phpcompta/trunk/include/stock_inv.inc.php
===================================================================
--- phpcompta/trunk/include/stock_inv.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/stock_inv.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -26,6 +26,7 @@
* @brief Inventory : add manuel change
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_stock_goods.php';
global $cn;
Modified: phpcompta/trunk/include/stock_inv_histo.inc.php
===================================================================
--- phpcompta/trunk/include/stock_inv_histo.inc.php 2013-09-05 20:35:06 UTC
(rev 5379)
+++ phpcompta/trunk/include/stock_inv_histo.inc.php 2013-09-13 19:17:32 UTC
(rev 5380)
@@ -25,6 +25,7 @@
* @brief history of manuel change
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
if ( isset($_POST['del']))
{
if (isset($_POST['ok']))
Modified: phpcompta/trunk/include/stock_state.inc.php
===================================================================
--- phpcompta/trunk/include/stock_state.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/stock_state.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -26,6 +26,7 @@
* @brief show the state of the repository
*
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
global $cn,$g_parameter,$g_user;
require_once 'class_stock.php';
Modified: phpcompta/trunk/include/supplier.inc.php
===================================================================
--- phpcompta/trunk/include/supplier.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/supplier.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -21,6 +21,7 @@
/*!\brief include from supplier.inc.php and concerned only the supplier card
and
* 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_supplier.php");
Modified: phpcompta/trunk/include/tva.inc.php
===================================================================
--- phpcompta/trunk/include/tva.inc.php 2013-09-05 20:35:06 UTC (rev 5379)
+++ phpcompta/trunk/include/tva.inc.php 2013-09-13 19:17:32 UTC (rev 5380)
@@ -21,6 +21,7 @@
/** \file
* \brief included file for customizing with the vat (account,rate...)
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once('class_own.php');
require_once('class_html_input.php');
require_once('class_ihidden.php');
Modified: phpcompta/trunk/include/user.inc.php
===================================================================
--- phpcompta/trunk/include/user.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/user.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -19,7 +19,7 @@
/* $Revision$ */
// Copyright Author Dany De Bontridder address@hidden
-
+if ( !defined ('ALLOWED')) die('Forbidden');
/*!\file
*
*
Modified: phpcompta/trunk/include/user_detail.inc.php
===================================================================
--- phpcompta/trunk/include/user_detail.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/user_detail.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -20,6 +20,7 @@
/** \file
* \brief Users Security
*/
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
include_once("ac_common.php");
require_once('class_database.php');
include_once("user_menu.php");
Modified: phpcompta/trunk/include/verif_bilan.inc.php
===================================================================
--- phpcompta/trunk/include/verif_bilan.inc.php 2013-09-05 20:35:06 UTC (rev
5379)
+++ phpcompta/trunk/include/verif_bilan.inc.php 2013-09-13 19:17:32 UTC (rev
5380)
@@ -23,7 +23,7 @@
/*!\file
* \brief Verify the saldo of ledger: independant file
*/
-
+if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once ('class_user.php');
require_once('class_acc_bilan.php');
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5380 - in phpcompta/trunk: doc html html/image include,
phpcompta-dev <=