[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 03/13: Change Tool_Uos by Single_Record
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 03/13: Change Tool_Uos by Single_Record |
Date: |
Wed, 14 Oct 2015 21:38:30 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 1dc92bd61085c6332b68ae52330e864385fefb5d
Author: Dany De Bontridder <address@hidden>
Date: Mon Oct 12 15:35:24 2015 +0200
Change Tool_Uos by Single_Record
---
include/ajax/ajax_fiche_def_detail.php | 2 +-
include/ajax/ajax_tag_detail.php | 2 +-
include/cfgfiche.inc.php | 4 ++--
include/cfgtags.inc.php | 4 ++--
include/class/class_fiche_def.php | 2 +-
include/template/tag_detail.php | 2 +-
6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/ajax/ajax_fiche_def_detail.php
b/include/ajax/ajax_fiche_def_detail.php
index fbd5fc0..cd810fb 100644
--- a/include/ajax/ajax_fiche_def_detail.php
+++ b/include/ajax/ajax_fiche_def_detail.php
@@ -27,7 +27,7 @@
*/
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php';
-require_once NOALYSS_INCLUDE.'/lib/class_tool_uos.php';
+require_once NOALYSS_INCLUDE.'/lib/class_single_record.php';
global $g_user;
$g_user->can_request(FICCAT,0);
diff --git a/include/ajax/ajax_tag_detail.php b/include/ajax/ajax_tag_detail.php
index d04f1ee..fc575af 100644
--- a/include/ajax/ajax_tag_detail.php
+++ b/include/ajax/ajax_tag_detail.php
@@ -6,7 +6,7 @@
//see licence.txt
if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
-require_once NOALYSS_INCLUDE.'/lib/class_tool_uos.php';
+require_once NOALYSS_INCLUDE.'/lib/class_single_record.php';
require_once NOALYSS_INCLUDE.'/class/class_tag.php';
ob_start();
$tag=new Tag($cn);
diff --git a/include/cfgfiche.inc.php b/include/cfgfiche.inc.php
index cbca11e..675124d 100644
--- a/include/cfgfiche.inc.php
+++ b/include/cfgfiche.inc.php
@@ -30,7 +30,7 @@ require_once NOALYSS_INCLUDE.'/user_menu.php';
require_once NOALYSS_INCLUDE.'/class/class_dossier.php';
require_once NOALYSS_INCLUDE.'/lib/class_sort_table.php';
require_once NOALYSS_INCLUDE.'/class/class_fiche_def.php';
-require_once NOALYSS_INCLUDE.'/lib/class_tool_uos.php';
+require_once NOALYSS_INCLUDE.'/lib/class_single_record.php';
$retour=HtmlInput::button_anchor("Retour à la liste",
HtmlInput::get_to_string(array("gDossier","ac")));
$action=HtmlInput::default_value_post('action', '');
@@ -117,7 +117,7 @@ if ( $action == 'save_line' )
/*******************************************************************************************/
if ( isset($_POST['add_modele']))
{
- $single=new Tool_Uos("dup");
+ $single=new Single_Record("dup");
if ($single->get_count()==0)
{
$single->save();
diff --git a/include/cfgtags.inc.php b/include/cfgtags.inc.php
index 3f4c192..2a79956 100644
--- a/include/cfgtags.inc.php
+++ b/include/cfgtags.inc.php
@@ -25,10 +25,10 @@ if ( !defined ('ALLOWED') ) die('Appel direct ne sont pas
permis');
*
*/
require_once NOALYSS_INCLUDE.'/class/class_tag.php';
-require_once NOALYSS_INCLUDE.'/lib/class_tool_uos.php';
+require_once NOALYSS_INCLUDE.'/lib/class_single_record.php';
$tag=new Tag($cn);
-$uos=new Tool_Uos('tag');
+$uos=new Single_Record('tag');
if ( isset ($_POST['save_tag_sb']))
{
if ( ! isset ($_POST['remove']))
diff --git a/include/class/class_fiche_def.php
b/include/class/class_fiche_def.php
index c3f731b..1f25515 100644
--- a/include/class/class_fiche_def.php
+++ b/include/class/class_fiche_def.php
@@ -802,7 +802,7 @@ $order
}
function input_new()
{
- $single=new Tool_Uos("dup");
+ $single=new Single_Record("dup");
echo '<form method="post" style="display:inline">';
echo $single->hidden();
echo HtmlInput::hidden("p_action","fiche");
diff --git a/include/template/tag_detail.php b/include/template/tag_detail.php
index 7aa93f3..6ca82c7 100644
--- a/include/template/tag_detail.php
+++ b/include/template/tag_detail.php
@@ -5,7 +5,7 @@
echo Dossier::hidden();
echo HtmlInput::hidden('t_id',$data->t_id);
echo HtmlInput::hidden('ac',$_REQUEST['ac']);
-$uos=new Tool_Uos('tag');
+$uos=new Single_Record('tag');
echo $uos->hidden();
$t_tag=new IText('t_tag',$data->t_tag);
$t_description=new ITextarea('t_description',$data->t_description);
- [Noalyss-commit] [noalyss] branch master updated (53b1b15 -> 1d95f51), Dany De Bontridder, 2015/10/14
- [Noalyss-commit] [noalyss] 11/13: Security : check dossier access, Dany De Bontridder, 2015/10/14
- [Noalyss-commit] [noalyss] 10/13: Reduce the number of file in HTML folder, move ajax_poste.php to include/ajax called from ajax_misc.php, Dany De Bontridder, 2015/10/14
- [Noalyss-commit] [noalyss] 08/13: Reduce the number of file in HTML folder, move ajax_card.php to include/ajax called from ajax_misc.php, Dany De Bontridder, 2015/10/14
- [Noalyss-commit] [noalyss] 01/13: translate, Dany De Bontridder, 2015/10/14
- [Noalyss-commit] [noalyss] 13/13: Ajax : misc. bugs due to files reorganizing, Dany De Bontridder, 2015/10/14
- [Noalyss-commit] [noalyss] 09/13: Reduce the number of file in HTML folder, move ajax_ledger.php to include/ajax called from ajax_misc.php, Dany De Bontridder, 2015/10/14
- [Noalyss-commit] [noalyss] 02/13: Merge branch 'dev_6900', Dany De Bontridder, 2015/10/14
- [Noalyss-commit] [noalyss] 05/13: Reduce the number of file in HTML folder, move ajax_todo_list to include/ajax called from ajax_misc.php, Dany De Bontridder, 2015/10/14
- [Noalyss-commit] [noalyss] 07/13: Reduce the number of file in HTML folder, move ajax_history to include/ajax called from ajax_misc.php, Dany De Bontridder, 2015/10/14
- [Noalyss-commit] [noalyss] 03/13: Change Tool_Uos by Single_Record,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 06/13: documentation, Dany De Bontridder, 2015/10/15
- [Noalyss-commit] [noalyss] 04/13: Change Tool_Uos by Single_Record, Dany De Bontridder, 2015/10/15
- [Noalyss-commit] [noalyss] 12/13: Correct ; rename file class_single_record , detail-action : 2 fields for contact instead of 1 Ajax : misc. bugs, Dany De Bontridder, 2015/10/15