';
- include NOALYSS_INCLUDE.'/template/impress_reconciliation_detail.php';
+ include NOALYSS_TEMPLATE.'/impress_reconciliation_detail.php';
echo '
';
echo '
';
}
diff --git a/include/class/class_anc_group.php b/include/class/class_anc_group.php
index 30d3a0436..1dc9ef91b 100644
--- a/include/class/class_anc_group.php
+++ b/include/class/class_anc_group.php
@@ -193,7 +193,7 @@ order by ga_description,po_name";
$array=$this->get_result();
if ( empty ($array) ) return "";
- require_once NOALYSS_INCLUDE.'/template/anc_balance_group.php';
+ require_once NOALYSS_TEMPLATE.'/anc_balance_group.php';
}
diff --git a/include/class/class_anc_key.php b/include/class/class_anc_key.php
index 4a5856494..c8af6efc1 100644
--- a/include/class/class_anc_key.php
+++ b/include/class/class_anc_key.php
@@ -83,7 +83,7 @@ class Anc_Key
echo _('Aucune clef disponible');
echo _('Allez dans ANCKEY pour en ajouter pour ce journal');
}
- include NOALYSS_INCLUDE.'/template/anc_key_display_choice.php';
+ include NOALYSS_TEMPLATE.'/anc_key_display_choice.php';
}
/**
@@ -100,7 +100,7 @@ class Anc_Key
{
echo _('Aucune clef disponible');
}
- include NOALYSS_INCLUDE.'/template/anc_key_display_list.php';
+ include NOALYSS_TEMPLATE.'/anc_key_display_list.php';
}
/**
@@ -125,7 +125,7 @@ class Anc_Key
where
kd_id=$1 order by ke_row', array($this->key->getp('id')));
- require_once NOALYSS_INCLUDE.'/template/anc_key_input.php';
+ require_once NOALYSS_TEMPLATE.'/anc_key_input.php';
}
/**
diff --git a/include/class/class_anticipation.php b/include/class/class_anticipation.php
index 230339fcf..f4672ee37 100644
--- a/include/class/class_anticipation.php
+++ b/include/class/class_anticipation.php
@@ -174,7 +174,7 @@ class Anticipation
}
ob_start();
- require_once NOALYSS_INCLUDE.'/template/forecast_result.php';
+ require_once NOALYSS_TEMPLATE.'/forecast_result.php';
$r.=ob_get_contents();
ob_end_clean();
return $r;
@@ -245,7 +245,7 @@ class Anticipation
}
ob_start();
- require_once NOALYSS_INCLUDE.'/template/forecast_cat.php';
+ require_once NOALYSS_TEMPLATE.'/forecast_cat.php';
$r.=ob_get_contents();
ob_end_clean();
return $r;
@@ -308,7 +308,7 @@ class Anticipation
}
ob_start();
- require_once NOALYSS_INCLUDE.'/template/forecast_cat.php';
+ require_once NOALYSS_TEMPLATE.'/forecast_cat.php';
$r.=ob_get_contents();
ob_end_clean();
return $r;
@@ -432,7 +432,7 @@ class Anticipation
$add_row->javascript='for_add_row(\'fortable\')';
$f_add_row=$add_row->input();
ob_start();
- require_once NOALYSS_INCLUDE.'/template/forecast-detail.php';
+ require_once NOALYSS_TEMPLATE.'/forecast-detail.php';
$r.=ob_get_contents();
ob_end_clean();
return $r;
diff --git a/include/class/class_balance_age.php b/include/class/class_balance_age.php
index a356623d6..9706f8b26 100644
--- a/include/class/class_balance_age.php
+++ b/include/class/class_balance_age.php
@@ -91,7 +91,7 @@ class Balance_Age
$this->get_array_card('U', $p_fiche);
$a_fiche=$this->afiche;
$nb_fiche=count($a_fiche);
- require NOALYSS_INCLUDE.'/template/balance_aged_result.php';
+ require NOALYSS_TEMPLATE.'/balance_aged_result.php';
}
function display_category($p_date_start, $p_cat, $p_let)
@@ -101,7 +101,7 @@ class Balance_Age
$this->get_array_card('X', $p_cat);
$a_fiche=$this->afiche;
$nb_fiche=count($a_fiche);
- require NOALYSS_INCLUDE.'/template/balance_aged_result.php';
+ require NOALYSS_TEMPLATE.'/balance_aged_result.php';
}
/**
@@ -115,7 +115,7 @@ class Balance_Age
$this->get_array_card('F');
$a_fiche=$this->afiche;
$nb_fiche=count($a_fiche);
- require NOALYSS_INCLUDE.'/template/balance_aged_result.php';
+ require NOALYSS_TEMPLATE.'/balance_aged_result.php';
}
/**
@@ -129,7 +129,7 @@ class Balance_Age
$this->get_array_card('C');
$a_fiche=$this->afiche;
$nb_fiche=count($a_fiche);
- require NOALYSS_INCLUDE.'/template/balance_aged_result.php';
+ require NOALYSS_TEMPLATE.'/balance_aged_result.php';
}
function export_csv($p_date_start, $p_let)
diff --git a/include/class/class_calendar.php b/include/class/class_calendar.php
index c3854f9f5..a36fac77a 100644
--- a/include/class/class_calendar.php
+++ b/include/class/class_calendar.php
@@ -183,7 +183,7 @@ class Calendar
ob_start();
$zoom=($p_type=='short')?0:1;
- require_once NOALYSS_INCLUDE.'/template/calendar.php';
+ require_once NOALYSS_TEMPLATE.'/calendar.php';
if (count($this->action_div) > 0)
{
@@ -272,7 +272,7 @@ class Calendar
ob_start();
$zoom=1;
$notitle=HtmlInput::default_value_get('notitle', 0);
- require_once NOALYSS_INCLUDE.'/template/calendar.php';
+ require_once NOALYSS_TEMPLATE.'/calendar.php';
if (count($this->action_div) > 0)
{
@@ -314,7 +314,7 @@ class Calendar
";
$a_event=$cn->get_array($sql,array($profile));
ob_start();
- require_once NOALYSS_INCLUDE.'/template/calendar-list.php';
+ require_once NOALYSS_TEMPLATE.'/calendar-list.php';
$ret=ob_get_clean();
return $ret;
diff --git a/include/class/class_fiche_def.php b/include/class/class_fiche_def.php
index 1f2551525..5600217b1 100644
--- a/include/class/class_fiche_def.php
+++ b/include/class/class_fiche_def.php
@@ -63,7 +63,7 @@ class Fiche_Def
$fd_description->width=80;
$fd_description->heigh=4;
$fd_description->style='class="itextarea" style="margin-left:0px;vertical-align:text-top"';
- require_once NOALYSS_INCLUDE.'/template/fiche_def_input.php';
+ require_once NOALYSS_TEMPLATE.'/fiche_def_input.php';
return;
}
@@ -182,7 +182,7 @@ frd_text , fd_description FROM fiche_def join fiche_def_ref on (fiche_def.frd_id
$order
");
- require_once NOALYSS_INCLUDE.'/template/fiche_def_list.php';
+ require_once NOALYSS_TEMPLATE.'/fiche_def_list.php';
}
/*!\brief Add a fiche category thanks the element from the array
* you cannot add twice the same cat. name
diff --git a/include/class/class_follow_up.php b/include/class/class_follow_up.php
index d81ecda7b..92b9c488b 100644
--- a/include/class/class_follow_up.php
+++ b/include/class/class_follow_up.php
@@ -541,7 +541,7 @@ class Follow_Up
$menu=new Default_Menu();
/* get template */
ob_start();
- require NOALYSS_INCLUDE.'/template/detail-action.php';
+ require NOALYSS_TEMPLATE.'/detail-action.php';
$content=ob_get_contents();
ob_end_clean();
$r.=$content;
@@ -1192,7 +1192,7 @@ class Follow_Up
* Show the default button (add action, show search...)
*/
if (!$inner)
- require_once NOALYSS_INCLUDE.'/template/action_button.php';
+ require_once NOALYSS_TEMPLATE.'/action_button.php';
$w=new ICard();
$w->name='qcode';
@@ -1262,7 +1262,7 @@ class Follow_Up
$otag=new Tag($cn);
// show the action in
- require_once NOALYSS_INCLUDE.'/template/action_search.php';
+ require_once NOALYSS_TEMPLATE.'/action_search.php';
}
/**
@@ -1283,7 +1283,7 @@ class Follow_Up
echo '';
}
@@ -1436,7 +1436,7 @@ class Follow_Up
$limit=($max_line>25)?25:$max_line;
$Res=$cn->exec_sql($sql."limit ".$limit);
$a_row=Database::fetch_all($Res);
- require_once NOALYSS_INCLUDE.'/template/action_search_result.php';
+ require_once NOALYSS_TEMPLATE.'/action_search_result.php';
}
/**
@@ -1772,7 +1772,7 @@ class Follow_Up
function display_short()
{
$cn=$this->db;
- include NOALYSS_INCLUDE.'/template/action_display_short.php';
+ include NOALYSS_TEMPLATE.'/action_display_short.php';
}
/**
* Add an event , with the minimum of informations,
diff --git a/include/class/class_lettering.php b/include/class/class_lettering.php
index 1e1fc64a5..11119779d 100644
--- a/include/class/class_lettering.php
+++ b/include/class/class_lettering.php
@@ -258,7 +258,7 @@ class Lettering
$this->get_all();
$r="";
ob_start();
- include(NOALYSS_INCLUDE.'/template/letter_all.php');
+ include(NOALYSS_TEMPLATE.'/letter_all.php');
$r=ob_get_contents();
ob_end_clean();
return $r;
@@ -286,7 +286,7 @@ class Lettering
$this->get_letter();
$r="";
ob_start();
- include(NOALYSS_INCLUDE.'/template/letter_all.php');
+ include(NOALYSS_TEMPLATE.'/letter_all.php');
$r=ob_get_contents();
ob_end_clean();
return $r;
@@ -300,7 +300,7 @@ class Lettering
$this->get_letter_diff();
$r="";
ob_start();
- include(NOALYSS_INCLUDE.'/template/letter_all.php');
+ include(NOALYSS_TEMPLATE.'/letter_all.php');
$r=ob_get_contents();
ob_end_clean();
return $r;
@@ -316,7 +316,7 @@ class Lettering
$this->get_unletter();
$r="";
ob_start();
- include(NOALYSS_INCLUDE.'/template/letter_all.php');
+ include(NOALYSS_TEMPLATE.'/letter_all.php');
$r=ob_get_contents();
ob_end_clean();
return $r;
@@ -366,7 +366,7 @@ class Lettering
}
$this->get_linked($jnt_id);
ob_start();
- require_once NOALYSS_INCLUDE.'/template/letter_prop.php';
+ require_once NOALYSS_TEMPLATE.'/letter_prop.php';
$r=ob_get_contents();
ob_end_clean();
$r.=HtmlInput::hidden('j_id',$p_jid);
diff --git a/include/class/class_pre_op_ach.php b/include/class/class_pre_op_ach.php
index 3f3085112..356c0268a 100644
--- a/include/class/class_pre_op_ach.php
+++ b/include/class/class_pre_op_ach.php
@@ -391,7 +391,7 @@ class Pre_op_ach extends Pre_operation_detail
$f_type=_('Fournisseur');
ob_start();
- require_once NOALYSS_INCLUDE.'/template/predf_ledger_detail.php';
+ require_once NOALYSS_TEMPLATE.'/predf_ledger_detail.php';
$r.=ob_get_contents();
ob_end_clean();
diff --git a/include/class/class_pre_op_ven.php b/include/class/class_pre_op_ven.php
index 318bb5b97..186e8102d 100644
--- a/include/class/class_pre_op_ven.php
+++ b/include/class/class_pre_op_ven.php
@@ -385,7 +385,7 @@ class Pre_op_ven extends Pre_operation_detail
ob_start();
- require_once NOALYSS_INCLUDE.'/template/predf_ledger_detail.php';
+ require_once NOALYSS_TEMPLATE.'/predf_ledger_detail.php';
$r.=ob_get_contents();
ob_end_clean();
diff --git a/include/class/class_profile_menu.php b/include/class/class_profile_menu.php
index e53f469a4..a56d630aa 100644
--- a/include/class/class_profile_menu.php
+++ b/include/class/class_profile_menu.php
@@ -161,7 +161,7 @@ class Profile_Menu extends Profile_Menu_sql
*/
function display_module($ap_module)
{
- include NOALYSS_INCLUDE.'/template/profile_menu_display_module.php';
+ include NOALYSS_TEMPLATE.'/profile_menu_display_module.php';
}
/**
@@ -192,7 +192,7 @@ class Profile_Menu extends Profile_Menu_sql
p_id = $1 and
pm_id_dep = $2 order by p_order',
array($this->p_id, $p_module_id));
- require NOALYSS_INCLUDE.'/template/profile_menu_display_submenu.php';
+ require NOALYSS_TEMPLATE.'/profile_menu_display_submenu.php';
}
/**
@@ -246,7 +246,7 @@ class Profile_Menu extends Profile_Menu_sql
array('value'=>'W', 'label'=>_('Ecriture')),
array('value'=>'X', 'label'=>_('Aucun accès'))
);
- require_once NOALYSS_INCLUDE.'/template/user_sec_profile.php';
+ require_once NOALYSS_TEMPLATE.'/user_sec_profile.php';
}
/**
@@ -271,7 +271,7 @@ class Profile_Menu extends Profile_Menu_sql
array('value'=>'W', 'label'=>_('Ecriture')),
array('value'=>'X', 'label'=>_('Aucun accès'))
);
- require_once NOALYSS_INCLUDE.'/template/profile_sec_repository.php';
+ require_once NOALYSS_TEMPLATE.'/profile_sec_repository.php';
}
}
diff --git a/include/class/class_stock.php b/include/class/class_stock.php
index 76fcb430d..4a0606c94 100644
--- a/include/class/class_stock.php
+++ b/include/class/class_stock.php
@@ -71,7 +71,7 @@ class Stock extends Stock_Sql
$this->search_box_button();
$this->search_box($p_array);
- require_once NOALYSS_INCLUDE.'/template/stock_histo.php';
+ require_once NOALYSS_TEMPLATE.'/stock_histo.php';
$this->export_stock_histo_form();
echo HtmlInput::print_window();
}
@@ -150,7 +150,7 @@ class Stock extends Stock_Sql
);
$wdirection->selected = HtmlInput::default_value("wdirection", "-1", $p_array);
- require_once NOALYSS_INCLUDE.'/template/stock_histo_search.php';
+ require_once NOALYSS_TEMPLATE.'/stock_histo_search.php';
}
function create_query_histo($p_array)
@@ -245,11 +245,11 @@ class Stock extends Stock_Sql
}
if ($present == 'T')
{
- require_once NOALYSS_INCLUDE.'/template/stock_summary_table.php';
+ require_once NOALYSS_TEMPLATE.'/stock_summary_table.php';
}
if ($present == 'L')
{
- require_once NOALYSS_INCLUDE.'/template/stock_summary_list.php';
+ require_once NOALYSS_TEMPLATE.'/stock_summary_list.php';
$this->export_stock_summary_list_form();
}
diff --git a/include/class/class_stock_goods.php b/include/class/class_stock_goods.php
index 96a817ad3..5283d302d 100644
--- a/include/class/class_stock_goods.php
+++ b/include/class/class_stock_goods.php
@@ -110,7 +110,7 @@ class Stock_Goods extends Stock_Goods_Sql
$select_exercice=new ISelect('p_exercice');
$select_exercice->value=$cn->make_array('select distinct p_exercice,p_exercice from parm_periode order by 1 desc');
- require_once NOALYSS_INCLUDE.'/template/stock_inv.php';
+ require_once NOALYSS_TEMPLATE.'/stock_inv.php';
}
function record_save($p_array)
diff --git a/include/class/class_tag.php b/include/class/class_tag.php
index 81ce9c69a..75b0d8720 100644
--- a/include/class/class_tag.php
+++ b/include/class/class_tag.php
@@ -34,7 +34,7 @@ class Tag
{
$ret=$this->data->seek(' order by t_tag');
if ( $this->cn->count($ret) == 0) return "";
- require_once NOALYSS_INCLUDE.'/template/tag_list.php';
+ require_once NOALYSS_TEMPLATE.'/tag_list.php';
}
/**
* let select a tag to add
@@ -42,7 +42,7 @@ class Tag
function select()
{
$ret=$this->data->seek(' order by t_tag');
- require_once NOALYSS_INCLUDE.'/template/tag_select.php';
+ require_once NOALYSS_TEMPLATE.'/tag_select.php';
}
/**
* Display a inner window with the detail of a tag
@@ -50,7 +50,7 @@ class Tag
function form_add()
{
$data=$this->data;
- require_once NOALYSS_INCLUDE.'/template/tag_detail.php';
+ require_once NOALYSS_TEMPLATE.'/tag_detail.php';
}
/**
* Show the tag you can add to a document
@@ -90,7 +90,7 @@ class Tag
function select_search($p_prefix)
{
$ret=$this->data->seek(' order by t_tag');
- require_once NOALYSS_INCLUDE.'/template/tag_search_select.php';
+ require_once NOALYSS_TEMPLATE.'/tag_search_select.php';
}
/**
* In the screen search add this data to the cell
diff --git a/include/class/class_todo_list.php b/include/class/class_todo_list.php
index 9c32c4cdd..6898b9386 100644
--- a/include/class/class_todo_list.php
+++ b/include/class/class_todo_list.php
@@ -292,7 +292,7 @@ class Todo_List
{
ob_start();
$this->load();
- include NOALYSS_INCLUDE.'/template/todo_list_display.php';
+ include NOALYSS_TEMPLATE.'/todo_list_display.php';
$ret=ob_get_clean();
return $ret;
@@ -373,7 +373,7 @@ class Todo_List
// Get array of user
$p_array=User::get_list(Dossier::id());
$dossier=Dossier::id();
- include NOALYSS_INCLUDE.'/template/todo_list_list_user.php';
+ include NOALYSS_TEMPLATE.'/todo_list_list_user.php';
}
/**
diff --git a/include/dashboard.inc.php b/include/dashboard.inc.php
index 01dbd4569..0f50d4cb4 100644
--- a/include/dashboard.inc.php
+++ b/include/dashboard.inc.php
@@ -40,7 +40,7 @@ $customer_now=$Ledger->get_customer_now();
$customer_late=$Ledger->get_customer_late();
ob_start();
-require_once NOALYSS_INCLUDE.'/template/dashboard.php';
+require_once NOALYSS_TEMPLATE.'/dashboard.php';
$ret=ob_get_contents();
ob_end_clean();
echo $ret;
diff --git a/include/fiche.inc.php b/include/fiche.inc.php
index 97a381244..717abff3b 100644
--- a/include/fiche.inc.php
+++ b/include/fiche.inc.php
@@ -81,7 +81,7 @@ echo '
';
echo '';
$search_card=new IText('card_search');
@@ -218,7 +218,7 @@ if ($_GET['histo'] == -1)
");
$nb_line = Database::num_row($res);
if ($write != 1 || $allcard != 0 ) $str_add_card="";
- require_once NOALYSS_INCLUDE.'/template/fiche_list.php';
+ require_once NOALYSS_TEMPLATE.'/fiche_list.php';
echo ''.$bar;
return;
}
@@ -232,7 +232,7 @@ if ($_GET['histo'] == 3)
$cat_card->id = $_GET['cat'];
$aHeading = $cat_card->getAttribut();
if ( $allcard == 0) echo $str_add_card;
- require_once NOALYSS_INCLUDE.'/template/result_cat_card_summary.php';
+ require_once NOALYSS_TEMPLATE.'/result_cat_card_summary.php';
$hid = new IHidden();
echo '
get_value('select me_code from profile_menu where'
. ' pm_id = $1 ', array($selected));
- require_once NOALYSS_INCLUDE.'/template/module.php';
+ require_once NOALYSS_TEMPLATE.'/module.php';
$file = $cn->get_array("select me_file,me_parameter,me_javascript,me_type,me_description from v_all_menu
where pm_id=$1 and p_id=$2", array($selected,$g_user->get_profile()));
if ( count($file ) == 0 )
@@ -1008,7 +1008,7 @@ function show_menu($module)
else {
$style_menu=$a_style_menu[$level];
}
- require NOALYSS_INCLUDE.'/template/menu.php';
+ require NOALYSS_TEMPLATE.'/menu.php';
} // there is only one submenu so we include the code or javascript
// or we show the submenu
elseif (count($amenu) == 1)
diff --git a/include/lib/config_file.php b/include/lib/config_file.php
index d2091d124..8cf8b698d 100644
--- a/include/lib/config_file.php
+++ b/include/lib/config_file.php
@@ -98,7 +98,7 @@ function config_file_form($p_array=null)
$icdbname=new IText('cdbname');
- require NOALYSS_INCLUDE.'/template/template_config_form.php';
+ require NOALYSS_TEMPLATE.'/template_config_form.php';
}
/**
* Display the content of the config.inc.php with variables
diff --git a/include/param_sec.inc.php b/include/param_sec.inc.php
index 9ac3b8b47..77cab8eaa 100644
--- a/include/param_sec.inc.php
+++ b/include/param_sec.inc.php
@@ -319,7 +319,7 @@ if ( $action == "view" )
echo '';
echo HtmlInput::button('Imprime','imprime',"onclick=\"window.open('".$sHref."');\"");
echo HtmlInput::submit('ok','Sauve');
diff --git a/include/payment_middle.inc.php b/include/payment_middle.inc.php
index 0ee57a85a..f7667aee8 100644
--- a/include/payment_middle.inc.php
+++ b/include/payment_middle.inc.php
@@ -143,7 +143,7 @@ $array=$cn->get_array("
if ( ! empty ($array))
{
- require_once NOALYSS_INCLUDE.'/template/list_mod_payment.php';
+ require_once NOALYSS_TEMPLATE.'/list_mod_payment.php';
}
echo HtmlInput::button_anchor("Ajout", $base_url."&sb=ins","","","smallbutton");
echo '
';
diff --git a/include/periode.inc.php b/include/periode.inc.php
index 2cb074fb5..f23ecab0c 100644
--- a/include/periode.inc.php
+++ b/include/periode.inc.php
@@ -125,7 +125,7 @@ if ( $choose=="yes" )
array('value'=>13,'label'=>"13 périodes")
);
- require_once NOALYSS_INCLUDE.'/template/periode_add_exercice.php';
+ require_once NOALYSS_TEMPLATE.'/periode_add_exercice.php';
}
else
{
diff --git a/include/stock_state.inc.php b/include/stock_state.inc.php
index 46f1c235c..0a9ca0a0b 100644
--- a/include/stock_state.inc.php
+++ b/include/stock_state.inc.php
@@ -47,7 +47,7 @@ $presentation->value=array (
array("value"=>"L","label"=>"Liste")
);
$presentation->selected=(isset($_GET['present']))?$_GET['present']:"T";
-require_once NOALYSS_INCLUDE.'/template/stock_state_search.php';
+require_once NOALYSS_TEMPLATE.'/stock_state_search.php';
$stock=new Stock($cn);
diff --git a/include/template/ledger_detail_ach.php b/include/template/ledger_detail_ach.php
index 248d74a14..b443db3ee 100644
--- a/include/template/ledger_detail_ach.php
+++ b/include/template/ledger_detail_ach.php
@@ -2,7 +2,7 @@
//This file is part of NOALYSS and is under GPL
//see licence.txt
$str_anc="";
-?>
+?>
diff --git a/include/template/ledger_detail_bottom.php b/include/template/ledger_detail_bottom.php
index bde34bc87..948c2e556 100644
--- a/include/template/ledger_detail_bottom.php
+++ b/include/template/ledger_detail_bottom.php
@@ -235,7 +235,7 @@ echo '';
diff --git a/include/template/ledger_detail_fin.php b/include/template/ledger_detail_fin.php
index 045f4d0c4..42bea4d8a 100644
--- a/include/template/ledger_detail_fin.php
+++ b/include/template/ledger_detail_fin.php
@@ -2,7 +2,7 @@
//This file is part of NOALYSS and is under GPL
//see licence.txt
$str_anc="";
-?>
+?>
input());
?>
\ No newline at end of file
diff --git a/include/template/ledger_detail_misc.php b/include/template/ledger_detail_misc.php
index 50476b73a..600a1c7c7 100644
--- a/include/template/ledger_detail_misc.php
+++ b/include/template/ledger_detail_misc.php
@@ -2,7 +2,7 @@
//This file is part of NOALYSS and is under GPL
//see licence.txt
?>
diff --git a/include/template/ledger_detail_ven.php b/include/template/ledger_detail_ven.php
index 5e3739ee8..f330f6095 100644
--- a/include/template/ledger_detail_ven.php
+++ b/include/template/ledger_detail_ven.php
@@ -1,7 +1,7 @@
+?>
input();